david-workflow
FreeNo executable scriptsNot checkedEnd-to-end workflow for a feature, fix or change. Plan in phases with a verification plan up front, implement, verify for real and review with sub agents…
by Makisuo★ 79 GitHub starsAbout this skill
Workflow
Follow the stages in order; do not move on until a stage's exit condition holds. Small tasks go through every stage too, just shorter. The user should never have to ask "did you test it?" or "did you push it?".
1. Plan
Size the work.
- One step (one file, one bug, a few edits): say so and start implementing without waiting.
- Phased (several areas, layers or packages): split into independently buildable phases. Mark each parallel (own sub agent or session, no shared files) or sequential (name the dependency). Two writers never touch the same files.
- Big feature: phases that are each a reviewable PR become a
gh stack. Name the branches.
Reuse before building. Use what the repo already has (components, services, query builders, error patterns, infra resources), read the official docs of the tools involved, and say in the plan what you reuse.
Plan the verification (mandatory). For each phase and the whole feature:
- the existing tools that prove it (tests, typecheck, lint, dev server in the browser, simulator, CLI runs, scripts, MCP tools);
- the missing tooling you will build to prove it (fixture, seed script, lab page, bench query, small harness). This is part of the work;
- the evidence for the PR (test output, screenshots, video, timings, bundle size);
- UI changes always need screenshots or video: list the states (empty, loading, populated, error, mobile, dark mode);
- perf claims need a before/after benchmark.
Real decisions go to the user as concrete examples to pick from, not open questions.
Exit: for phased or big work, the user has approved the plan. Then run every phase to the end without stopping to ask whether to continue.
2. Implement
- Parallel phases go to sub agents with a full brief: files, constraints, done criteria, how to verify, and the repo rules (sub agents do not inherit CLAUDE.md or memory).
- Build the verification tooling as you go.
- Follow the repo's conventions the first time. Fix root causes so the bug class cannot recur (prefer a type error). No toggles nobody asked for, delete code you replace, keep comments short.
- Add spans to new code paths so stage 6 can see them.
- Check every sub agent's diff and checks yourself. A report is not proof.
Exit: every phase is implemented and typechecks.
3. Verify, review, fix
- Run the verification plan for real: targeted tests, typecheck, lint, and drive the actual app for anything user-visible. Start servers, sign in and seed data yourself.
- Share screenshots while UI work takes shape.
- Send review sub agents over the full diff: correctness, repo conventions (
effect-review-v4for Effect code), simplification. Fix every finding and repeat until a pass is clean. - Capture evidence as you go. Anything not verifiable locally is stated and carried to stage 5.
Exit: the whole verification plan passes, the last review is clean, evidence is captured.
4. Open the PR
Open it without asking, ready for review (not draft). If the user said "push to main", push to
main and skip to stage 7.
- One PR per change; a
gh stackfor big features, each PR linking the rest. Follow-ups to stacked work go on the stack. Update a stack by merging each branch into the next, not force-pushing. - Commit only files you changed; follow the repo's commit rules; add a changeset when a released package changed.
- Description: short and plain. What changed and why, how it was verified, the evidence. UI changes
always embed screenshots or video (repo convention, else an orphan
pr-assetsbranch). - Enable CI auto-fix if available. Fix every failing check (even ones you did not cause), every review comment and every merge conflict.
Exit: PR open with evidence, CI green, no open comments.
5. Preview test
- Deploy a preview the way the repo does it (Maple:
gh pr edit <n> --add-label preview, seedocs/pr-previews.md). Elsewhere look for preview labels or deploy workflows; if none exist, say so and propose one. - Wait for the deploy check, then share the preview URL.
- Start a separate verification sub agent with only the PR context: preview URL, expected
behavior, flows to try, how to sign in (Maple:
infisical run --env dev -- bun run preview:signin <n>, never typing the key). It tests happy path and edge cases, records a video and screenshots, and reports what broke. - Post its evidence on the PR. Breakage goes back to stage 3.
Exit: the sub agent confirms the feature works on the preview.
6. Traces and performance
- Pull the preview test's traces for the new code from Maple MCP (
search_traces,inspect_trace,find_slow_traces,find_errors), filtered to the preview environment (Maple previews reportdeployment.environment=pr-<n>). - Comment them on the PR: trace links, key span tree, durations (p50/p95), query counts, errors.
- Look for slow spans, N+1 queries, serial waterfalls, oversized scans, missing caching, retri
Install david-workflow in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the david-workflow skill do?
End-to-end workflow for a feature, fix or change. Plan in phases with a verification plan up front, implement, verify for real and review with sub agents, open a PR (or a gh stack) with evidence attached, drive CI and review comments to green, test on a preview deploy with a separate sub agent, check the new code's traces in Maple for performance, and confirm it is live after merge. Use when asked to build, ship, implement or fix something non-trivial, or on "david workflow", "full workflow", "push it through", "take this to a PR" or "make a stack".
How do I install the david-workflow skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the david-workflow skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic