agent-common
Shared preamble loaded by all cc10x agents — memory protocol, contract format, output rules.
Use when a BUILD phase completes, a commit is staged, or a PR is about to be created, and the diff has not yet been reflected in documentation. Also use when the user says "update docs", "sync docs", "document this", or asks whether documentation is up to date.
$ npx -y skills add romiluz13/cc10x --skill diff-driven-docs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/diff-driven-docsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when a BUILD phase completes, a commit is staged, or a PR is about to be created, and the diff has not yet been reflected in documentation. Also use when the user says "update docs", "sync docs", "document this", or asks whether documentation is up to date.
name: diff-driven-docs description: >- Use when a BUILD phase completes, a commit is staged, or a PR is about to be created, and the diff has not yet been reflected in documentation. Also use when the user says "update docs", "sync docs", "document this", or asks whether documentation is up to date. allowed-tools: Read, Edit, Write, Bash, Grep, Glob
Stale documentation is worse than no documentation — it actively misleads contributors, users, and future maintainers. Run the Impact Classifier on the diff across the four layers (business, technical, audit, glossary); write only what a layer's verdict requires.
Run this classifier before any doc work. Use it to determine which layers to evaluate and which to skip.
| Diff Characteristic | Business Layer | Technical Layer | Audit Layer | Glossary Layer | | --------------------- | --------------- | ---------------- | ------------- | ---------------- | | Internal utility, helper, or type change only | SKIP | CHECK | SKIP | SKIP | | Test addition with no new pattern | SKIP | SKIP | SKIP | SKIP | | Style / formatting change | SKIP | SKIP | SKIP | SKIP | | Dependency version bump (no API change) | SKIP | SKIP | SKIP | SKIP | | Routine bug fix (existing behavior corrected) | SKIP | CHECK | SKIP | SKIP | | Simple refactor (behavior unchanged) | SKIP | CHECK if signatures changed | SKIP | SKIP | | New exported function / hook / component | SKIP | CHECK | CHECK | SKIP | | New page or route | CHECK | CHECK | CHECK | CHECK | | Architectural pattern introduced | SKIP | CHECK | CREATE | CHECK | | Technology choice made | SKIP | CHECK | CREATE | CHECK | | Breaking change to public API | CHECK | CHECK | CREATE | CHECK | | Permission or role change | CHECK | CHECK | CHECK | SKIP | | Security or compliance impact | CHECK | CHECK | CREATE or UPDATE | SKIP | | Domain term resolved or sharpened during the workflow | SKIP | SKIP | SKIP | CHECK |
**SKIP business docs if:** no user-facing surface changed; only internal utils, types, or tests were modified.
**ALWAYS check technical docs** when hooks, components, migrations, schema, routes, or exported library APIs changed.
**CREATE an audit doc if:** an architectural decision was made, a new pattern was introduced, a non-obvious tradeoff was accepted, or a team member six months from now would ask "why did we do it this way?"
**CHECK glossary docs if:** a domain term was resolved, sharpened, or found to contradict the code during a BUILD/PLAN/DEBUG workflow. The glossary layer is written only by designated shaping phases (planner, exploration DESIGN mode, doc-syncer) via `cc10x:domain-modeling`; builders emit proposals. See the Glossary Layer section below.
If all four layers are SKIP, set `IMPACT_LEVEL: none` and emit a SKIPPED contract immediately without opening any doc files.
User-facing guides, admin documentation, and feature descriptions. Business docs describe what users and administrators can do — not how the system works internally.
Hooks reference, components catalog, schema documentation, architecture notes, and JSDoc on exported APIs. Technical docs describe how the system is built — for developers working on the codebase.
Decision records capturing what changed, why, alternatives considered, and impact. Audit docs are written for future contributors who need to understand the reasoning behind a decision.
`CONTEXT.md` at the repo root — the project's domain language (terms and their meanings, no implementation details). Maintained inline by shaping phases (planner, exploration DESIGN mode, doc-syncer) via `cc10x:domain-modeling`.
SKIP verdicts are owned by the Impact Classifier table above.
**CREATE new when:**
The Loop Engine for Claude Code — engineer the loop, not the prompt. 1 router · 9 agents · 16 skills · 4 workflows. Fail-closed gates, test honesty, anti-anchored review.
Repo: romiluz13/cc10x
Shared preamble loaded by all cc10x agents — memory protocol, contract format, output rules.
Greenfield architecture design: map functionality flows, draw components, design APIs, classify dependencies, plan observability. For multi-component, API,…
Implementation skill for writing production code with TDD. Covers the RED-GREEN-REFACTOR cycle, false-RED detection, vertical slicing, scope escalation, test…
Answers questions about cc10x itself — what it is, how to install and configure it, how the router, workflows, memory, and hooks operate, and how to…
THE ONLY ENTRY POINT FOR CC10X. Activate this skill for build, debug, review, and plan requests. Use when the user asks to implement, fix, review, plan, test,…
Two-mode skill: (1) adversarial review — spec compliance + code quality + security, confidence-scored findings with file:line evidence; (2) receiving review —…