agentleFS
vakovalskiivakovalskii/ontoship/skills/dev-flow/SKILL.md

dev-flow

Skill125 starsChanged 5 months agoMITView on GitHub

The spec-driven development loop for shipping a feature/fix fast and safely on top of a GitMark KB — research → tasks → goal → spec (markdown via skills) → isolated git worktree → implement → tests → independent review → dev-tests → prod-tests → ship (MR → dev → main). Use when starting a feature or fix, or when asked "how do we build/ship a change here".

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify behaviour where users live.

    line 37
  2. Very specific:

    Spec = markdown + skills: No ceremony, but ontological — so it stays searchable, linkable and graphable (kb-search / gitmark map).

    line 49

“Common” is measured: kept by at least 6 in 10 of the 3 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

dev-flow — from idea to production

A battle-tested loop for shipping with an AI agent: a feature reaches production in roughly 40 minutes to 2 hours. The spec is plain markdown written via the KB skills, the work happens in an isolated git worktree, and only green reaches prod. The KB (see kb-curate) is the carrier of knowledge — onboarding, hand-off and scaling all start from it, not from the code.

The loop

  1. Research — understand from facts, not guesses: read logs, traces, and the code itself. Reproduce before fixing.
  2. Tasks — turn the research into a list of tracked tasks with dependencies. Nothing gets lost.
  3. Goal — crystallize one clear goal and the "done" criterion from those tasks.
  4. Spec — write it as markdown in the KB via kb-curate (ontology: node_type, frontmatter, typed links links.documents: [src/…]). The spec is durable knowledge, not a throwaway ticket — searchable, linkable, graphable.
  5. Isolate — work in a dedicated git worktree: main stays untouched, parallel agents don't collide, and rollback is just dropping the worktree.
  6. Implement — code to the spec inside the worktree; keep doc↔code linked (implemented_by).
  7. Tests — write/adjust unit + E2E for the feature. The test is part of the feature, not an afterthought.
  8. Independent review — run an independent model (e.g. Codex CLI, read-only) over the diff for logic and security bugs before rollout. A second model catches what the author's model misses — on a real production codebase this pass caught 191 bugs before they reached prod.
  9. Dev-tests — open an MR with the commits into the dev branch; run the full suite there. Red → fix in the worktree, don't merge.
  10. Prod-tests — E2E/smoke against the real prod contour, not only mocks or dev. Verify behaviour where users live.
  11. Ship — merge dev → main and deploy (build the new image before stopping the old container, then poll the healthcheck to measure real downtime).

Git-flow

git worktree  →  MR + commits  →  dev branch (dev-tests)  →  main (prod-tests + deploy)  →  prod

Principles

  • Spec = markdown + skills. No ceremony, but ontological — so it stays searchable, linkable and graphable (kb-search / gitmark map).
  • Worktree isolation by default — clean parallelism and clean rollback.
  • Tests and independent review are gates, not afterthoughts.
  • Verify on prod, not just dev.
  • md + git = source of truth; everything derived (search index, graph) is regenerated.

When to apply

Starting any non-trivial feature or fix. For a one-line change you can collapse steps, but keep the gates (review + tests) — they are where the 191 bugs were caught.

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.