claude/ai-resources-plugin/skills/knowledge-base-ingest/SKILL.md
This skill should be used when integrating source material into a knowledge base, including when the user asks to "integrate this document into the knowledge base", "add this transcript to the memory bank", "ingest this document", "update the knowledge base", "analyze a new source document", or "sync current-state docs with this source".
npx skillsauth add amhuppert/my-ai-resources knowledge-base-ingestInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Maintain a bounded knowledge base that separates immutable source material from derived analysis and current-state synthesis. A repository or workspace may contain multiple largely independent knowledge-base directories, each focused on a specific feature area, product area, project, or topic.
Use this skill to add new primary documents, integrate new information, reorganize knowledge docs, or keep index, changelog, open questions, and current-state synthesis documents in sync for the specific knowledge-base directory being maintained.
./kb/<knowledge-base-slug>/ relative to the repository or workspace root. Look for existing knowledge bases under ./kb/ first when discovering, and create new ones there by default.
<knowledge-base-slug> is a short kebab-case name describing the knowledge base's scope (feature area, product area, project, or topic). Derive it from the user's request when not specified.memory-bank/, docs/knowledge/, project-context/). Do not relocate an existing knowledge base unless explicitly asked../kb/<knowledge-base-slug>/
├── AGENTS.md
├── CLAUDE.md
├── index.md
├── changelog.md
├── open-questions.md
├── primary/
├── derived/
└── current/
When initializing a new knowledge base:
./kb/<knowledge-base-slug>/ unless the user specifies a different path or an existing knowledge base already lives elsewhere.references/AGENTS.md from this skill into <knowledge-base-root>/AGENTS.md.<knowledge-base-root>/CLAUDE.md that autoloads AGENTS.md via the @ import syntax. Use references/CLAUDE.md from this skill as the template.AGENTS.md or CLAUDE.md. If one exists, read it and merge only clearly missing knowledge-base maintenance rules when appropriate.Classify files before editing.
Primary documents:
Derived documents:
current/.Current-state documents:
Operating documents:
index.md links all knowledge-base docs with short descriptions.changelog.md records additions, decisions, clarifications, and changed understanding.open-questions.md tracks unresolved and resolved questions.AGENTS.md describes the structure and synchronization rules for future agents.CLAUDE.md imports AGENTS.md so Claude Code automatically loads the same rules when working inside the knowledge-base directory.Use current/ as a recursive synthesis tree.
Preferred pattern:
current/
├── <scope>-current-state.md
└── <scope>-current-state/
├── domain-a-current-state.md
├── domain-b-current-state.md
└── domain-c-current-state.md
When a leaf grows too broad, split it:
current/
├── <scope>-current-state.md
└── <scope>-current-state/
├── domain-a-current-state.md
└── domain-a-current-state/
├── focused-topic-1-current-state.md
└── focused-topic-2-current-state.md
Name child directories after the exact stem of their parent document.
Follow this sequence when adding or analyzing a new source document.
Preserve the source.
primary/ subdirectory.transcripts/, prds/, source-docs/, research/, design/.Extract and inspect.
Compare against current state.
Create a derived impact report when the source changes understanding.
derived/impact-reports/ unless local instructions specify another location.Update focused current-state leaves first.
Propagate upward.
Update open-questions.md.
Update changelog.md.
Update index.md.
Verify.
When asked to reorganize a knowledge base:
AGENTS.md, CLAUDE.md, index.md, changelog.md, and open-questions.md.
references/AGENTS.md and references/CLAUDE.md templates into the knowledge-base root.AGENTS.md / CLAUDE.md and only add missing synchronization guidance if needed. If AGENTS.md exists but CLAUDE.md does not, add a CLAUDE.md that imports AGENTS.md.If sources conflict:
End with a concise report:
references/AGENTS.md — Template for the knowledge-base root's AGENTS.md describing structure and synchronization rules for future agents.references/CLAUDE.md — Template that imports AGENTS.md via the @ syntax so Claude Code autoloads the same rules.development
Debug a running web app via the web-debugger SDK: app logs, application state, runtime snapshots, React state, query cache.
development
Thoroughly understand a software development objective before implementation: research, identify ambiguities, ask clarifying questions. Use before starting implementation of a non-trivial or ambiguously specified feature, or when requirements leave open design decisions.
development
Locate the on-disk Claude Code transcript file (.jsonl under ~/.claude/projects/) for the current or a specified conversation.
development
Reflect on codebase navigation effectiveness at end of conversation. Surfaces dead ends, inefficiencies, missing context. Does not write files — pair with /kiro:steering-custom to persist.