ask-refinement
Skill2 starsChanged 14 days agoMITView on GitHub
Answers questions about how to use the refinement skills package, explains markers, verdicts, workspace files, and workflow handoffs, and diagnoses current workspace status to recommend the next step.
In this repository65 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- ask-mattSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- prototypeSkill
- prSkill
- researchSkill
- retroSkill
- setup-matt-pocock-skillsSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- wait-whatSkill
- wayfinderSkill
- wizardSkill
- writing-for-agentsSkill
- ask-mattSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- prototypeSkill
- prSkill
- researchSkill
- retroSkill
- setup-matt-pocock-skillsSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- wait-whatSkill
- wayfinderSkill
- wizardSkill
- writing-for-agentsSkill
- bootstrap-contextSkill
- configure-refinementSkill
- meeting-minutesSkill
- qa-planSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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 20
When the question concerns operating modes, codebase paths, markers, verdicts, triage labels, Gherkin, INVEST, anti-patterns, or …
- Very specific: line 21
When the question concerns examination rounds, question frontier, recommended answers, early closure, CONTEXT.md rules, or ADRs, invoke the …
- Very specific: line 54
Session context hygiene: run /clear between workflows so the next workflow reads the published markdown artifact cleanly.
≈ “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
Ask refinement
Single-turn, read-only Q&A and workspace diagnostic helper for the Refinement Skills package. Answer operational questions directly and ground guidance in the current workspace state, keeping every file untouched and omitting examination rounds, Status: headers, and artifact disclaimers.
Question: $ARGUMENTS
Steps
- Inspect workspace state silently. Check which workspace files exist:
docs/agents/refinement.md(configuredMode:with-codeorwithout-code, or legacycom-codigoorsem-codigo,Language:or legacyIdioma:en-USorpt-BR, and any codebase path(s) listed underFact sourcesinwith-codemode),docs/agents/issue-tracker.md,CONTEXT.md,docs/product-overview.md,docs/adr/,docs/reference/, and.scratch/(Status:lines on artifacts,issues/decision files withStatus:andBlocked by:when a discovery spec hasStatus: open maporStatus: mapa aberto, and anyquestionnaire-*.mdorquestionario-*.mdfiles). Whendocs/agents/refinement.mdis absent, record that workspace configuration has not run yet and continue. Select the response language fromLanguage:(orIdioma:) indocs/agents/refinement.mdwhen present, otherwise from the language of the user's question (en-USorpt-BR, defaulten-US). Completed when: response language (en-USorpt-BR) is selected and existing configuration, codebase paths, context files, open artifacts, decision-map items, and pending questionnaires are inventoried. - Load authoritative rules on demand. Consult the package primitives strictly as reference material so explanations match canonical package rules:
- When the question concerns operating modes, codebase paths, markers, verdicts, triage labels, Gherkin, INVEST, anti-patterns, or questionnaires, invoke the Skill tool for
requirements-rigor(and readANTI-PATTERNS.mdorQUESTIONNAIRE.mdinrequirements-rigorwhen asked about anti-patterns or questionnaires). - When the question concerns examination rounds, question frontier, recommended answers, early closure,
CONTEXT.mdrules, or ADRs, invoke the Skill tool forsocratic-examination(and readGLOSSARY.mdorADR.mdinsocratic-examinationwhen asked about glossary or ADR format). Completed when: every package rule, marker, verdict, or format touched by the question is verified against its authoritative primitive.
- When the question concerns operating modes, codebase paths, markers, verdicts, triage labels, Gherkin, INVEST, anti-patterns, or questionnaires, invoke the Skill tool for
- Answer directly and recommend the next command. Resolve the user's question concisely in the selected language, citing the relevant files and statuses observed in step 1 (when input is empty, deliver a concise diagnostic summary of what is configured, open, unblocked, or missing in the workspace). End with the concrete command (and file path, when applicable) to run next. Completed when: the answer directly resolves the question (or diagnoses the workspace when input is empty), names relevant existing workspace files, leaves all files untouched, and states the exact next command when an action applies.
Workspace and lifecycle reference
File responsibilities in a target workspace
docs/agents/refinement.md: operating mode (with-codeorwithout-code), language (en-USorpt-BR), fact-source priority order (including.and/or read-only local repository paths inwith-codemode; seerequirements-rigorfor path resolution and session sandbox access), and artifact conventions. Created once by/configure-refinement.docs/agents/issue-tracker.md: external work item ID convention (for exampleAzure: <ID>) and local.scratch/<slug>/publishing paths.CONTEXT.md: domain glossary only (roles, business entities, domain events, and_Avoid_synonyms). Operational prose, scope decisions, and implementation details stay out.docs/product-overview.md: operational baseline of an ongoing product (purpose, role permissions, production modules, active integrations, cross-cutting rules and SLAs, resolved source conflicts). Created and updated by/bootstrap-context.docs/adr/: architectural and product decisions that are difficult to reverse.docs/reference/: raw existing product manuals, business rules, specifications, or exported legacy User Stories dropped in without reformatting for/bootstrap-contextand workflows to consult..scratch/<slug>/: published workflow artifacts (minutes.md,discovery-input.md,spec.md, candidate stories underissues/,qa-plan.md), pending decision files (issues/NN-decision-*.md), and asynchronous stakeholder questionnaires (questionnaire-<recipient>.mdorquestionario-<destinatario>.md).
Workflow progression and entry points
- Unconfigured workspace (
docs/agents/refinement.mdmissing): run/configure-refinementfirst. - Ongoing (brownfield) product without
CONTEXT.mdordocs/product-overview.md: drop any existing documentation intodocs/reference/(optional when none exists) and run/bootstrap-contextbefore refining User Stories. Becauserequirements-rigorforbids silent invention, jumping straight into/refine-storyon an advanced product with empty context produces many first-round baseline questions instead of invented defaults. - Pipeline stages (enter at any stage, or run
/which-flowto route an input):/meeting-minutes: meeting transcript -> auditable minutes with provenance, questionnaires, anddiscovery-input.md./requirements-discovery: briefing, notes, ordiscovery-input.md-> domains, sized epics, and candidate stories (or anopen map/mapa abertodecision map when scope exceeds one session)./refine-story: candidate story or PO-written User Story -> INVEST narrative, Gherkin acceptance criteria, and readiness verdict./qa-plan: refined User Story -> test conditions matrix with techniques, risk, testing layers, automation blockers, and verdict.
Resuming paused work and session hygiene
- Resuming after a stakeholder answers a questionnaire (
questionnaire-<recipient>.md/questionario-<destinatario>.md): start a clean session, paste or attach the stakeholder's answers, and re-run the originating workflow (/refine-story,/qa-plan,/requirements-discovery, or/bootstrap-context) passing the existing artifact path in.scratch/(ordocs/product-overview.md). The workflow reads prior decisions from the artifact, resolves open items, and updates the verdict. - Progressing an open decision map (
Status: open map/Status: mapa aberto): re-run/requirements-discovery <path-to-spec.md>in a fresh session to examine and resolve one unblocked pending decision per session until the map clears. A pending decision underissues/is unblocked when itsStatus:isopenand every item in itsBlocked by:line isresolved(ornone). - Closing an examination early: the PO can request closing with current information in any round; consult
socratic-examinationandrequirements-rigorfor how remaining open items are marked, routed to questionnaires, and reflected in verdicts. - Session context hygiene: run
/clearbetween workflows so the next workflow reads the published markdown artifact cleanly; keep context uncompacted within an active examination until final synthesis completes. - Web chat platforms without a local repository: teammates on Claude Projects, ChatGPT Projects, Custom GPTs, Gemini Gems, or Copilot Studio set up a single shared web workspace with
prompts/project/(INSTRUCTIONS.mdas system instructions plusrefinement-core.mdand the five workflow files in the Knowledge Base alongsideCONTEXT.mdandproduct-overview.md), or paste self-containedprompts/*.mdfiles in ad-hoc chats.
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.

