agentleFS
programmerrajaprogrammerraja/claude-code-toolbox/skills/engineering/dev-workflow/SKILL.md

dev-workflow

Skill1 starsChanged 5 days agoMITView on GitHub

Manual-grade engineering workflow accelerated by AI so the human keeps full codebase mental models, judgment, and learning. Classifies the task and routes to a dedicated playbook for building a new feature, adding/changing a feature inside an existing flow, fixing a bug, or improving performance.

40 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use retrospective, brainstorm 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.
  • MicrosoftSkill

    retrospective

    Review how work went and improve the next round. USE WHEN asked for a retro, delays, or process lessons. DO NOT USE for code review or transcript replay.

    Also in 3 projects that use this

  • nicolasestremSkill

    brainstorm

    Structured idea generation and solution exploration with systematic analysis.

    Also in 5 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 4 projects that use this

  • HashiCorpSkill

    changelog

    Add a Changie change fragment (`.changes/<major>.x/unreleased/*.yaml`) for a GitHub Pull Request, commit, and push.

    Also in 3 projects that use this

  • VercelSkill

    deploy

    Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".

    Also in 3 projects that use this

  • GoogleSkill

    improve-codebase-architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 9

    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:

    Read only the matching workflow file and execute its phases in order:

    line 15
  2. Distinctive:

    Every workflow references these six mechanics by name.

    line 28
  3. Distinctive:

    Before walking through existing code, ask whether the user already knows the target area or flow.

    line 32
  4. Distinctive:

    If no (or partial): read the real files and deliver only the factual map specified by the active workflow.

    line 34
  5. Distinctive:

    Every discovery/evidence phase ends on a hard stop: present only factual codebase reality and evidence, then ask the user to propose their …

    line 38
  6. Distinctive:

    Before any production code is written, the user writes:

    line 44
  7. Distinctive:

    When the user says stubs are ready, inspect git status and git diff (plus any files they name) to read every stub in full before responding.

    line 63
  8. Distinctive:

    Gate: Wait for the user to adjust or explicitly approve the Blueprint before editing any code.

    line 74
  9. Distinctive:

    Run the repo's relevant checks (types, lint, tests) before reporting completion.

    line 83
  10. Very specific:

    Drift Log: every difference from the user's stubs (private helpers, extra error branches, compiler-forced signature tweaks) and *why*.

    line 90

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

Mental-Map Engineering Workflow

Mirror how a strong engineer works manually — let AI compress reading, searching, measuring, and typing, while the human owns topology, design judgment, diagnosis, and the mental map.

Step 1 — Classify & Route

Classify the user's task into one workflow below. If the boundary is genuinely ambiguous (for example, new feature vs. extending an existing flow), ask one clarifying question before proceeding.

Read only the matching workflow file and execute its phases in order:

TaskTrigger cuesWorkflow
New featureGreenfield capability, new endpoint/module/job with minimal existing flowworkflows/new-feature.md
Extend existing flowAdding, changing, or integrating behavior inside an existing pipeline/featureworkflows/extend-existing.md
Bug fixBroken behavior, wrong output, error, regression, or unexpected stateworkflows/bug-fix.md
PerformanceSlow latency, high CPU/memory, heavy DB queries, throughput bottleneckworkflows/performance.md

Shared Mechanics

Every workflow references these six mechanics by name. Apply them identically across all workflows.

Familiarity Check

Before walking through existing code, ask whether the user already knows the target area or flow.

  • If yes: skip the recon walkthrough and move directly to the user's thinking step.
  • If no (or partial): read the real files and deliver only the factual map specified by the active workflow.

Human-First Gate

Every discovery/evidence phase ends on a hard stop: present only factual codebase reality and evidence, then ask the user to propose their approach, hypothesis, or strategy.

  • Hold back your own solution by default so the user wrestles with the problem first.
  • When the user asks for suggestions: present 2–3 contrasting options with concrete tradeoffs (complexity, coupling, blast radius, reversibility) and let the user choose rather than prescribing one answer.

Blueprint (In-File Stubs + Full Flow)

Before any production code is written, the user writes:

  1. Full Flow (in chat or as a short header comment at the entry point): call chain plus key happy, edge, and failure branches (entry.ts:handler -> service.ts:fn -> repo.ts:fn).
  2. Per-File Pseudocode Stubs directly inside the actual codebase files (creating new files or opening existing ones) as function shells + 3–8 line plain-English comment steps covering inputs, outputs, core steps, and error branches. Skip imports, full types, and syntax ceremony.
// File: services/order.ts
// Flow: routes/orders.ts:handleCreate -> services/order.ts:createOrder
//       -> services/pricing.ts:calculateTotal -> repos/orderRepo.ts:insertOrder

export async function createOrder(input, deps) {
  // 1. validate input shape; throw ValidationError on bad items
  // 2. total = calculateTotal(input.items)
  // 3. inside tx: insertOrder({ ...input, total, idempotencyKey })
  //    - on unique violation -> fetch & return existing order
  // 4. after commit: emit OrderCreated
}

When the user says stubs are ready, inspect git status and git diff (plus any files they name) to read every stub in full before responding.

Sparring

Critique the user's Blueprint against the real codebase — still writing zero implementation code:

  • Codebase fit: existing helpers/patterns to reuse, naming conventions, affected callers or contracts.
  • Blind spots: missing edge cases, nulls/empties, retries, idempotency, race conditions, transaction or error boundaries.
  • Seams and depth: apply codebase-design vocabulary — flag shallow pass-throughs, misplaced responsibilities, or leaky interfaces.
  • Alternative (only if materially cleaner): pitch as a tradeoff ("X vs. your Y, because Z") and let the user decide.

Gate: Wait for the user to adjust or explicitly approve the Blueprint before editing any code.

Map Contract (Compile)

Implement every approved in-file pseudocode stub into clean, idiomatic production code and tests:

  • Preserve the user's exact file paths, stubbed function names, and call order. until it was if you have better suggestion propose to them
  • Replace temporary pseudocode/TODO markers with real implementation (keep comments only where a non-obvious why remains useful).
  • Structural deviations — creating/splitting/renaming a file, renaming a stubbed/exported function, shifting ownership across files, or changing the call order — require pausing and asking the user first, stating the concrete constraint discovered and the proposed adjustment.
  • Run the repo's relevant checks (types, lint, tests) before reporting completion.

Map Sync

Close every implementation with a compact summary:

  1. Final Call Map: the actual landed flow (file:fn -> file:fn) confirming alignment with the Blueprint.
  2. Drift Log: every difference from the user's stubs (private helpers, extra error branches, compiler-forced signature tweaks) and why. Write None if exact.
  3. Gotchas to Remember: 1–2 non-obvious facts discovered during implementation (framework quirks, subtle invariants, edge behaviors) worth keeping in the user's mental map.

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.