ai/skills/compose-user-cases-for-qa/SKILL.md
Write or update UI-independent use cases for QA. Use when the user says "write use cases", "add use cases", "QA use cases", "update use cases", "compose use cases", or when starting implementation of a new feature (after plan approval). Also activates for "what should we test", "regression cases", or "use cases for QA".
npx skillsauth add kurko/dotfiles compose-user-cases-for-qaInstall 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.
Write UI-independent behavioral use cases to a project QA document. These use cases describe what the user can do, not how the UI renders it. They serve as regression checklists for browser QA — both after completing a task and when future work overlaps with existing behavior.
docs/usercases.md (single-file default)docs/usercases/ directory (split by area)docs/usercases.md.docs/usercases/<area>.md files. Ask the user before splitting.Every use cases file MUST start with this disclaimer:
# Use Cases
> **This document is for reference only.** The software is the source of truth.
> Use cases here describe expected behaviors at the time they were written.
> Always verify against the running application.
For split files, each file gets a header like:
# Use Cases: Timeline
> **This document is for reference only.** The software is the source of truth.
> Use cases here describe expected behaviors at the time they were written.
> Always verify against the running application.
Use cases are grouped by feature area under ## headings. Each use case is a
numbered item with a short, declarative sentence describing a behavior the user
can perform or observe. Use cases are not step-by-step browser instructions
— they describe the what, not the how.
## Pagination
1. The user sees a limited set of tasks on initial load.
2. The user can load more tasks incrementally.
3. Previously loaded tasks remain visible after loading more.
4. Task ordering is stable across pages — no duplicates, no reordering.
5. Loaded tasks persist across other interactions (navigating, filtering, etc.).
(updated) to
the end of the line so the change is visible in diffs.When the feature area already has use cases, read the existing ones first. Add new cases at the end of that section, continuing the numbering. Do not renumber existing cases — other documents or conversations may reference them by number.
These details belong in docs/QA/ browser test scripts, not in use cases.
Projects may have other QA artifacts (e.g., docs/QA/ browser test scripts,
docs/qa_checklist.md). Use cases in docs/usercases.md are the abstract
behavioral layer — they describe what to test. Browser scripts describe
how to test it.
When adopting this skill on a project that already has a behavioral QA
checklist (not browser-step scripts), migrate its content into
docs/usercases.md to avoid two parallel documents for the same purpose.
Ask the user before migrating.
tools
Create a GitHub pull request from the current branch. Use when user asks to create a PR, open a PR, submit a PR, push and create PR, or similar pull request workflows. Activates for phrases like "create a PR", "open a pull request", "submit PR", "push and PR", "make a PR for this", "open a draft PR".
data-ai
Merge the current worktree branch into main and sync main back. Use when the user says "merge to main", "ship it", "merge and continue", or after completing a task in a worktree and wanting to continue with the next one.
tools
Synchronize AI agent skills, commands, configs, permissions, hooks, and instructions across Claude Code, Codex CLI, and other Agent Skills-compatible tools. Use when the user asks to pull skills from Claude into Codex, sync Codex work back to Claude, migrate agent commands, reconcile frontmatter, update permissions, or keep agent setup files in parity.
documentation
Skill on how to write a task. Use when user asks you to write a task (for Asana, Linear, Jira, Notion and equivalent). Also activates when user says "create task", "write task", or similar task creation workflow requests.