wonderslife/pdd-skills/pdd-doc-gardener
Claude Code and agent skill by wonderslife/pdd-skills
- community
Checking that the SKILL.md file is still in the repository.
Document Gardener skill that periodically scans document directories in the codebase to identify outdated or deprecated documents. Automatically triggered when users need document consistency checks, document updates, or document cleanup. Core responsibility: Maintain knowledge base freshness, ensure documents are synchronized with code implementation. Trigger scenarios: - User requests "check document consistency", "update documents", "clean up outdated documents" - pdd-entropy-reduction coordinator invocation - Scheduled trigger (recommended daily) 支持中文触发:文档园丁、文档一致性检查、文档更新、文档清理、过时文档、PDD文档园丁。
Install
npx vskill@latest install wonderslife/pdd-skills/pdd-doc-gardenerSKILL.md
Document Gardener (pdd-doc-gardener)
Core Philosophy
"Documentation as code, keep synchronized. Outdated documentation is technical debt." —— PDD Golden Principle
Document Gardener is a key skill for implementing garbage collection, responsible for periodically scanning the docs/ directory in the codebase to identify outdated or deprecated documents that no longer reflect actual code behavior.
Detection Items
1. Code-Document Inconsistency
Detection Method:
- Parse code references in documents (e.g., file paths, function names, API endpoints)
- Check if referenced code exists
- Check if code behavior matches document description
Example:
2. Outdated Comments
Detection Method:
- Scan TODO, FIXME, HACK comments in code
- Check comment age
- Mark comments older than N days as outdated
Example:
3. Document References Deleted Code
Detection Method:
- Parse file path references in documents
- Check if files exist
- Mark documents referencing deleted files
Example:
4. API Documentation Mismatch with Implementation
Detection Method:
- Parse endpoint definitions in API documentation
- Scan actual API implementations in code
- Compare parameters, return values, error codes
Example:
Execution Flow
Output Format
Document Gardener Report
Usage Examples
Example 1: Comprehensive Document Check
Example 2: API Documentation Check
Example 3: Clean Up Outdated Comments
Configuration Options
Collaboration with Other Skills
- pdd-entropy-reduction: Invoked as a sub-skill by the coordinator
- pdd-doc-change: Calls this skill to create document change PRs
- expert-entropy-auditor: Receives audit results, executes document fixes
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpdd-doc-gardener/SKILL.md
Popularity
- Repository stars
- 39
- Repository forks
- 11
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. 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/wonderslife/pdd-skills/pdd-doc-gardener)