Claude-skill-registry context:atomic-doc
Create/update atomic documentation (blocks, foundations, stacks). Use when user asks to "create atomic doc", "add a block", "add a foundation", "setup a stack", or needs to document reusable knowledge. Creates files in context/ following SWEBOK-aligned structure.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/context-atomic-doc" ~/.claude/skills/majiayu000-claude-skill-registry-context-atomic-doc && rm -rf "$T"
manifest:
skills/data/context-atomic-doc/SKILL.mdsource content
Atomic Documentation
Create or update context documentation following the atomic documentation system.
Execution Instructions
When this skill is invoked:
MANDATORY FIRST STEP: Use the Read tool to read
context/workflows/manage-atomic-doc.md (relative to project root). DO NOT proceed without reading this file first - it contains the complete workflow including Phase 0 (index check) that you MUST follow.
After reading the workflow file:
-
Parse
:$ARGUMENTS
→ new doccreate <layer>/<domain>/<name>
→ modify existingupdate <path>- No args → ask user what they want to create/update
-
Follow ALL phases in the workflow file, starting with Phase 0.
Quick Reference
| Layer | Purpose | Examples |
|---|---|---|
| Single units of knowledge (tool-centric) | bun.md, eslint.md, vitest.md |
| Capabilities (combines blocks) | exec-tsx.md, test-unit-vitest.md |
| Complete project setups | cli-bun.md, api-pnpm-fastify.md |
| Domain | SWEBOK Area | What It Covers |
|---|---|---|
| Software Construction | Build, bundle, package |
| Software Testing | Unit, E2E, coverage |
| Software Quality | Lint, format, style |
| Software Security | Auth, secrets, hardening |
| Config Management | Version, release, publish |
| SE Operations | CI/CD, deploy, infra |
| Operations (sub-area) | Log, trace, metrics |
| Architecture & Design | ADRs, diagrams, prompting |
Usage
/context:atomic-doc create blocks/test/playwright.md /context:atomic-doc create foundations/construct/bundle-web-esbuild.md /context:atomic-doc update context/blocks/construct/bun.md
References
- Full workflow: @context/workflows/manage-atomic-doc.md
- Philosophy & naming: @context/blocks/docs/atomic-documentation.md
- Maintenance patterns: @context/blocks/docs/maintenance.md
- Index of all docs: @context/README.md