Skip to content
Back to skills

Topic Discussion

ASecurity

Blueprint's discussion engine, for each topic of a discussion stage: specialists, one divergent proposal with a recommendation, the user's choice, the decision written, then read back with the user.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
developmentgosqlgitapidatabaseci/cdsecurity

Works with

  • api

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add FreddyZeta1847/blueprint --skill topic-discussion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Topic Discussion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Topic Discussion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/freddyzeta1847-topic-discussion/badge)](https://www.skillsdirectory.com/skills/freddyzeta1847-topic-discussion)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: topic-discussion
description: "Blueprint's discussion engine, for each topic of a discussion stage: specialists, one divergent proposal with a recommendation, the user's choice, the decision written, then read back with the user."
---

# Topic-Discussion

<!--
Header comment: the only "how" Blueprint keeps. It runs the phases of a discussion stage's topics
(data/loops.json, type `discussion`: clarify → proposal → convergence → decision → recap): the
context check, specialists, one divergent proposal, the user's choice, the decision written to the
decisions folder (or the context card when there is none), then the recap of what was written,
confirmed by the user before the next topic. The block format and the save sequence are defined in
blueprint:docs-management; the one-way/two-way test and the hard rules in blueprint:using-blueprint.
-->

Every topic of a **discussion** stage goes through here. First read `blueprint:using-blueprint`.
The rules that matter most here:
- **Context check first**, then **specialists**, then **one proposal** to the user that opens many
  options and recommends.
- **Plain words only** in chat. End each topic with one short recap of what was written, marking what is hard to change.
- **No production code.** If a decision needs something to look at first (a mockup, a test), that
  is a delivery stage or a quick task before this one: propose it as re-planning.

## What a topic can be

| Shape | What it is | Written to (`blueprint/decisions/`) |
|---|---|---|
| **Shared area** | A choice many parts rely on (DB, cloud, CI/CD, auth…) | `foundations/AREA/AREA.md` (+ `AREA--details.md`) |
| **Contract** | An API, type set or event between parts | `contracts/NAME.md` |
| **Section** | A piece of value for the end user | `sections/SEZ/SEZ.md` (+ `SEZ--details.md`) |
| **Note** | A small decision inside an existing area or section | a block in that file |

**No decisions folder**: with the **single decisions file** answer the decisions go into
`blueprint/decisions.md` (format in `blueprint:docs-management` §1); with **the card alone** they go
in plain words into the context card, under a `## Decisions` section after the answers. Mark the
one-way ones in both cases.

**Form fixes the checks ask for** (a link to a section that does not exist yet, a missing
registry entry, a misplaced block) are two-way bookkeeping: settle them yourself and say so in one
line. Do not turn them into a question for the user.

A section discussion is usually light: most of it is detail Claude settles. It becomes a real
discussion only where it touches a shared area (then that part is an addition or a revision of
the area, below).

## The phases and the plan

The loop of a discussion stage is in `data/loops.json`: `clarify` (the context check) →
`proposal` (divergent) → `convergence` (the user) → `decision` → `recap` (the user). Each topic
of the stage moves through them, and you record every move in `blueprint/plan.json` as described
in `blueprint:create-plan` §7: one phase at a time, none skipped. If the user says the proposal
misread the context (yours or a specialist's), the topic goes back from `proposal` to `clarify`;
if the recap shows a decision the user does not recognise, it goes back to `convergence`.
A topic is done when its decision is written and reviewed with the user (§7), or postponed with a
reason told to the user. Topics finished at `decision` before Blueprint 3.1.0 stay as they are.

## Entry

1. **Read** the topic in `blueprint/plan.json`, the card (`blueprint/context.md`), and, in the
   decisions folder, the area or section file, `_architecture.md` and the files of the areas it
   depends on.
2. **Who decides** comes from the card's `roles` answer. If the area is not listed there, ask once
   with a multiple-choice question and add the answer to the card.
3. **Ask one question if it applies:** for areas that depend on tools or recent facts (design,
   AI models, cloud services, prices), ask *"Do you already use or want to use a tool for this?"*
   Record the answer in the area file.
4. **Context check (`clarify`).** Ask yourself: *"Do I have enough context to take this topic on
   my own?"* Usually yes — the discussion is where the context comes from — so move on without
   saying it. If not (what this topic is for, a limit someone set, a word you don't understand),
   ask one or two questions first. Same when the user tells you the context was misread: go back
   here, ask, then brief the specialists again.
5. **Unknowns.** If a decision depends on something nobody knows yet (does this library handle our
   case? what does it cost at our volume?), don't guess a one-way decision: postpone that topic
   and propose a quick task that finds out (re-planning).
6. **Dispatch the specialists. This is your first real action of the proposal phase.** Don't open
   the discussion before they have reported. While they work, stay quiet: no "still waiting…"
   messages.

## The discussion loop

### 1. Specialists work (diverge)

- **Pick 1–3 specialists** from the agent types actually available (the Agent tool's list),
  matching this item. None fits → `general-purpose`, briefed as that specialist. Never the whole
  roster.
- **Depth from the card:** high risk or a calm pace → 2–3 specialists and the full range of
  questions, including the operational ones (failure recovery, caching, security, state); low
  risk or a rushed pace → 1 specialist, only the decisions that are hard to change. Depth changes
  how many decisions are discussed, never how well.
- **Brief them** with: the card's goal and constraints, this item's scope, what is already locked
  (the areas it depends on), the user's tool answer, and the open questions. Ask for, per
  question: real options, trade-offs, a recommendation, and whether the choice is **one-way**,
  judged with the test in `blueprint:using-blueprint` concept 1 (copy its four questions into the
  brief).
- **Fixed points are not options.** The decisions live in the same repository as the code (hard
  rule 7). Don't let a specialist's proposal move them elsewhere.
- **Research.** If the item depends on tools or recent facts, the specialists (or you, before
  briefing them) search online and check which libraries or services exist, with links. Record
  the chosen tools and their source in the decisions folder, so a later session doesn't search
  again.
- **Ratification at contact:** if the discussion touches a draft found in existing code
  (`Decided by: discovery` / `inherited`), raise it: confirm, correct, or decide fresh.

**Gate:** you may not present anything to the user until the specialists have produced real
alternatives — many of them, not the first two that come to mind.

### 2. One divergent proposal

Combine the specialists' work into **one message**, in plain words. It is **divergent**: it opens
the range first, then recommends.
- **The decisions that matter** (one-way, or a real choice), each with: **the possible options —
  the whole serious range, including the less obvious ones** — what each means in practice, then
  **your recommendation and why it beats the others**, and where the views really disagree. If two or
  more options are still alive on a one-way decision, ask it as a multiple-choice question,
  recommendation first.
- **The details** (two-way, low stakes): your choice for each, all in one line together.
  The user doesn't need to discuss them; they can object to any.
- **Every two-way decision in a shared area or contract carries its reason** ("two-way: …").
  If you can't write that reason in one line, the decision is one-way.
- **Length: about 10 lines.** Decisions that matter first, each option in a few words; the
  details in one line together; explanations only when asked. More than about 5 decisions → split
  the proposal over two rounds.

### 3. Talk it through (convergence)

- The user asks, pushes back or leans to an option. **Relay** every real question or objection
  to the same specialists (`SendMessage` if still addressable, otherwise re-dispatch with the
  previous context) and bring the answer back. Trivial wording or a scope trim you can answer
  yourself.
- **Repeat until you agree.** No limit on rounds.
- **Anti-sycophancy:** if you see a real problem with the user's direction, push back **once**,
  say what is being traded away, then defer.
- **In a Claude-owned area:** you settle the two-way decisions yourself with the specialists'
  input; every one-way decision still goes to the user in this loop.

### 4. Agreement — no separate summary

When the user has agreed in step 3, do not send a summary of what was just agreed: write it, and
the recap (§7), read from the written files, is the one check.
- **Every one-way decision needs an explicit answer from the user.** If one is still unanswered
  when the others are settled, ask it in one line before writing. Never take silence as agreement.
- **No surprises:** write only decisions already raised in step 2 or 3.
- **"None" is suspicious.** A shared area or contract with no one-way decision at all gets a
  second look with the test before you write it; if it is still none, the recap says why in one
  line.
- **User-owned area:** write only what the user agreed. **Claude-owned area:** the two-way
  decisions are written without waiting; the one-way ones still need the user's clear choice in
  step 3.

### 5. Recheck (internal, before writing)

- **Does any decision belong to another area too?** Example: while discussing the NOTIFICATIONS
  section you chose a message queue → that is also a CLOUD decision. Say it in plain words: *"This
  also goes into CLOUD — add it there?"* (see Additions and revisions).
- **Does the item belong where it was planned?** If it anchors nowhere, it may be a new area or
  section: *"This looks like its own area — add it?"* A new area or section changes the plan:
  propose it as re-planning (`blueprint:create-plan` §6).
- **Does a section add something to a shared area** (a table, an endpoint)? It is written in both
  places: the section says it needs it, the area gets it as an addition.

### 6. Lock (decision phase): write, read the hooks, *then* speak

Never show the recap before the files are written and the hooks have answered. You write the
decisions yourself, following the save sequence in `blueprint:docs-management` §9; the block
format is in §6 there. Write in the user's language (an Italian user gets `Scelta`, `Deciso da:
utente`…).
In short, each decision is one block:

```markdown
### db-engine — Which database engine does the system use?
- **Choice:** PostgreSQL (managed)
- **Reversibility:** one-way
- **Decided by:** user (2026-11-04)
- **Rejected:** MongoDB — data is relational; SQLite — no concurrent access
- **Why:** orders and users are relational and queries are standard SQL
- **Stage:** foundations
- **Topic:** Database
- **Depends on:** cloud-provider
- **Used by:** SIGNUP, ORDER-HISTORY
```

1. **Register new questions first** in `Vocabulary/registry.json` (reuse an existing id when the
   question is the same).
2. **Pick the file by who decided:** `Decided by: user` and `rule` → the main file; `Decided by:
   claude` (two-way only) → the `--details.md` file. A one-way decision is **never** `Decided by:
   claude`: the hook blocks it.
3. **Write** the blocks (with `Stage:` set to the id of the plan stage and `Topic:` to the topic in plain words), update `_architecture.md`
   or `_sections.md` if they changed, and clear the settled lines from `_current-task.md`.
4. **Read every `[Blueprint]` message** the hooks returned:
   - **a block was refused** (a one-way decision marked `claude`): ask the user about that
     decision in plain words ("This one is hard to change later, so I need your clear OK: …"),
     then write it again as `Decided by: user`. Never relabel it two-way to get past the hook;
   - **an unreadable block** (missing key, wrong value): fix the block and write it again;
   - **a check found something** (a clash with another area, the same answer to two questions, a
     dangling link, a `Used by` name that doesn't exist): explain it in plain words with the
     options and let the user decide before changing anything.
5. **Record the topic in `blueprint/plan.json`:** its phase at `decision` (not done yet).
6. **Only then speak:** go straight to the recap (§7), with nothing before it (a hook finding of
   step 4 is raised first).

### 7. Recap (recap phase): show back what was written, then the next topic

Move the topic to `recap` in `plan.json`, then show the user, **read from the files you just
wrote** (not from memory of the chat), for each decision of the topic:

> **DB — written:**
> - Which engine: PostgreSQL, managed by the provider, because orders and users are relational.
>   Rejected MongoDB (the data is relational). **Hard to change later.**
> - Details I settled: daily backups kept 7 days; table names in snake_case.
>
> All right? Then «Hosting».

- Every decision of the topic in one line: question, choice, why, and **only the closest rejected
  option** with its why (the others stay in the file). Doubts, accepted risks and notes stay in
  the file too, not in the recap. The easy-to-change details go together in one line. **"Details I settled"** lists every two-way
  decision Claude took without the user, inside a user-owned area too: a notice, not a discussion.
- Plain words, the same ones the user used; no field names.
- **Yes** → tick the topic `done: true` (phase `recap`) and open the next topic at `clarify`.
  When it was the last topic, close the stage (`blueprint:create-plan` §7).
- **Not what we agreed** → back to `convergence`: talk it through again, rewrite the block, recap
  again. A wrong word in the file (a typo, a missing rejected option) is fixed in place and
  recapped again, without going back.
- Never tick a topic before the user's yes on its recap; never skip the recap: it checks what was
  **written**.

## Additions and revisions (a locked area needs to change)

When a later discussion, a build or a delivery needs something from an area that is already
locked:
- **Addition** — new decisions that contradict nothing ("add a queue", "add an `orders`
  table"). Light: a short confirmation (or, in a Claude-owned area, a notice), then written
  straight into the area under `## Added for <stage>`.
- **Revision** — an existing decision changes ("move from App Service to Container Apps").
  A real discussion of that point, with its specialists, decided by whoever owns the area. Then
  every section in that decision's `Used by` is warned, in plain words. A **correction** forced by
  an implementation (the chosen library cannot do what we need) is a revision too. A revision
  keeps the block's `Stage` (the stage that first decided it) and adds `Changed: <stage id>
  (<date>) — before <old choice>`; in the single decisions file, the marks of
  `blueprint:docs-management` §1.
- If it is unclear which of the two it is, ask as a multiple-choice question.
- If the change is not part of the current plan, propose it as new topics first (re-planning).

## Done when

- the context check was answered, the specialists produced alternatives and one divergent
  proposal reached the user;
- the user agreed (or, in a Claude-owned area, only the two-way decisions locked without them);
- the blocks are written, the hooks' messages are handled, the user confirmed the recap of what was
  written, and the topic is recorded done in `plan.json`;
- every one-way decision lists the alternatives it beat (`Rejected`).

## What NOT to do

- Don't skip the context check, and don't open a discussion without dispatching its specialists
  first
- Don't propose only the option you like: open the range, then recommend
- Don't send the specialists' reports to the user one by one — one combined proposal
- Don't show field names, JSON or a full architecture dump in chat
- Don't write production code
- Don't show the recap before the writes are done and the `[Blueprint]` messages are handled
- Don't settle a hook finding on your own — the user decides, through you
- Don't write a one-way decision as `Decided by: claude`
- Don't slip a decision into the files or the recap that wasn't raised before
- Don't send a summary before writing, nor a line before the recap (except a hook finding, §6
  step 4): the recap is the one check
- Don't start building after a lock — building is another stage, opened with the user

## Live logging

Decisions go into `blueprint/decisions/_current-task.md` as they are reached (the chosen option, why,
pros, cons, risks), so a resumed session can continue. It is cleared when the topic is written to
its permanent home; git keeps the history.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.