team-protocol
Skill5 starsChanged 8 days agoMITView on GitHub
On an app-dev-team project, use whenever one role needs something from another — a blocker, a spec question, a handoff, an escalation — and as the reference for the team ledger (docs/team/messages.jsonl), who may message whom, and the output contract. Used by every role.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- TokiDEV/team-skillstheir own version, first seen Nov 13, 2026
- plasminds/team-skillstheir own version, first seen Oct 20, 2026
- Shehabov/ai-dev-crewtheir own version, first seen Sep 30, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- plasminds/team-skills★ 4same name
- Shehabov/ai-dev-crew★ 4same name
- TokiDEV/team-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- accessibility-gateSkill
- agent-isolationSkill
- architecture-builderSkill
- board-doctorSkill
- brownfield-onboardingSkill
- business-modelSkill
- content-designSkill
- context-preflightSkill
- database-migrationSkill
- defect-huntingSkill
- dependency-policySkill
- design-systemSkill
- house-conventionsSkill
- ic-workflowSkill
- intent-traceSkill
- localisationSkill
- mutation-testingSkill
- parallel-orchestratorSkill
- performance-reviewSkill
- prd-builderSkill
- requirements-intakeSkill
- role-activationSkill
- runtime-gateSkill
- spec-criticSkill
- sprint-plannerSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 79
Never just "unclear" — name who must answer what.
- Very specific: line 127
Never for anything reversible: the decider in docs/03-decision-rights.md decides and records it.
- Distinctive: line 136
Never invent an answer to a question you raised.
- Distinctive: line 137
Never relay a message by paraphrase when you can point at its ledger row.
- Distinctive: line 138
Never send a message you have already sent.
- Very specific: line 139
Never fyi the whole team. Address one role.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Team protocol
The core every role needs. Read a reference only when the situation names it:
| Read | When |
references/channel.md | sending a material message (the obligation rule), registering a formal artifact (ADR, PDR, DDR, WAIVER, INCIDENT, ASSUMPTION), querying channels, migrating a pre-log project |
references/mid-sprint-qa.md | §Mid-sprint Q&A — you are the /app-build orchestrator, tech-manager, or tech-lead answering the batch |
references/output-contract.md | what a CODE / DOC profile field means, which roles use which profile, gate verdict blocks |
references/anti-ping-pong.md | a send was refused, or you are auditing a ledger |
references/evidence-bundle.md | §Evidence bundle — you write or audit a test claim (qa-engineer, test-automation-engineer, release-auditor) |
The channel: docs/team/messages.jsonl
One append-only event log for the team. docs/team/messages.md is its generated view — never
hand-edit it. Write with the helper; it is the only writer:
sh "${CLAUDE_PLUGIN_ROOT}/scripts/team-message.sh" \
--from android-developer --to tech-lead --ticket APP-004 --kind question \
--summary "Which error type for a failed toggle?" \
--body "Spec names TodoError but the repo throws IOException. Which wins?"- Kinds:
question·answer·handoff·blocker·fyi·escalation·decision. answeranddecisioneach close exactly one openquestionon that ticket, oldest first. Adecisionthat decides nothing silently consumes a real open question — usefyifor anything that is not an answer. Ananswer/decisionnaming no artifact (--artifact) or transition is refused.- Every message names a ticket — or the ASCII hyphen
-, and only-, for project-wide chatter (--ticket -). An em dash is read as a ticket ID and trips the pair guard. --summaryis one line and must stand alone. Append, never edit; correct a record by appending a later one.
Who may talk to whom
Direct messages follow the org chart; anything else goes through tech-manager.
| From | May message directly |
any IC (ios-developer, android-developer, backend-developer, web-developer, monetization-engineer, test-automation-engineer) | tech-lead (patterns, spec) · tech-manager (scope, blockers, board) · ux-architect (flow/state gaps) · product-designer (token/component gaps) · product-manager (what a criterion means) |
code-reviewer | the ticket's owner · tech-lead · tech-manager |
qa-engineer | the ticket's owner · tech-manager |
tech-lead | any IC · tech-manager · cto |
tech-manager | anyone |
cpo ↔ cto | each other · ceo |
| anyone | tech-manager, always |
An IC never messages ceo, cpo or cto. Product ambiguity goes to tech-manager, who decides
whether it needs cpo — that stops every IC independently re-opening settled scope.
ICs (developers, reviewers, QA): declare, don't dispatch
An agent that can proceed will proceed; it cannot wait for an answer inside its own run. So your
primary obligation is the Assumptions & open questions field of your output contract: every place
the spec did not answer something and you decided anyway, with the decision and the reasoning. If
you sent a message, paste its ledger row; if not, write ASSUMED, NOT RAISED. Never write that
you raised something you did not — the orchestrator and the standup read that line as fact. The
orchestrator files every ASSUMED, NOT RAISED as a real question for you.
Send a live question only when you can keep working on another part of the ticket meanwhile.
Ask before you block
BLOCKED costs a re-spawn. (1) Re-read the impl spec and flow doc. (2) Send one question and
keep working elsewhere. (3) Only then (Need: tech-lead is answered this round, then you re-spawn):
BLOCKED: APP-NNN
Reason: <one paragraph>
Need: <who needs to answer what>Never just "unclear" — name who must answer what.
Limits
Hard caps live in ${CLAUDE_PLUGIN_ROOT}/scripts/lib/messages.mjs (per role per round, same-pair cooldown, chain depth,
per-ticket budget, duplicate question, re-opening a decided thread needs --evidence); a refusal
writes nothing and states its code and remedy. Escalation after one unresolved round is
mandatory: a second question while your first is unanswered is refused — escalate the first. On breaching any of them: stop messaging, write one
escalation to tech-manager naming both positions in one sentence each, and move on. Table:
references/anti-ping-pong.md.
Output contract
Ticket-working agents return the CODE or DOC profile, starting DONE: APP-NNN; gating roles
return their own verdict block. spawn-prompt.mjs inlines the exact fields into your spawn prompt —
return every one, in order. A field you omit is a gate that silently passes. Field meanings:
references/output-contract.md.
Canonical paths — no other spelling is recognised
| Artifact | Path |
| Your per-run fragment | docs/daily/<today>-<role>-<ticket>.md |
Same, for a spec-writing exec with no ticket (ceo, cpo, cto) | docs/daily/<today>-<role>-spec.md |
| The aggregated standup (tech-manager only) | docs/daily/<today>.md |
| The team channel (source of truth) · its generated view | docs/team/messages.jsonl · docs/team/messages.md |
| A review verdict | docs/53-reviews/APP-NNN-cycle-N.md |
| Second / specialist verdicts | docs/53-reviews/APP-NNN-cycle-N-tech-lead.md · docs/53-reviews/APP-NNN-cycle-N-security.md · docs/53-reviews/APP-NNN-cycle-N-verification.md |
| Incident ledger | docs/team/incidents.jsonl |
| ship-gate · journey-gate · runtime-gate recorded verdicts | docs/team/ship-gate-verdict.json · docs/team/journey-result.json · docs/team/runtime-result.json |
| Evidence, two dirs by writer: screenshots + human bundles · script-written gate records | docs/54-evidence/ · docs/team/evidence/ |
| Journey contract · one declared P0 journey | docs/team/journeys/README.md · docs/team/journeys/<journey-id>.json |
| Platform, toolchain, test scopes · artifact-to-commit binding | docs/team/project-profile.json · docs/team/release-candidates.jsonl |
| Run ledger · slot leases (gitignored) · schema registry | docs/team/runs.jsonl · docs/team/worktree-slots.json · docs/team/schema-registry.json |
| Dispatch manifests | docs/team/capabilities.json · docs/team/risk-policy.json · docs/team/schedule.json · docs/team/context-manifest.json |
HMAC actor keys — deny_all, never writable by any role | docs/team/actors.json |
| Per-spawn actor tokens — script-written only | docs/team/actor-tokens.jsonl |
| Saved IC report (SubagentStop hook) | docs/team/reports/<ticket>-<UTC>.md |
Evidence
A test claim's evidence is the gates' own records — docs/team/journey-result.json (screenshots by
SHA-256), docs/54-evidence/journeys/ and docs/team/evidence/, bound to a commit by
evidence-check.mjs. A claim with none of them stays unverified. Nobody hand-writes a bundle; a
manual pass adds free-text notes beside the record. Why: references/evidence-bundle.md.
Escalate to the user when — and only when
- Never for anything reversible: the decider in
docs/03-decision-rights.mddecides and records it;cpovsctogoes toceo. - The budget ceiling is hit (money)
- A change is destructive and irreversible (data migration, billing, a store submission)
Escalate with the question in one sentence, both options with their cost, and a recommendation.
Never
- Never invent an answer to a question you raised. An unanswered question is reported, not guessed.
- Never relay a message by paraphrase when you can point at its ledger row.
- Never send a message you have already sent. Re-sending is not escalation.
- Never
fyithe whole team. Address one role.
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.

