using-a-team
Skill24 starsChanged 24 days agoMITView on GitHub
The meta-skill. Loaded at every session start. Defines which A Team skills and agents MUST be used for which situations. If a skill or agent applies, you do not have a choice — you must use it.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-contract-firstSkill
- architecture-auditSkill
- brainstormingSkill
- data-migrationSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- five-whysSkill
- incident-responseSkill
- performance-auditSkill
- skill-duplication-auditSkill
- smart-initSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
IF A SKILL OR AGENT IN THIS DOCUMENT APPLIES TO YOUR CURRENT TASK, YOU DO NOT HAVE A CHOICE.
- Very specific: line 52
After verification passes, Step 5 of verification-before-completion is mandatory: delete all log files, stack traces, and debug dumps …
- Distinctive: line 104
Every change must be scoped to what was requested.
- Distinctive: line 134
When a new skill is added to A Team, add it to the trigger table above so it gets enforced from day one.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Using A Team
This skill is injected at every session start. It defines mandatory skill and agent usage.
<HARD-GATE>
IF A SKILL OR AGENT IN THIS DOCUMENT APPLIES TO YOUR CURRENT TASK,
YOU DO NOT HAVE A CHOICE. YOU MUST USE IT.
Skipping a mandatory skill to save time is not allowed.
</HARD-GATE>Project roster eligibility
On any project that uses /orchestrate init, all installed agent and skill files stay on disk. Discoverability does not mean activation. The active set is recorded in .agent-sync/TEAM.md and the eligible routing table in .agent-sync/ROUTING.md.
Before dispatching an A Team specialist or invoking a project-scoped skill, run python scripts/roster.py verify and python scripts/roster.py check Agent <name> or check Skill <name>. If the required specialist is inactive, STOP and request an approved reinitialization; do not invoke it merely because its file is installed. Missing, stale and legacy roster formats are invalid and block specialist dispatch. The orchestrator and bootstrap meta-skills remain available for roster repair.
The PreToolUse guard blocks direct Agent/Skill tool calls on supported hosts; text-only/third-party dispatch still requires explicit roster checks.
Before ANY Code Is Written
| Situation | Required Skill/Agent |
| New feature, component, or capability | brainstorming skill first |
| Have a spec, need an implementation plan | writing-plans skill |
| Have a plan, executing it | subagent-driven-development or executing-plans skill |
| Starting development work | using-git-worktrees skill (create isolation first) |
During Development
| Situation | Required Skill/Agent |
| Writing any new function or feature | test-driven-development skill (RED before GREEN) |
| Any bug, test failure, unexpected behavior | debugger agent (systematic debugging — Phase 1 first) |
| Multiple independent problems | dispatching-parallel-agents skill |
| Build or type errors | build-error-resolver agent (minimal diffs only) |
Before Claiming Completion
| Claim | Required Skill |
| "The tests pass" | verification-before-completion (run tests, read output) |
| "The build succeeds" | verification-before-completion (run build, read output) |
| "The bug is fixed" | verification-before-completion (reproduce fix, read output) |
| "The feature works" | verification-before-completion (run the feature, read output) |
| "Done" / "Complete" | verification-before-completion (ALWAYS, no exceptions) |
After verification passes, Step 5 of verification-before-completion is mandatory: delete all log files, stack traces, and debug dumps generated during this task before reporting done.
After Code Changes
| Situation | Required Agent |
| After writing or modifying code | code-reviewer agent |
| Auth, API, input handling, DB changes | security-reviewer agent |
| Before any PR merge | quality-gate command (runs both) |
| Wrapping up a branch | finishing-a-development-branch skill |
Architectural Decisions
| Situation | Required Agent |
| System design, new feature architecture | architect agent (produces ADR) |
| Complex feature planning | planner agent |
| Tech stack or pattern decision | architect agent |
| Inherited/unfamiliar codebase, scaling milestone, or periodic health check | architecture-audit skill |
Language & Domain Reviews
| Situation | Required Agent |
| Go files changed | go-reviewer |
| Python files changed | python-reviewer |
| Rust files changed | rust-reviewer |
| Kotlin / Android files changed | kotlin-reviewer |
| Swift / iOS files changed | swift-reviewer |
| Dart / Flutter files changed | flutter-reviewer |
| SQL / migrations / schema changed | database-reviewer |
| Terraform / Docker / K8s / CI changed | infra-reviewer |
| Any LLM API calls added or changed | ai-reviewer |
| Any privacy / payment / child data code | compliance-reviewer |
Before Any API Endpoint
| Situation | Required Skill |
| Writing a new REST / gRPC / GraphQL / event endpoint | api-contract-first (write the contract first) |
Any ALTER TABLE, DROP, or backfill in production | data-migration (rollback plan first) |
Performance & Production
| Situation | Required |
| Performance regression reported | performance-profiler agent (measure first) |
| Performance-critical feature pre-release | performance-audit skill |
| Production is degraded or down | incident-response skill (immediately) |
During Code Changes — Surgical Changes Rule
Every change must be scoped to what was requested. Before committing:
| Violation | What it looks like |
| Drive-by refactoring | Renamed variables, added type hints, changed quote style — none of it was in the task |
| Style normalization | Rewrote adjacent code to match your preferences instead of the existing style |
| Orphan overreach | Removed dead code that existed before this task (only YOUR orphans are your responsibility) |
Self-check: "Would a reviewer see any line in this diff that cannot be explained by the task description?" If yes → undo it.
Rationalization Red Flags
These thoughts mean you are about to skip a mandatory step. Stop.
- "This change is too small to need a review"
- "I'll write the test after I confirm it works"
- "The plan is in my head, I don't need to write it"
- "The tests were passing before so they're probably still passing"
- "I know this language well enough, no need for the reviewer"
- "The skill overhead slows me down" (it doesn't — it prevents the rework that slows you down)
Session Start Checklist
On every session start, confirm:
- Is
INIT.mdpresent? If not → fill outINIT_TEMPLATE.mdfirst - Is
.agent-sync/TEAM.mdpresent? If not → run/orchestrate initfirst - What is the current task? → identify which skills/agents apply before starting
Skill Registration (For New Skills)
When a new skill is added to A Team, add it to the trigger table above so it gets enforced from day one.
The A Team is only as good as the discipline with which it is applied. Skills consulted are skills that work. Skills skipped are skills that don't exist.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

