Claude Sub-Agents Manager now supports managing development processes and coding standards alongside AI agents. This feature allows teams to maintain consistent practices across projects by syncing shared processes and standards.
~/.claude/
├── agents/ # AI agents
├── processes/ # Development processes
└── standards/ # Coding standards
.claude/ # Project-specific versions
├── agents/
├── processes/
└── standards/
Processes are documented workflows that guide development activities. They ensure consistency and quality across projects and teams.
Process files are markdown documents with YAML frontmatter:
---
name: code-review
type: process
version: 1.0.0
description: Standard code review process for ensuring quality and consistency
author: Claude Code Team
tags: [review, quality, best-practices]
related_commands: [/review, /check-code]
dependencies: []
---
# Code Review Process
## Overview
[Process description...]
## Steps
[Detailed steps...]
## Checklist
[Checklist items...]name: Unique identifier for the processtype: Must be "process"version: Semantic version (e.g., 1.0.0)description: Clear, concise description
author: Process creatortags: Array of categorization tagsrelated_commands: Related Claude commandsdependencies: Other processes this depends on
- code-review.md - Code review workflow
- feature-development.md - Feature development lifecycle
- bug-fixing.md - Bug resolution process
- release-process.md - Release management workflow
- incident-response.md - Production incident handling
# Sync all processes from ~/.claude/processes
claude-agents sync-processes
# Force copy all processes to project
claude-agents sync-processes --force-copy
# Using Make
make sync-processesStandards are documented guidelines and best practices that ensure code quality and consistency. They cover coding conventions, architectural patterns, and technical requirements.
Standards files follow the same format as processes:
---
name: api-design
type: standard
version: 1.0.0
description: RESTful API design standards
author: Claude Code Team
tags: [api, rest, design, standards]
related_commands: [/design-api, /api-review]
---
# API Design Standards
## Overview
[Standards description...]
## Guidelines
[Detailed guidelines...]
## Examples
[Code examples...]name: Unique identifier for the standardtype: Must be "standard"version: Semantic versiondescription: Clear description
- coding-standards.md - General coding conventions
- api-design.md - REST API design patterns
- database-schema.md - Database design standards
- security-standards.md - Security best practices
- testing-standards.md - Testing requirements
# Sync all standards from ~/.claude/standards
claude-agents sync-standards
# Force copy all standards to project
claude-agents sync-standards --force-copy
# Using Make
make sync-standards{
"version": "1.0.0",
"processes": {
"code-review": {
"version": "1.0.0",
"installedAt": "2024-01-20T10:00:00Z",
"installedFrom": "/Users/you/.claude/processes/code-review.md",
"type": "process",
"description": "Standard code review process"
}
},
"lastSync": "2024-01-20T10:00:00Z"
}{
"version": "1.0.0",
"standards": {
"api-design": {
"version": "1.0.0",
"installedAt": "2024-01-20T10:00:00Z",
"installedFrom": "/Users/you/.claude/standards/api-design.md",
"type": "standard",
"description": "RESTful API design standards"
}
},
"lastSync": "2024-01-20T10:00:00Z"
}Once synced to your project, you can reference processes and standards in Claude Code conversations:
User: "Follow our code review process for the recent changes"
Claude: *References the synced code-review.md process*
User: "Make sure the API follows our standards"
Claude: *References the synced api-design.md standard*
- Consistency: Ensure all team members follow the same practices
- Version Control: Track changes to processes and standards
- Sharing: Easy distribution across projects and teams
- Integration: Seamless reference in Claude Code conversations
- Customization: Project-specific overrides when needed
- Be Specific: Include concrete steps and examples
- Use Checklists: Make processes actionable
- Include Context: Explain why each step matters
- Version Appropriately: Use semantic versioning
- Tag Effectively: Use consistent tags for discovery
- Show Examples: Include good and bad examples
- Explain Rationale: Document why standards exist
- Be Practical: Focus on enforceable guidelines
- Allow Exceptions: Document when to deviate
- Keep Updated: Review and update regularly
- Naming Convention: Use descriptive, hyphenated names
- Categorization: Use tags for grouping related items
- Dependencies: Document inter-dependencies
- Versioning: Increment versions for significant changes
- Documentation: Include comprehensive descriptions
- Check directory exists:
ls ~/.claude/processes - Verify file format: Must have valid YAML frontmatter
- Check permissions: Ensure read access
- Run with debug:
LOG_LEVEL=DEBUG claude-agents sync-processes
The custom YAML parser supports Claude Code's format, but ensure:
- Proper indentation (2 spaces)
- Valid field names
- Quoted strings where needed
- No special characters in unquoted strings
- Config files are in home directory by default
- Use
--projectflag for project-specific configs - Check
.gitignoreincludes config files - Manually edit JSON files if needed
Create a template for consistent process creation:
# Create template
cat > ~/.claude/templates/process-template.md << 'EOF'
---
name: template-name
type: process
version: 1.0.0
description: Template description
author: Your Name
tags: [template]
---
# Process Name
## Overview
## Prerequisites
## Steps
## Verification
## Troubleshooting
EOF# Sync everything at once
claude-agents sync --force-copy && \
claude-agents sync-processes --force-copy && \
claude-agents sync-standards --force-copy
# Or use Make
make sync-all# .github/workflows/standards-check.yml
name: Standards Check
on: [pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install claude-agents
run: npm install -g claude-agents
- name: Sync standards
run: claude-agents sync-standards
- name: Validate standards compliance
run: |
# Custom validation script
./scripts/check-standards.shPlanned features for process and standards management:
- Templates Library: Pre-built process and standards templates
- Validation Rules: Automated compliance checking
- Metrics Tracking: Process adoption and effectiveness metrics
- Team Sharing: Easy sharing across organizations
- Claude Integration: Direct process execution in Claude Code
- README.md - Main documentation
- CLAUDE.md - Claude Code integration guide
- SYNC_PROCESS.md - Agent sync documentation