Skip to content
Skills Library
AI & agents · Analysis

bootstrap-knowledge

/bootstrap-knowledge

Scan a project and generate comprehensive knowledge for all personas. Creates semantic vector index, deep analysis, file watcher. Use when user says "bootstrap knowledge", "learn architecture", or "scan project structure".

Repository
skills ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Scan a project and generate comprehensive knowledge for all personas. Creates semantic vector index, deep analysis, file watcher. Use when user says "bootstrap knowledge", "learn architecture", or "scan project structure".

Triggers from the description

bootstrap knowledgelearn architecturescan project structure
Original author description

Scan a project and generate comprehensive knowledge for all personas. Creates semantic vector index, deep analysis, file watcher. Use when user says "bootstrap knowledge", "learn architecture", or "scan project structure".

How it works

  1. Inputs
  2. Workflow
  3. Key Details
Original SKILL.md headings · 85 lines, 384 words
SKILL.md preview
---
name: bootstrap-knowledge
description: Scan a project and generate comprehensive knowledge for all personas. Creates semantic vector index, deep analysis, file watcher. Use when user says "bootstrap knowledge", "learn architecture", or "scan project structure".
---

# Bootstrap Knowledge - Build Project Knowledge

Scans project, generates persona-specific knowledge, creates vector index for code search.

## Inputs

| Input | Type | Default | Purpose |
|-------|------|---------|---------|
| `project` | string | auto | Project from config.json (auto from cwd) |
| `personas` | string | "developer,devops,tester,release" | Comma-separated |
| `deep_scan` | bool | false | Deeper analysis (slower) |
| `create_vector_index` | bool | true | Create semantic code index |
| `start_watcher` | bool | true | Auto-update index on file changes |

## Workflow

### 1. Detect Project
- If not provided: detect from cwd via config.json repositories
- Validate project exists in config and path exists

### 2. Check Known Issues
- `check_known_issues("code_index", "")` - vector indexing issues

### 3. Knowledge Scan per Persona
- For each in personas_list: `knowledge_scan(project, persona, force=false)`
- Personas: developer, devops, tester, release

### 4. Create Vector Index
- `code_index(project)` - semantic embeddings for code search
- Parse result: files indexed, chunks created

### 5. Start File Watcher
- `code_watch(project, action="start")` - auto-reindex on changes
- Only if vector index created successfully

### 6. Deep Scan (if enabled)
- `code_search(query="class definition pattern implementation", project, limit=10)`
- `code_search(query="exception handling try except raise error", project, limit=5)`
- Read README.md (first 5000 chars)
- Scan tests/ for test_*.py, *.test.js, conftest.py

### 7. Build Summary
- List generated files: `memory/knowledge/personas/<persona>/<project>.yaml`
- Vector index stats: files, chunks, watcher status
- Deep scan: README length, test counts, patterns, error handlers

### 8. Learn from Failures
- If "permission denied": `learn_tool_fix("code_index", "permission denied", "Cannot write to vector cache", "Check ~/.cache/aa-workflow/vectors/")`
- If "out of memory": learn fix for memory
- If "already running": note watcher is active

### 9. Log and Track
- `memory_session_log("Bootstrapped knowledge for <project>", "Personas: X, Vector: Y")`
- Update state/knowledge with project, last_bootstrap, vector_indexed

### 10. Output Format

```markdown
## 📚 Knowledge Bootstrap Complete: <project>

**Project Path:** `path`
**Personas:** developer, devops, tester, release

### Generated Knowledge Files
- memory/knowledge/personas/developer/<project>.yaml
- ...

### 🔍 Vector Index Created
- Files indexed: N
- Chunks created: N
- File watcher: ✅ Running

### Next Steps
1. knowledge_query(project='...', persona='developer')
2. code_search(query='...', project='...')
3. knowledge_update() for gotchas
```

## Key Details

- **Chains to:** `knowledge_refresh`, `learn_architecture`
- **Provides context for:** `gather_context`, `review_pr`, `start_work`
- Project path from config.json repositories

Versions

The database has no other skills named bootstrap-knowledge.

Database snapshot: 13.11.2026 · package version 243eb5f577c6 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100bootstrap-all-knowledge
    Iterate all configured projects and personas to build project knowledge. Use to initialize knowledge for all projects at once or scheduled maintenance. Use when user says "bootstrap all knowledge", "scan all projects", or "refresh all knowledge".
  • 90learn-architecture
    Deep scan of project structure to update architecture knowledge. Uses semantic code search for API, model, error, and test patterns. Use to bootstrap or refresh project knowledge.
  • 100skill-bootstrap
    Use for `bootstrap skills`, `capture project workflow knowledge`, `build this repo's skill library`, or `project skill library`, including existing-skill improvements. Do NOT use for one skill (use skillforge), scored tuning (use skillopt), or session diagnosis (use skill-doctor).
  • 100bootstrap-agents-knowledge
    Bootstraps a portable AGENTS.md and knowledge/ tree (always-on rules, product docs, OKF change bundles with spec/plan/tasks before implementation, CHANGELOG self-learning loop) for any repository, plus an optional Roadmap module (knowledge/roadmap/ index + one folder per…
  • 96repo-bootstrap
    Use when the user asks to bootstrap a new repo or project.
  • 100building-github-index
    Generate progressive disclosure indexes for GitHub repositories to use as Claude project knowledge. Use when setting up projects referencing external documentation, creating searchable indexes of technical blogs or knowledge bases, combining multiple repos into one index, or…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.