Step 7: Implement
Write the production code task by task, with evidence, and pass the Delivery Gate.
Skill: fireskill-07-implement · Asks questions: no (goes to $fireskill-update-spec if scope changes) · Changes: production code, tests, the checklists and evidence of spec.md, .fireskills/*
When to use it
The spec is in specs/planned/ with Plan Gate: Passed and failing tests exist. Type the prompt again for each next task, or let the agent keep going.
What to type
Use $fireskill-07-implement para executar o próximo item do checklist em specs/<estado>/<NNNN>-<slug>/spec.md com BDD, TDD e evidência. Orquestre transições automáticas com anúncio, execução e retomada na mesma conversa.
What the agent does
Before the first change
- Requires
Status: PlannedorImplementing,Definition Gate: PassedandPlan Gate: Passed. If a gate or a RED is missing, it goes back to$fireskill-05-tasksand does not touch production. - If there is a screen, it checks that the plan has tasks for screens, menus, forms, actions and
@nuxt/uicomponents, and it loads$fireskill-specialist-nuxt-uibefore writing any.vuewithU*components. - Checks the base test command with
check_database_safety.mjs; without a separate test database it runs no test that touches the database. - Sets
Status: Implementing,Delivery Gate: In Progressand runsbun run fireskill transition <id> in-progress. - Picks the next ready task:
node fireskills/skills/fireskill-07-implement/scripts/next_task.mjs specs/in-progress/<NNNN>-<slug>/spec.md
For each task (checked off one item at a time, never in a batch at the end)
PREP: confirms ID, type, references, dependencies, files.- Loads the specialist of the area before touching code:
nuxt-uifor.vue,nuxtfor pages and middleware,trpcfor routers,drizzlefor schema and migrations,nuxt-authorizationfor permissions,openauthfor login,cloudflare-workersfor Workers,sstforinfra/. The table is infireskills/SKILL.md. EXECUTE: the smallest change that turns the TDD test green. A[CODE]task without its RED predecessor stops. For[MIGRATION], it creates the versioned file first, applies it to the test database and queries the state.- Runs the context monitor;
PENDINGblocks the task. Reviews.fireskills/PROJECT.mdon any application change. - After each
[CODE]task, hands off to$fireskill-documentator(see Step 8). VERIFY: focal test, related suite and static checks, only after the command isSAFE.VISUAL: for a screen, compares the rendered result with.fireskills/DESIGNSYSTEM.MDand.fireskills/INTERFACE.md: borders, spacing, margins, padding, typography, alignment, overflow, focus, short and long content, in the relevant viewports. Without a screen it writesNão aplicáveland the concrete reason.EVIDENCE: records command, result and IDs in sections 11–13 (and thespecsfy:evidenceJSON comment whenEvidence Contract: 1, checked byverify_evidence.mjs).IMPROVE: one safe improvement, or "nenhuma melhoria necessária" with the reason.
If scope changes (behavior not in the spec, contradiction of an AC, public interface, data or security): it stops, announces, and loads $fireskill-update-spec. See Late changes.
The completion gate
When every task in section 14 is checked, the agent runs, and you can run the same:
# tests of the whole repository (from the repository root)
bun run test
# types (from apps/app)
cd apps/app
bun run typecheck
bunx vue-tsc --noEmit -p server/tsconfig.json
cd ../..
# copy of the context and documentation checks
node fireskills/skills/fireskill-setup/scripts/monitor_context.mjs --project . --check
node fireskills/skills/fireskill-documentator/scripts/build_documentation.mjs --project . --check
bun run typecheck does not exist at the repository root: it is a script of apps/app.
Then it compares every AC, FR, NFR and Definition of Done item with current evidence, looks for open tasks, placeholders and skipped tests, and only then:
Delivery Gate: Passed,Status: Reviewing, andbun run fireskill transition <id> review.$fireskill-04-validatedoes the final acceptance and moves the spec tospecs/completed/.$fireskill-progressshows the global picture.
To get a summary you can paste in a PR (it only prints, it writes no file):
node fireskills/skills/fireskill-07-implement/scripts/render_delivery.mjs specs/review/<NNNN>-<slug>/spec.md --format markdown
Things it will not do alone
bun run deploy. For changes inapps/functionsorlayers, a realsst deployis the check that matters, and it needs your explicit authorization.- Run a test against the development database, or any destructive database command.
Next
Step 8: Documentator (runs automatically), then progress with bun run fireskill progress.
Ready to build and launch your SaaS?
Get 100% full source code ownership, zero proprietary wrappers, and architecture engineered for millions of requests on Cloudflare.