design-change
Skill2 starsChanged 9 days agoMITView on GitHub
Design session for changing an existing (brownfield) system — turns a rough change idea into a sound, evidence-checked design the user fully understands, written down as plain-language design docs, before any implementation plan exists. Explains the current system, discusses the design one question at a time, then critiques its own design in a loop (goal met? weak spots? side effects? simpler alternative? premises true in the code?) until no open question is left. Use whenever the user wants to understand an existing system and decide how to change it before planning, asks for a "design doc", a "design doc in simple words", "explain it to me like a junior", or wants to stress-test a design across several repos or services — even if they don't name this skill. Not for greenfield projects with no code yet.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- jorgenschaefer/skillstheir own version, first seen Nov 16, 2026
- CsHeng/agent-skillstheir own version, first seen Nov 9, 2026
- tamesystems/intent-engineering-skillstheir own version, first seen Oct 20, 2026
- maxatwork/skillstheir own version, first seen Oct 13, 2026
- BanKnight/claude-templatetheir own version, first seen May 23, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- CsHeng/agent-skills★ 3same name
- BanKnight/claude-template★ 0same name
- jorgenschaefer/skills★ 0same name
- maxatwork/skills★ 0same name
- tamesystems/intent-engineering-skills★ 0same name
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 repository16 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- commit-summarySkill
- grill-meSkill
- implementSkill
- improve-codebase-architectureSkill
- learnSkill
- plugin-browserSkill
- prompt-engineeringSkill
- pr-summarySkill
- py-debugSkill
- retroSkill
- review-changesSkill
- tddSkill
- ts-debugSkill
- validateSkill
- write-planSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 14 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Write them where the conversation already keeps this work: a folder named or used in the conversation.
- Very specific: line 23
The user in chat: Read ~/.claude/shared/meet-the-user.md and follow it throughout the session.
- Distinctive: line 24
The design doc's reader: Always a human with no context — a junior developer or a teammate.
- Distinctive: line 30
When several questions are open, list them once, then take them one by one: ask a question only once the decisions it depends on are …
- Very specific: line 32
Every factual claim comes from a tool result: code, docs, logs, data.
- Distinctive: line 36
When the user asks "are you sure?", re-check instead of defending: name what is verified and what is not.
- Very specific: line 46
Read the relevant code and docs, and follow the Glossary and ADRs section of ~/.claude/shared/planning-context.md.
- Distinctive: line 54
Prefer what already exists: an existing mechanism, queue, setting or pattern beats a new one.
- Distinctive: line 56
Look at how a well-known system solves the same problem (for example Claude / Anthropic's API, Kubernetes, a standard protocol) and say …
- Distinctive: line 58
Leave nothing open that an educated guess can close: give every value a default, say it is a guess, and name the measurement that would …
- Distinctive: line 60
When the code cannot answer (runtime behaviour, team knowledge), draft short questions for the person who knows, in the language the user …
- Distinctive: line 65
Write when the user asks, or when the design has settled enough that writing it down helps.
- Distinctive: line 75
Not now (what was considered and set aside, and why)
- Distinctive: line 79
Keep it for humans:
- Very specific: line 86
Every implementation detail found along the way goes into the evidence file of the repo it is about, with file:line evidence.
- Very specific: line 91
When a design is dropped, move its documents to an archived/ folder instead of deleting them.
- Distinctive: line 95
After every design change, before the user has to ask, run this review and report it worst-first:
- Distinctive: line 121
When the user asks, or before calling the design done: hand the design doc to an independent subagent with the repo paths and ask it to …
- Distinctive: line 137
If two validation rounds bring findings but nothing actionable, stop validating.
- Distinctive: line 150
Use subagents for wide searches, log or data mining and fact-checks, so the conversation keeps the conclusions, not the dumps.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Design Change
Drive a change from "I have an idea" to "the design is sound, checked against the code, and I understand every part of it". The deliverable is one plain-language design doc and one evidence file with the implementation facts per repo the change touches, ready for whoever writes the implementation plan.
Write them where the conversation already keeps this work: a folder named or used in the conversation. If there is
none, create one change folder, named and laid out as the Change folder section of
~/.claude/shared/planning-context.md says.
The user should not have to be the critic. Every round, you do the criticism they would otherwise do: check the facts, find the weak spots, question your own design, and offer a simpler one when it exists.
The reader
Two readers, and they change differently over the session:
- The user in chat. Read
~/.claude/shared/meet-the-user.mdand follow it throughout the session. - The design doc's reader. Always a human with no context — a junior developer or a teammate. This does not rise with the user's level: the design doc is written for people who were not in the conversation.
How to answer in chat
- Answer first, then the support. Short. Bullets for three or more parallel points.
- When several questions are open, list them once, then take them one by one: ask a question only once the decisions it depends on are settled.
- Every factual claim comes from a tool result: code, docs, logs, data. Cite
file:linein chat. If no tool can answer, say so and name who can (a person, a deployment, a measurement). - Push back when the evidence says the user is wrong, with the evidence. When the user decides a trade-off, accept it, record it, and stop arguing it.
- When the user asks "are you sure?", re-check instead of defending: name what is verified and what is not.
The loop
1. Understand the ask and the current system
Open with two questions, asked together: the domain-docs question in section 2 of
~/.claude/shared/domain-docs.md, and the goal behind the ask — what the user wants to be true once the change is
done, not only what they asked for, confirmed in one line. Every later step is judged against the goal.
Read the relevant code and docs, and follow the Glossary and ADRs section of
~/.claude/shared/planning-context.md; a recorded decision stays settled unless the user reopens it. Explain how
things work today before proposing anything: the user needs the current system in their head to judge a change.
Find the root cause of the problem, not only the symptom the user named — the best fix is often in another component
than the one the user started from.
2. Discuss the design
- Prefer what already exists: an existing mechanism, queue, setting or pattern beats a new one.
- Fix at the root cause, in the component that owns the problem, over a workaround in the caller.
- Look at how a well-known system solves the same problem (for example Claude / Anthropic's API, Kubernetes, a standard protocol) and say what to take from it and what not.
- Leave nothing open that an educated guess can close: give every value a default, say it is a guess, and name the measurement that would replace it.
- When the code cannot answer (runtime behaviour, team knowledge), draft short questions for the person who knows, in the language the user uses with them, and treat the answers as input to check, not as facts.
3. Write the design docs
Write when the user asks, or when the design has settled enough that writing it down helps. One design doc and one evidence file per repo the change touches, named per the Change folder section, the design docs linked to each other. Structure:
- Goal (what must be true once the change is done, who it serves, what success looks like, the key constraints)
- The pieces (a small diagram and a word table)
- How it works today
- The problem
- How others do it (optional)
- What we will change (decisions, each with its one-line why)
- Not now (what was considered and set aside, and why)
- What does not change
- Open questions
Keep it for humans:
- Plain words, short sections, tables for values. No file names, line numbers, env-var internals, library internals or code identifiers unless the reader must type them (a CLI switch, a setting an operator sets).
- The word table defines the few terms this change's reader needs, even ones the glossary already has: copy those definitions from the glossary word for word. When a new domain term or a hard-to-reverse decision settles, record it in the glossary or as an ADR only if the user said yes to that kind at the start.
- Every implementation detail found along the way goes into the evidence file of the repo it is about, with
file:lineevidence. Nothing found is lost; the design doc just does not carry it. Name a secret or personal record by its variable or kind, never its value: these files are shared. - Record each decision in the design doc when it is made, so the document is always current. Remove what a later decision made stale; do not leave both versions.
- When a design is dropped, move its documents to an
archived/folder instead of deleting them.
4. Critique your own design — every round
After every design change, before the user has to ask, run this review and report it worst-first:
- Goal: what does the design achieve, and does it reach the user's actual goal? Say plainly what it does not do.
- Weak spots: where it breaks, under which load, input or deployment.
- Side effects: who else is affected — other callers of the same service, other teams, operators, monitoring, older clients. A change made for one caller often lands on all of them.
- Simpler alternative: is there a design with fewer moving parts that solves the same problem? Take it seriously; recommend it when it wins.
- The fact it stands on: name the one fact the design is safe because of and prove it — read the source, or run a small script — rather than listing many possible risks. A design usually fails on one unproven premise, not on ten listed ones.
- Premises: is every other "today the code does X" still true? Re-check the claims the design leans on.
- Premortem: "It is six months later and this failed. Why?" Name the most likely cause and the smallest check that would catch it now.
- Coupling: does it tie components' settings or behaviour together more than needed?
- Architecture: once, in the first round after the design has settled, invoke
improve-codebase-architecturein scoped mode on the components the design touches, and treat its deepening opportunities as findings of that round.
For each finding give a fix and a recommendation. Let the user decide; record the decision; update the design doc. Repeat until a round finds nothing worth fixing and the open-questions section is empty.
Stop after three rounds that each still find substantive issues. Hand the situation to the user instead of looping: the design may be too big for one change and want splitting, or a trade-off needs their call.
5. Validate against the code
When the user asks, or before calling the design done: hand the design doc to an independent subagent with the
repo paths and ask it to check first whether the design reaches its stated goal, then fact-check every claim about
today's behaviour and every premise of each proposal, with file:line evidence, adversarially ("assume the author
is overconfident; do not validate"). Give it the design, its
constraints and any evidence against it — never your reasoning or conclusions: an unanchored reader finds what you
missed.
Sort each finding before acting on it:
- misread — the validator got the design wrong: no change, but check whether the design doc invited the misreading;
- actionable — a wrong or imprecise claim, or a broken premise: fix the design doc if it changes meaning, otherwise record it in the evidence file;
- trade-off — true, but already accepted: no change;
- noise — no change.
If two validation rounds bring findings but nothing actionable, stop validating.
6. Hand off
The design is ready when the design docs have no open questions, the last critique round found nothing to fix and the validation is applied. Then check understanding: write back a short summary — goal, who it serves, what success looks like, the key constraints, what is out of scope — and ask the user to confirm it. Only an explicit "yes" counts; "sounds good" or "whatever you think" means something is still unclear, so ask which part. Write the confirmed summary into each design doc's Goal section, so later stages read it there. The session ends there: the design docs and the evidence file are the deliverable.
Working practices
- Use subagents for wide searches, log or data mining and fact-checks, so the conversation keeps the conclusions, not the dumps. Brief them fully; they have no context.
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.

