refine
Skill1 starsChanged 4 months agoMITView on GitHub
Update an existing 4ds spec — locate it, confirm what's changing with the user, discuss, then edit it in place. Explicit-invocation only.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- ghostdogpr/skillstheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- ryanportfolio/Harness-Firmwaretheir own version, first seen Oct 3, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
- GavinGreenwood/agentic-workflow-templatetheir own version, first seen Oct 2, 2026
- ong6/skillstheir own version, first seen Oct 2, 2026
Used with
Projects with it also use addskill, advocate and 10 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.
ryanportfolioSkilladdskill
Create, import, update, or install repository or personal skills; includes runtime ownership, resources, and discovery validation.
Also in 3 projects that use this
ryanportfolioSkilladvocate
Use only when the user explicitly invokes $advocate to challenge a change just made before it lands. Do not trigger from natural-language requests.
Also in 3 projects that use this
- +10 more from ryanportfolio
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- skyllwt/AutoSci★ 1.7ksame name
- automagik-dev/genie★ 345same name
- rsi-gear/gear★ 133same name
- Lambenthan/empiricalwiki★ 91same name
- unclejobs-ai/second-claude-code★ 40same name
- ghostdogpr/skills★ 17same name
- michielvandermeer/skills★ 9same name
- GavinGreenwood/agentic-workflow-template★ 4same name
- Darcos-Loft/fluid★ 3same name
- mia-cx/skills★ 3same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- brainstormSkill
- codeSkill
- delegateSkill
- discernSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
If a spec name was given as $ARGUMENTS (the same name shown in the spec's own Spec Name: line, and the filename minus .md), look for …
- Distinctive: line 20
Read the whole file. Don't assume its contents from memory or from the spec name alone.
- Distinctive: line 25
Before changing anything, confirm explicitly with the user what is changing — which section(s), and roughly what the new content should say.
- Very specific: line 44
Do not edit the file yourself.
- Very specific: line 63
When the agent returns, relay its report: confirm the edit landed, and surface anything it flagged as Unknown — verify or couldn't ground.
“Common” is measured: kept by at least 6 in 10 of the 18 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.
Files
You are running the 4ds refine workflow on an existing spec.
Phase 1 — Locate the spec
If a spec name was given as $ARGUMENTS (the same name shown in the
spec's own **Spec Name:** line, and the filename minus .md), look for
specs/<spec-name>.md. If it doesn't exist, say so and offer to list
existing specs. If no spec name was given, list specs/*.md and ask the
user which one.
Phase 2 — Read it
Read the whole file. Don't assume its contents from memory or from the spec name alone.
Phase 3 — Confirm the change
Before changing anything, confirm explicitly with the user what is
changing — which section(s), and roughly what the new content should say.
This is its own yes/no-style confirmation; do not edit until you have it.
This applies to any kind of change, including changing a task's Status
(including to Done — see note below) or editing the checklist.
Note: reassigning who owns a task is not this skill's job — that's
Delegation, and it happens exclusively via /4ds:delegate. If the user
wants to change an Owner while refining, point them there instead of
handling it here.
Phase 4 — Discuss
Have a real conversation about the change (Description) — don't just take
the first thing the user says as final if it's underspecified; ask
follow-ups the way you would in /4ds:brainstorm.
Phase 5 — Edit the file (via spec-writer)
Do not edit the file yourself. Compile what changed into a brief and use
the Agent tool to invoke the 4ds:spec-writer subagent with:
MODE: edit
TARGET_PATH: specs/<spec-name>.md
What changed and why: <summary from the conversation>
Sections affected: <list>
New content for each affected section: <content>
New Status value (if any): <value, or omit>
REVISION_HISTORY_ENTRY: <today's date> | <one-line summary of the change> | <you, or "Claude on behalf of <user>" as appropriate>Important: you may pass Done as the new Status value here ONLY when the
user has explicitly and directly told you, in this conversation, that the
work is done and they want the status set to Done. Never infer this
yourself, and never propose it unprompted — that judgment call is the
user's alone, per the 4ds plugin's core principle.
When the agent returns, relay its report: confirm the edit landed, and
surface anything it flagged as Unknown — verify or couldn't ground.
Phase 6 — Never mark ready-to-ship
Regardless of what changed, never characterize the spec as "ready to ship," "safe," "complete," or similar on your own initiative. If the user says it themselves, you may reflect that back as their statement, but it's never something you assert.
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.

