dawn840705/codex-code-studios/dev-story
Claude Code and agent skill by dawn840705/codex-code-studios
- community
Checking that the SKILL.md file is still in the repository.
Read a story file and implement it. Loads the full context (story, GDD requirement, ADR guidelines, control manifest), routes to the right programmer agent for the system and engine, implements the code and test, and confirms each acceptance criterion. The core implementation skill — run after $story-readiness, before $code-review and $story-done.
Install
npx vskill@latest install dawn840705/codex-code-studios/dev-storySKILL.md
The same SKILL.md was published earlier as dawn840705/codex-code-studios/dev-story.
Track check — this skill is game-framed. Resolveproduction/track.txt(or thesession'sPROJECT_TYPEline) before Phase 0.- `game` — run as written.- `product` (web / mobile / service) — substitute as you read: player becomes user,game becomes product, GDD becomes PRD (design/gdd/→product/prd/), engine becomesthe stack pinned in.codex/studio/technical-preferences.md. Read the PRD requirement in place of the GDD requirement, and use the product routing table in Phase 3 — the game table routes togameplay-programmer, which this track must never spawn. There is noEngine:value; read the pinned stack instead.- Unresolved — ask which track this is before doing anything. A greenfield projecthas no signal either way; do not infer one from the repository contents.
Dev Story
This skill bridges planning and code. It reads a story file in full, assembles all the context a programmer needs, routes to the correct specialist agent, and drives implementation to completion — including writing the test.
The loop for every story:
After all sprint stories are done: run $team-qa sprint to execute the full QA cycle and get a sign-off verdict before advancing the project stage.
Output: Source code + test file in the project's src/ and tests/ directories.
Phase 1: Find the Story
If a path is provided: read that file directly.
If no argument: check production/session-state/active.md for the active story. If found, confirm: "Continuing work on [story title] — is that correct?" If not found, ask: "Which story are we implementing?" Glob production/epics/**/*.md and list stories with Status: Ready.
Phase 2: Load Full Context
Before loading any context, verify required files exist. Extract the ADR path from the story's ADR Governing Implementation field, then check:
| File | Path | If missing | |
|---|---|---|---|
| TR registry | docs/architecture/tr-registry.yaml | STOP — "TR registry not found. Run $create-epics to generate it." | |
| Governing ADR | path from story's ADR field | STOP — "ADR file [path] not found. Run $architecture-decision to create it, or correct the filename in the story's ADR field." | |
| Control manifest | docs/architecture/control-manifest.md | WARN and continue — "Control manifest not found — layer rules cannot be checked. Run $create-control-manifest." |
If the TR registry or governing ADR is missing, set the story status to BLOCKED in the session state and do not spawn any programmer agent.
Read all of the following simultaneously — these are independent reads. Do not start implementation until all context is loaded:
The story file
Extract and hold:
- Story title, ID, layer, type (Logic / Integration / Visual/Feel / UI / Config/Data)
- TR-ID — the GDD requirement identifier
- Governing ADR reference
- Manifest Version embedded in story header
- Acceptance Criteria — every checkbox item, verbatim
- Implementation Notes — the ADR guidance section in the story
- Out of Scope boundaries
- Test Evidence — the required test file path
- Dependencies — what must be DONE before this story
The TR registry
Read docs/architecture/tr-registry.yaml. Look up the story's TR-ID. Read the current requirement text — this is the source of truth for what the GDD requires now. Do not rely on any inline text in the story file (may be stale).
The governing ADR
Read docs/architecture/[adr-file].md. Extract:
- The full Decision section
- The Implementation Guidelines section (this is what the programmer follows)
- The Engine Compatibility section (post-cutoff APIs, known risks)
- The ADR Dependencies section
The control manifest
Read docs/architecture/control-manifest.md. Extract the rules for this story's layer:
- Required patterns
- Forbidden patterns
- Performance guardrails
Check: does the story's embedded Manifest Version match the current manifest header date? If they differ, ask the user directly before proceeding:
- Prompt: "Story was written against manifest v[story-date]. Current manifest is v[current-date]. New rules may apply. How do you want to proceed?"
- Options:
[A] Update story manifest version and implement with current rules (Recommended)[B] Implement with old rules — I accept the risk of non-compliance[C] Stop here — I want to review the manifest diff first
If [A]: edit the story file's Manifest Version: field to the current manifest date before spawning the programmer. Then read the manifest carefully for new rules. If [B]: read the manifest carefully for new rules anyway, and note the version mismatch in the Phase 6 summary under "Deviations". If [C]: stop. Do not spawn any agent. Let the user review and re-run $dev-story.
Dependency validation
After extracting the Dependencies list from the story file, validate each:
- Glob
production/epics/**/*.mdto find each dependency story file. - Read its
Status:field. - If any dependency has Status other than
CompleteorDone:
- Ask the user directly:
- Prompt: "Story '[current story]' depends on '[dependency title]' which is currently [status], not Complete. How do you want to proceed?"
- Options:
[A] Proceed anyway — I accept the dependency risk[B] Stop — I'll complete the dependency first[C] The dependency is done but status wasn't updated — mark it Complete and continue- If [B]: set story status to BLOCKED in session state and stop. Do not spawn any programmer agent.
- If [C]: ask "May I update [dependency path] Status to Complete?" before continuing.
- If [A]: note in Phase 6 summary under "Deviations": "Implemented with incomplete dependency: [dependency title] — [status]."
If a dependency file cannot be found: warn "Dependency story not found: [path]. Verify the path or create the story file."
Engine reference
Read .codex/studio/technical-preferences.md:
Engine:value — determines which programmer agents to use- Naming conventions (class names, file names, signal/event names)
- Performance budgets (frame budget, memory ceiling)
- Forbidden patterns
Phase 3: Route to the Right Programmer
Based on the story's Layer, Type, and system name, determine which specialist to spawn as a Codex subagent.
Config/Data stories — skip agent spawning entirely: If the story's Type is Config/Data, no programmer agent or engine specialist is needed. Jump directly to Phase 4 (Config/Data note). The implementation is a data file edit — no routing table evaluation, no engine specialist.
Read the track first — the two tables below are not interchangeable. Resolve production/track.txt (or the session's PROJECT_TYPE). On a product project the game table below routes to gameplay-programmer, a game-pack agent, which AGENTS.md forbids. If the track will not resolve, ask before spawning anything.
Primary agent routing table — game track
| Story context | Primary agent | |
|---|---|---|
| Foundation layer — any type | engine-programmer | |
| Any layer — Type: UI | ui-programmer | |
| Any layer — Type: Visual/Feel | gameplay-programmer (implements) | |
| Core or Feature — gameplay mechanics | gameplay-programmer | |
| Core or Feature — AI behaviour, pathfinding | ai-programmer | |
| Core or Feature — networking, replication | network-programmer | |
| Config/Data — no code | No agent needed (see Phase 4 Config note) |
Primary agent routing table — product track (web / mobile / service)
| Story context | Primary agent | |
|---|---|---|
| Foundation layer — data model, auth, infrastructure | backend-engineer | |
| Any layer — Type: UI, web | frontend-engineer | |
| Any layer — Type: UI, mobile | mobile-engineer | |
| Core or Feature — API, server logic, persistence | backend-engineer | |
| Core or Feature — LLM integration, prompt/response handling | ai-programmer (see $web-ai-patterns, gate paid calls with $api-cost-gate) | |
| Core or Feature — event schema, pipeline, warehouse | data-engineer | |
| Core or Feature — realtime, websockets, replication | backend-engineer, with network-programmer as secondary | |
| Config/Data — no code | No agent needed (see Phase 4 Config note) |
Never spawn gameplay-programmer, level-designer or any other game-pack agent on this track. lead-programmer remains available on both as the review/architecture partner — it is core, not game.
Engine specialist — always spawn as secondary for code stories
Game track only. On the product track there is no engine specialist; the stack pinned in .codex/studio/technical-preferences.md (framework, hosting, data store) plays that role, and the governing ADR carries the version risk. Skip to Phase 4.
Read the Engine Specialists section of .codex/studio/technical-preferences.md to get the configured primary specialist. Spawn them alongside the primary agent when the story involves engine-specific APIs, patterns, or the ADR has HIGH engine risk.
| Engine | Specialist agents available | |
|---|---|---|
| Godot 4 | godot-specialist, godot-gdscript-specialist, godot-shader-specialist | |
| Unity | unity-specialist, unity-ui-specialist, unity-shader-specialist | |
| Unreal Engine | unreal-specialist, ue-gas-specialist, ue-blueprint-specialist, ue-umg-specialist, ue-replication-specialist |
When engine risk is HIGH (from the ADR or VERSION.md): always spawn the engine specialist, even for non-engine-facing stories. High risk means the ADR records assumptions about post-cutoff engine APIs that need expert verification.
Phase 4: Implement
Spawn the chosen programmer agent(s) as a Codex subagent with the full context package:
Provide the agent with:
- The complete story file content
- The current GDD requirement text (from TR registry)
- The ADR Decision + Implementation Guidelines (verbatim — do not summarise)
- The control manifest rules for this layer
- The engine naming conventions and performance budgets
- Any engine-specific notes from the ADR Engine Compatibility section
- The test file path that must be created
- Explicit instruction: implement this story and write the test
The agent should:
- Create or modify files in
src/following the ADR guidelines - Respect all Required and Forbidden patterns from the control manifest
- Stay within the story's Out of Scope boundaries (do not touch unrelated files)
- Write clean, doc-commented public APIs
Config/Data stories (no agent needed)
For Type: Config/Data stories, no programmer agent is required. The implementation is editing a data file. Read the story's acceptance criteria and make the specified changes to the data file directly. Note which values were changed and what they changed from/to.
Visual/Feel stories
Spawn gameplay-programmer to implement the code/animation calls. Note that Visual/Feel acceptance criteria cannot be auto-verified — the "does it feel right?" check happens in $story-done via manual confirmation.
Phase 5: Write the Test
For Logic and Integration stories, the test must be written as part of this implementation — not deferred to later.
Remind the programmer agent:
"The test file for this story is required at:[path from Test Evidence section].The story cannot be closed via$story-donewithout it. Write the testalongside the implementation, not after."
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dev-story/SKILL.md
Popularity
- Repository stars
- 17
- Repository forks
- 2
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dawn840705/codex-code-studios/dev-story)