Skip to content
Skills Library
Programming · Building & coding

extract

/extract

Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.

Licence
MIT
Last repository change
01.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 01.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.

Original author description

Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.

How it works

  1. When NOT To Use
  2. Steps
  3. Exit Criteria
  4. Category Priority
Original SKILL.md headings · 58 lines, 246 words
SKILL.md preview
---
name: extract
description: Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.
model_hint: standard
---

# Extract Codebase Knowledge

Build or rebuild the `.gauntlet/knowledge.json` knowledge base.

## When NOT To Use

- Tribal knowledge no parser can see (use `gauntlet:curate`)
- Building the code graph (use `gauntlet:graph-build`)

## Steps

1. **Identify target directory**: use the current working directory
   or a user-specified path

2. **Run AST extraction**: invoke the extractor script
   ```bash
   python3 ${CLAUDE_PLUGIN_ROOT}/scripts/extractor.py <target-dir>
   ```

3. **AI enrichment**: for each extracted entry, enhance the `detail`
   field with natural language explanation of business logic, data
   flow, architectural role, and rationale

4. **Cross-reference**: link related entries across modules by
   matching imports, shared types, and data flow paths

5. **Merge with annotations**: preserve existing curated entries
   in `.gauntlet/annotations/`

6. **Save**: write to `.gauntlet/knowledge.json`

7. **Report**: show summary by category, coverage gaps, difficulty
   distribution

## Exit Criteria

- [ ] `.gauntlet/knowledge.json` exists and is valid JSON after the
  skill completes; entries from `.gauntlet/annotations/` are merged
  and not overwritten
- [ ] Report shows entry counts broken down by all 7 categories
  (business_logic, architecture, data_flow, api_contract, pattern,
  dependency, error_handling) with coverage gaps identified
- [ ] Each extracted entry has a `detail` field containing a natural
  language explanation (not just the raw AST node name)
- [ ] Cross-reference links between related entries are present for
  modules sharing imports, shared types, or data flow paths

## Category Priority

1. business_logic (weight 7)
2. architecture (weight 6)
3. data_flow (weight 5)
4. api_contract (weight 4)
5. pattern (weight 3)
6. dependency (weight 2)
7. error_handling (weight 1)

Versions

RepositoryScoreLicence
This page · athola/claude-night-market100MIT
alirezarezvani/claude-skills100MIT
sttsspjy/pptx-kit100MIT
actionbook/actionbook100Apache-2.0
filiphsps/commerce100MIT
akarachen/aghub100MIT
aladicf/better-web-ui100MIT
adobe/skills95Apache-2.0
educlopez/ui-craft92MIT

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

Downloads in the last 30 days: 2 · ranking

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

Similar skills

  • 90curate
    Adds developer-authored annotations to the gauntlet knowledge base. Use when capturing tribal knowledge or rationale not visible in code.
  • 100graph-build
    Builds or updates the code knowledge graph via tree-sitter AST and SQLite. Use when setting up the graph before search or blast-radius analysis.
  • 100ast-grep
    Code search, analysis, and refactoring using ast-grep (sg). Use for AST-based code modifications, structural search, and linting.
  • 90review
    Selvage AST-based smart context code review. Use when reviewing code changes, checking diffs, or analyzing code quality.
  • 95gauntlet-loop
    Turns any goal into one short, paste-ready gauntlet-loop prompt for OpenCode, then can run it with the task tool. Critics are new tasks every time. No /loop, no ultracode — those are Claude Code. Triggers on "/gauntlet-loop", "gauntlet loop", "gauntlet this".
  • 100qa-knowledge-list
    Browse and search the QA knowledge base. List entries by type, domain, or tag. Show changelog and stats. Use when user says: "list knowledge", "show heuristics", "what's in the knowledge base", "knowledge stats", "show changelog".

Feedback and reports

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