refine-approach
Skill9 starsChanged 3 months agoMITView on GitHub
Sharpen an existing Hisab brainstorm, spec or exec-plan in place — score it for clarity, completeness, specificity, YAGNI and scope, flag the one thing that hurts most, then improve it without adding scope. Use when the user says "refine this", "tighten the plan", "review the approach".
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormSkill
- create-planSkill
- file-an-issueSkill
- grill-meSkill
- implementSkill
- open-prSkill
- reviewSkill
- to-specSkill
The file
Files
Refine Approach
Honour .agents/skills/README.md. Improve a thinking document in place. Not a rewrite, not new scope.
Step 1 — Get the doc
Path given → read it whole. Else list docs/brainstorm/, docs/specs/, docs/exec-plans/{backlog,active}/ and ask which.
Step 2 — Interrogate it (answer from the doc and the code, not the user)
- Unclear — a step a fresh agent would misread.
- Unnecessary — gold-plating, a hypothetical user, a seventh tool.
- Avoided — a hard decision left implicit that
/implementwill trip over. - Assumed — a pattern claimed but not verified: does that tool, report kind, or i18n key exist? Grep it.
- At risk — strict-check path, entry numbers, offset and store, language strings, privacy — under-treated?
- Underestimated — a phase that is really three.
Step 3 — Score five criteria (Weak / OK / Strong, one line each)
Clarity · Completeness (plans: every criterion carries a verify:; open_questions: none true?) · Specificity (real file:line, real function names) · YAGNI · Scope (fits one PR?).
Step 4 — Flag the one thing
The single issue that, unfixed, hurts most. Lead with it.
Step 5 — Improve in place
Minor fixes (wording, a missing anchor, a verify:) → apply. Substantive (drop a requirement, restructure phases, split) → propose, get approval, apply. Preserve structure. Update the INDEX row if a plan's problem or dependencies changed.
Step 6 — Hand off
Brainstorm → /grill-me then /to-spec. Spec → /file-an-issue, or /create-plan for one slice. Plan → /implement, or /grill-me for a last stress-test. After two passes, recommend stopping.
What NOT to do
- Rewrite the document. Add requirements nobody discussed. Create a separate review file. Remove real constraints, rationale or open questions while simplifying.
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.

