agentleFS
AbdurRafay2004AbdurRafay2004/handoff/skills/workflow/SKILL.md

workflow

Skill4 starsChanged 5 months agoMITView on GitHub

The operating pipeline for all development work — 6 phases (Brief, Plan, Build, Verify, Ship, Learn) with risk tiers that decide how much process a task gets. Use at the start of any development task to pick the tier and execution mode, when unsure whether a task needs a plan/tests/review, or when another skill needs the phase and tier vocabulary. This skill overrides any process embedded in other skills.

46 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chat-sdk, experiment and 7 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.
  • VercelSkill

    chat-sdk

    Build multi-platform chat bots with Chat SDK (`chat` npm package). Use when developers want to (1) Build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, (2) Use Chat SDK to handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI streaming, (3) Set up webhook routes or multi-adapter bots, (4) Send rich cards or streamed AI responses to chat platforms, (5) Build or maintain a custom adapter or state adapter. Triggers on "chat sdk", "chat bot", "slack bot", "teams bot", "google chat bot", "discord bot", "telegram bot", "whatsapp bot", "@chat-adapter", "@chat-adapter/state-", "custom adapter", "state adapter", "build adapter", and building bots that work across multiple chat platforms.

    Also in 4 projects that use this

  • sunnnybalaSkill

    experiment

    Design and run ML experiments on cloud GPUs. Generates experiment code, runs on Modal, tracks results in JSONL. Use when asked to "run experiments", "train a model", "test this hypothesis", or "benchmark this approach". Proactively invoke when the user has a refined research idea and needs to validate it experimentally.

    Also in 3 projects that use this

  • nicepkgSkill

    team

    根据任务快速组建临时 AI Agent 团队协作。自动从 .claude/agents/ 中选择最合适的成员组队。

    Also in 3 projects that use this

  • u9401066Skill

    project-init

    Initialize new projects using this template. Triggers: init, new, 新專案, 初始化, create project, 建立專案, bootstrap, scaffold project.

    Also in 3 projects that use this

  • ww-w-aiSkill

    loop

    Run a prompt or command on a recurring interval. Useful for monitoring, polling, or periodic checks.

    Also in 3 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 38 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before claiming done: skill verify-done — evidence before assertions, always, including the Spec check (does the diff match the brief?).

    line 46
  2. Very specific:

    STOP and offer delegate-or-inline via AskUserQuestion (with a suggested model tier) — never silently spawn a subagent or silently work …

    line 65
  3. Very specific:

    When stopping at a T3 gate (plan approval, ship approval), WRITE .handoff/GATE — one line: the task and the question awaiting the user (e.g.

    line 72

“Common” is measured: kept by at least 6 in 10 of the 38 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 pipeline for every project. The user is the product manager and architect: they decide what and why, and judge results as evidence — working demos, test output, preview URLs — never raw code. The agent is the senior engineer and devops: it proposes, builds, verifies, ships, and always brings evidence to the gate.

The tier decides the process — not the skill, not habit, not thoroughness for its own sake. When a heavier process is invoked on a lighter task, say so and offer the lighter path before proceeding.

Risk tiers

TierWhat it coversProcess
T1 — trivialcopy, styling, config tweaks, small isolated editsNo plan. Edit inline → typecheck + lint → done.
T2 — standardtypical features, refactors within one areaShort plan (a few bullets, in-chat OK) → build inline → tests on the affected path → one review pass → evidence.
T3 — riskymoney, auth, user data, migrations, deletes, cross-cutting changesWritten plan the user approves → TDD → security review → end-to-end verify → evidence at every gate.

Declare the tier when starting a task. If the tier is wrong, the user corrects it in one line ("this is T1") and that ruling stands.

The six phases

  1. Brief — user states what and why in product terms. Interrogate it briefly (skill: brief) — surface the 2–3 decisions that will hurt later, then stop. Gate: user says "yes, that's what I want."
  2. Plan — propose the approach and declare the tier (skill: plan, T2/T3 only). Trade-offs explained in plain language, as to a PM. Gate (T2/T3): user approves the plan.
  3. Build — write the code. Inline by default; delegate to subagents only per the delegate skill's triggers (context pressure or true parallelism), never as ceremony. T3 builds test-first (skill: tdd). Run single test files often; the full suite once at the end. Bugs found along the way go through debug, not guess-and-patch — and if 3+ fixes fail, escalate to architecture.
  4. Verify — non-negotiable, scaled by tier. Mechanical first: typecheck, lint, tests, build. Then T2+: a review pass (built-in /code-review); run the app and exercise the change (built-in verify/run skills); optionally simplify once green. T3: security gate (built-in /security-review for the diff, the security skill for a full audit) and end-to-end verification. Before claiming done: skill verify-done — evidence before assertions, always, including the Spec check (does the diff match the brief?). Gate: user judges the evidence (screenshots, test summary, preview URL) — the pipeline judged the code.
  5. Ship — skill: ship. Branch → PR → merge → deploy → smoke-check the live result, tier-scaled up to a full launch runbook. Never git add -A; stage only what you changed. Every commit revertible.
  6. Learn — skill: learn (T3 and incidents; T1/T2 need only a CHANGELOG line). Update durable state (STATUS/CHANGELOG via handoff), record learnings, plus one line: what would have prevented this?

Delegation (subagents)

Subagents exist to protect the main context window, not to add process. Delegate when the delegate skill's triggers are met — a search/read that would flood context, verbose build/test output, independent parallel tasks, or an isolated T3 workstream. A 30-line change never needs an agent round-trip.

Surface the decision as a choice, not a sentence. On a delegate trigger, STOP and offer delegate-or-inline via AskUserQuestion (with a suggested model tier) — never silently spawn a subagent or silently work inline. This fires at the trigger point, even in the middle of another skill's process. Small, sequential, or interdependent edits stay inline without asking.

The T3 gate is machine-readable

When stopping at a T3 gate (plan approval, ship approval), WRITE .handoff/GATE — one line: the task and the question awaiting the user (e.g. T3 plan approval: migrate orders table — approve?). While that file exists, do not proceed past the gate, regardless of any active goal, loop, or "just ship it" pressure — autonomous drivers idle here. Delete the file when the user rules. The Stop hook surfaces an open gate at turn-end — even when the turn made no other changes — deduplicating identical repeats; sentinel paths (money/auth/data/migrations) are also flagged automatically, and a sentinel hit with no gate and no declared T3 must be explained.

Precedence

This pipeline outranks process instructions embedded in any other skill. Other skills contribute technique (how to debug, how to write tests); this skill owns sequencing, tiering, and how much ceremony a task deserves.

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.