Verify that documentation matches the actual code implementation.
Areas to Check
1. Keyboard Shortcuts
Files to compare:
README.md - Quick reference section
docs/KEYBOARD_REFERENCE.md - Complete reference
src/input/normal/*.rs - Actual implementations
Verification:
Extract shortcuts from README.md keyboard tables
Extract shortcuts from KEYBOARD_REFERENCE.md
Search for KeyCode::Char('x') patterns in input handlers
Report any discrepancies
Common issues:
README shows 'a' for adding projects, but code uses 'n'
Missing shortcuts in documentation
Deprecated shortcuts still documented
2. Configuration Options
Files to compare:
docs/CONFIG_GUIDE.md - Config documentation
src/config.rs - Config struct and defaults
Verification:
Extract config fields from Config struct
Check each field is documented in CONFIG_GUIDE.md
Verify default values match
Check for undocumented fields
3. Module Descriptions
Files to compare:
CLAUDE.md - Module responsibilities section
src/*/mod.rs - Module doc comments
Verification:
List all modules in CLAUDE.md
Check each module exists
Compare descriptions with module //! comments
Report missing or outdated entries
4. Key Types
Files to compare:
CLAUDE.md - Key Types section
Source files with type definitions
Verification:
List types in CLAUDE.md
Verify each type exists in the codebase
Check descriptions are accurate
Report missing important types
Example Report
Documentation Sync Report:
README.md vs KEYBOARD_REFERENCE.md:
[MISMATCH] README: 'a' = Add project
REFERENCE: 'n' = Add project
[OK] All other shortcuts match
CONFIG_GUIDE.md vs config.rs:
[OK] All 12 config options documented
[OK] Default values match
CLAUDE.md vs codebase:
[MISSING] hooks/mod.rs HookEventType not documented in Key Types
[OK] Module responsibilities up to date
Quick Checks
Run these to spot-check documentation:
# Find all KeyCode patterns in input handlers
grep -r "KeyCode::Char" src/input/ | grep -v test
# List config fields
grep "pub " src/config.rs | head -20
# Check module doc comments
head -5 src/*/mod.rs
Fixes Applied
After running this skill, fix discrepancies by:
Updating README.md for quick fixes
Updating KEYBOARD_REFERENCE.md for complete changes
Updating CLAUDE.md for architecture documentation
Adding missing types to Key Types section
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: ivan-brko-panoptes-doc-sync3description: Doc Sync Skill4---56# Doc Sync Skill78Verify that documentation matches the actual code implementation.910## Areas to Check1112### 1. Keyboard Shortcuts1314**Files to compare:**15- `README.md` - Quick reference section16- `docs/KEYBOARD_REFERENCE.md` - Complete reference17- `src/input/normal/*.rs` - Actual implementations1819**Verification:**201. Extract shortcuts from README.md keyboard tables212. Extract shortcuts from KEYBOARD_REFERENCE.md223. Search for `KeyCode::Char('x')` patterns in input handlers234. Report any discrepancies2425**Common issues:**26- README shows `'a'` for adding projects, but code uses `'n'`27- Missing shortcuts in documentation28- Deprecated shortcuts still documented2930### 2. Configuration Options3132**Files to compare:**33- `docs/CONFIG_GUIDE.md` - Config documentation34- `src/config.rs` - Config struct and defaults3536**Verification:**371. Extract config fields from `Config` struct382. Check each field is documented in CONFIG_GUIDE.md393. Verify default values match404. Check for undocumented fields4142### 3. Module Descriptions4344**Files to compare:**45- `CLAUDE.md` - Module responsibilities section46- `src/*/mod.rs` - Module doc comments4748**Verification:**491. List all modules in CLAUDE.md502. Check each module exists513. Compare descriptions with module `//!` comments524. Report missing or outdated entries5354### 4. Key Types5556**Files to compare:**57- `CLAUDE.md` - Key Types section58- Source files with type definitions5960**Verification:**611. List types in CLAUDE.md622. Verify each type exists in the codebase633. Check descriptions are accurate644. Report missing important types6566## Example Report6768```69Documentation Sync Report:7071README.md vs KEYBOARD_REFERENCE.md:72 [MISMATCH] README: 'a' = Add project73 REFERENCE: 'n' = Add project74 [OK] All other shortcuts match7576CONFIG_GUIDE.md vs config.rs:77 [OK] All 12 config options documented78 [OK] Default values match7980CLAUDE.md vs codebase:81 [MISSING] hooks/mod.rs HookEventType not documented in Key Types82 [OK] Module responsibilities up to date83```8485## Quick Checks8687Run these to spot-check documentation:8889```bash90# Find all KeyCode patterns in input handlers91grep -r "KeyCode::Char" src/input/ | grep -v test9293# List config fields94grep "pub " src/config.rs | head -209596# Check module doc comments97head -5 src/*/mod.rs98```99100## Fixes Applied101102After running this skill, fix discrepancies by:1031. Updating README.md for quick fixes1042. Updating KEYBOARD_REFERENCE.md for complete changes1053. Updating CLAUDE.md for architecture documentation1064. Adding missing types to Key Types section107108---109> Converted and distributed by [TomeVault](https://tomevault.io/claim/ivan-brko) — claim your Tome and manage your conversions.110<!-- tomevault:4.0:skill_md:2026-04-13 -->
Run npx skillmds@latest add tomevault-io/ivan-brko-panoptes-doc-sync in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Doc Sync Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.