Skip to content

Questions to ask the user

Ask in one round, after orienting and before deep exploration. Offer a default for each so the user can answer "defaults are fine". Skip any question the repository already answers.

Always worth asking

Question Why it matters Default if unanswered
Who is the audience: new developer, stakeholder/funder, operator, external contributor? Sets vocabulary, depth and which flows lead. New developer joining the team
Whole system or one part? Anything to exclude (legacy, experiments, vendored code)? Prevents mapping dead code as architecture. Whole system, excluding anything marked deprecated
Deck, explorer, or both? Avoids building the unwanted half. Both
Which 2–3 things must the reader understand by the end? Chooses the flows to trace and the slides that get space. The main user journey and the main background process
Here is my one-sentence summary and container list. What is wrong or missing? Cheapest correction point there is. (always ask)

Ask when the repository leaves it open

  • Runtime reality. "The compose file defines X, Y, Z. Is that what runs in production, or only local development?" Ask when there is compose but no k8s/terraform, or both and they disagree.
  • Environments to draw. "The repository deploys to staging and production (from the CI jobs and the Terraform folders). Draw both, or only production?" Ask when there are several; never add an environment the files do not describe.
  • Hidden externals. "Does this depend on services that live outside the repository (SSO, a shared database, another team's API)?" Ask when env vars reference hosts you cannot find code for.
  • Roles. "The code has roles A and B. Are there others handled outside the app (support, admins using the database directly)?"
  • Stale areas. "Directories old/ and v1/ look unused. Leave them out?"
  • Naming. "The code says job, the README says task. Which does the team use?"
  • Planned vs built. "Should the diagrams show only what exists today, or also the planned parts (marked as planned)?"
  • Sensitive content. "Is there anything that must not appear (internal hostnames, customer names, security controls)?" Ask whenever the output will be shared outside the team.

Presentation choices (ask only if producing that output)

  • Deck length and setting. Presented live (fewer words, more steps) or read alone (more text, static)? Roughly how many minutes?
  • Animation. Step-through diagrams and fragments, or a static deck that also prints to PDF cleanly?
  • Code on slides. Should the deck show real code excerpts, or stay conceptual?
  • Explorer depth. Which containers deserve a component-level view? Default: the one or two with the most domain logic.
  • Data layer. Ask when the project has a data model worth drawing (several stores, a published format, an ontology). Lead with what you found: "I found the PostgreSQL schema (6 tables), three buckets, two job messages and the export format." Ask the first two; state the rest as defaults unless the output will be shared outside the team.
  • Which schemas matter? Default: every store the key flows touch, plus any format the project publishes (files, API payloads, ontologies).
  • Include internal tables (migration bookkeeping, sessions, caches, audit logs)? Default: no.
  • Sensitive fields (password hashes, tokens, personal data): show them by name and type, or leave them out? Default: show name and type, never values.
  • Should the reader see which flow step reads or writes each table and field? Default: yes, for the scenarios in the explorer.
  • Does the project have, or want, a vocabulary or JSON-LD context for its data? Default: model the ones that exist; do not invent one.
  • Branding. Project colours or logo to use? Default: the template's neutral theme.
  • Output location. Default communications/ at the repository root.

How to ask

  • Lead with what you found: "This looks like a three-service system (web, api, worker) backed by Postgres and Redis." A concrete claim is easier to correct than an open question.
  • Give choices, not blanks: "A, B or C?" beats "what do you want?".
  • Four questions is a good ceiling for the first round. Anything else can be a stated assumption.
  • Do not ask what you can verify by reading one more file.

Source

This page is skills/explore-project/references/questions.md, the guide the skill reads while it works. Edit it there; the documentation includes it as is.