bootstrap-context
Skill2 starsChanged 14 days agoMITView on GitHub
Extracts and curates baseline product context for ongoing products from existing documentation, product code, or a structured PO examination, publishing CONTEXT.md, docs/product-overview.md, and stakeholder questionnaires.
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
- ask-refinementSkill
- configure-refinementSkill
- meeting-minutesSkill
- qa-planSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read docs/agents/refinement.md in the workspace: it defines the operating mode (with-code or without-code), language (en-US or pt-BR, …
- Very specific: line 30
When sources exist (DOCUMENTED or PARTIAL SOURCES), ask blocking curation questions first: canonical term choices where sources use …
- Very specific: line 36
Ensure CONTEXT.md holds only resolved domain glossary entries (and [TO CONFIRM: PO] markers on unsettled challenges) per …
- Very specific: line 38
Write an ADR in docs/adr/ only when a resolved decision meets the criteria in socratic-examination.
≈ “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
Bootstrap product context
Establish the reusable domain and operational baseline of an ongoing product through socratic examination before refining individual User Stories. Extract facts from every available source, surface contradictions and silent gaps in structured rounds with the PO, and split validated knowledge cleanly across CONTEXT.md (domain glossary only), docs/product-overview.md (operational baseline), and docs/adr/ (irreversible decisions).
Input: $ARGUMENTS
Before starting
Read docs/agents/refinement.md in the workspace: it defines the operating mode (with-code or without-code), language (en-US or pt-BR, default en-US), and fact sources. If missing, ask the user to run /configure-refinement and stop. All examination dialogue, markers, headings, and published artifacts follow the configured workspace language.
Steps
- Load and inspect sources. Read any paths or text in the input, existing files in
docs/reference/anddocs/(excludingdocs/agents/),CONTEXT.md, domain ADRs indocs/adr/, and existingdocs/product-overview.mdwhen present, and invoke the Skill tool forrequirements-rigor. In code mode, dispatch a subagent to map implemented domain entities, user roles and permission checks, external integrations, and configured limits or SLAs in the codebase, citing source files. In no-code mode, inspection is restricted to workspace files without subagents; if neither reference documents nor prior context files exist, proceed directly to tacit onboarding triage. Completed when: every available source is cataloged and you can classify input coverage in a single line: DOCUMENTED (sources cover purpose, roles, modules, integrations, and active rules), PARTIAL SOURCES (sources cover part of the baseline while leaving operational or technical gaps), or TACIT ONLY (no written documents or product code available; baseline comes from PO examination). - Audit candidates and conflicts silently. Extract candidate entries across two buckets without writing files yet:
- Domain vocabulary for
CONTEXT.md: user roles, business entities, domain events, and competing synonyms across sources (for example, one manual saying "Account", another saying "Depot", and code namingRegionalBranch), applying the glossary challenge rules insocratic-examinationagainst any existingCONTEXT.md. - Operational baseline for
docs/product-overview.md: product purpose, role permission boundaries, production modules, active external integrations, and cross-cutting rules or SLAs. Applyrequirements-rigorto separate grounded inferences ([INFERENCE: source]) from unbacked numbers, retry policies, SLAs, or stale legacy claims ([CONFLICT],[AMBIGUITY],[UNMAPPED DEPENDENCY]). Separate architectural and implementation-state questions forDEVfrom vocabulary, active business rule, and scope questions forPO. Completed when: every extracted term and operational claim is assigned to its target artifact (CONTEXT.md,docs/product-overview.md, or candidate ADR), every cross-source contradiction or glossary widening has a formulated PO question, and every technical gap in no-code mode is assigned toDEV.
- Domain vocabulary for
- Examine. Invoke the Skill tool for
socratic-examinationand follow its round, glossary, and[TO CONFIRM]discipline:- Open round 1 with the one-line triage classification (and in no-code mode with
TACIT ONLY, state in one line that no workspace reference documents were found). - When sources exist (
DOCUMENTEDorPARTIAL SOURCES), ask blocking curation questions first: canonical term choices where sources use competing synonyms (recommending the dominant domain term with[INFERENCE: source]), whether legacy rules still hold in production, permission boundaries per role, and any glossary conflict against pre-existingCONTEXT.md. - When
TACIT ONLY, open a focused onboarding frontier asking for: (a) product purpose in one sentence, (b) active user roles and who is restricted from what, (c) the 5 to 10 core domain entities, (d) modules already running in production, and (e) active external integrations and cross-cutting constraints, each with "no recommendation: no written source in workspace". - Architectural and code-level questions (
DEV) do not enter PO rounds; note at the bottom of round 1 which technical questions were routed to engineering questionnaires. Completed when: the PO question frontier is empty, or the PO requests closing with current information.
- Open round 1 with the one-line triage classification (and in no-code mode with
- Synthesize. Publish the curated context:
- Ensure
CONTEXT.mdholds only resolved domain glossary entries (and[TO CONFIRM: PO]markers on unsettled challenges) persocratic-examination. - Write
docs/product-overview.mdfollowing TEMPLATE.md, citing[INFERENCE: source]on document-derived or code-derived claims not explicitly restated as PO decisions, keeping open gaps visible as[TO CONFIRM: whom]or[UNMAPPED DEPENDENCY], and assigning the verdict:BASELINE READY(no open blocking or operational[TO CONFIRM]gaps),PARTIAL(usable for/refine-storywhile naming the open question numbers that unblock full baseline coverage), orBLOCKED(fundamental product purpose or core roles remain indeterminate or deadlocked in[CONFLICT]). - Write an ADR in
docs/adr/only when a resolved decision meets the criteria insocratic-examination. Completed when:docs/product-overview.mdexists withStatus:matching the verdict and final disclaimer present, andCONTEXT.mdholds every resolved domain term without silent rewrites or operational prose.
- Ensure
- Route open items. For each recipient outside the session with
[TO CONFIRM]items, write one questionnaire per recipient followingQUESTIONNAIRE.mdinrequirements-rigor, alongsidedocs/product-overview.md, and link the file from the open questions section. Completed when: no[TO CONFIRM]marker remains without a numbered open question, recipient, and questionnaire when the recipient is outside the session. - Report. State concisely: verdict, count of domain terms recorded in
CONTEXT.md, path todocs/product-overview.md(and any ADRs or questionnaires created), which questions unblockBASELINE READYwhenPARTIAL, and the recommended next workflow (/refine-storyfor an existing story or/requirements-discoveryfor raw scope). Completed when: verdict, glossary term count, delivered artifact summary, unblocking questions whenPARTIAL, and next workflow are reported.
Final notice
Published artifacts only (docs/product-overview.md). An examination round publishes nothing and carries no notice.
⚠️ This output is an analytical baseline of product context, not a replacement for team validation. Decisions on domain vocabulary, active rules, and scope belong strictly to the PO and team.
In a pt-BR workspace:
⚠️ Este output é uma base analítica do contexto do produto, não substitui a validação do time. A decisão sobre vocabulário de domínio, regras vigentes e escopo é do PO e do time.
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.

