agentleFS
ekajaya740ekajaya740/skills/workflow/SKILL.md

workflow

Skill0 starsChanged 12 days agoMITView on GitHub

The route work takes, idea to shipped — sharpen, prototype, split, plan, build, review, ship, retro — with the done-criterion for each phase and which skill to run at each. Use when deciding what to do next, when a request is underspecified, when a task has grown past one session, when work was finished but not proven, or when nobody has written down which branches are permanent and where a task may edit.

71 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build-keil, can-debug and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ZhongYechengSkill

    build-keil

    当需要通过 Keil MDK 命令行编译嵌入式工程,调用自带脚本解析工程文件、执行构建并定位固件产物时使用。

    Also in 3 projects that use this

  • ZhongYechengSkill

    can-debug

    当需要调试 CAN 总线通信时使用,支持通过 USB-CAN 适配器监听、发送 CAN 帧和扫描节点。

    Also in 3 projects that use this

  • iPlug2Skill

    build-cmake

    Build an iPlug2 plugin project using CMake with Ninja, Xcode, or Visual Studio generators

    Also in 3 projects that use this

  • +9 more from ZhongYecheng

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 55 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Facts are the agent's job; decisions are the user's: Look up what the code says.

    line 34
  2. Very specific:

    Proof before "done": Every completion claim names the layer it was verified at — see skill verify-change.

    line 37
  3. Distinctive:

    Run 5–7. Say which phases you skipped and why.

    line 76
  4. Distinctive:

    Keep Phases 1–3 in one unbroken context window — the sharpening, spec, and tickets build on the same thinking.

    line 80
  5. Very specific:

    Every phase's exit criteria and failure mode → PHASES.md

    line 102

“Common” is measured: kept by at least 6 in 10 of the 55 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Workflow

One route, eight phases. The question this answers: what do I do next, and how do I know this phase is finished?

Phases are ordered. Skip one only when it has genuinely nothing to do — not because it feels slow.

#PhaseProducesDone when
1SharpenDecisions, vocabulary, recorded constraintsNo question on the design tree is silently assumed
2Prototype (optional)A running answer to one design questionThe question is settled and the answer is folded back into the thread
3Split (multi-session only)Spec + tickets with blocking edgesEvery ticket is independently grabbable
4PlanA written scope before the work existsScope, criteria, out-of-scope, and files are written down
5BuildCommits, or the changed filesThe repo's green command passes — or, with no build, its check does (link/schema lint)
6ReviewStandards + spec findingsEvery finding is fixed or consciously accepted
7ShipA PR with evidenceThe diff is pushed and the PR body carries proof
8Retro (on request only)Steering-improvement candidatesEvery candidate is applied or dropped, by the user

Full per-phase detail, including the exit questions and the failure each phase prevents: PHASES.md.

The rules that make the route hold

  1. Never guess a specification. Underspecified scope, criteria, naming, or surface is a Phase 1 trigger, not a licence to pick a plausible default. Ask the questions; an assumption nobody confirmed is not a decision.
  2. Facts are the agent's job; decisions are the user's. Look up what the code says. Ask what the human wants.
  3. Plan before the work. A scope or approach change lands in writing before the work that implements it — code, prose, or a restructure.
  4. Proof before "done". Every completion claim names the layer it was verified at — see skill verify-change.
  5. Retro is manual, and proposes only. Phase 8 runs on the user's request — never automatically at the end of a task, a session, or a worktree teardown. The session that made the mistakes cannot accept the lessons either: findings go to the user, who decides.
  6. Know where the work lands before you start it. Branch topology is decided once per repo — which branch mirrors production, which mirrors staging, which exists only for prose — and every task then runs on a working branch cut from the one it targets. Never author on a permanent branch: the edit is valid code in the wrong place, and nothing catches it. The topology, the questions to ask the user, and the way to explain why a permanent branch exists at all are in BRANCHES.md.

Which skill runs at each phase

PhaseIf these skills are installedOtherwise
Sharpengrilling / grill-with-docs / domain-modelingRun the interview directly: one question at a time, decisions first
PrototypeprototypeThrowaway code in a scratch directory; keep the answer, delete the code
Splitto-spec → to-ticketsWrite a spec section in the issue, then one issue per slice
Plan—Write the scope into the issue or a plan file
Buildimplement → tddDrive from the spec; test at the seam you agreed in Phase 1
Reviewcode-reviewTwo axes yourself: did it meet the spec, did it follow the repo's standards
ShipprWrite the PR body by hand — what, why, evidence, risk
Retro (request only)retroList candidates in the reply; apply none

This table is a router, not a dependency. With none of the right-hand skills installed, the route still runs. What you lose is the packaging, not the discipline.

Routing by situation

The eight phases are the default. Three other shapes are legitimate:

  • Something is broken → skip to a diagnosis loop: one command that goes red on this bug, then fix, then a regression test. Do not theorise until the loop exists. Rejoin at Phase 6.
  • The way forward is not visible (greenfield, foggy, too big for one session) → decide first, build later. Resolve the open questions one at a time, record each as a decision, then rejoin at Phase 3.
  • A one-line fix with an obvious answer → Phases 1–4 collapse into one sentence in your reply. Run 5–7. Say which phases you skipped and why.

Context hygiene

Keep Phases 1–3 in one unbroken context window — the sharpening, spec, and tickets build on the same thinking. Each Build run then starts fresh from its ticket.

At a phase boundary, you have five options, in this order of preference: continue (costs nothing), clear (context is disposable), hand off (something must travel: new harness, directory, or person), subagent (work can run AFK), compact (relevant context, same harness, and you must stay in the loop). Compact is the default, not the first reach.

The failure mode is compacting mid-phase: the summary flattens a decision, and the next session is confidently wrong about it.

When to skip the route entirely

  • A question with a factual answer. Answer it.
  • A README typo. Fix it.
  • The user asked for one specific edit. Do that edit.

Declaring eight phases for a one-line change is the same failure as shipping without them — the process stops meaning anything.

Related

  • Every phase's exit criteria and failure mode → PHASES.md
  • Which branches are permanent, and where a task runs → BRANCHES.md
  • Proving a phase's output → skill verify-change
  • Where decisions and rules get written down → skill agent-rules
  • Bootstrapping the layer a repo needs first → skill repo-init

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.