find-bugs

Solid

Read-only bug audit of the current branch vs a base ref. Dispatches subagents per stack (Go, JS/TS, etc.), consolidates findings, produces a prioritized report. Does not fix. Usage: /find-bugs [base-ref]

AI & Automation 30 stars 1 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
50
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Skill: /find-bugs # Bug Audit — Read-Only Audit the current branch for bugs without touching code. Produces a prioritized report; user decides what to fix. --- ## Steps ### Step 1 — Determine scope ```bash BASE="${1:-main}" # If on a feature branch: diff vs base if git rev-parse --verify "$BASE" >/dev/null 2>&1; then DIFF=$(git diff "$BASE"...HEAD) else if git rev-parse --verify --quiet HEAD~10 >/dev/null; then BASE=HEAD~10 else BASE=$(git rev-list --max-parents=0 HEAD | tail -1) fi DIFF=$(git diff "$BASE"...HEAD) fi # Fallback: on main with no base arg → recent commits if [[ -z "$DIFF" ]]; then DIFF=$(git log --since='2 weeks ago' -p --no-merges) fi echo "Auditing $(git rev-parse --abbrev-ref HEAD) vs $BASE" echo "Diff size: $(echo "$DIFF" | wc -l) lines" ``` If diff > 2000 lines: warn and ask if user wants to narrow scope (specific files or commits) before proceeding. ### Step 2 — Read project context ```bash head -100 CLAUDE.md 2>/dev/null cat .claude/context-essentials.md 2>/dev/null # Detect stack cat go.mod 2>/dev/null | head -3 cat package.json 2>/dev/null | jq -r '(.dependencies // {}) + (.devDependencies // {}) | keys | join(", ")' 2>/dev/null # Changed files by type git diff "$BASE"...HEAD --name-only | sort ``` ### Step 3 — Dispatch stack-aware subagents Dispatch **in parallel** based on detected stack. Each subagent gets: - The full diff - Project context (CLAUDE.md / context-essentials.md excerpt) - Stack-specific checklist (b...

Details

Author
valpere
Repository
valpere/session-indexer
Created
2 months ago
Last Updated
today
Language
Go
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category