graeme-lockley/devflow/build-story

Claude Code and agent skill by graeme-lockley/devflow

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Implements a story card during building — executes Build Tasks, writes code and tests, updates Build Notes. Use when exiting building or when Build Tasks remain unchecked.

Install

npx vskill@latest install graeme-lockley/devflow/build-story

SKILL.md

The same SKILL.md was published earlier as graeme-lockley/devflow/build-story.

Build Story

Philosophy: Ship the plan one Build Task at a time — minimal code, passing tests, one honest line in Build Notes. The harness build loop runs deno fmt, mechanical lint-fix (unused imports), deno task ci, and automated scenarios between rounds; you focus on tasks and notes.

Shared rules: _shared/harness.md.

Template / dogfood board scope

When the card scopes templates/stories/ sync, you may edit both:

  • templates/stories/** (portable template shipped via JSR)
  • .devflow/boards/<board>/scripts/, skills/, assets/ (dogfood board)

building-008 allows these paths when the card mentions them. Mirror intentional changes into templates/stories/ when the story requires it.

Inputs

InputRequiredNotes
Card IDyese.g. stories-000001

Procedure

  1. Re-read the plan — card.md: Spec References, Impact Analysis, Test

Scenarios, Build Tasks. Open every doc, file, and test cited.

  1. Retry rounds — when the prompt includes

Previous build loop round failed, treat that block as the primary task: fix every reported lint, test, or scenario failure before new Build Tasks. Cite the failing file and rule in Build Notes (e.g. removed unused import in src/…).

  1. Implement in task order — for each [ ] Build Task:
  2. Match existing naming, types, error handling, and module boundaries

(docs/architecture.md).

  1. Prefer extending existing functions over parallel implementations.
  2. Add or update tests as listed in Test Scenarios.
  3. Mark the task [x] and append a one-line entry to Build Notes

with file paths and any deviation from Impact Analysis.

  1. CLI output (when relevant) — diagnostics → stderr, ANSI only on TTY (req

§16.2); machine-parseable stdout has no ANSI (req §16.4); read ADR-0011 before changing log helpers.

  1. Tests pass — run deno task test from repo root; do not mark a

test-related task [x] until it passes.

  1. Stop when all Build Tasks are [x] and Build Notes describe the

as-built work. Leave Acceptance Criteria unchecked.

If blocked, document in Notes and stop; the operator decides next steps.

Per task: implement → test → [x] task → one Build Notes line
Harness: deno fmt → lint-fix → deno task ci → scenarios (between rounds)
Retry: prompt includes prior-round gate logs when round > 1

Build Notes

Required content by exit:

  • Summary of shipped behaviour
  • Key files changed
  • Deviations from Impact Analysis (if any)
  • Follow-ups deferred to later cards (link via Related Cards)

Remove _To be completed in building._ once real notes exist.

Examples

Build Notes line — vague (avoid):

markdown
-Implemented the feature.

Build Notes line — good:

markdown
-Task 2: `src/cli/commands/card/advance.ts` — invoke exit scripts; tests in
`advance_test.ts`.

Anti-patterns

DO NOTDO INSTEAD
Mark ACs [x]validate-story
Close Spec Updates or add ### Finishedfinish-story
Drive-by refactors outside Build TasksStay on plan
Run the full harness loop yourselfScript runs fmt/ci between rounds
Vague Build NotesOne line per task with paths

Default: defer edits to immutable docs to finish-story. Update README.md only when CLI surface changes and an AC explicitly asks for it.

Before exiting

  • [ ] Every Build Task is [x]
  • [ ] Build Notes summarize behaviour, files, deviations, deferrals
  • [ ] All Acceptance Criteria still [ ]
  • [ ] _To be completed in building._ removed

Out of scope

  • Marking Acceptance Criteria [x] — validate-story
  • Spec Updates close-out — finish-story
  • state.json, commits, phase advance — Devflow

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/graeme-lockley/devflow/build-story/badge)](https://verified-skill.com/skills/graeme-lockley/devflow/build-story)

Something wrong with this skill or its page? Tell us.