원클릭으로
openup-detail-use-case
Transform a high-level use case into detailed scenarios with test cases
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Transform a high-level use case into detailed scenarios with test cases
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
One-command project setup for OpenUP - interactive initialization wizard
Mark a task as complete, update roadmap, commit changes, and prepare traceability logs
Execute an already-claimed lane's Operations boxes with script/judgment classification — script steps run directly with zero self-brief, judgment steps self-brief and execute. Handles only pick/resume; every other resolve path routes to /openup-next.
Run OpenUP Assess Results at iteration end — check evaluation criteria, demo only completed acceptance-tested work, feed discovered work back, and trigger the milestone review at a phase boundary
Run the phase milestone go/no-go — prepare derived evidence, pause for the human decision via an input-request, and record the milestone (never advance the phase itself)
Begin a new OpenUP iteration with proper phase context and task selection
| name | openup-detail-use-case |
| description | Transform a high-level use case into detailed scenarios with test cases |
| model | sonnet |
| arguments | [{"name":"use_case_name","description":"Name of the use case to detail (file name without .md)","required":true},{"name":"generate_tests","description":"Generate test cases from scenarios (true/false, default: true)","required":false}] |
This skill transforms a high-level use case specification into detailed scenarios with Gherkin acceptance criteria and test cases.
Use this skill when:
Do NOT use this skill when:
/openup-create-use-case first)After using this skill, verify:
Read the use case file from docs/use-cases/$ARGUMENTS[use_case_name].md:
Break down the use case into distinct scenarios:
Happy Path (Primary Scenario):
Alternative Paths:
Error Paths:
For each scenario, document:
| Element | Description |
|---|---|
| Scenario Name | Clear, descriptive name |
| Description | What makes this scenario unique |
| Steps | Step-by-step interaction (Actor → System) |
| Preconditions | What must be true before this scenario |
| Postconditions | What is true after this scenario |
For each scenario, write Gherkin format criteria:
Given <precondition>
And <additional preconditions>
When <actor takes action>
And <additional actions>
Then <expected outcome>
And <additional outcomes>
Example:
Given the user is logged in
And the user has items in their cart
When the user clicks "Checkout"
Then the user is redirected to the payment page
And the order total is displayed
If $ARGUMENTS[generate_tests] == "true":
Create test case files for each scenario in docs/test-cases/:
<use-case-name>-<scenario>-test.mdUpdate the existing use case file with:
Apply the Self-Critique SOP (docs-eng-process/sops/self-critique.md) before
returning: take a hostile-reviewer stance, surface every load-bearing assumption
into the scenarios, and confirm each Gherkin scenario is independently failable
and that the alternative and error flows are covered — not just the happy path.
List every weakness you find — including ones you are uncertain about — then fix or explicitly flag each one. Rank them and record the top one or two with their resolutions.
Returns a summary of:
/openup-detail-use-case use_case_name: user-login generate_tests: true
| Error | Cause | Solution |
|---|---|---|
| Use case not found | File doesn't exist in docs/use-cases/ | Verify use case name or create use case first |
| No basic flow | Use case is incomplete | Complete basic flow before detailing |
| Duplicate scenarios | Same scenario documented multiple times | Consolidate similar scenarios |
| Missing actors | Actors not identified | Identify primary and secondary actors from context |
docs-eng-process/templates/use-case-specification.mddocs-eng-process/templates/use-case-scenarios.mddocs-eng-process/templates/test-case.md