원클릭으로
godark-create-scenarios
Generate scenario spec files for a phase or individual issue
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate scenario spec files for a phase or individual issue
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Analyze an existing project and populate godark.yaml with modules, codegen, CI, and env configuration
Create GitHub issues from a phase planning doc
Create a project roadmap and GitHub milestones through conversation
Generate a practical overview with real-world examples for a completed roadmap phase
Create a detailed planning doc for a roadmap phase
Compress and organize CLAUDE.md into a minimal directory of pointers
| name | godark-create-scenarios |
| description | Generate scenario spec files for a phase or individual issue |
| argument-hint | <phase-number> or <issue-number> |
| disable-model-invocation | true |
Generate scenario spec files for all issues in a phase, or for a single issue.
Determine scope — If the argument looks like a phase number (small integer, or matches a planning doc), treat it as a phase and generate specs for all issues in that phase. If it looks like a larger issue number, generate a spec for that single issue.
Gather issues — For a phase:
godark.yaml to get the repo and planning_dir
(default: docs/planning/).<planning_dir>/phase-<N>-*.md.gh issue list --milestone "<Phase Name>" --repo <repo> --state all --limit 200 to get issue numbers if not already in the planning doc.For a single issue:
gh issue view <issue-number> --json title,body,milestone to get the
issue details.Check existing specs — List files in tests/scenarios/ and its
subdirectories. Skip any issue that already has a scenario spec file
(matching by Relates to: Issue #N). Report which issues are skipped.
Do NOT read existing specs for format reference — Existing specs may use
an outdated format. Use ONLY the template defined in
prompts/spec_generator.txt and the format section below.
Confirm with user — Present the list of issues, noting which will get new specs and which are being skipped. Ask the user to confirm before generating.
Generate spec files — For each issue that needs a spec, create a new
file in the appropriate phase subdirectory under tests/scenarios/
(e.g., tests/scenarios/phase-3/), creating the subdirectory if needed.
The filename must be kebab-case derived from the scenario title
(e.g., config-loading.md).
Print summary — List each created file path and any skipped issues.
The canonical scenario spec format is defined in prompts/spec_generator.txt.
Follow that file exactly when generating specs.
The structure is: # Scenario: header, Relates to: Issue #N line, ## Setup
section with fixture prerequisites, and ## Cases section with one or more
### <Case name> subsections each containing GIVEN/WHEN/THEN bullets:
### <Case name>
- GIVEN <precondition>
- WHEN <action>
- THEN <expected outcome>
Relates to: Issue #N line.## Setup section is required even if minimal (e.g., a single bullet
describing the test environment). Never omit it.### Case must have GIVEN, WHEN, and THEN bullets. A case
without these is not testable. If the outcome seems obvious,
state it explicitly anyway — agents need concrete expectations..md.This is the final skill in the planning workflow. The full order is:
/godark-create-milestone/godark-create-planning-doc/godark-create-issues/godark-create-scenarios (this skill)The project is now ready for godark run.