dev-toolbelt/dev-team-agents/docs-sync
Claude Code and agent skill by dev-toolbelt/dev-team-agents
- community
Checking that the SKILL.md file is still in the repository.
Maintains docs/ — surgical patches, no duplicate content.
Install
npx vskill@latest install dev-toolbelt/dev-team-agents/docs-syncSKILL.md
The same SKILL.md was published earlier as dev-toolbelt/dev-team-agents/docs-sync.
Docs Sync
Agents call this skill after completing any task that changes project state. It patches the affected section in docs/ — it never rewrites a whole file.
Token Economy Rules
| Rule | Detail | |
|---|---|---|
| Line budgets | Each file has a hard max (see schemas below). Trim oldest or least-relevant entries when adding. ## Source References does not count toward the budget. | |
| Tables over prose | All structured data must be tables or bullet lists — never paragraphs. | |
| No duplicates | If the information is in CLAUDE.md, do not repeat it here. | |
| No history | Docs record current state only. Past decisions belong in git commits and ADRs. Exception: the ## Amendment Log section of an owner doc (skills/shared/doc-flow/SKILL.md § Amendment Log) — it is append-only and, like ## Source References, does not count toward the line budget. | |
| Surgical patches | Read the current file first. Replace only the changed section using Edit — never Write the whole file. | |
| Freshness marker | Every file has <!-- last-updated: YYYY-MM-DD --> on line 1. Update it on every write. Line 1 is the canonical form: rewrite a date written elsewhere (last-updated: … lower in the file) into it. | |
| No boilerplate | Omit sections that are empty, N/A, or unknown. | |
| One source of truth | If two docs would say the same thing, keep it in the more specific one and link from the other. |
Document Schemas
Each schema is named by its key in scripts/lib/doc-layouts.json (canonical); paths are shown for the development layout (the default) and the gated layout where they differ. Resolve the actual path with bash .dev-team-agents/scripts/doc-path.sh <key> — rules in skills/shared/doc-flow/SKILL.md § Doc Layout. Facts follow § Owner Rule: one owning doc each.
project — docs/project.md — max 80 lines
tech-stack — docs/development/tech-stack.md · gated docs/tech-stack.md — max 60 lines
architecture — docs/development/architecture.md · gated docs/architecture.md — max 100 lines
data-model — docs/development/database.md · gated docs/data-model.md — max 150 lines
Data Model Specification, from .dev-team-agents/templates/data-model-template.md.
api-contracts — docs/development/api-contracts.md · gated docs/api-contracts.md — max 150 lines
code-standards — docs/development/code-standards.md · gated docs/code-standards.md — max 80 lines
backlog-readme — docs/backlog/README.md — max 40 lines (development layout only)
In the gated layout the backlog-index doc (docs/backlog.md) replaces it.
design-system — docs/design/design-system.md — max 80 lines (UI projects only)
In the gated layout the same file holds usage rules that reference token names plus the component inventory: values live only in the design-tokens doc (docs/design/tokens.json), and user flows in the design-flows doc (docs/design/flows/<feature>.md). In the development layout values stay in design-system.md as above.
`design-system` and `brand-guide`. When the project has a brand-guide doc (written from a brand reference image by skills/design/brand-design-system/SKILL.md), the split is fixed: design-system (with design-tokens in gated) owns every implementable value — palette, CSS tokens, type and spacing scales; a color family's tints fit one row — and brand-guide owns the reasoning (logo analysis, roles, image direction, AI image layer, voice), naming tokens and linking here for their values. A value changes in design-system first; the guide never holds a copy.
`design-system-full` — docs/design/design-system-full.md, no line cap. Written by /devteam:design-system from a brand image: one self-contained document (values, reasoning, AI image layer) for a project that has no brand-guide and design-system yet. When those docs exist it is a derived snapshot: it opens with a dated banner naming them as the owners (design-tokens in gated), and a value changes there first. It is a hand-off document for designers and image tools: never the always-read design doc, and implementers do not read it, so building the UI needs /devteam:brand. When split mode later writes design-system and this doc exists, ask with AskUserQuestion: add the snapshot banner to it, or leave it as it is.
`layout-proposals` — docs/design/layout-proposals.md, written by /devteam:layout: the record of three flow-only layout proposals (source map, directions, assumptions, approval). The wireframe page sits beside it as layout-proposals.html; each new run archives the previous pair as layout-proposals-v<N>. The doc never holds wireframe detail.
Task Closure Rule
This is the canonical statement of the rule. Agents reference it; they do not restate it.
After completing any task, check whether the work delivered triggers an entry in the Update Triggers table below. If it does, apply the surgical patch to the relevant docs/ file. Run it in parallel with the commit — it is part of finishing the task, not a follow-up to it.
Document Lifecycle
A document that no longer describes current behavior says so at its top — it is never deleted. The wiki (references/wiki-format.md § Never Delete an Entry) and ADRs (skills/shared/adr/SKILL.md § Status Lifecycle) carry their own markers; this covers everything else under docs/.
| Document | Marker, directly under the H1 | ||||||
|---|---|---|---|---|---|---|---|
Plan (docs/development/plan-*.md, or any document carrying acceptance criteria and steps) | `Status: Proposed \ | Approved \ | In progress \ | Implemented \ | Superseded \ | Abandoned — <evidence: commit, PR, or replacing document>`, updated when the plan's state changes | |
| Superseded plan or reference document | > ⚠️ Historical — superseded by [<file>](<link>). Current behavior is documented there. under the status line | ||||||
| Point-in-time snapshot (audit, gap report, incident, proposal) | > 🗂️ Historical snapshot (YYYY-MM-DD). For current behavior see [<current source>](<link>). |
Implemented needs evidence that it shipped; a plan whose state cannot be established says Unknown — <why> rather than guessing. scripts/index-lint.sh warns on a plan-*.md without a status line.
When to Update What
Load references/update-triggers.md for: full trigger table (which work requires which doc), update protocol steps, and user-intent trigger patterns (convention signals, note-taking signals, approval signals).
Load references/wiki-format.md for: when to write wiki entries, entry format template, domain folder rules, wiki update protocol, and wiki/README.md format.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.dev-team-agents/skills/shared/docs-sync/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dev-toolbelt/dev-team-agents/docs-sync)