Systematically capture and organize coding wisdom accumulated during development tasks.
A Claude Code skill that helps you build a personal knowledge base of coding insights. Capture development principles, debug approaches, user-caring details, and non-consensus tips that emerge during real coding work.
- 📝 Capture Mode - Record wisdom after coding sessions with rich interactive prompts
- 🔍 Search Mode - Find relevant wisdom before starting new tasks
- 📚 Browse Mode - Explore accumulated wisdom by category
- 🏷️ Tag System - Organize wisdom with searchable tags
| Category | Description | Example |
|---|---|---|
| Development Principles | High-level approaches to building software | "Read existing code before writing new code" |
| Debug Principles | Systematic approaches to troubleshooting | "Change one thing at a time when debugging" |
| Trivial User Features | Small details users care about | "Button hover states provide user confidence" |
| Non-Consensus Tips | Counter-intuitive but effective practices | "Write tests after implementation works" |
- Clone this repository to your local skills directory:
cd ~/.claude/skills
git clone https://github.com/your-username/coding-wisdom.git-
Restart Claude Code
-
The skill will be automatically available
- Copy the
coding-wisdom/folder to~/.claude/skills/ - Restart Claude Code
After completing a coding task, capture what you learned:
- Invoke the skill: "Use coding-wisdom to capture something I learned"
- Select the category (Development, Debug, Trivial, Non-Consensus)
- Answer the prompts:
- Title (short, memorable)
- Context (what led to this discovery)
- The Principle (clear explanation)
- Why It Works (rationale)
- Tags (for categorization)
Before starting a new task, find relevant insights:
# View summary of all wisdom
python3 ~/.claude/skills/coding-wisdom/scripts/search_wisdom.py --summary
# Search by category
python3 ~/.claude/skills/coding-wisdom/scripts/search_wisdom.py --category debug
# Search by tags
python3 ~/.claude/skills/coding-wisdom/scripts/search_wisdom.py --tags testing,debugging
# Full-text search
python3 ~/.claude/skills/coding-wisdom/scripts/search_wisdom.py --search "test"# Interactive capture
python3 scripts/capture_wisdom.py --interactive
# Get help
python3 scripts/search_wisdom.py --helpcoding-wisdom/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── SKILL.md # Main skill instructions
├── scripts/
│ ├── init_wisdom.py # Initialize wisdom storage
│ ├── capture_wisdom.py # Interactive capture script
│ └── search_wisdom.py # Search by category/tags
├── references/
│ ├── categories.md # Detailed category definitions
│ └── wisdom-template.md # Template for manual creation
├── wisdom/
│ ├── development/ # Development principles
│ ├── debug/ # Debug principles
│ ├── trivial/ # Trivial user features
│ └── nonconsensus/ # Non-consensus tips
├── LICENSE
└── README.md
Each wisdom item is stored as a markdown file:
---
category: nonconsensus
tags: [testing, pragmatic]
context: rails-api-project
date: 2026-03-05
---
# Write Tests After Implementation Works
**Context:** Discovered during Rails API development after repeatedly rewriting tests.
**The Principle:**
Write tests after the implementation is working correctly, not before.
**When to Apply:**
- Exploratory development where the API surface is evolving
- Integration with external services where contracts are uncertain
**When NOT to Apply:**
- Well-defined business rules with clear acceptance criteria
**Why It Works:**
- Tests document what the code actually does
- Avoids test rewrites during implementation discovery
- Catches edge cases you didn't anticipateContributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE for details.
Inspired by the Claude Code plugin ecosystem and the following skills:
- file-todos - File-based tracking system patterns
- setup - Rich CLI interaction patterns
- dhh-rails-style - Knowledge organization patterns
- brainstorming - Phase-based workflow patterns
For issues, questions, or suggestions:
- Open an issue on GitHub
- Mention
@coding-wisdomin Claude Code conversations
Made with ❤️ for the Claude Code community