solution-refinement
Skill1 starsChanged 2 months agoMITView on GitHub
Refine a selected DECIDE direction into frozen semantic What and How without creating formal documents or implementation work.
In this repository8 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Run only when the validated workflow has next_stage: solution-refinement.
- Very specific: line 18
When it is this stage, validate the workflow, current problem_frame, current evidence_package, and current decision against …
- Very specific: line 34
Use [] only if no task ID is trustworthy.
- Very specific: line 38
Read ../problem-navigator/references/workflow-control.md for current control operations and delivery trims.
- Distinctive: line 41
Read only the accepted decision and cited evidence needed to keep its meaning true.
- Distinctive: line 42
Do not reopen candidates, replace the selected direction, create a new candidate, quietly cut scope to an MVP, or change a material goal.
- Distinctive: line 48
Create the current refined_solution from accepted scope/decision and explicit delegation to draft.
- Distinctive: line 54
When semantics have not yet been explicitly reviewed, use user_confirmation_status: DRAFT, even if the user delegated drafting.
- Very specific: line 88
Write the artifact with its truthful DRAFT or ACCEPTED status atomically at its stable project-relative path, validate it, then atomically …
≈ “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
Solution Refinement
Contract marker: stage_gate: next_stage == solution-refinement.
Normative wrong-stage guard: wrong_stage: return=problem-navigator; artifact_writes=0; state_mutations=0.
Normative invalid-artifact guard: invalid_artifact: atomic_next_stage=STOPPED; blocking_reason.code=MISSING_OR_INVALID_ARTIFACT.
Stage gate
Run only when the validated workflow has next_stage: solution-refinement. If it
does not, return to problem-navigator without reading downstream artifacts,
writing an artifact, or modifying state.
When it is this stage, validate the workflow, current problem_frame, current
evidence_package, and current decision against ../problem-navigator/references/artifacts.schema.json.
They must share one workflow ID; the frame must be DECIDE; the decision must be
SELECTED, cite the current readiness/evidence revision, and select only supported
candidates. Validate current readiness and decision review through the shared helper,
including actual court case integrity on disk. Read only safe review receipts and the
final neutral decision; never load court papers or debate into main. Missing, unreadable, invalid, stale, or mismatched input is not a prompt
to reconstruct it. Atomically preserve the research state, set next_stage: STOPPED,
and write:
blocking_reason:
code: MISSING_OR_INVALID_ARTIFACT
task_ids: [<every known affected task ID>]Use [] only if no task ID is trustworthy. Do not guess, repair, or rerun this stage.
Freeze the selected semantics
Read ../problem-navigator/references/workflow-control.md for current control operations and delivery trims. It supersedes conflicting older recovery/acceptance rules.
Read only the accepted decision and cited evidence needed to keep its meaning true.
Do not reopen candidates, replace the selected direction, create a new candidate,
quietly cut scope to an MVP, or change a material goal. A material objective,
boundary, or profile change terminates this old workflow: set next_stage: STOPPED
with a truthful reason and ask the user to start a new workflow. It never silently
continues under a changed goal.
Create the current refined_solution from accepted scope/decision and explicit delegation to draft; request a new decision only for material new semantics. Do not ask the user to re-approve unchanged content just to advance stages. It has a stable refined_solution_id, incremented version on a confirmed in-boundary correction, decision ID/version, definition, scope, constraints, acceptance criteria, and user_confirmation_status (DRAFT or ACCEPTED).
When semantics have not yet been explicitly reviewed, use user_confirmation_status: DRAFT, even if the user delegated drafting. Only actual acceptance of these semantics or the final document containing exactly them changes it to ACCEPTED. Delegation is permission to draft, not evidence that the user already reviewed the new content.
GENERAL: freeze the complete solution definition: outcome, boundaries and non-goals, operating model or relationships where relevant, assumptions, dependencies, risks/exceptions, trade-offs, and verifiable acceptance criteria.PRODUCT_SOFTWAREwith PRD_ONLY: freeze What, acceptance criteria and necessary feasibility constraints. Leave architecture choice open for the engineering team; do not require a complete How to deliver the requested PRD.PRODUCT_SOFTWAREwith TECHNICAL_SPEC_ONLY: freeze the technical problem, observed behavior, system constraints, alternatives, selected design and validation criteria. Omit irrelevant product-market/UI requirements and do not invent a PRD baseline.- Other
PRODUCT_SOFTWARE: freeze What first—value, target users, in/out of scope, stable requirement IDs, and acceptance IDs. Record declared requirement IDs/statements in optional requirements entries {requirement_id, statement} for executable document trace checks. Only then freeze How under those constraints—system boundary, architecture direction, data/interface boundary, quality attributes, and operating constraints. Technical convenience may constrain feasibility; it must not redefine the product value or What.
An incorrect fact uses shared reopen on affected task IDs; a new evidence question uses append. Both invalidate downstream refs and set research-execution. An unresolved value uses resume --target decision-readiness-interview; decision conflict uses resume --target adversarial-option-selection. Invoke the control before handoff, not a wrong-stage call. This Skill does not research, rank, or choose.
Output boundary and handoff
This is a semantic freeze, not formal documentation. Do not write a PRD, Technical Solution Spec, formal report, solution Spec package, implementation plan, task list, ticket, schedule, staffing plan, source-file list, implementation code, test code, deployment command, migration command, or an external implementation handoff.
Write the artifact with its truthful DRAFT or ACCEPTED status atomically at its stable project-relative path, validate
it, then atomically set artifact_refs.refined_solution and
next_stage: solution-documentation. Hand off to solution-documentation and stop.
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.

