Skill: Check Documentation Consistency
Match Case:
Mismatch Case:
- You MUST read the file
.github/agents/{required_agent}.agent.md.
- You MUST ADOPT the persona defined in that file for the duration of this skill.
- Proceed with the skill acting as the {required_agent}.
You are supporting the @Librarian. Your goal is to verify the consistency of all documentation starting from the project's README.md, and propose or implement necessary corrections.
📋 Task Initialization
IMMEDIATELY use the #todo tool to register the following tasks to track your progress:
- Read Documentation: Read project root
README.md and agent docs.
- Verify Links: Check file paths, relative links, and navigability from root.
- Verify Content Consistency: Check directory structure, tech stack, and code references.
- Verify Onboarding: Check flow from Setup -> Build -> Usage -> Architecture.
- Generate Report: Create a summary of findings (Pass/Warning/Error).
- Propose/Implement Fixes: Auto-fix simple issues, propose complex ones.
- Final Check: Review the "Final Check" section.
🎯 Objective
Ensure that:
- Structure is Complete: The project root
README.md acts as a proper entry point and all links work.
- Content is Consistent: Documentation matches the actual codebase (files, classes, configs).
- DRY Principle is Followed: Information is not duplicated unnecessarily.
- Project Rules are Met: Documentation follows
docs/ structure and other project conventions.
- Navigability is Complete: All documents are reachable starting from the project root
README.md.
- Onboarding is Smooth: New users can easily find Setup, Build, Usage, and Architecture info.
🛠️ Execution Steps
Step 1: Read Documentation
Read Entry Point:
- Read the project root
README.md.
- Identify key sections and links to other documents.
Read Agent Documentation:
- List files in
docs/.
- Read key documents like
docs/architecture/directory-structure.md, docs/architecture/tech-stack.md, and docs/architecture/key-flows.md.
Step 2: Verify Links and Navigability
Extract Links:
- Identify all file paths and relative links in the read documents.
Verify Existence:
- Verify that linked files and directories actually exist.
- Check for broken images or dead links.
Check Reachability:
- Ensure every documentation file is reachable by following links starting from the project root
README.md.
- Identify "orphan" documents that exists but are not linked.
Step 3: Verify Content Consistency
Directory Structure:
- Compare
docs/architecture/directory-structure.md with the actual directory structure of the project root and key subdirectories.
- Note any missing or obsolete directories in the documentation.
Tech Stack & Config:
- Compare
docs/architecture/tech-stack.md with pyproject.toml, package.json, or other configuration files.
- Ensure versions and dependencies match.
Code References:
- If documents mention specific classes or functions, confirm they still exist and are named correctly.
Onboarding Flow:
- Verify that a new user can smoothly follow the path: Environment Setup -> Build/Run -> Usage -> Architecture.
- Ensure these sections are clearly visible and logically ordered.
Step 4: Report and Fix
Generate Report:
- Create a summary of findings categorized by:
- ✅ Pass: Items that are consistent.
- ⚠️ Warning: Minor inconsistencies or potential issues.
- ❌ Error: Broken links, missing files, or major contradictions.
Propose/Implement Fixes:
- Auto-Fix: For simple issues like typos or broken relative paths, fix them immediately.
- Proposal: For structural changes or missing content, describe the recommended changes in the report.
📤 Output Format
Present your findings in the following format:
# Documentation Consistency Report
## Summary
[Brief summary of the overall state of documentation]
## Findings
### ✅ Consistent Items
- README.md links are valid.
- ...
### ❌ Issues Found
- **Broken Link**: `README.md` refers to `docs/setup.md` which does not exist.
- **Outdated Content**: `directory-structure.md` misses the new `services/payment` directory.
## Actions Taken
- Fixed typo in `README.md`.
## Recommendations
- Update `directory-structure.md` to include `services/payment`.
✅ Final Check
Before finishing, confirm:
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: check-doc-consistency3description: Check consistency of project documentation and propose fixes. Use when this capability is needed.4---56# Skill: Check Documentation Consistency78<role_gate>9<required_agent>Librarian</required_agent>10<instruction>11Before proceeding with any instructions, you MUST strictly check that your `ACTIVE_AGENT_ID` matches the `required_agent` above.1213Match Case:1415- Proceed normally.1617Mismatch Case:1819- You MUST read the file `.github/agents/{required_agent}.agent.md`.20- You MUST ADOPT the persona defined in that file for the duration of this skill.21- Proceed with the skill acting as the {required_agent}.2223</instruction>24</role_gate>2526You are supporting the **@Librarian**. Your goal is to verify the consistency of all documentation starting from the project's `README.md`, and propose or implement necessary corrections.2728## 📋 Task Initialization2930**IMMEDIATELY** use the `#todo` tool to register the following tasks to track your progress:31321. **Read Documentation**: Read project root `README.md` and agent docs.332. **Verify Links**: Check file paths, relative links, and navigability from root.343. **Verify Content Consistency**: Check directory structure, tech stack, and code references.354. **Verify Onboarding**: Check flow from Setup -> Build -> Usage -> Architecture.365. **Generate Report**: Create a summary of findings (Pass/Warning/Error).376. **Propose/Implement Fixes**: Auto-fix simple issues, propose complex ones.387. **Final Check**: Review the "Final Check" section.3940## 🎯 Objective4142Ensure that:43441. **Structure is Complete**: The project root `README.md` acts as a proper entry point and all links work.452. **Content is Consistent**: Documentation matches the actual codebase (files, classes, configs).463. **DRY Principle is Followed**: Information is not duplicated unnecessarily.474. **Project Rules are Met**: Documentation follows `docs/` structure and other project conventions.485. **Navigability is Complete**: All documents are reachable starting from the project root `README.md`.496. **Onboarding is Smooth**: New users can easily find Setup, Build, Usage, and Architecture info.5051## 🛠️ Execution Steps5253### Step 1: Read Documentation54551. **Read Entry Point**:56 - Read the project root `README.md`.57 - Identify key sections and links to other documents.58592. **Read Agent Documentation**:60 - List files in `docs/`.61 - Read key documents like `docs/architecture/directory-structure.md`, `docs/architecture/tech-stack.md`, and `docs/architecture/key-flows.md`.6263### Step 2: Verify Links and Navigability64651. **Extract Links**:66 - Identify all file paths and relative links in the read documents.67682. **Verify Existence**:69 - Verify that linked files and directories actually exist.70 - Check for broken images or dead links.71723. **Check Reachability**:73 - Ensure every documentation file is reachable by following links starting from the project root `README.md`.74 - Identify "orphan" documents that exists but are not linked.7576### Step 3: Verify Content Consistency77781. **Directory Structure**:79 - Compare `docs/architecture/directory-structure.md` with the actual directory structure of the project root and key subdirectories.80 - Note any missing or obsolete directories in the documentation.81822. **Tech Stack & Config**:83 - Compare `docs/architecture/tech-stack.md` with `pyproject.toml`, `package.json`, or other configuration files.84 - Ensure versions and dependencies match.85863. **Code References**:87 - If documents mention specific classes or functions, confirm they still exist and are named correctly.88894. **Onboarding Flow**:90 - Verify that a new user can smoothly follow the path: **Environment Setup** -> **Build/Run** -> **Usage** -> **Architecture**.91 - Ensure these sections are clearly visible and logically ordered.9293### Step 4: Report and Fix94951. **Generate Report**:96 - Create a summary of findings categorized by:97 - ✅ **Pass**: Items that are consistent.98 - ⚠️ **Warning**: Minor inconsistencies or potential issues.99 - ❌ **Error**: Broken links, missing files, or major contradictions.1001012. **Propose/Implement Fixes**:102 - **Auto-Fix**: For simple issues like typos or broken relative paths, fix them immediately.103 - **Proposal**: For structural changes or missing content, describe the recommended changes in the report.104105## 📤 Output Format106107Present your findings in the following format:108109```markdown110# Documentation Consistency Report111112## Summary113114[Brief summary of the overall state of documentation]115116## Findings117118### ✅ Consistent Items119120- README.md links are valid.121- ...122123### ❌ Issues Found124125- **Broken Link**: `README.md` refers to `docs/setup.md` which does not exist.126- **Outdated Content**: `directory-structure.md` misses the new `services/payment` directory.127128## Actions Taken129130- Fixed typo in `README.md`.131132## Recommendations133134- Update `directory-structure.md` to include `services/payment`.135```136137## ✅ Final Check138139**Before finishing, confirm:**140141- [ ] All todo are marked as completed.142- [ ] All broken links are reported or fixed.143- [ ] Navigability from project root `README.md` is confirmed.144- [ ] Onboarding flow (Setup->Build->Usage->Architecture) is verified.145- [ ] Consistency report is generated in the correct format.146- [ ] Proposed fixes are actionable.147148---149> Converted and distributed by [TomeVault](https://tomevault.io/claim/longbowxxx) — claim your Tome and manage your conversions.150<!-- tomevault:4.0:skill_md:2026-04-14 -->