ArticleShelf Docs Audit
Use this skill for documentation integrity checks and responsibility cleanup.
After the initial release, treat AGENTS.md as the worker handbook for Codex / AI agents / maintainers, and docs/README.md as the human-facing docs entrypoint.
Workflow
- Read
AGENTS.md, docs/README.md, and .codex/skills/articleshelf-change-sync/SKILL.md.
- Check link and path integrity:
- Run a Markdown relative link existence check across
README.md, docs, AGENTS.md, and .codex.
- Run old-path searches for the legacy specification folder, the old Backlog file path, moved architecture direct
.md paths, moved product direct .md paths, and old phase wording.
- Run
git diff --check.
- Check docs structure:
docs/ direct children should be README.md plus major folders.
- Each
docs/<area>/ direct child should be README.md, a responsibility folder, or an asset-only folder such as images or generated screenshots.
- Non-asset responsibility folders should have a
README.md.
- Check source-of-truth ownership:
- Requirements: what must be true.
- Specs: current behavior, API contracts, data model, UI behavior, security behavior.
- Architecture: structure, responsibility boundaries, runtime and persistence design.
- Designs: visual layout, component appearance, responsive details, screenshots.
- Testing: verification strategy, cases, commands, CI test shape.
- Backlog: future tasks, gaps, ideas, TODOs, and technical debt. Backlog uses one file per task under
pending/ or in-progress/; completed task summaries go to archive/YYYY-MM-DD.md.
- If overlap exists, preserve information by moving details to the proper source of truth, then replace duplicates with concise links.
- Report updated docs, checks run, and any remaining intentional overlap.
Commands
Use these checks as the default audit set:
$legacy = @(
'docs' + '/specification',
'specification' + '/',
'requirements/backlog' + '.md',
'architecture/(technology|frontend|backend|data-model|api-flow|runtime|ci-cd)' + '\.md',
'product/(vision|glossary)' + '\.md',
'MVP' + ' iteration',
('ま' + 'ずは' + '基本'),
'画像' + '貼り付け'
) -join '|'
rg $legacy README.md docs AGENTS.md .codex
git diff --check
For Markdown link validation, use a local script or shell snippet that resolves relative .md links from each source file and reports missing targets.
Guardrails
- Do not turn requirements docs into implementation specs.
- Do not duplicate detailed data model, API, UI, security, or test rules in multiple places.
- Keep README files as indexes or short source-of-truth summaries.
- Keep
AGENTS.md focused on operating rules and review lenses, not project roadmap or speculative product ideas.
- For Backlog, verify
docs/requirements/backlog/README.md and each state folder README stay updated, task filenames use lowercase kebab-case, task files use the standard headings, and priorities use P0-P4.
- Build / unit / integration / E2E are not required for docs-only audits unless scripts or executable behavior changed.
Source: t-shirayama/articleshelf — distributed by TomeVault.
1---2name: articleshelf-docs-audit3description: Audit ArticleShelf documentation consistency. Use when Codex needs to check or fix docs links, old docs paths, docs directory structure rules, source-of-truth ownership, responsibility overlap, or whether AGENTS.md and ArticleShelf skills are aligned with docs changes. Use when this capability is needed.4---56# ArticleShelf Docs Audit78Use this skill for documentation integrity checks and responsibility cleanup.9After the initial release, treat `AGENTS.md` as the worker handbook for Codex / AI agents / maintainers, and `docs/README.md` as the human-facing docs entrypoint.1011## Workflow12131. Read `AGENTS.md`, `docs/README.md`, and `.codex/skills/articleshelf-change-sync/SKILL.md`.142. Check link and path integrity:15 - Run a Markdown relative link existence check across `README.md`, `docs`, `AGENTS.md`, and `.codex`.16 - Run old-path searches for the legacy specification folder, the old Backlog file path, moved architecture direct `.md` paths, moved product direct `.md` paths, and old phase wording.17 - Run `git diff --check`.183. Check docs structure:19 - `docs/` direct children should be `README.md` plus major folders.20 - Each `docs/<area>/` direct child should be `README.md`, a responsibility folder, or an asset-only folder such as images or generated screenshots.21 - Non-asset responsibility folders should have a `README.md`.224. Check source-of-truth ownership:23 - Requirements: what must be true.24 - Specs: current behavior, API contracts, data model, UI behavior, security behavior.25 - Architecture: structure, responsibility boundaries, runtime and persistence design.26 - Designs: visual layout, component appearance, responsive details, screenshots.27 - Testing: verification strategy, cases, commands, CI test shape.28 - Backlog: future tasks, gaps, ideas, TODOs, and technical debt. Backlog uses one file per task under `pending/` or `in-progress/`; completed task summaries go to `archive/YYYY-MM-DD.md`.295. If overlap exists, preserve information by moving details to the proper source of truth, then replace duplicates with concise links.306. Report updated docs, checks run, and any remaining intentional overlap.3132## Commands3334Use these checks as the default audit set:3536```powershell37$legacy = @(38 'docs' + '/specification',39 'specification' + '/',40 'requirements/backlog' + '.md',41 'architecture/(technology|frontend|backend|data-model|api-flow|runtime|ci-cd)' + '\.md',42 'product/(vision|glossary)' + '\.md',43 'MVP' + ' iteration',44 ('ま' + 'ずは' + '基本'),45 '画像' + '貼り付け'46) -join '|'47rg $legacy README.md docs AGENTS.md .codex48git diff --check49```5051For Markdown link validation, use a local script or shell snippet that resolves relative `.md` links from each source file and reports missing targets.5253## Guardrails5455- Do not turn requirements docs into implementation specs.56- Do not duplicate detailed data model, API, UI, security, or test rules in multiple places.57- Keep README files as indexes or short source-of-truth summaries.58- Keep `AGENTS.md` focused on operating rules and review lenses, not project roadmap or speculative product ideas.59- For Backlog, verify `docs/requirements/backlog/README.md` and each state folder README stay updated, task filenames use lowercase kebab-case, task files use the standard headings, and priorities use `P0`-`P4`.60- Build / unit / integration / E2E are not required for docs-only audits unless scripts or executable behavior changed.6162---63> Source: [t-shirayama/articleshelf](https://github.com/t-shirayama/articleshelf) — distributed by [TomeVault](https://tomevault.io).64<!-- tomevault:4.0:skill_md:2026-06-16 -->