captainphantasy/floyd/doc-parity-patterns
Claude Code and agent skill by captainphantasy/floyd
- community
Checking that the SKILL.md file is still in the repository.
Validates code-documentation parity using tree-sitter static analysis. Use when user asks about documentation validation, doc parity, checking if docs are up to date, or whether code matches documentation.
Install
npx vskill@latest install captainphantasy/floyd/doc-parity-patternsSKILL.md
The same SKILL.md was published earlier as captainphantasy/floyd/doc-parity-patterns.
Documentation Parity Patterns
Validate that code and documentation stay synchronized using real static analysis, not just LLM reasoning.
When to Use
Trigger this skill when user asks:
- "validate docs", "check documentation", "doc parity"
- "are docs up to date", "documentation drift"
- "does this match the docs", "is this documented"
- "what's missing from documentation"
- "check code against docs"
Core Principles
- Code-based validation: Use tree-sitter or AST parsing, not prompts
- Tiered severity: Critical (API breaks), Warning (outdated info), Info (typos)
- Incremental checking: Check modified files, not entire codebase
- Non-blocking default: Alert but don't block unless configured
Validation Depth Levels
| Level | What It Checks | Speed | |
|---|---|---|---|
| Shallow | Exported symbol names exist in docs | Fast | |
| Medium | Function signatures match (params, types) | Moderate | |
| Deep | Behavioral descriptions match actual behavior | Slow |
Common Issues Found
| Issue | Severity | Auto-Fix | |
|---|---|---|---|
| Missing export in docs | Warning | Yes (placeholder) | |
| Orphaned doc entry | Warning | Yes (remove) | |
| Signature mismatch | Warning | Yes (update) | |
| Path reference invalid | Info | No | |
| Behavior description outdated | Critical | No (human review) |
Tree-Sitter Patterns
Extract exported symbols by language:
TypeScript:
Go:
Python:
Validation Workflow
- Extract exported symbols from source files
- Search documentation for symbol references
- Compare signatures (at medium depth)
- Report mismatches with severity levels
- Offer auto-fixes where applicable
References
hooks/scripts/parity-check.sh- Main validation scriptcommands/check.md- Manual check commandcommands/fix.md- Auto-fix command
Examples
Validate specific file:
Full project scan:
Fix found issues:
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingINK/floyd-cli/doc-parity/skills/doc-parity-patterns/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/captainphantasy/floyd/doc-parity-patterns)