Claude Skill

goga-discover

Interview the user relentlessly about a decision until every branch of the design tree is resolved, then record the result as a short ADR.

LLM Mart · 0 points · 17 views 0 listing impressions 0 install-command copies
Download qarium-goga-goga_assets_skills_goga-discover-bca4c4f.zip · 3 KB

Install

skills CLI npx skills add https://github.com/qarium/goga/tree/1.2.x/goga/assets/skills/goga-discover
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install qarium-goga@llmmart
Git git clone https://github.com/qarium/goga.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole qarium/goga collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Goga discover

Interview the user relentlessly until you reach a shared understanding on a decision worth recording. Map this as a design tree: every decision branches into the decisions that hang off it.

Work the tree in rounds. The frontier is every decision whose prerequisites are already settled — the questions you can ask now without guessing at answers you haven't heard yet. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.

Each question should be formatted like so:

❓ **Q1** - **<question title>**: <question body, might be multiple paragraphs, including multiple choices>

➡️ <your recommended answer>

Each round the user answers reshapes the tree — settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round. A question whose answer depends on another question still open in this round belongs to a later round, not this one.

Finding facts is your job, never the user's. When a frontier question needs a fact from the environment (filesystem, tools, etc.), dispatch a sub-agent to find it — don't ask the user for anything you could look up yourself. Don't block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait for the sub-agent to report — ask the rest of the frontier now. The decisions are the user's — put each to them and wait.

The interview is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Do not write the ADR until the user confirms you have reached a shared understanding.

Once confirmed, write the ADR to the path printed by goga history path -f adr.md (run goga history ensure first if the topic directory does not exist), following adr-template.md from the current skill directory.

Research

Initialization

Load these skills via the Skill tool before starting the interview.

  • goga-cell — DSL specification: cell and CODEMANIFEST structure, directives, and syntax.
  • goga-lang-disp — language implementation rules: naming, signatures, and location for the target language (routes to the per-language skill).

These skills are loaded read-only: use them solely to understand and discuss the existing project architecture — to read goga schema output and existing CODEMANIFEST and usage files. They do not license you to produce contracts, signatures, or cell layouts.

Project structure

To understand the architectural diagram of the project, use:

goga schema

For the JSON structure of the diagram, see goga schema --help.

Dependency usages

External tools and libraries are documented in .goga/usages/: hand-authored in .goga/usages/cooks/, synced read-only in .goga/usages/<group>/<dep>/.

  1. goga usages sync — materialize missing dependency usages; existing ones are not touched
  2. goga usages status — dependency usage state; a non-zero exit means drift, not a failure
  3. Read the relevant usages
  4. An out of date dep — run goga usages status --info:
    • changed files irrelevant to the question — proceed with the local state
    • changed files relevant — ask the user: refresh via goga usages -g <group> -d <dep> sync --force or continue with the local state

Facts about an external tool come from its usage spec, not from the user.

Context structure

Keep a working context in your context window — do not write it to disk. The structure:

terms:    # glossary: term -> definition, captured during the interview
  <term>: "<short, crisp definition>"
decided:  # what has been settled in this session, not to be re-litigated
  - "<short statement of the decision>"

Append to it as the interview progresses — never overwrite, only add. After each round, update terms with new or sharpened definitions, and decided with anything the user has confirmed.

Active term work

Challenge terms as you go. Specifically:

  • Fuzzy term surfaced? Don't let it pass. Pin it down with a concrete definition before moving on — propose one and put it to the user.
  • Overloaded word? If one term is doing two or three jobs across questions, name the conflict explicitly, propose split definitions, and ask the user to choose.
  • User uses a term informally? Capture the formal version in terms and use it consistently from then on.
  • Term already in terms? Use that exact definition in subsequent questions — don't re-coin, don't paraphrase, don't drift.

Why

The ADR's "why" only makes sense if the vocabulary it uses is sharp.

Constraints

  • To understand the project, read only the architectural diagram, CODEMANIFEST and usage files.
  • Never design cells or CODEMANIFEST contracts — even when the user's constraints sound architectural. That is outside this skill's scope.
  • Do not propose or discuss: type signatures, method/property lists, location values, Entities vs Routines, cell boundaries, Imports/Usages wiring, or CODEMANIFEST structure. If a question drifts there, do not answer it — record the open point in the ADR as an unresolved question and move on.
  • Interview outputs are decision records about the problem, its terms, and its constraints — not contracts.
