Skill v1.0.0
currentAutomated scan100/100name: development description: Guide the build/development phase between pre-production planning and post go-live. Use this skill whenever the user says "start building", "let's code", "implement", "develop", "set up the project", "create components", "write tests", or when transitioning from planning to actual implementation. This is the hands-on phase: scaffolding, coding, testing, reviewing, and staging before production. Do not skip to coding when pre-prod decisions are missing — go back to preproduction first. type: process model: inherit estimated_effort: large trigger_keywords: start building, let's code, implement, develop, set up the project, create components, write tests, scaffold prev_skill: preproduction next_skill: postproduction version: 1.0.0 author: IRGI license: MIT platforms: [linux, macos, windows] metadata: hermes: tags: [development, implementation, coding, testing, scaffolding, code-review, staging] related_skills: [preproduction, postproduction, code-review, simplify]
Development Phase
The bridge between pre-production (what/why) and post-production (keeping it alive). This skill structures the implementation workflow: from project scaffold through feature-by-feature coding, testing, code review, CI, staging deploy, and handoff to go-live.
It does not write code for you — it defines how to build, in what order, with what quality gates, so the result is reviewable, testable, and deployable.
When to use
Trigger when a project has a pre-production plan (or enough decisions are made) and the user wants to start building: scaffold the project, implement features write tests, set up CI, deploy to staging, or prepare the codebase for launch.
Do not use this for: production deploy or go-live hardening (use postproduction), or early requirements/design (use preproduction). If the pre-production plan is missing Phases 1, 3, 4, or 5, redirect the user to preproduction first.
Global conventions (enforce during development)
These come from the project rules and are enforced during the build phase:
- Zero comments. No comment syntax (
//,/* */,#,<!-- -->)
anywhere in the codebase. Code must be self-documenting through clear naming and small focused functions.
- Clean code. Meaningful names, small functions, no duplication,
consistent formatting per framework conventions.
- One icon library per project. Verify every icon name on the library's
official site before writing code. No custom SVGs, no mixing libraries.
- One general-purpose animation library per project. Animated icons
use Lordicon exclusively. Respect prefers-reduced-motion.
- No emojis anywhere in code, docs, or UI.
- Accessibility (WCAG AA) is built in, not bolted on.
- Stdlib/native first. The best code is the code never written. Use
stdlib, native platform features, and existing dependencies before adding new ones. One line over many lines.
- No AI attribution in commits. No
Co-Authored-By, no "Generated by",
no footers.
Preflight — Read the Pre-Production Plan
Before starting any phase, read <project-root>/production/plan.md. If it does not exist or essential sections are blank, stop and run the preproduction skill first. Use the plan to answer every "what stack / framework / IA / etc." question — do not re-ask what is already decided.
Error states:
- Plan file missing → stop, tell the user to run
/preproductionfirst. - Plan file present but a critical section (stack, IA, data model) is
TBD
with no blocker note → stop and demand that decision before building.
- Plan file present but unreadable/corrupt → flag it, do not invent values.
Sequence
Move through these phases in order. Each phase gates the next. Mark blockers clearly and do not skip phases.
If interrupted mid-run, resume from the first incomplete phase: re-read <project-root>/production/log.md, fill the unfinished phase's checklist, and continue. Do not restart scaffolding if the project already exists on disk.
Phase 1 — Project Scaffolding
Set up the skeleton before writing any feature code.
- Initialize project with the chosen framework (use non-interactive flags
where available — --yes, create-next-app, etc.).
- Set up folder structure per the pre-production plan's conventions.
- Configure tooling: linter, formatter, type checker, git hooks.
- Create
.env.examplewith all keys documented, real values in host store. - Initialize git, create initial commit.
- Verify dev server starts on a single command.
Phase 2 — Core Infrastructure
What the app rests on: database, auth, API layer, routing.
- Database: apply migration, seed data.
- Auth: wire up provider (Clerk / Supabase / custom), test signup flow.
- API: bootstrap health endpoint, one representative route.
- Routing: set up framework routing skeleton matching the IA sitemap.
- Third-party integrations: set up API clients with env-based credentials.
Phase 3 — Feature Delivery
Implement features one at a time, from highest-risk to lowest-risk.
- Pick one feature from the MVP scope.
- For each feature:
- Confirm the pre-prod spec (acceptance criteria, data contract).
- Write tests first for core logic (unit/integration per the test
strategy).
- Implement the feature.
- Apply the verification-before-completion skill or run the feature's
tests manually.
- Run code-review or simplify skill on the diff.
- Commit.
- Repeat until all MVP features are done.
Phase 4 — Testing & Quality
- Smoke test the app — load every route, exercise every user flow.
- Check accessibility (basic: keyboard nav + contrast + screen reader).
- Run the full CI suite: lint → typecheck → test.
- Review the diff for: unused code, misplaced secrets, dead imports.
- Fixed any issues found; re-run quality gates.
Phase 5 — Code Review & Handoff
Prepare the codebase for the postproduction phase.
- Final code review pass (use the code-review skill).
- Verify the project README has setup instructions (install → dev → test).
- Ensure all environment variables are documented in
.env.example. - Confirm CI is green on the main/preview branch.
- Deploy to staging/preview for final checks.
- Handoff: run the postproduction skill before go-live.
Output
Always produce a Development Log as a file in the project directory, at <project-root>/production/log.md — never only inside this skill's folder. Create <project-root>/production/ if it does not already exist — tracking what was implemented, what remains, and any deviations from the pre-production plan. This is the handoff artifact for the postproduction phase.
Also produce brief Phase Completion Summaries at the end of each phase: 3-5 lines max, stating whether the phase passed, what was skipped (if any), and the next phase to start. Use this format:
## Phase N Summary — {date}Status: PASS / PARTIAL / BLOCKEDCompleted: {what was done}Skipped: {if any, with reason}Next: {next phase or blocker}
Quality gates (do not skip)
These are enforced, not optional:
-
lint— zero errors. -
typecheck— zero errors, strict mode. -
test— all tests pass. - Dev server starts and loads without errors.
- No secrets, no hardcoded env values, no
console.login committed code. - No dead code / commented-out code / dangling imports.
If a gate fails, stop and fix before proceeding to the next feature.
Rules
- Implement in order of risk: infrastructure first, then core features, then
polish. Do the thing that breaks worst when wrong, first.
- Each feature is one commit. No amorphous "WIP" commits.
- If the pre-production plan is missing a decision needed now (icon library,
data model, route structure), demand a decision — do not guess.
- When in doubt: stdlib > new dependency. Deletion > addition.
- If a phase in this skill feels too thin, read
references/phases.md. - Gut-check decisions against
references/do-and-dont.md. - For code review passes, invoke the
code-reviewskill on the feature
branch or diff. For post-build cleanup, invoke simplify.