setup-knowledge-baselisted
Install: claude install-skill techwolf-ai/ai-first-toolkit
# Knowledge Base Setup
Interactive setup that creates a structured, evidence-backed knowledge base in your project.
## When to Use
- Starting a new knowledge base from scratch
- Adding a KB to an existing project
## Step 1: Discover Purpose
Ask the user (one question at a time, use AskUserQuestion):
1. **What is this KB for?** (e.g., product documentation, security/compliance, company knowledge, sales enablement, internal policies)
2. **Who will query it?** (e.g., you personally, your team, AI agents answering questions)
3. **What categories make sense?** Suggest 3-5 based on the domain, let the user adjust.
Example category suggestions by domain:
- **Product docs**: technical, integrations, deployment, security, faq
- **Company knowledge**: general, policies, processes, teams, faq
- **Sales enablement**: product, competitive, customer-success, pricing, faq
- **Security/compliance**: security, compliance, technical, general, faq
## Step 2: Confirm Plan
Before creating anything, present the plan to the user:
```
I'll create this structure in your project:
kb/
.kb-config.yaml
index.md
scopes/
_default.yaml
README.md
{category1}/
{category2}/
{category3}/
scripts/
kb-index.py
kb-verify.py
kb-validate.py
kb-search.py
CLAUDE.md (or append to existing)
Ready to proceed?
```
Wait for user confirmation.
## Step 3: Scaffold the KB
Read the template files from this plugin and adapt them for the user's project:
1. **Read** `templates/kb/.kb-co