kb-advisor
Knowledge base advisor — search, synthesize, and update your team's knowledge repositories.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 12
- Forks
- 0
01 前言 Front Matter
- name
- kb-advisor
- description
- Knowledge base advisor — search, synthesize, and update your team's knowledge repositories.
- allowed-tools
- [ "Read", "Write", "Grep", "Glob", "Bash" ]
03 SKILL.md 正文
Knowledge Base Advisor
Search and synthesize answers from your team's knowledge base repositories.
Configuration
Knowledge bases are configured during superskills setup and stored in ~/.superskills/knowledge.conf.
# Check configured knowledge bases
cat ~/.superskills/knowledge.conf
Each line is: name|path|description
Example:
docs|~/.superskills/knowledge/docs|Internal documentation and architecture decisions
research|~/.superskills/knowledge/research|Market research and competitive analysis
Workflow
1. Discover Available Knowledge
# List configured knowledge bases
cat ~/.superskills/knowledge.conf | while IFS='|' read -r name path desc; do
path="${path/#\~/$HOME}"
if [ -d "$path" ]; then
count=$(find "$path" -name "*.md" -o -name "*.txt" -o -name "*.html" | wc -l | tr -d ' ')
echo " [$name] $count files — $desc"
else
echo " [$name] NOT CLONED — $path"
fi
done
2. Search Across Knowledge Bases
# Search all knowledge bases for a topic
for kb_path in $(awk -F'|' '{print $2}' ~/.superskills/knowledge.conf); do
kb_path="${kb_path/#\~/$HOME}"
[ -d "$kb_path" ] && grep -rli "search terms" "$kb_path" --include="*.md" --include="*.txt" --include="*.html"
done
3. Synthesize Advice
- Read the most relevant files (top 3-5 matches)
- Quote specific passages with attribution (file name and path)
- Cross-reference multiple sources when they agree or disagree
- Connect abstract principles to the user's specific situation
4. Update Knowledge Base (Optional)
When the conversation produces novel insights worth preserving:
# Add new knowledge to the appropriate repo
echo "content" > <kb-path>/new-insight.md
# Commit the update
cd <kb-path> && git add -A && git commit -m "Add: <topic>"
Tips
- Always cite the specific source file
- If the knowledge base doesn't cover a topic, say so — don't fabricate
- Suggest pulling latest:
cd <kb-path> && git pull - For questions outside the knowledge base, answer from general knowledge but note the gap
- Multiple knowledge bases can be searched together for cross-domain insights
04 同仓库更多 Skills
plan-eng-review
Eng manager-mode plan review. (gstack)
youtube
Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.
write-plan
Use when you have a spec or requirements for a multi-step task, before touching code. Produces an engineering plan complete with TDD tasks, DRY/SOLID/YAGNI principles, a required Test Plan & Verification section, and a coverage target — then auto-runs /plan-eng-review as an independent double-check before execution.
worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
web-perf
Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.
verify
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always