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;…
Analyzes code change impact with risk scoring and affected-node mapping. Use before merging to understand what a change touches and what lacks test coverage.
Claude Code
$ npx -y skills add athola/claude-night-market --skill blast-radius --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill blast-radius -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill blast-radius -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill blast-radius -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill blast-radius -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill blast-radius -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill blast-radius -a windsurf -y
name: blast-radius role: entrypoint description: Analyzes code change impact with risk scoring and affected-node mapping. Use before merging to understand what a change touches and what lacks test coverage. tags: - code-review - impact-analysis - risk-scoring tools: [] dependencies: - imbue:review-core - imbue:structured-output
Analyze the impact of current code changes using the code knowledge graph.
This skill requires the **gauntlet** plugin for graph data. Check if it's available:
GRAPH_QUERY=$(find ~/.claude/plugins -name "graph_query.py" -path "*/gauntlet/*" 2>/dev/null | head -1)
**If gauntlet is not installed** (GRAPH_QUERY is empty): Fall back to a manual impact analysis using `git diff` and `grep` to trace imports and call sites. Skip graph steps and go directly to step 3 (manual mode).
**If gauntlet is installed but no graph.db exists**: Tell the user: "Run `/gauntlet-graph build` first."
1. **Show current changes**: Run `git diff --stat` to show the user what files changed.
2. **Run impact analysis** (requires gauntlet):
python3 "$GRAPH_QUERY" \
--action impact --base-ref HEAD --depth 2**Fallback tier 1 (sem available, no gauntlet)**: Use sem for cross-file dependency tracing:
if command -v sem &>/dev/null; then
sem impact --json <changed-file>
fiThis traces real function-level dependencies instead of filename matching. See `leyline:sem-integration` for detection patterns.
**Fallback tier 2 (no sem, no gauntlet)**: Trace callers of changed functions with rg (or grep):
# Prefer rg for speed; fall back to grep
if command -v rg &>/dev/null; then
git diff --name-only HEAD | while read f; do
stem="${f%.*}"; stem="${stem##*/}"
[ -z "$stem" ] && continue # skip dotfiles (.gitignore etc.)
rg -l "$stem" . 2>/dev/null
done | sort -u
else
git diff --name-only HEAD | while read f; do
stem="${f%.*}"; stem="${stem##*/}"
[ -z "$stem" ] && continue # skip dotfiles (.gitignore etc.)
grep -rl "$stem" . 2>/dev/null
done | sort -u
fiNote: this searches all file types. For Python-only projects, add `--type py` to `rg` or `--include="*.py"` to `grep` to reduce false positives.
3. **Display results in priority order**:
Format the output as a table:
Risk | Node | File | Anchor | Reason 0.85 | auth.py::verify_token | auth.py:45 | `def verify_token(token):` | untested, security 0.62 | db.py::execute_query | db.py:112 | `cursor.execute(query, params)` | high fan-in 0.41 | api.py::handle_request | api.py:78 | `def handle_request(req):` | flow participant
The `Anchor` column is the verbatim source text at the cited line. It lets a reviewer confirm the finding without re-running the tool.
4. **Highlight untested functions**: List any affected functions that lack test coverage (no TESTED_BY edge).
5. **Show overall risk**: Display the overall risk level (low/medium/high) based on the maximum risk score.
6. **Suggest actions**:
merging"
and authorization logic carefully"
callers; verify backward compatibility"
Write findings to `.review/findings.json`, run the citation verifier (`Skill(imbue:review-core)` Step 5), and drop or label `UNVERIFIED` any the verifier rejects.
and verbatim `Anchor` column.
maximum risk score.
confirmed by `citation_verifier.py` (exit `0`), or unverified findings were dropped or labeled `UNVERIFIED`.
Five weighted factors (sum capped at 1.0):
| Factor | Weight | Meaning | |--------|--------|---------| | Test gap | 0.30 | No test coverage | | Security | 0.20 | Auth/crypto/SQL keywords | | Flow participation | 0.25 | Part of execution flows | | Cross-community | 0.15 | Called from other modules | | Caller count | 0.10 | High fan-in function |
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;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.