Agent skill
knowledge-manager
Manages a structured knowledge base of patterns, troubleshooting guides, best practices, and workflows. Activates when discovering reusable insights, solving technical problems, or establishing new standards. Records knowledge in categorized files for future reference without bloating global CLAUDE.md.
Install this agent skill to your Project
npx add-skill https://github.com/fubira/claude-code-settings/tree/main/skills/knowledge-manager
SKILL.md
Knowledge Manager Skill
Manage a structured knowledge base. Progressive disclosure: reference knowledge only when relevant, keeping CLAUDE.md minimal.
Activation Triggers
- Discovered a reusable solution (automatic)
- Solved a non-obvious technical problem (automatic)
- Established a new coding convention or pattern (automatic)
Categories
| Category | Path | When to Record |
|---|---|---|
| Patterns | knowledge/patterns/ |
Reusable design patterns, architecture |
| Troubleshooting | knowledge/troubleshooting/ |
Non-obvious technical problem solutions |
| Best Practices | knowledge/best-practices/ |
Coding standards, quality guidelines |
| Workflows | knowledge/workflows/ |
Dev processes, CI/CD, operational procedures |
Recording Process
- Detect: Identify valuable insights during development
- Evaluate: Assess on 3 axes — Reusability, Impact, Learning Value (record if 2/3 are Medium+)
- Record: Check category INDEX.md → deduplicate → create with template (
templates/) → update INDEX.md - User Approval: Present summary, category, evaluation, and usage examples; create only after approval
Search and Retrieval
- Check relevant category INDEX.md
- Read only the specific files needed
- Provide answers with source references
Maintenance
- Periodically update INDEX files, archive low-value entries, consolidate duplicates
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
refactoring-assistant
Assists with code refactoring by detecting code smells, suggesting improvements, and providing refactoring patterns. Activates when writing/editing code, explicitly requested refactoring, or when code quality issues are detected. Maintains awareness of core principles while providing detailed patterns and examples.
code-reviewer
Assists with code review by analyzing code changes for quality, best practices, security, and potential issues. Activates after implementing code features, bug fixes, or refactorings. Provides structured feedback with critical issues, suggestions, and positive highlights.
context-compactor
Analyzes and compacts context-affecting documents (project memory, CLAUDE.md, skill files) to reduce token usage and compaction frequency. Manual trigger only. Always requires user approval before making changes.
test-executor
Executes tests, analyzes test results, checks test coverage, and provides comprehensive testing status overview. Primarily for Go projects. Activates after implementing/modifying code to verify correctness, or when explicitly requested to assess test suite health.
release-assistant
Automates and ensures reliable release workflows with automatic version bump based on commit history, mandatory lint/build/test execution before release, and safe tag creation and push.
git-commit-assistant
Assists with careful Git commits in any repository. Activates when committing changes, checking .gitignore, or generating commit messages. Ensures proper file exclusion (credentials, MCP configs, personal settings), identifies untracked files, and generates Conventional Commits messages with Japanese explanations.
Didn't find tool you were looking for?