skills/crew/issue-reporting/SKILL.md
Automated GitHub issue detection and filing from Claude sessions. Tracks tool failures and task completion mismatches. Files issues automatically at session end or on demand via /wicked-garden:report-issue. Includes duplicate detection, codebase research, memory recall, SMART criteria validation, and advisory quality gate before filing. Use when: "file a bug", "report issue", "something went wrong", "not working as expected", "create issue", reporting UX friction, logging unmet outcomes, or investigating tool failures.
npx skillsauth add mikeparcewski/wicked-garden issue-reportingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Detects and reports bugs, UX friction, and unmet outcomes as structured GitHub issues. The manual filing command runs research, validates quality, and enriches the issue body before filing.
Three hooks monitor your session:
| Hook | Watches For | Action |
|------|------------|--------|
| PostToolUseFailure | Same tool failing 3+ times | Queues issue for session end |
| PostToolUse(TaskUpdate) | Task completed with mismatch signals | Logs mismatch for review |
| Stop (async) | Session end | Files queued issues via gh |
Auto-filed issues include acceptance criteria, failure details, and session context.
/wicked-garden:report-issue bug # File a bug report
/wicked-garden:report-issue ux-friction # Report UX friction
/wicked-garden:report-issue unmet-outcome # Log an unmet outcome
/wicked-garden:report-issue --list-unfiled # View/file unfiled issues
Manual filing runs a full research and quality pipeline before opening the issue:
gh call| Type | Label | When To Use |
|------|-------|-------------|
| Bug Report | bug | Tool failures, crashes, incorrect behavior |
| UX Friction | ux | Confusing workflows, missing feedback, rough edges |
| Unmet Outcome | gap | Session goal not achieved, partial results |
Each issue type has a structured template requiring:
Before composing the issue body, the command runs three research steps:
Searches open issues by title keywords:
gh issue list --repo {repo} --search "{keywords}" --state open --json number,title,state --limit 10
Results are appended as a Duplicate Check section. Requires gh CLI.
Greps the repository for files related to the issue keywords. Up to 5 relevant files are listed in a Related Code section.
Queries the wicked-brain memory store for prior context about the issue area:
Skill(skill="wicked-brain:memory", args="recall {keywords}")
Relevant memories are appended as a Prior Context section.
All three steps are additive — they never block filing.
Every acceptance criterion is validated before the issue body is finalized:
| Criterion | Requirement | Bad Example | Good Example |
|-----------|-------------|-------------|--------------|
| Specific | References a concrete behavior, file, or artifact | "should work better" | "Bash hook returns {\"ok\": true}" |
| Measurable | Verifiable assertion that is clearly true or false | "no errors occur" | "passes /wg-check" |
ACs that fail are auto-improved in non-interactive mode, or surfaced with a suggested rewrite in interactive mode.
An advisory checklist runs before the issue preview is shown. All items are warnings only — they never block filing:
| Check | Criteria | |-------|----------| | Title length | Under 80 characters | | Title descriptiveness | Not a single word or generic phrase | | Steps to reproduce | For bugs: at least 2 numbered steps | | Acceptance criteria count | At least 2 ACs | | AC verb prefix | Each AC starts with an action verb | | AC independence | Each AC is independently verifiable | | Duplicate check | Duplicate search completed |
| Setting | Default | Override |
|---------|---------|---------|
| Failure threshold | 3 | WICKED_ISSUE_THRESHOLD env var |
| Max issues per session | 3 | Hardcoded in session_outcome_checker.py |
| Stale session cleanup | 48h | Hardcoded in auto_issue_reporter.py |
gh CLI installed and authenticated (gh auth login)Without gh, the manual filing fallback uses a three-step sequence (see below).
gh UnavailableWhen gh CLI is not installed or no repo is detected, manual filing follows this order:
issues/new URL with urllib.parse.quote()-encoded title, body, and labels — open in browser to file directlyhttps://github.com/{owner}/{repo}/issues/new?title={encoded}&body={encoded}&labels={encoded}
If user agrees to save: issue is queued in {storage_root}/unfiled-issues/ for later filing via --list-unfiled.
Note: Hook auto-filing paths (PostToolUseFailure, Stop hook) bypass this flow and silently cache to the unfiled queue without prompting.
development
--- name: large-scale-migration description: How to execute a LARGE MECHANICAL change across any codebase with LEVERAGE instead of an agent-grind or hand-edits — a cross-cutting migration, refactor, rename, dialect/framework/DB port, library adoption, or bulk transform. The map→transform→gate pattern: a deterministic transform driven by a source-of-truth map, proven by a differential-equivalence gate. Use when the work is "migrate all X to Y", "rename Z everywhere", "port to a new DB/dialect/fra
testing
v11 LLM-based work-shape classifier. Replaces the regex archetype detector with the model's own reasoning. Reads the user's prompt, picks the right archetype(s) from the catalog, identifies signals (blast_radius, novelty, reversibility, etc.), and persists to SessionState so subsequent turns steer correctly. Use when: the prompt_submit hook emitted a `<wg classify-due />` directive, OR explicitly invoked at session start, OR when re-classifying after the user changes scope mid-session.
tools
v11 work-shape archetype runner. When a prompt has been routed to one of the 9 archetypes (triage, explore, specify, decide, ship, review, incident, build, migrate), this skill is the entry point. It picks the right per-archetype playbook from refs/ and executes the phase shape declared in `.claude-plugin/archetypes.json`. Use when: a `<wg archetype="X">` or `<wg archetypes>` system-reminder tag appears, an explicit "let's run the X archetype" request, or when one of the per-archetype slash commands resolves to this skill.
development
Show or set the session intent variable. Intent gates how loud the framework is — simple-edit (silent), feature/research (synthesis directive), rigor (full crew context). Auto-detected on turn 1; this skill overrides explicitly. Sticky for the session. Use when: "set intent", "intent override", "/wicked-garden:intent", "make the framework quiet", "force rigor", "what's my intent".