Plugin
knowledge-base-setup
Markdown knowledge base init and retrofit. Creates .kb/ meta directory plus preset top-level directories (team-docs, research, product, custom, career). Every .md file carries required frontmatter (title, created, updated, summary, tags, status, relations). Phase 0.5 verifies tool dependencies (yq or python+PyYAML, gh for career, optional ripgrep/gitleaks/lychee) with OS-aware install on opt-in. Installs a pre-commit secret-scan hook, and for the career preset (roles, resumes, projects, skills, brag, learning, reviews, goals) also a pre-push hook that blocks pushing to a public repository. Bundles a companion kb-validator skill that syncs timestamps from git log, prunes broken relations, rebuilds .tag-index, enforces README per directory, and flags length recommendations. Use whenever the user wants to initialize a repo as a shared knowledge base, set up a personal career portfolio, retrofit existing docs, prepare docs as a submodule, or make markdown AI-navigable - even if they say 'docs init', 'career portfolio', 'set up wiki', or 'validate kb'.