AiIntermediate

AI SDLC with Agent Skills: Spec to Ship, End to End

DeveloperHat Team
17 min read

TL;DR

Run the software lifecycle with agent skills: spec, plan, build, test, review, ship. Osmani's lifecycle vs Pocock's chain — gates, costs, and when to skip it.

The companion piece to this article ranked the best AI agent skills by job — design, development, review. This one runs the whole job end to end. The software development lifecycle has not changed: somebody still has to decide what to build, break it into pieces, write it, prove it works, review it, and ship it. What has changed is who does each step, and how the handoffs between steps work. In both of the big public skill packs, the lifecycle is no longer a process document on a wiki — it is a chain of skills, each with a checklist, a verification gate, and an artifact it leaves behind.

The two packs take opposite routes to the same destination. Addy Osmani's agent-skills is a full methodology: 26 skills organised around six stages, DEFINE → PLAN → BUILD → VERIFY → REVIEW → SHIP, driven by ten slash commands. Matt Pocock's skills is a set of small composable pieces: grill, then spec, then tickets, then implement test-first, then review, then look back. This article maps the lifecycle onto both, stage by stage, and names where the quality gates sit, what the whole run costs, and when running the full lifecycle is overkill.

Versions and counts are verified against the two repositories as of 24 November 2026. Skill counts move every week — the Osmani README counts 26 skills today, the Pocock plugin manifest counts 27 — so treat every number here as a snapshot and check the repo before you install.

Six stages, six gates — the lifecycle as a chain of skills Each stage is a skill with a gate. The agent runs the stages; a human approves the gates. DEFINE spec + PRD PLAN tasks + criteria BUILD slices + TDD VERIFY tests must pass REVIEW 5 personas SHIP flags + rollout Gate: PRD ok Gate: tasks testable Gate: slice green Gate: evidence Gate: review clean Gate: rollback ready REVIEW fails → back to BUILD — the loop is the feature Cost so far: ~100 tokens per skill of frontmatter, always loaded · body under 5,000 tokens on trigger. Human checkpoints: approve the spec, approve the plan, approve the ship. Everything between is the agent's job.

What the lifecycle looks like when it is skills

A traditional SDLC is enforced by meetings and process documents, which is why it decays: the document says "review before merge" and the merge happens anyway. A skill-based SDLC is enforced by the agent's own workflow, which is why it holds up better under pressure. Each skill is a SKILL.md file — frontmatter that says what the skill does and when to use it, then a process with steps, verification gates, and a table of the excuses agents use to skip steps, with the rebuttals written in. Osmani's pack is explicit about this: every skill ends with evidence requirements, and "seems right" is never sufficient.

Three mechanics make the chain work, and they are the same in both packs:

The router decides which skill fires. In Osmani's pack the router is the using-agent-skills meta-skill, reached through slash commands — /spec, /plan, /build, /test, /review, /ship — each of which activates the right skills automatically. Skills also fire on their own when the task matches their description: designing an API triggers the API-design skill without anyone typing a command. In Pocock's pack the router is /ask-matt, and the chain is typed by hand: you invoke /grill-me, then /to-spec, then /to-tickets, then /implement. The difference is who holds the map — Osmani's pack holds it for you, Pocock's hands it to you.

Every stage ends in a gate, not a vibe. A gate is a check with a yes-or-no answer: the spec has acceptance criteria, the slice has a passing test, the review has severity labels, the ship has a rollback plan. The gate is what turns "the agent did the work" into "the work is done". Without gates, a lifecycle of skills is just a longer prompt.

The human checkpoints are few and named. Approve the spec, approve the plan, approve the ship. Everything between those three is the agent's job, and the agent's job is cheaper than the meetings used to be — but the checkpoints are not optional. A lifecycle with no human in it is a pipeline that ships whatever the agent felt confident about, and confidence is the one thing an agent never lacks.

Stage by stage: the skill, the gate, the artifact

StageOsmani skillPocock equivalentGateArtifact
DEFINEspec-driven-development, interview-me/grill-me, /grill-with-docs, /to-specPRD approved, boundaries statedPRD / spec
PLANplanning-and-task-breakdown/to-tickets, /wayfinderTasks verifiable, dependencies orderedTask list with acceptance criteria
BUILDincremental-implementation, test-driven-development/implement, /tddSlice green, committed atomicallyWorking code, one slice at a time
VERIFYbrowser-testing-with-devtools, debugging-and-error-recovery/tdd, /diagnosing-bugsTests pass, runtime evidenceTest results, traces
REVIEWcode-review-and-quality + 5 personas/code-review, /prSeverity labels clearedReview + PR body
SHIPgit-workflow-and-versioning, ci-cd-and-automation, shipping-and-launch/retro (after the fact)Staged rollout, rollback readyRelease, monitoring

