workflow-plan-first
Skill1 starsChanged 6 months agoMITView on GitHub
ALWAYS run first on any task touching more than one file or more than ~3 steps.
In this repository33 other files it gives its agents.
- skill-process-gotchasSkill
- workflow-cache-disciplineSkill
- workflow-codegraphSkill
- workflow-conductorSkill
- workflow-context-condenserSkill
- workflow-context-hygieneSkill
- workflow-criticSkill
- workflow-deadline-disciplineSkill
- workflow-deep-researchSkill
- workflow-done-definitionSkill
- workflow-edit-formatSkill
- workflow-effort-routingSkill
- workflow-escalateSkill
- workflow-execute-from-planSkill
- workflow-filesystem-offloadSkill
- workflow-learn-frameworkSkill
- workflow-long-running-processesSkill
- workflow-lspSkill
- workflow-memory-curationSkill
- workflow-plan-contractSkill
- workflow-planSkill
- workflow-quality-barSkill
- workflow-repomapSkill
- workflow-retrieve-before-actSkill
- workflow-spec-drivenSkill
- workflow-stuck-detect-resetSkill
- workflow-stuckSkill
- workflow-subagent-isolationSkill
- workflow-subtask-loopSkill
- workflow-task-finishSkill
- workflow-task-startSkill
- workflow-tool-selectionSkill
- workflow-verify-enhancedSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Write the plan to a file (PLAN.md in the project) so it survives context compression.
- Distinctive: line 24
Only then begin subtask 1.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- TRIGGERS WHEN: ALWAYS run first on any task touching more than one file or more than ~3 steps. -->Plan first — never start coding a multi-step task without a written plan.
- Restate the goal in one sentence and the DEFINITION OF DONE as a concrete, testable checklist (e.g. "endpoint returns 200 with JSON {ok:true}", "pytest passes", "file X exists").
- Query codebase-rag (
mcp_hermes_max_codebase_rag_search_code) and knowledge-graph (mcp_hermes_max_knowledge_graph_recall_about) for relevant existing code, patterns, and prior decisions BEFORE planning. Plan around what exists; don't invent. - Decompose into the SMALLEST subtasks that are each independently verifiable. Each subtask = one bounded change you could verify with a single test or check. Aim for steps a junior dev could do in 10 minutes. Write them as a todo/kanban list.
- PRE-MORTEM the plan (lookahead): for each subtask, ask "what is the most likely way this step hangs, errors, or produces something untestable?" Common traps: long-running processes (see process-gotchas), missing deps, wrong working dir, a step with no way to verify it. Adjust the plan to make every step verifiable and non-hanging.
- Write the plan to a file (PLAN.md in the project) so it survives context compression. Re-read PLAN.md at the start of each subtask. The plan is the source of truth, not memory.
- Only then begin subtask 1.
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
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.

