team-collab-protocol
Skill4 starsChanged 6 months agoApache-2.0View on GitHub
Use when the current repo is explicitly governed by team-collab: `obsidian-docs/` exists in cwd/ancestor, repo `AGENTS.md`/`CLAUDE.md` imports team-collab, the cwd is under a registered code/docs path, or the user asks for team-collab handoff/checkpoint/docs governance/Feishu automation. Do not use solely because a global config file exists.
In this repository7 other files it gives its agents.
- checkpointSkill
- digestSkill
- docs-refreshSkill
- gateSkill
- handoffSkill
- team-progressSkill
- waveSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
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
- could be automatic: a setting could enforce it
- Distinctive: line 14
Use this protocol only from a strong signal:
- Very specific: line 27
Read recent _handoffs/, personal 开发记录/, design docs, or the human playbook only when the user task requires that history.
- Distinctive: line 28
Do not scan the whole Obsidian vault, all docs, or all memories to orient yourself.
- Distinctive: line 29
If multiple references could apply, load the smallest set that covers the task.
- Very specific: line 52
Never force-push protected/shared/unclear branches: main, master, release/*, prod/*, docs default branches, other people's branches, or …
- Distinctive: line 54
Never git commit --no-verify.
- Distinctive: line 55
Never blindly recover from semantic git failures: non-fast-forward, protected-branch rejection, permission denied, hook/gitleaks failure, …
- Distinctive: line 56
Never write secrets, credentials, customer private data, unreleased internal endpoints, or unannounced commercial secrets into docs.
- Distinctive: line 58
Do not fabricate a handoff for an empty session.
- Distinctive: line 60
Do not modify another owner's TODO item without explicit user direction.
≈ “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
Team Collaboration Protocol
Slim runtime entrypoint for team projects using the OPC collective docs architecture. Load only the reference that matches the current task; do not read the whole playbook or vault by default.
Activation
Use this protocol only from a strong signal:
obsidian-docs/exists in the current repo or an ancestor.- Repo-root
AGENTS.md/CLAUDE.mdreferences team-collab,obsidian-docs, CURRENT/NEXT/RISKS/TODO,_handoffs, or开发记录/<用户名>/. - The cwd is under a registered
codePath,docsPath, ordocsGitRootin~/.team-collab/config.jsonor legacy~/.team-docs-config. - The user asks about handoff, checkpoint, team progress, docs refresh, team docs workflow, TODO ownership, Feishu automation, docs audit, setup, migration, or normalization.
Weak signal: a global team-collab config exists somewhere. Do not activate from that alone; it is a project registry, not proof that every repo is governed.
Context budget
- Global/project pointers should only trigger this skill; they should not duplicate protocol details.
- On normal startup in a team project, read repo-root
AGENTS.mdand the state quartet only:CURRENT.md,RISKS.md,NEXT.md,TODO.md. - Read recent
_handoffs/, personal开发记录/, design docs, or the human playbook only when the user task requires that history. - Do not scan the whole Obsidian vault, all docs, or all memories to orient yourself.
- If multiple references could apply, load the smallest set that covers the task.
Reference router
| Situation | Load |
| Session start, repo orientation, docs sync, setup, onboarding, migration, Feishu, compliance, audit | references/startup-and-audit.md |
$handoff <topic> or /handoff <topic> end-of-session flow | references/handoff.md |
$checkpoint or /checkpoint mid-session snapshot | references/checkpoint.md |
| Git sync, push, force-push, conflicts, rejected push, hooks, gitleaks | references/git-policy.md |
| Creating or substantially editing project docs, frontmatter, filenames, taxonomy | references/docs-standards.md |
$docs-refresh <audit> / /docs-refresh <audit> or updating Obsidian docs from a stale audit/dev record | references/docs-refresh.md |
$team-progress <window> / /team-progress <window> or checking teammate progress, blockers, and PR/MR review needs | references/team-progress.md |
| Multi-agent opt-in, wave layout, lifecycle overview, or command boundaries | references/multi-agent.md |
$wave (start/enter wave), $digest <slug> (wave status), $gate --pr <n> (merge-gate) | references/multi-agent.md / references/gate-check.md |
| Agent start/checkpoint/finish/close/status files and status schema | references/agent-status.md |
multi-agent gate, plan --check, review summaries, or lint-multi-agent | references/gate-check.md |
Claims, heartbeat/stale state, truth_source, code/docs freshness, or resource conflicts | references/claim-and-freshness.md |
| Phase 4 live-session/tmux bind/watch/send/monitor concepts or message ACK safety | references/live-session.md |
| Starting, claiming, completing, blocking, or reassigning TODO items | references/todo-ownership.md |
Always-on constraints
- Never force-push protected/shared/unclear branches:
main,master,release/*,prod/*, docs default branches, other people's branches, or unclear ownership branches. - Self-owned non-protected working branches may be force-pushed after rebase or cleanup; prefer
--force-with-leaseand first check branch, status, and upstream. - Never
git commit --no-verify; never bypass gitleaks or equivalent secret checks. - Never blindly recover from semantic git failures: non-fast-forward, protected-branch rejection, permission denied, hook/gitleaks failure, or rebase conflicts must stop and be reported.
- Never write secrets, credentials, customer private data, unreleased internal endpoints, or unannounced commercial secrets into docs.
- In docs repos, never
git add .; precise-add intended files only. - Do not fabricate a handoff for an empty session.
- Personal dev records go under
obsidian-docs/开发记录/<用户名>/; do not create parallel devlog folders. - Do not modify another owner's TODO item without explicit user direction.
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.