DEFINE is where the packs differ most. Osmani's spec-driven-development writes a PRD covering objectives, commands, structure, code style, testing, and boundaries before any code, and interview-me interrogates the request one question at a time until it reaches about 95% confidence. Pocock's /grill-me does the same interrogation — "relentlessly interviewed about a plan until every branch of the design tree is resolved" — and /grill-with-docs goes further, building the project's domain model and updating GLOSSARY.md and ADRs inline. Pocock calls that "the single coolest technique in this repo", and he is not wrong: the grilling session is the cheapest fix for the most common failure mode in software, which is building the wrong thing. /to-spec then turns the conversation into a spec and publishes it to the issue tracker, without re-interviewing. Either way, the gate is the same: a spec a second person could read and approve. If the spec cannot be approved, the lifecycle stops here, which is the correct outcome — a stopped lifecycle costs an hour, a shipped misunderstanding costs a sprint.

PLAN is the least glamorous stage and the one that saves the most rework. Osmani's planning-and-task-breakdown splits a spec into small verifiable tasks with acceptance criteria and dependency ordering. Pocock's /to-tickets does the same with a different shape: tracer-bullet tickets, each declaring its blocking edges, written as text in a local file or as native blocking links on a real tracker. For work bigger than one session, /wayfinder plans it as a shared map of decision tickets and resolves them one at a time. The gate is verifiability: if a task has no acceptance criterion, it is not a task, it is a wish.

BUILD is where the agent is fastest and where discipline matters most. Osmani's incremental-implementation builds in thin vertical slices — implement, test, verify, commit — with feature flags and rollback-friendly changes, and test-driven-development enforces red-green-refactor with a test pyramid (80/15/5). Pocock's /implement drives /tdd at pre-agreed seams and closes out with /code-review before committing; /implement-spec runs the whole spec on one integration branch, working the tickets as a task graph with implementer subagents across the ready frontier. Osmani also offers /build auto: approve the plan once, and it generates the plan and implements every task in a single pass, pausing on failures or risky steps. The gate is the same in every variant: a slice that is green and committed, not a pile of uncommitted changes the agent promises to test later.

VERIFY is the stage most teams skip, and the stage the packs are most insistent about. Osmani's browser-testing-with-devtools pulls live runtime data — DOM, console logs, network traces — instead of trusting the code as written, and debugging-and-error-recovery runs a five-step triage: reproduce, localize, reduce, fix, guard, with a stop-the-line rule. Pocock's /diagnosing-bugs is the same discipline in a tighter loop: build a feedback loop that goes red on this bug, then minimise, hypothesise, instrument, fix, and regression-test. Our guide to verifying AI agent actions covers the execution side in more depth — tests, traces, and what to check after the agent claims it is done. The gate is evidence: a test run, a trace, a screenshot — not the agent's assurance.

