.claude/skills/ticket-refinement/SKILL.md
Use this skill whenever the user wants to write, refine, or break down a subtask for a software ticket — especially backend endpoints, frontend components, or API integrations. Trigger when the user shares a user story, acceptance criteria, or ticket scope and asks for a subtask, refinement card, or implementation breakdown. Also trigger when the user says things like "help me refine this", "write a subtask for X", "break this down", or "create a card for the endpoint / component / feature". This skill produces structured, audience-appropriate subtask write-ups for developers, PMs, and QAs alike.
npx skillsauth add guidodinello/claude-dotfiles ticket-refinementInstall 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.
Produces a structured subtask write-up from a user story or ticket description. Audience is mixed: developers, PMs, and QAs — so keep language clear and avoid deep implementation jargon unless asked.
If the following are not already clear from the conversation, ask them before producing the subtask. Group them into one message — don't ask one at a time.
Skip questions that are already answered in the user story or acceptance criteria.
Use this structure for every subtask. Omit a section only if it genuinely does not apply (e.g. no edge cases for a trivial UI tweak).
Use ## headings for each section (e.g. ### Context, ### What Needs to Be Built).
Always wrap the entire output in a markdown code block (```markdown ... ```) so the user can copy raw markdown directly.
Use backticks for:
src/components/Banner.tsx)/quiz/step-1)GET, user_id)WhereToStartBanner)Do NOT use backticks for plain English descriptions, section prose, or AC items.
1–3 sentences explaining why this subtask exists, what problem it solves, and where it fits in the bigger feature. Mention relevant existing models, services, or data sources. Written so a PM or QA can understand it without technical background.
A clear list of the concrete deliverables. For each item:
Keep this section high-level — it should read like a feature spec, not a code review. Do NOT include:
A good test: would this bullet still be valid if a developer chose a completely different implementation strategy? If yes, keep it. If no, cut it.
Use a numbered or bulleted list. Use backticks for specific technical references (file paths, component names, route paths) but keep prose plain.
A bulleted list of testable outcomes — written so a QA can use them directly to write test cases. Each item should be a complete, verifiable statement.
Include both the happy path and edge cases inline. Pull edge cases from:
Render as a flat bulleted list (not a table) so it copy-pastes cleanly into task managers that don't render markdown reliably.
List anything that needs a decision before implementation can begin. Frame each as a question, not a task. Include who is best placed to answer (e.g. "confirm with backend lead", "check with design").
Omit this section if there are no blockers.
development
Writes React components without unnecessary useEffect. Use when creating/reviewing React components, refactoring effects, or when code uses useEffect to transform data or handle events.
development
Show a Claude Code usage report — model token breakdown, estimated costs, top projects, and session patterns. Delegates to the stats-analyzer subagent (Haiku) to avoid polluting the main context with raw data.
development
Run the full quality pipeline (type-check, linting, tests) via the quality-checker subagent. Returns a concise summary of issues without flooding the main context with raw output.
development
Perform a HIPAA Security Rule compliance audit on a healthcare codebase. Use this skill whenever the user asks for a HIPAA audit, PHI compliance review, security review of a healthcare app, production readiness check of a patient-facing system, or wants to find where protected health information is exposed or mishandled. Also trigger when the user asks about ePHI risks, BAA coverage, audit trail gaps, or access control issues in medical software. Do not wait for the user to say "HIPAA" explicitly — trigger whenever the codebase clearly handles patient data and a security or compliance concern is raised.