一键导入
docs-codebase-alignment-audit
Audit and minimally repair Markdown docs for broken links, stale paths, make targets, and SSOT rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit and minimally repair Markdown docs for broken links, stale paths, make targets, and SSOT rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create, repair, validate, visually QA, and package Codex-compatible v2 animated pets from character art, generated images, company or prospect brand cues, or visual references. Use for any new Codex pet, custom mascot, non-pixel pet style, brand-inspired pet, existing-pet repair, or 8x11 spritesheet workflow requiring all 9 standard animation rows, 16 look directions, deterministic assembly, QA artifacts, and spriteVersionNumber 2 packaging.
Rewrite current branch into N semantic commits with a legacy backup branch and optional rebase onto origin/main.
Merge origin/main into current branch while preserving branch intent, context, and ownership decisions.
Chain branch onboarding, code-health, and non-test analysis into a branch-scoped remediation plan.
Summarize current branch diff from fork point with intent, scope, risks, and context for follow-on work.
Audit codebase architecture: module dependencies, layering, circular imports, ownership, and structural decay.
| name | docs-codebase-alignment-audit |
| description | Audit and minimally repair Markdown docs for broken links, stale paths, make targets, and SSOT rules. |
Run deterministic docs alignment checks and apply minimal, evidence-based fixes. Keep As-Is runtime docs aligned to code. Keep To-Be docs intentionally future-facing when boundary text is explicit.
sed/cat/rg on explicit paths), run test -f or rg --files -g preflight.test -f/test -d first; if missing, report once and fallback to git log --since=1.week --name-only plus git diff --stat.git rev-parse --is-inside-work-tree.AGENTS.md as a table of contents, not an encyclopedia.docs/ and local src/**/AGENTS.md.docs/, AGENTS.md, src/**/AGENTS.md) over external context.AGENTS.md -> docs/index.md) and layered navigation (guides/, reference/, specs/).git ls-files docsAGENTS.md, docs/index.md, docs/_meta/docs-contract.md, then local src/**/AGENTS.md.docs/specs/ (and legacy docs/full-plan/) as potential To-Be design docs.test -f scripts/check_code_paths.sh.rg --files -g "check_code_paths.sh" and run the first exact match.scripts/check_code_paths.sh <repo_root> <docs_root>test -f scripts/check_make_targets.sh.rg --files -g "check_make_targets.sh" and run the first exact match.scripts/check_make_targets.sh <repo_root> <docs_root>test -f scripts/check_md_links.py.rg --files -g "check_md_links.py" and run the first exact match.python3 scripts/check_md_links.py <docs_root>git log --follow --name-status -- <old_or_new_path> when available) and current path checks.rg on docs/AGENTS files for the stale path before editing.src/stowage/planner/spp/types.py -> src/stowage/planner/spp/domain/types.py as a known relocation; fix stale references immediately when found.find src -type f -name AGENTS.md | sort.AGENTS.md should reference key local AGENTS entry points.docs/index.md Local AGENTS section should include discovered local AGENTS paths.src/stowage/AGENTS.md) should list direct child-context AGENTS where applicable.fix-now unless the doc explicitly states a temporary exception.Makefile for docs-check (or equivalent) target..github/workflows/) for docs integrity execution.fix-now unless user scope excludes tooling updates.promote-to-tooling follow-up instead of expanding narrative guidance.fix-now: broken path, missing make target, broken relative link, stale direct code reference.fix-now: missing AGENTS chain reference (index or parent-child), missing docs mechanical guard.keep-with-note: intentional To-Be mismatch with explicit boundary text, or ambiguous relocation targets.ignore: examples/placeholders that are explicitly marked as template syntax.doc-gardening: stale but non-blocking drift candidates safe for follow-up PR.promote-to-tooling: recurring or mechanically testable doc invariants that should become checks, linters, scripts, or CI wiring.test -w /private/tmp.<repo_root>/.codex_tmp) or $CODEX_HOME, and report the fallback..png, .pdf) for alignment-only work./private/tmp unless the user explicitly requests a repo file.python -c or single-line commands for inline scripts.rg only if a script path is missing.rg to docs/ or the script directory before broader searches.git rev-parse --is-inside-work-tree.git log --since=1.week --name-only and git diff --stat.../_shared/references/docs_harness_checklist.mdreferences/scope_and_boundary.mdreferences/agents_chain.md