agentleFS
UlisesCmUlisesCm/navori-owl/.claude/skills/solution-design/SKILL.md

solution-design

Skill1 starsChanged 36 days agoMITView on GitHub

Use when a task shows an architectural signal (new shared abstraction, ownership change, shared contract, migration, concurrency, critical area, hard-to-reverse decision) — decide WHAT to build and challenge it before decomposing into tasks.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 4

    Distinctive

    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
  1. Very specific:

    When a task shows an architectural signal (see orchestration), or a ticket audit returns proceed-differently.

    line 20
  2. Very specific:

    What already exists — first, with evidence: Before proposing anything, find what in the repo already solves this fully or partially: …

    line 51
  3. Distinctive:

    Approaches, only if ≥2 are genuine: Never invent a straw alternative when one answer is obviously right.

    line 62
  4. Distinctive:

    Not blocking → assume the conservative option and record the assumption.

    line 78
  5. Distinctive:

    Never blockers: naming preference, a hypothetical future abstraction, a minor optimization, an optional edge case, stylistic architecture …

    line 116
  6. Distinctive:

    No empty conditional sections, and no invented alternatives.

    line 147

“Common” is measured: kept by at least 6 in 10 of the 5 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- navori:managed id="solution-design" hash="d131f0d9" version="0.12.3" source="@navori/core" fmkeys="name,description,metadata" -->

solution-design — decide what to build, then try to break it

When to use this skill

When a task shows an architectural signal (see orchestration), or a ticket audit returns proceed-differently. NOT for an exact existing pattern with local blast radius and trivial rollback — no design pass needed.

This answers what to build and why, not the implementation plan or code review. Design before decomposing: contracts, state owners and migration paths move task boundaries, so tasks written first get rewritten.

Security signals also route through secure-by-design; non-functional requirements through quality-attributes. Neither replaces this verdict.

Who does what (spec 0026 F; spec 0032 R23, R33). Three roles, never collapsed: architect proposes (applies this skill, writes the artifact) — always; there is no flag to turn it off. auditor challenges in fresh context (or the orchestrator, with auditor off) — falsify, never propose or polish. The orchestrator decides: READY / CONCERNS / BLOCKED, always its call regardless of who proposed or challenged — synthesis is never delegated. With planning tiers on, at level 2 the user picks among the surviving options before that verdict.

The three failures this exists to prevent

  1. Inheriting the proposed solution. A ticket naming a library, pattern or refactor already decided for you. Its diagnosis can be right, its remedy wrong. If step 0 is "install what the ticket named", you skipped the design.
  2. Listing costs without weighing them. Naming drawbacks and proceeding anyway isn't analysis — a cost only counts against a concrete alternative.
  3. Filing scope-breaking findings as notes. Discovering that part of the request is dead code, already fixed, or unsolved by what was proposed is a verdict about scope, not an open question.

Process

  1. What already exists — first, with evidence. Before proposing anything, find what in the repo already solves this fully or partially: file:line, the existing pattern, the layer that owns it today. Ask what the smallest change to THAT is. Before any option, derive the decision drivers from the project's own rules; the ladder existing pattern > small extension > new abstraction > new subsystem is one driver, not the default winner. Verify every 'already exists' claim against origin/main after git fetch origin main; if the fetch fails or the ref doesn't exist, name the ref you actually used — or mark the claim unverified with the cause.
  2. State the real problem — the behavior that changes and who consumes it, not the symptom the ticket describes.
  3. Approaches, only if ≥2 are genuine. Never invent a straw alternative when one answer is obviously right. When the request proposes one, it is approach A and gets no privileges: give each option its tradeoffs and its cost of reversal.
  4. Choose: what, why, and why not the others. Before asking the user to choose, give the compact resumen de decisión in chat per formato-respuesta.md (recommendation, rationale, concerns, scope and verification); keep challenge and verdict separate.
  5. Cover only the dimensions the signal raises — boundaries and contracts, failure modes, migration and compatibility, testing strategy. An empty section is noise, not rigor. Every test you name answers a risk named above it.
  6. Challenge it in a fresh context (below), then record the verdict.

Ambiguity — three ways, never guess

  • Answerable by reading the repo → investigate it.
  • Product or human decision → ask it.
  • Not blocking → assume the conservative option and record the assumption.

The challenge (one round, fresh context)

Hand the artifact to a fresh-context auditor (challenge encargo) with a falsification brief — break the design, don't polish it:

What assumption is false? · What existing code contradicts it? · Which requirement isn't covered? · What contract breaks? · What happens on partial failure, timeout, duplicate delivery? · Who owns this state, and does the design respect it? · Are we duplicating an abstraction that already exists? · Can this be done with less machinery? · Would the tests catch the main risk?

It classifies findings BLOCKER | CONCERN | NOTE and writes solution_review_<scope>.md. It does not issue the verdict — you do, when you synthesize. One round only: once a scope decision is accepted or rejected, execute it; do not re-argue it in later phases.

Verdict

MeaningEffect
READYNo known blockers. Notes may exist.Implement
CONCERNSReal risks, recorded, extra attention in review.Implement — never blocks
BLOCKEDImplementing now means guessing a decision that could change the solution.Ask and stop

A BLOCKED must state four things: the blocking fact · why you cannot proceed without guessing · who resolves it · the minimum information needed. If you cannot state all four, it is a CONCERN, not a blocker.

A product fork is not automatically a blocker. Tickets arrive ambiguous; blocking on every one turns this layer into the bottleneck it exists to remove. On a real fork, ask: is one option defensible on the evidence, and cheap to reverse? If both, it is CONCERNS — take that option, write the recommendation and the discarded one explicitly ("going with B; if you meant A, say so"), and let the work start. BLOCKED is for when no option is defensible without the missing fact, or wrong picks are expensive to undo.

Never blockers: naming preference, a hypothetical future abstraction, a minor optimization, an optional edge case, stylistic architecture taste.

Artifact — .navori/state/handoffs/solution_<scope>.md

# Solution — <scope>
**Verdict:** READY | CONCERNS | BLOCKED
**Signals:** <which ones triggered this pass>

## Problem
## What already exists          ← evidence, `file:line`; why extending it does/doesn't suffice
## Constraints
## Approaches                    ← only if ≥2 genuine; each with tradeoffs + cost of reversal
## Chosen solution               ← what · why · why not the others
## Boundaries & contracts        ← conditional
## Failure modes                 ← conditional
## Migration & compatibility     ← conditional
## Testing strategy              ← each test answers a risk named above
## NOT in scope                  ← deferred work + why; stops "improving things along the way"
## Open questions                ← [repo] investigate · [human] ask · [assumed] recorded

The headings Chosen solution, Boundaries & contracts and NOT in scope are a stable contract: the reviewer reads the artifact by those names, so do not rename them.

Before declaring done

  • "What already exists" cites real file:line and says why extending it is or isn't enough — not merely how the existing code fits the proposed solution.
  • Any finding that changes what should be built is in the verdict, not a footnote.
  • The challenge ran in a fresh context and its findings are classified.
  • No empty conditional sections, and no invented alternatives.
<!-- /navori:managed id="solution-design" -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.