Initialize Shared Knowledge Base in the current project
Initializes Shared Knowledge Base in the current project with git submodule and configuration.
/plugin marketplace add ozand/shared-kb-commands/plugin install ozand-shared-kb-commands-shared-kb-commands@ozand/shared-kb-commandsInitialize Shared Knowledge Base in this project by following these steps:
mkdir -p .kb/context .kb/project/knowledge .kb/project/pending
git submodule add https://github.com/ozand/shared-knowledge-base.git .kb/shared
git submodule update --init --recursive
Create .kb/context/PROJECT.yaml with this template:
meta:
name: "Project Name"
id: "project-slug"
stack:
language: "python"
framework: ""
sharing_criteria:
universal_if:
- "Generic Pattern"
- "Library Fix"
- "Tooling"
project_specific_if:
- "Business Logic"
- "Secrets"
- "Internal URLs"
mkdir -p .claude/hooks
cp .kb/shared/.claude/hooks/session-start-kb-check.py .claude/hooks/
git add .kb .claude .gitmodules
git commit -m "Chore: Initialize Shared KB v5.1 integration"
Execute these steps using the Bash tool. After completion, inform the user that Shared KB has been successfully initialized.