agentic-design-session
Skill321 starsChanged 54 days agoApache-2.0View on GitHub
Turn a framed feature into an append-only decision log: every design fork made explicit, with the reasoning and the alternatives that were rejected and why. Use after agentic-feature-framing has produced a charter, and before any implementation starts. Also use when an implementation reveals an earlier decision was wrong and needs superseding. Produces .claude/features/<slug>/decisions.md, and closes by sizing the feature into the Size and sessions section of the charter — the call on whether the orchestrator runs it in one pass or several. No code, no other file edits. This is phase 1b of the agentic development pipeline.
In this repository92 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- apps/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- packages/CLAUDE.mdCLAUDE.md
- .cursor/rules/packmind/standard-backend-tests-redaction.mdcCursor rule
- .cursor/rules/packmind/standard-changelog.mdcCursor rule
- .cursor/rules/packmind/standard-code-comments.mdcCursor rule
- .cursor/rules/packmind/standard-compliance-logging-personal-information.mdcCursor rule
- .cursor/rules/packmind/standard-typescript-good-practices.mdcCursor rule
- agent-skill-frontmatter-auditSkill
- amplitude-listener-events-adoptionSkill
- cli-e2e-test-authoringSkill
- datadog-analysisSkill
- doc-auditSkill
- feature-specSkill
- feature-sprintSkill
- packmind-onboardSkill
- packmind-update-playbookSkill
- playbook-cli-auditSkill
- product-mapSkill
- qa-reviewSkill
- release-proprietarySkill
- upgrade-runtime-stackSkill
- working-with-playground-appSkill
- working-with-pm-design-kitSkill
- agentic-doc-ingestSkill
- agentic-feature-framingSkill
- agentic-orchestratorSkill
- agent-skill-frontmatter-auditSkill
- amplitude-listener-events-adoptionSkill
- cli-e2e-test-authoringSkill
- create-run-e2e-testsSkill
- creating-end-user-documentation-for-packmindSkill
- datadog-analysisSkill
- doc-auditSkill
- feature-flags-auditSkill
- feature-flags-authoringSkill
- feature-specSkill
- feature-sprintSkill
- how-to-write-typeorm-migrations-in-packmindSkill
- improve-claude-mdSkill
- packmind-onboardSkill
- packmind-update-playbookSkill
- playbook-cli-auditSkill
- product-mapSkill
- qa-reviewSkill
- release-proprietarySkill
- upgrade-runtime-stackSkill
- working-with-playground-appSkill
- working-with-pm-design-kitSkill
- agent-skill-frontmatter-auditSkill
- amplitude-listener-events-adoptionSkill
- cli-e2e-test-authoringSkill
- creating-end-user-documentation-for-packmindSkill
- datadog-analysisSkill
- doc-auditSkill
- feature-flags-auditSkill
- feature-flags-authoringSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Append only: Never rewrite a decided entry.
- Distinctive: line 42
Never leave a fork implicit: If you notice yourself assuming something, that assumption is a decision, and it goes in the log.
- Distinctive: line 47
Surface the assumptions first: Before proposing anything, say out loud what the charter appears to take for granted.
- Distinctive: line 51
Give a recommendation, then argue against it: Not a survey of options — a position, and then the strongest case you can make for the …
- Distinctive: line 56
Challenge the user's first answer once, properly: Not to be difficult: the first design is usually the one that fits the problem as stated, …
- Distinctive: line 68
If it only makes sense in context, it is not written yet.
- Distinctive: line 75
Stop when every acceptance criterion has enough decided that a unit could be specced against it without a judgement call, and every known …
- Distinctive: line 79
Do not try to decide everything.
- Very specific: line 90
Write the answer into the charter's Size and sessions.
- Distinctive: line 110
A split is not a re-framing: Every session runs against the same charter and the same decision log.
≈ “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
Design session
You are settling how, and recording it so it survives. The main output is
.claude/features/<slug>/decisions.md, from
.claude/pipeline/decision-log.template.md. Read the charter first.
You also close by filling one section of the charter — Size and sessions — and
that is the only edit you may make outside the decision log. It is the last step
of this skill, described at the bottom.
Why the rejected alternatives matter more than the decisions
An orchestrator will re-encounter every fork you settle here when it writes specs, weeks of context later. Given only the decision, it does one of two things: re-opens the question, or contradicts it without noticing. Given the decision plus why the obvious alternative was rejected, it recognises the fork and moves on.
So a Rejected bullet with no reason is worth nothing. "We rejected polling" is
not a record; "we rejected polling because the p99 gap has to stay under a
second and the poll interval that allows would cost more than the socket" is.
The same applies when you turn out to be wrong. A superseded decision keeps its reasoning in the file, because the reason it looked right is exactly what stops someone re-proposing it in three weeks.
Hard rules
- Write no code. Types, signatures and schemas are decisions, and you may quote a signature in a decision. You may not implement one.
- Edit no file but the decision log, and the charter's
Size and sessionssection at the close. Nothing else in the charter is yours to touch — if framing got a criterion wrong, say so and let the user reopen phase 1a. - Append only. Never rewrite a decided entry. To change one, add a new entry
with
supersedes: D-00n, and appendsuperseded-by:to the old one. That one line is the only permitted mutation. - Never leave a fork implicit. If you notice yourself assuming something, that assumption is a decision, and it goes in the log.
How to run the conversation
Surface the assumptions first. Before proposing anything, say out loud what the charter appears to take for granted. Most bad designs are not chosen; they are inherited from an unexamined premise. Ask about each one.
Give a recommendation, then argue against it. Not a survey of options — a position, and then the strongest case you can make for the alternative. If the counter-case wins, that is the session working. Record whichever loses, with the reason it lost.
Challenge the user's first answer once, properly. Not to be difficult: the first design is usually the one that fits the problem as stated, and framing is never quite right. One serious push per fork, then take the answer.
Set user-visible on every entry. Yes when the decision changes something
a user can observe — a behaviour, a default, a limit, an error message. This is
what tells the documentation pass later which decisions need surfacing, and it
cannot be recovered afterwards.
Write Constrains implementation as an instruction to a stranger. That line
gets quoted verbatim into subagent prompts, in front of a model that has read
nothing else — not the charter, not the rest of the log, not this conversation.
If it only makes sense in context, it is not written yet.
Resolve or deliberately defer every known unknown in the charter. A deferred unknown needs a note saying who decides it and when. Silence is not deferral.
When to stop deciding
Stop when every acceptance criterion has enough decided that a unit could be specced against it without a judgement call, and every known unknown is either decided or explicitly deferred.
Do not try to decide everything. Decisions that only matter inside one unit belong to that unit — over-deciding here wastes the session on forks whose context will have changed by the time they run. The test is not "is everything settled", it is "could a stranger implement any AC from this log without guessing?"
Then size it — the last step, and do not skip it
Framing said what. You said how. Only now is the size of the work knowable, and
this is the point of having had both conversations: to decide, before any
code exists, whether this goes to the orchestrator in one run or in several.
Write the answer into the charter's Size and sessions.
The unit count is a rough read, and it stays rough. Units are never enumerated in advance — that is the whole cost argument behind the pipeline. You are estimating an order of magnitude from the decided design: roughly how many places have to change, and how many of those changes are independent. A range.
Then give the verdict. One session or split. Reasons to split:
| Signal | Why it wants its own session |
| A deferred unknown sits mid-feature | Everything past it would be specced on a guess |
| One subset is releasable on its own | A run that ends somewhere a human wants to look |
| A late AC depends on the shape of an early one | The design of S2 is genuinely better informed by S1 having landed |
| The unit count is large enough that the orchestrator's own context is the risk | Its judgement is what degrades, and it is the one part with no gate |
Reasons that are not reasons to split: the feature feels big, the feature touches several packages, a unit looks hard. Unit size is phase 2's problem and it splits units by itself, on evidence, when a tier ladder is exhausted.
A split is not a re-framing. Every session runs against the same charter and the same decision log. You are cutting the run, not the feature — so name the cut by ACs, say what each session lands, and say which depends on which.
Say it out loud too. The verdict is a call about how the user spends the next few days, and it belongs in the conversation, not only in a file.
Mid-implementation use
The orchestrator appends decisions itself when a unit blocks on a fork that sits inside the charter's scope. Invoke this skill when the harder case comes up: an implementation revealed a decision was wrong, not merely absent. Supersede it, and record what the implementation taught you in the new entry's reasoning — that is the most valuable kind of entry in the file.
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.

