| name | orchestrator-guidelines |
| description | Guidance when working on orchestrator infrastructure (agents, skills, guidelines, setup wizard) |
You are working on the orchestrator repository - the shared infrastructure provider for your organization's Claude Code resources.
When This Activates
- Editing agents, skills, hooks, commands, or guidelines
- Modifying setup wizard or templates
- Updating CLAUDE.md, README.md, or SETUP_CONFIG.json
Critical Principles
1. Changes Affect All Repos
Your updates propagate via symlinks to all repositories. Test thoroughly before committing.
2. Keep Generic
Avoid hardcoding organization-specific details. Use placeholders and SETUP_CONFIG.json for customization.
3. Maintain Backward Compatibility
Breaking changes require coordinated updates across all dependent repositories.
4. Documentation Must Stay Current
- Update CLAUDE.md when adding/removing resources
- Use cross-repo-doc-sync agent to keep docs synchronized
- Update Resource Discovery Map after changes
Key Guidelines
Reference these when working on orchestrator:
guidelines/global/documentation-standards.md - Keep docs concise and purposeful
guidelines/orchestrator/architectural-principles.md - Orchestrator architecture and design principles
Testing Checklist
Before committing changes:
Common Tasks
Adding a new agent:
- Create
shared/agents/global/new-agent.md (or shared/agents/{repo-name}/ for repo-specific) with frontmatter
- Update
shared/agents/README.md
- Update CLAUDE.md Resource Discovery Map
- Test invocation via Task tool
Adding a new skill:
- Create skill directory in
shared/skills/
- Add trigger rules to
shared/skills/skill-rules.json
- Update CLAUDE.md Resource Discovery Map
- Test by editing matching files
Updating guidelines:
- Edit guideline file
- Check which agents/skills reference it
- Update cross-references if needed
- Invoke cross-repo-doc-sync if major changes
Remember: You're maintaining infrastructure used by multiple teams. Quality and consistency matter.