Files (goga)
  • adr-template.md 2.4 KB
    Loading…
  • SKILL.md 5.5 KB
    ---
    name: goga-discover
    description: Interview the user relentlessly about a decision until every branch of the design tree is resolved, then record the result as a short ADR.
    ---
    
    # Goga discover
    
    Interview the user relentlessly until you reach a shared understanding on a decision worth recording. Map this as a **design tree**: every decision branches into the decisions that hang off it.
    
    Work the tree in **rounds**. The **frontier** is every decision whose prerequisites are already settled — the questions you can ask _now_ without guessing at answers you haven't heard yet. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.
    
    Each question should be formatted like so:
    
    ```
    ❓ **Q1** - **<question title>**: <question body, might be multiple paragraphs, including multiple choices>
    
    ➡️ <your recommended answer>
    ```
    
    Each round the user answers reshapes the tree — settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round. A question whose answer depends on another question still open in this round belongs to a _later_ round, not this one.
    
    Finding _facts_ is your job, never the user's. When a frontier question needs a fact from the environment (filesystem, tools, etc.), dispatch a sub-agent to find it — don't ask the user for anything you could look up yourself. Don't block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait for the sub-agent to report — ask the rest of the frontier now. The _decisions_ are the user's — put each to them and wait.
    
    The interview is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Do not write the ADR until the user confirms you have reached a shared understanding.
    
    Once confirmed, write the ADR to the path printed by `goga history path -f adr.md` (run `goga history ensure` first if the topic directory does not exist), following `adr-template.md` from the current skill directory.
    
    ## Research
    
    ### Initialization
    
    Load these skills via the **Skill tool** before starting the interview.
    
    - **`goga-cell`** — DSL specification: cell and CODEMANIFEST structure, directives, and syntax.
    - **`goga-lang-disp`** — language implementation rules: naming, signatures, and location for the target language (routes to the per-language skill).
    
    These skills are loaded **read-only**: use them solely to understand and discuss the existing project architecture — to read `goga schema` output and existing CODEMANIFEST and usage files. They do not license you to produce contracts, signatures, or cell layouts.
    
    ### Project structure
    
    To understand the architectural diagram of the project, use:
    ```bash
    goga schema
    ```
    
    For the JSON structure of the diagram, see `goga schema --help`.
    
    ### Dependency usages
    
    External tools and libraries are documented in `.goga/usages/`:
    hand-authored in `.goga/usages/cooks/`, synced read-only in `.goga/usages/<group>/<dep>/`.
    
    1. `goga usages sync` — materialize missing dependency usages; existing ones are not touched
    2. `goga usages status` — dependency usage state; a non-zero exit means drift, not a failure
    3. Read the relevant usages
    4. An `out of date` dep — run `goga usages status --info`:
       - changed files irrelevant to the question — proceed with the local state
       - changed files relevant — ask the user: refresh via `goga usages -g <group> -d <dep> sync --force` or continue with the local state
    
    Facts about an external tool come from its usage spec, not from the user.
    
    ## Context structure
    
    Keep a working context in your context window — do not write it to disk. The structure:
    
    ```yaml
    terms:    # glossary: term -> definition, captured during the interview
      <term>: "<short, crisp definition>"
    decided:  # what has been settled in this session, not to be re-litigated
      - "<short statement of the decision>"
    ```
    
    Append to it as the interview progresses — never overwrite, only add. After each round, update `terms` with new or sharpened definitions, and `decided` with anything the user has confirmed.
    
    ### Active term work
    
    Challenge terms as you go. Specifically:
    
    - **Fuzzy term surfaced?** Don't let it pass. Pin it down with a concrete definition before moving on — propose one and put it to the user.
    - **Overloaded word?** If one term is doing two or three jobs across questions, name the conflict explicitly, propose split definitions, and ask the user to choose.
    - **User uses a term informally?** Capture the formal version in `terms` and use it consistently from then on.
    - **Term already in `terms`?** Use that exact definition in subsequent questions — don't re-coin, don't paraphrase, don't drift.
    
    ### Why
    
    The ADR's "why" only makes sense if the vocabulary it uses is sharp.
    
    ## Constraints
    
    - To understand the project, read only the architectural diagram, CODEMANIFEST and usage files.
    - Never design cells or CODEMANIFEST contracts — even when the user's constraints sound architectural. That is outside this skill's scope.
    - Do not propose or discuss: type signatures, method/property lists, `location` values, Entities vs Routines, cell boundaries, Imports/Usages wiring, or CODEMANIFEST structure. If a question drifts there, do not answer it — record the open point in the ADR as an unresolved question and move on.
    - Interview outputs are decision records about the problem, its terms, and its constraints — not contracts.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.