Skip to content

Commit beb4886

Browse files
feat(ai-knowledge): add /kb-harvest and /kb-discover skills (v2.3.2)
Add two new knowledge base skills for enterprise multi-repo workflows: - /kb-harvest: ingest docs from sibling repos, directories, and web URLs with provenance tracking and module auto-tagging - /kb-discover: analyze source code to extract implicit architecture patterns, conventions, and rules into KB articles Both skills include per-article content preview and user approval before writing to disk.
1 parent f3596db commit beb4886

7 files changed

Lines changed: 642 additions & 7 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"metadata": {
88
"description": "A curated list of custom Claude Code plugins, agents, and skills for developers.",
9-
"version": "2.3.1",
9+
"version": "2.3.2",
1010
"pluginRoot": "./plugins"
1111
},
1212
"plugins": [
@@ -272,8 +272,8 @@
272272
{
273273
"name": "ai-knowledge",
274274
"source": "./plugins/ai-knowledge",
275-
"description": "AI-powered knowledge base management - Capture conversation learnings, maintain topic-specific KB files, and dynamically reference institutional knowledge in CLAUDE.md",
276-
"version": "1.1.0",
275+
"description": "AI-powered knowledge base management - Capture conversation learnings, maintain topic-specific KB files, harvest cross-repo and web documentation, discover implicit knowledge from source code, and dynamically reference institutional knowledge in CLAUDE.md",
276+
"version": "1.2.0",
277277
"keywords": [
278278
"ai",
279279
"knowledge-base",

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.3.2] - 2026-04-03
11+
12+
### Added
13+
14+
#### AI-Knowledge Plugin (v1.2.0)
15+
16+
- `/kb-harvest` - Harvest knowledge from external sources into the KB system
17+
- Supports local directories, individual files, glob patterns, and web URLs as sources
18+
- Scans sibling git repos (e.g., `C:/Source/*/docs/**/*.md`) for cross-repo knowledge ingestion
19+
- Fetches and distills web pages (wikis, Confluence, internal docs) via URL
20+
- Auto-tags with `module:{name}` based on source directory structure for filtering by module
21+
- Tracks provenance via `source` frontmatter field (original path or URL) for future re-harvesting
22+
- Discovery report with pre-checked/unchecked sources and batch selection
23+
- Per-article content preview and approval before writing to disk
24+
- Distills content into concise, actionable KB format (not copy-paste)
25+
- Detects topic overlap with existing KB files and proposes appending
26+
- Registers entries in CLAUDE.md Knowledge Base table
27+
- Preserves all source files and URLs (never modifies originals)
28+
29+
- `/kb-discover` - Analyze source code to extract implicit knowledge into KB articles
30+
- Mines source code for architecture patterns, naming conventions, API contracts, error handling, config structures, data models, and testing patterns
31+
- Supports targeted analysis (specific directories), focus areas (topics), or full codebase scan with intelligent sampling
32+
- Auto-detects tech stack and prioritizes analysis targets accordingly
33+
- Groups findings into coherent KB articles (not raw category dumps)
34+
- Per-article draft preview and approval — user sees the full distilled content before any file is written
35+
- Tracks provenance via `discovered-from` frontmatter field for re-discovery when code evolves
36+
- Evidence-based only — requires observed repetition, never fabricates patterns from single occurrences
37+
- Right-sizes articles to 50-150 lines of distilled rules for context-friendly loading
38+
1039
## [2.3.1] - 2026-04-03
1140

1241
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Claude Code Plugins for Developers
22

3-
[![Version](https://img.shields.io/badge/version-2.3.1-blue.svg)](https://github.com/charlesjones-dev/claude-code-plugins-dev/releases)
3+
[![Version](https://img.shields.io/badge/version-2.3.2-blue.svg)](https://github.com/charlesjones-dev/claude-code-plugins-dev/releases)
44
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
55
[![GitHub Issues](https://img.shields.io/github/issues/charlesjones-dev/claude-code-plugins-dev.svg)](https://github.com/charlesjones-dev/claude-code-plugins-dev/issues)
66
[![GitHub Stars](https://img.shields.io/github/stars/charlesjones-dev/claude-code-plugins-dev.svg)](https://github.com/charlesjones-dev/claude-code-plugins-dev/stargazers)
@@ -27,7 +27,7 @@ This Claude Code plugin marketplace provides plugins that extend Claude Code's c
2727
| [ai-statusline](plugins/ai-statusline/) | AI-powered status line customization with progress bars | `/statusline-wizard`, `/statusline-edit` | - |
2828
| [ai-workflow](plugins/ai-workflow/) | AI-powered development workflow automation | `/workflow-plan-phases`, `/workflow-implement-phases`, `/workflow-preflight`, `/workflow-ship`, `/workflow-principles` | - |
2929
| [ai-compliance](plugins/ai-compliance/) | AI-powered license compliance auditing and attribution generation | `/compliance-license-audit`, `/compliance-notice-generate` | - |
30-
| [ai-knowledge](plugins/ai-knowledge/) | AI-powered knowledge base management for conversation learnings | `/kb-init`, `/kb-learn`, `/kb-add`, `/kb-import`, `/kb-ingest`, `/kb-absorb`, `/kb-remove`, `/kb-list`, `/kb-search`, `/kb-prune`, `/kb-auto` | - |
30+
| [ai-knowledge](plugins/ai-knowledge/) | AI-powered knowledge base management for conversation learnings | `/kb-init`, `/kb-learn`, `/kb-add`, `/kb-import`, `/kb-ingest`, `/kb-harvest`, `/kb-discover`, `/kb-absorb`, `/kb-remove`, `/kb-list`, `/kb-search`, `/kb-prune`, `/kb-auto` | - |
3131
| [ai-modernize](plugins/ai-modernize/) | AI-powered codebase modernization assessment for technical debt | `/modernize-audit`, `/modernize-scan` | `modernize-auditor` |
3232
| [ai-writing](plugins/ai-writing/) | AI-powered writing quality tools for natural-sounding text | `/writing-humanize` | - |
3333

plugins/ai-knowledge/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ai-knowledge",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "AI-powered knowledge base management - Capture conversation learnings, maintain topic-specific KB files, and dynamically reference institutional knowledge in CLAUDE.md",
55
"author": {
66
"name": "Charles Jones",

plugins/ai-knowledge/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Knowledge is stored in two layers:
1919
| `/kb-add` | Quickly add a learning or rule with interactive location picker |
2020
| `/kb-import` | Register existing KB files in CLAUDE.md (adds missing frontmatter) |
2121
| `/kb-ingest` | Ingest specific markdown files from anywhere in the project into the KB |
22+
| `/kb-harvest` | Harvest knowledge from external sources: sibling repos, directories, files, or web URLs |
23+
| `/kb-discover` | Analyze source code to extract implicit knowledge into KB articles |
2224
| `/kb-absorb` | Migrate existing CLAUDE.md sections and docs/ content into the KB |
2325
| `/kb-remove` | Remove a KB file and its CLAUDE.md reference |
2426
| `/kb-list` | List all registered KB files with status, tags, dates, and cross-references |
@@ -75,6 +77,6 @@ Cross-references (`related`) create a knowledge graph -- when Claude loads one K
7577

7678
## Plugin Details
7779

78-
- **Version**: 1.1.0
80+
- **Version**: 1.2.0
7981
- **Author**: [Charles Jones](https://charlesjones.dev)
8082
- **License**: MIT

0 commit comments

Comments
 (0)