Implements KB infrastructure, ingest, normalize, compile, and output features
This skill is used for implementing knowledge-base pipeline features:
None required for this skill - standard file operations and CLI.
Read the feature specification from features.json to understand what's required
KB Structure Feature:
company-hq/kb/ directory structure:
company-hq/kb/raw/ - immutable source datacompany-hq/kb/normalized/ - processed conversation datacompany-hq/kb/wiki/ - compiled wiki pagescompany-hq/kb/outputs/ - AI-generated outputsKB Ingest CLI Feature:
cli/src/commands/kb.ts with subcommands:
kb:ingest --source <path> - copy Claude export files to raw/Normalization Feature:
company-hq/kb/normalized/KB Compile Feature:
kb:compile CLI subcommandwiki/index.md with all conversation titles/dateswiki/Output Path Feature:
kb:output helper or convention for outputs/outputs/YYYY-MM-DD-question.mdVerification:
pnpm -r typecheck to verify no TS errors{
"salientSummary": "Created KB folder structure, kb:ingest CLI command, normalization script, kb:compile command.",
"whatWasImplemented": "company-hq/kb/ directory with raw/normalized/wiki/outputs/, kb:ingest CLI with source validation, normalization to markdown, kb:compile to wiki pages, output path convention",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{ "command": "ls company-hq/kb/", "exitCode": 0, "observation": "4 directories exist" },
{ "command": "pnpm paperclipai kb:ingest --help", "exitCode": 0, "observation": "shows ingest command" },
{ "command": "test -f company-hq/kb/normalized/*.md", "exitCode": 0, "observation": "normalized files exist" },
{ "command": "ls company-hq/kb/wiki/", "exitCode": 0, "observation": "index.md and topic pages exist" }
],
"interactiveChecks": []
},
"tests": {
"added": []
},
"discoveredIssues": []
}