Doc Init
Bootstraps a business-domain (not folder-based) doc system for AI coding agents, with a machine-checked staleness gate.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 15, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Jul 18, 2026 · 7fda0bb
Ran the real scripts end-to-end on a throwaway git fixture: project_inventory.py correctly flagged src/auth/login.js as a permissions-dictionary candidate, doc_coverage.py correctly flipped COMPLETE->STALE when file count grew past the 25% drift threshold, and the generated knowledge-base doc caught a real mutation side-effect (markPaid mutates its argument in place) that a hand-written baseline doc completely missed. Notable: Phase 1 auto-patches the user's *global* CLAUDE.md/AGENTS.md file (tested only against a throwaway copy, never the real one) — disclosed prominently, versioned, and idempotent, not covert, but worth knowing before running for real.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 9/10
- Docs & honesty 5/5
What Doc Init does
Two-phase project documentation initializer for AI coding agents: first patches the user's global CLAUDE.md/AGENTS.md with a versioned doc-governance standard, then scans the repo (language stack, git history, optional DB catalog) to build business-domain knowledge bases with a coverage gate that flags docs as STALE once the codebase drifts past a fingerprinted baseline. Triggers on brand-new projects with no doc structure or when the global instruction file lacks the governance section; explicitly hands off incremental updates to a sibling doc-update skill and doc bloat cleanup to doc-compact.
How to install Doc Init
git clone https://github.com/x0c/doc-skills
cd doc-skills
mkdir -p ~/.claude/skills
cp -r doc-init ~/.claude/skills/doc-init
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Doc Init
-
/doc-initBootstraps a business-domain (not folder-based) doc system for AI coding agents, with a machine-checked staleness gate.
It also activates on plain-language prompts like these:
-
This repo has zero documentation, set up a proper doc system for it -
We just cloned this codebase with no AGENTS.md, bootstrap our knowledge base -
Bootstrap business-domain docs for this project before we onboard engineers
Frequently asked questions
- Is the Doc Init skill free?
- Yes. The skill itself is free from x0c/doc-skills. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Doc Init work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 15, 2026. Verdict: Tested · Works. Ran the real scripts end-to-end on a throwaway git fixture: project_inventory.py correctly flagged src/auth/login.js as a permissions-dictionary candidate, doc_coverage.py correctly flipped COMPLETE->STALE when file count grew past the 25% drift threshold, and the generated knowledge-base doc caught a real mutation side-effect (markPaid mutates its argument in place) that a hand-written baseline doc completely missed. Notable: Phase 1 auto-patches the user's *global* CLAUDE.md/AGENTS.md file (tested only against a throwaway copy, never the real one) — disclosed prominently, versioned, and idempotent, not covert, but worth knowing before running for real.
- What is the Doc Init SkillProof Score?
- 9.6/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 9/10, docs & honesty 5/5.
- How do I install Doc Init?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Doc Init with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.