REVIEW is where Osmani's pack spends the most machinery. The code-review-and-quality skill runs a five-axis review — correctness, readability, architecture, security, performance — with change sizing around 100 lines and severity labels (Nit / Optional / FYI). Then five pre-configured personas run as targeted reviewers: code-reviewer (a senior staff engineer asking "would a staff engineer approve this?"), test-engineer (a QA specialist running the Prove-It pattern), security-auditor (vulnerability detection, threat modeling, OWASP), web-performance-auditor (Core Web Vitals, via /webperf), and accessibility-auditor (WCAG 2.2 AA, via /a11y). The personas compose under orchestration rules — including the rule that personas do not invoke personas. Pocock's /code-review is leaner and, in one respect, sharper: a two-axis review — Standards (does it follow the repo's coding standards?) and Spec (does it faithfully implement the originating issue?) — run as parallel sub-agents so neither pollutes the other. His /pr skill then shapes the pull request body: a summary as the smallest visual that makes the change clear, before/after evidence that it works, and a merge-danger call — one-way or two-way door, plus blast radius. The gate is severity labels cleared, not "looks good to me".

SHIP is the stage with the longest checklist and the shortest glamour. Osmani's ship stage is six skills deep: git-workflow-and-versioning (trunk-based development, atomic commits), ci-cd-and-automation (Shift Left, "faster is safer", feature flags, quality-gate pipelines), deprecation-and-migration (code as a liability), documentation-and-adrs (document the why), observability-and-instrumentation (structured logging, RED metrics, OpenTelemetry), and shipping-and-launch (pre-launch checklists, feature flag lifecycle, staged rollouts, rollback procedures). The /ship command activates them as a group. Pocock has no ship-stage skill as such — his lifecycle ends with /retro, which suggests improvements to the coding agent's environment after a session, most severe first. That asymmetry is honest: Osmani's pack is built for teams shipping to production, Pocock's for engineers shipping to a branch. If you ship to production with Pocock's chain, you supply the ship discipline yourself.

The SDLC as a stack — five layers between a request and a release Your request — "add SSO login, behind a flag" Router — using-agent-skills / ask-matt maps the job to the right skill Lifecycle skills — spec → plan → build → test → review → ship (Osmani: 26) Review personas — code-reviewer · test-engineer · security-auditor · web-perf · a11y Evidence — 7 checklists, tests passing, staged rollout, rollback ready The router decides which layer fires. Every layer carries its own checklist and gate.

The two packs, head to head

Addy Osmani — agent-skillsMatt Pocock — skills
ShapeFull lifecycle methodologySmall composable skills
Skills26 (repo README, Nov 2026)27 (plugin manifest, v1.3.1)
SpineDEFINE → PLAN → BUILD → VERIFY → REVIEW → SHIPgrill → spec → tickets → implement → review → retro
Entry pointSlash commands (/spec, /plan, /build, /test, /review, /ship)User-invoked commands (/grill-me, /to-spec, /implement)
Routerusing-agent-skills meta-skill/ask-matt
Review depth5 personas + 5-axis review skill2-axis review, parallel sub-agents
Ship stage6 skills + /shipNot covered — you supply it
Costs youA methodology with opinionsYou assemble and maintain the workflow
Installnpx skills add addyosmani/agent-skillsnpx skills@latest add mattpocock/skills
LicenceMITMIT

The design skills from the companion piece sit outside this table on purpose: they are single-purpose tools, not lifecycle stages, and they pair with either pack. frontend-design plus Osmani's lifecycle is a complete setup for a product team; impeccable plus Pocock's chain is a lighter one for a solo developer.

One honest difference the table hides: Osmani's pack is a methodology, so it has opinions about how you work, and those opinions compound — a spec, a plan, a review persona, a ship checklist. Pocock's pack is a set of pieces, so it has no opinions, and the opinions have to come from you. A team that already has a process usually wants Pocock's pieces; a team that does not yet have one usually wants Osmani's spine. Installing both is fine — they overlap on TDD and code review, and the overlap is small enough that the duplication is a configuration choice, not a conflict.

Where the quality gates sit, and what they cost

The gates are the lifecycle. Four of them matter more than the rest, because each one catches a failure mode the later stages cannot see:

  • The spec gate (DEFINE). Catches building the wrong thing. Cost: one grilling session or one PRD review. Skip it and every later gate passes on a feature nobody wanted.
  • The task gate (PLAN). Catches work that cannot be verified. Cost: writing acceptance criteria. Skip it and the build stage produces code that is done when the agent says so.
  • The evidence gate (VERIFY). Catches code that looks right and does not run. Cost: a test run and a trace. Skip it and the review stage reviews an opinion about the code, not the code.
  • The review gate (REVIEW). Catches the defect the author cannot see. Cost: a five-axis pass or a two-axis pass, plus the personas on high-stakes changes. Skip it and the ship stage ships whatever passed the tests, which is not the same as what is correct.
  • What does the whole run cost? The token cost is the only part either pack puts a number on, and it is small: a skill's frontmatter — name and description — is about 100 tokens, always loaded, and the SKILL.md body is under 5,000 tokens, loaded only when the skill triggers. A shelf of fifty skills costs roughly 5,000 tokens idle. Neither pack publishes a token or time budget for a full lifecycle run, and there is no honest number to quote: it depends on the size of the change, how many gates fail, and how many review loops the change takes. The real cost is the human time at the gates — the spec review, the plan approval, the review pass, the ship approval — plus the wall-clock time of a run that does six stages instead of one prompt. That is the trade, stated plainly: the full lifecycle is slower than a single prompt, and that is the point. Speed is bought with review, and review is what keeps a fast agent from shipping fast mistakes.

    The cost you should measure is whether the lifecycle makes the output better, not whether it makes it faster. That is an evaluation problem, and the machinery for it is the same as for any LLM system: golden sets, LLM-as-judge limits, regression gates in CI. Our LLM evals in production guide covers it — the same approach applies to your own skill shelf, at a smaller scale. If you cannot tell whether the lifecycle made reviews sharper or releases safer, you are guessing, and a guess is not a reason to keep the process.

    Full lifecycle, a slice, or nothing at all? Decide by size, risk, and reversibility — not by how exciting the feature is. How big is this change? size, risk, reversibility One-file fix fix, test, ship Small, understood build + test + review New feature full lifecycle, spec → ship High stakes lifecycle + 5 personas The full lifecycle is the default for features, not for fixes. The gate you skip is the bug you ship.

    Architecture Decision

    >

    Decision: Run the full lifecycle — spec → plan → build → test → review → ship — for any feature that touches more than one file or changes behaviour a user can see. For smaller changes, run a slice: build + test + review. Install Osmani's pack for the lifecycle, Pocock's chain for the grilling and the ticket discipline, and keep both — they overlap less than they look like they do.

    >

    Context: The team writes code with an agent daily. Changes land fast and unevenly: some have specs, most do not; reviews happen when someone remembers; releases are manual and nervous. The failure modes are known — wrong thing built, bugs shipped, reviews skipped — but there is no shared process that catches them before production.

    >

    Options considered: (a) Osmani's full lifecycle, end to end, with the review personas on every change. (b) Pocock's composable chain, assembled per change, with the ship discipline supplied by the team. (c) A hybrid: Osmani's lifecycle for features, Pocock's slice for fixes, grilling before either. (d) No lifecycle — keep prompting the base model and rely on the existing human review. (e) Both packs installed wholesale, full lifecycle for everything, including one-line fixes.

    >

    Why this one: Option (c) is the only one that scales with change size. A one-file fix does not need a spec, a plan, and five review personas — running them anyway teaches the team to ignore the lifecycle, which is worse than not having one. A feature without a spec teaches the agent to guess, which is worse than a slow start. The hybrid keeps the gates where they catch real failures and drops them where they only add ceremony. Option (a) is the fallback if the hybrid drifts — if the team keeps skipping the slice's review, adopt the methodology wholesale. Option (b) is right for a team that already ships well and only needs the grilling and ticket discipline. Option (d) leaves the failure modes in place. Option (e) fails on its own terms: a lifecycle that runs for a typo is a lifecycle nobody trusts.

    >

    What it costs you: The human gates — a spec review, a plan approval, a review pass, a ship approval — on every feature, plus the wall-clock time of six stages instead of one prompt. The router is one more layer to debug when the agent fires the wrong skill. And every skill is a dependency on its maintainer: a pack that stops being updated will slowly drift from the tools it describes.

    >

    When to reverse it: If the lifecycle's gates stop catching real defects — reviews pass everything, specs approve themselves — the process has become theatre; strip it back to the slice and rebuild the gates from actual failures. If the team ships a feature that the lifecycle would have caught, that is not a reason to abandon the lifecycle — it is evidence the gates were skipped, and the fix is enforcement, not a new process. If a skill starts producing worse output than the base model on the same task, remove that skill, do not work around it.

    When NOT to run the full lifecycle

    The lifecycle is a default, not a religion. Do not run it for these:

  • A one-file fix. A typo, a config value, a copy change. Fix it, run the test, ship it. The spec for a one-line change is longer than the change.
  • A spike or prototype. The point of a spike is to learn, and a lifecycle built for shipping will slow the learning down. Pocock's /prototype skill exists for exactly this: build a throwaway to answer a design question, then throw it away.
  • A hotfix. When production is down, the lifecycle is the thing you do after the fix ships — a retro, a regression test, an ADR about what happened. Running a spec while users are locked out is process worship.
  • Exploration and learning. Reading a codebase, trying an API, learning a framework. The lifecycle assumes you know what you are building; exploration is how you find out.
  • When the spec would take longer than the change. This is the practical test for everything above. If writing the spec, the plan, and the review takes longer than the work, run the slice — build, test, review — and move on. The lifecycle exists to make big changes safe, not to make small changes slow.
  • The lifecycle is a default, not a destination

    The SDLC did not get easier when agents arrived — it got faster, and faster is not the same as easier. The two packs agree on the shape of the answer even though they disagree on the packaging: decide what to build before building it, break it into verifiable pieces, prove each piece works, review it with a checklist instead of a feeling, and ship it in a way you can undo. The skills are just the mechanism that makes the agent do those things when nobody is watching. Start with the slice that hurts — usually the grilling, usually the review — use it for a week, measure whether it helped, and add the next stage only when the current one is holding. The lifecycle that stays small and used beats the lifecycle that is complete and ignored.

    Why This Matters

    Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.

    Trade-offs to Consider

    Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.

    When NOT to Use This

    Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.

    Decision Framework

    Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.

    Share this articleShare on XShare on LinkedIn

    Keep the decision frameworks coming

    One practical architecture guide a week — patterns, trade-offs, and when not to use them. No spam, unsubscribe anytime.