AGENT SKILL

drive-development-flow

Route software goals and process discussions through the smallest user-requested lifecycle stage. Definition ceremonies are opt-in; ordinary implementation stays direct while non-trivial work uses bounded fast-model-first orchestration.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
drive-development-flow
description
Route software goals and process discussions through the smallest user-requested lifecycle stage. Definition ceremonies are opt-in; ordinary implementation stays direct while non-trivial work uses bounded fast-model-first orchestration.

02 资源文件 1

03 SKILL.md 正文

Drive Development Flow

Treat a development conversation as a lifecycle. Determine the current stage, load the matching installed skill, and move only as far as the user's request authorizes. Do not turn ordinary feature language into a definition ceremony.

The internal flow-* stage overlays live under ~/.agents/skills/ and are consumed by Codex and T3 Code. Do not generate or require a Factory mirror, and do not substitute a similarly named managed upstream skill.

Route only what the user requested

Situation Stage to load
User explicitly asks to resolve a huge, foggy effort or dependency order wayfinder
In Codex or T3 Code, the user explicitly invokes working-backwards / work backwards, or asks for future customer experience, Amazon Working Backwards, PRFAQ/customer story, or one planning document at a time working-backwards
User explicitly asks to clarify a feature idea, terminology, boundaries, or trade-offs in a repo grill-with-docs
User explicitly asks for runnable evidence before deciding prototype, then return to the prior stage
User explicitly asks to turn settled discussion into a durable specification to-spec
User explicitly asks to turn a spec, plan, or approved conversation into executable slices to-tickets
User explicitly asks to execute several authorized tickets or repositories concurrently parallel-work
One clear, session-sized change or one ready ticket flow-implement
A branch or diff needs verification against standards and intent flow-code-review
A bug, regression, failing test, or performance problem is the starting point diagnosing-bugs
Version-sensitive software research or evidence gathering flow-research
Conversational bug intake and durable issue filing flow-qa

If the user explicitly asks for grilling and there is no codebase, use grill-me instead of grill-with-docs. Never infer Wayfinder, grilling, specification, ticket creation, prototypes, parallel-work, a broad suite, or promotion from size, ambiguity, urgency, or the number of tickets. work-multiple is only a deprecated migration alias for an explicit Parallel Work request.

Follow the lifecycle without ceremony

These are available compositions after the user explicitly selects their special stages; they are not automatic pipelines.

Ordinary multi-session composition:

grill-with-docs -> to-spec -> to-tickets -> flow-implement -> flow-code-review

Working Backwards composition:

product grill -> customer story -> technical grill -> research when needed -> product contract -> technical contract -> implementation map -> private T3 handoff

The Product Grill is non-technical and proceeds by Topic. It produces the compact Future Customer Story. After that story is approved, a separate Technical Grill derives only the remaining Topics from the story, profile, repository evidence, and risks. Do not repeat settled Topics.

Short path:

grill-with-docs -> flow-implement -> flow-code-review

Foggy composition:

wayfinder -> to-spec -> to-tickets -> flow-implement -> flow-code-review

For ordinary feature language, load the matching implementation flow directly. For directly requested definition, implementation, review, diagnosis, research, or QA, load only that matching flow. Start from the most advanced stage already authorized by the conversation, repository evidence, or supplied artifact. Do not force every request through every stage or advance from discussion to a new durable artifact without its own authorization.

Pin the terminal slice

Before implementation, pin one execution contract:

  • exactly one objective;
  • the constraints and explicitly out-of-scope adjacent improvements;
  • the in-scope files, systems, and repositories;
  • the exact evidence and validation required;
  • a verifiable stop condition;
  • every human-review, preview, production, external-write, or other authorization boundary.

A large program can still have a clear terminal slice. Route back to wayfinder only when these boundaries or the dependency path are genuinely unknown.

Use native goals only when explicit

  • Do not create a Codex product goal merely because the user discusses a goal. Create or manage one only when the user explicitly asks for the native goal capability.
  • A native goal must use the pinned single objective and verifiable stop condition. It may preserve work across turns, but persistence never broadens scope or grants authorization for commits, pushes, PRs, merges, releases, deployments, paid services, or external writes.
  • Follow the active native goal schema. For Codex 0.146, agent updates are limited to complete and blocked; mark complete only when nothing required remains, and blocked only after the platform's repeated-blocker threshold is met. Pause, resume, budget, and usage states belong to the user or platform.

Preserve authorization

  • Discussion authorizes discovery, clarification, and recommendations only.
  • Do not publish specs or tickets, edit code, commit, push, open or merge pull requests, deploy, or activate paid infrastructure unless the user authorizes that action or it is an ordinary in-scope step of an authorized build.
  • Before tracker writes, read docs/agents/issue-tracker.md. If unconfigured, use setup-matt-pocock-skills and ask only for choices that cannot be inferred.

Keep context healthy

  • Keep grilling, spec synthesis, and ticket approval in one continuous context when practical.
  • Start each ticket implementation with a fresh context and work one frontier ticket at a time.
  • Use handoff before context quality degrades or when a prototype must run separately.
  • Preserve decisions in configured domain docs, ADRs, specs, and trackers rather than relying on chat memory.

Compose with coding orchestration

Inside a Git repository, also load coding-orchestration for non-trivial work. This skill chooses the lifecycle stage; coding-orchestration chooses agents, models, and parallel lanes. Repository-local AGENTS.md, validation, branch, review, and release policies still govern completion.

The default non-trivial route is Sol High as parent, Luna code_mapper or docs_researcher for bounded discovery, Luna fast_implementer as the single writer, Luna test_runner for focused verification, and one independent Sol reviewer. Use specialists only for observed risk, keep depth one, reuse lanes for corrections, and close every lane with a terminal state. Trivial localized work remains on the parent.

Measure the real run without a benchmark

For implementation work, natural evidence may be captured retrospectively from the session or harness through measure-development-run. The development-run operation only normalizes records supplied to it; it does not auto-wire into a harness or synthesize missing events. When a record is available, append monotonic phase events for discovery, definition, implementation, review, correction, checks, CI, provider waits, agent waits, and human waits as they actually occurred. Record the observed harness and resolved model; never write inherit as evidence. Overlapping intervals are unioned by the canonical recorder. Missing tokens, cost, quality, CI, or provider telemetry remain unproven and never block delivery. Do not ask the operator to repeat the work as an A/B benchmark.

04 同仓库更多 Skills