Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
中文简介正在准备中。当前显示原文说明。
Writes and reorganizes docs-as-code for software repos. Use when updating READMEs, runbooks, onboarding docs, API references, or agent instruction files.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
| Documentation Type | Template | Notes |
|---|---|---|
| project README | assets/project-management/readme-template.md | onboarding and project navigation |
| ADR or architecture note | assets/architecture/adr-template.md | decision record |
| gap analysis or migration assessment | assets/architecture/gap-analysis-template.md | architecture and readiness work |
| API reference | assets/api-reference/api-docs-template.md | REST, GraphQL, gRPC, AsyncAPI |
| changelog | assets/project-management/changelog-template.md | release history |
| contributing guide | assets/project-management/contributing-template.md | team and OSS contribution |
| docs IA or consolidation plan | assets/docs-as-code/docs-structure-template.md | large doc sets |
| ownership and review model | assets/docs-as-code/ownership-model.md | runbooks and critical docs |
| doc sync checklist | assets/project-management/template-doc-sync-checklist.md | status and path integrity |
| operational runbook | assets/operational/runbook-template.md | SLO, alerts → response, rollback, escalation, postmortems; use {{PLACEHOLDER}} format |
| CI markdownlint config | assets/ci/.markdownlint.yaml | drop into repo root; MD013 off, MD024 siblings_only, sensible defaults |
| CI Vale prose config | assets/ci/.vale.ini | Microsoft style base; passive voice as suggestion; per-rule overrides documented |
| CI docs quality workflow | assets/ci/docs-quality.yml | GitHub Actions: markdownlint + markdown-link-check (internal links blocking, external links advisory) + vale on docs/ PRs |
| CI internal link-check config | assets/ci/.mlc-config.json | drop into repo root; ignores http(s)/mailto so the blocking job checks only repo-relative links |
Use this skill when the main task is:
docs/ foldersRoute elsewhere when the main task is:
Before creating any new *.md file, prove all of these:
docs/context/ and have a rebuild pathIf any item fails, update an existing doc, add a small section to a canonical page, or keep the answer in chat. Do not create per-session notes, one-off summaries, or root-level Markdown reports unless the user explicitly asks for that artifact.
AGENTS.md / CLAUDE.md: hot execution policy, exact commands, constraints, and pointers. Not a codebase catalog, report archive, or general docs folder.README.md: human and agent navigation. Not a deep handbook.docs/: durable product, technical, operational, API, ADR, and onboarding docs.docs/operations/ or docs/runbooks/: operational procedures with owners and verification steps.docs/reports/: temporary evidence or analysis with pending-integration, integrated, or superseded status.docs/context/ or context/: generated or compiled LLM context artifacts. Prefer rebuild scripts and structured inputs; do not hand-edit generated pages as canonical truth..archive/: historical material excluded from normal search and context unless explicitly requested.assets/ only when a new or replacement doc is justified.Use this mode when a repo has too many overlapping or LLM-generated docs:
pending-integration, integrated, or supersededREADME.md as the navigation anchorREADME.md or the docs index by repo-relative links within a hop ceiling recorded in the structure plan (start from the current tree's maximum), and no page has zero inbound links; check by breadth-first search from the hub over the link graph, and see foundations-graph-theory for the reachability, orphan and depth definitionsAGENTS.md and CLAUDE.md thin when possible, with shared guidance factored into canonical docsAGENTS.md canonical. Use the agents-memory loading lookup to check each team's Claude Code version, provider, configuration, and loaded files; add an @AGENTS.md import in CLAUDE.md (or a symlink when there is no Claude-specific content) only when native loading is not reliable for every contributorlast_verified markers for volatile pagesllms.txt index) instead of maintaining them by handRot detection beyond "old timestamp":
Agents and humans read the same doc differently; serve both:
AGENTS.md or CLAUDE.md gets run, not questioned, the way a human skimming a wiki might self-correct. Hold instruction files to a higher freshness bar than narrative docs.docs/, execution policy belongs in the thin instruction file.Ownership models fail in predictable ways:
Before merging:
complete list claims against the filesystemFor operationally important claims, name the authoritative source and a cheap way to verify it: code path, schema, generated spec, configuration, owner, or runnable command. Do not copy the same fact into multiple prose pages without declaring which page is canonical and which pages are generated or link-only consumers.
When replacing a document, update inbound links and either remove it within the authorized scope or leave a short redirect with the replacement and retirement date. A “deprecated” banner without link repair keeps stale guidance discoverable. Before declaring a docs revamp complete, search for the retired claim and title, inspect every remaining hit, and report intentional historical references separately from active guidance.
An agent can recreate a removed file when a stale link, plan or memory still mentions it. Keep a delete-zone table in the canonical status doc, and keep each row until recreation is no longer a realistic risk:
| Path or concept | Why removed | Replacement | Recreate only if |
|---|---|---|---|
<removed path> | <reason> | <new owner path> | <condition, e.g. a new approved ADR> |
Core references
Craft and style
Advanced and AI-aware
docs-codebase owns technical documentation quality, structure, and canonicalizationdocs-ai-prd owns requirements, specs, acceptance criteria, and what context an implementation agent needsIf you are writing or cleaning docs, stay here. If you are deciding feature requirements or context strategy, use docs-ai-prd.
Before delivering output, verify:
python3 -m pytest scripts/test_docs_quality.py from this skill directory; these are static template contract checks, and an adopted workflow still needs a failing-doc PR test in its target repoWhen prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both.
After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
中文简介正在准备中。当前显示原文说明。
Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.
中文简介正在准备中。当前显示原文说明。
Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.
中文简介正在准备中。当前显示原文说明。
Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.
中文简介正在准备中。当前显示原文说明。
Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.
中文简介正在准备中。当前显示原文说明。
Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.
中文简介正在准备中。当前显示原文说明。