claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.
$ npx -y skills add athola/claude-night-market --skill extract --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/extractContext preview
The summary Claude sees to decide when to auto-load this skill.
Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.
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
Build or rebuild the `.gauntlet/knowledge.json` knowledge base.
1. **Identify target directory**: use the current working directory or a user-specified path
2. **Run AST extraction**: invoke the extractor script
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
skill completes; entries from `.gauntlet/annotations/` are merged and not overwritten
(business_logic, architecture, data_flow, api_contract, pattern, dependency, error_handling) with coverage gaps identified
language explanation (not just the raw AST node name)
modules sharing imports, shared types, or data flow paths
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)
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.