Skip to content
Back to skills

Decide

ASecurity

Interview the user about a decision, then write the outcome as durable knowledge artifacts (facts, decisions, guardrails, procedures) — records only, no plan file. Use when the user wants a decision captured as project knowledge, not just discussed, or turn an incident or retro into knowledge, e.g. "interview me and save this as knowledge", "capture this as an ADR", "record what we decided".

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
developmentpythongorailsgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add vivantel/kms --skill decide --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Decide?

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

Security grade badge for Decide
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vivantel-decide/badge)](https://www.skillsdirectory.com/skills/vivantel-decide)

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: decide
description: Interview the user about a decision, then write the outcome as durable knowledge artifacts (facts, decisions, guardrails, procedures) — records only, no plan file. Use when the user wants a decision captured as project knowledge, not just discussed, or turn an incident or retro into knowledge, e.g. "interview me and save this as knowledge", "capture this as an ADR", "record what we decided".
---

Interview the user about every aspect of a decision until you reach a shared understanding, then write that understanding as durable knowledge artifacts on disk, in the structure the project already uses. It does not stop at shared understanding. It writes records only: no plan file, no step list.

## Interview mechanics

Walk down each branch of the decision tree, resolving dependencies one by one. Each turn contains exactly one question, never a numbered list of questions, with your recommended answer; then stop and wait for the reply.

If a *fact* can be found by exploring the environment (filesystem, tools), look it up rather than asking. The *decisions* are the user's: put each to them with your recommended answer.

For discrete options:
- Cap at 4 total, free-text catch-all included; merge the most similar options rather than exceed the cap or drop the free-text slot.
- State each option's tradeoff against the others; mark the recommended one "(Recommended)".
- Numeric answer? Skip the list and ask openly with an optional default.
- Selectable-question tool available? Use it; its built-in "Other" is the free-text catch-all. No tool: number options with plain digits and append exactly one final option inviting free text.

## Detect the project's knowledge structure

Before writing, find how the project stores knowledge: a known convention (a skill file describing the formats), else existing decisions/facts/guardrails directories whose format you infer from real examples, else ask the user where and in what format. Never invent a directory convention.

Facts and decisions: `<knowledge dir>/{facts,decisions}/NNNN-slug.md`, 4-digit, 1-based, per directory (next number = highest across the directory and its `archive/`, plus one). Guardrails and procedures: `<knowledge dir>/{guardrails,procedures}/slug.md`, no numeric prefix.

## When the input is an event

For an incident, failed experiment, retrospective or dependency breakage, interview from the event to its admissible residue: a root-cause fact with `source` pointing at the incident record, a generalised guardrail (a one-incident prohibition needs a cause that generalises), a procedure, a process decision. The event record itself fails admission and stays in the tracker the fact's `source` names.

## Classify at the end, not during

Keep the interview uncluttered. Once every question is resolved, classify each outcome into exactly one mode:
- **Descriptive**: true right now, about the environment or process (a fact)
- **Axiomatic**: what the team commits to, with context and rationale (a decision)
- **Normative**: what must or must not happen, derived from a decision plus a fact (a guardrail)
- **Procedural**: how to decide or act (a procedure)

Field definitions, lifecycle and the index rule are in `shared/artifact-model.md`; if `<knowledge dir>/procedures/tags.md` exists, take tags from it.

## What must be captured

- Check every explicit or implicit commitment (a presupposition clear enough to count as one) against `shared/admission.md`. Never drop one silently.
- A commitment that passes becomes a record of its natural type, written in the detected format and the economy rule from `admission.md`. One that fails is not recorded: list it under "Not recorded" with the failed gate in your closing summary so the author can overrule it.
- Before writing any artifact, search existing ones (title, topic, frontmatter) for a likely match. If one exists, propose updating it and wait for confirmation; never blindly overwrite. A fact is updated in place with a new `last-verified`. An active decision's `## Decision`, `## Why` and `## Tradeoffs considered` are frozen, so replacing it means a new decision (next number), the old one set to `status: superseded` with `superseded-by`, both moved or indexed per the model (retired files go to `archive/`), and every guardrail citing the old one re-derived.
- A decision the user confirmed in this interview is written `status: active` with `accepted-by: <name or role>` (ask once); `draft` is only for stubs nobody confirmed.
- After writing, add or update each artifact's row in its type's `INDEX.md`, if one exists, then run `python3 shared/lint_check.py --root .` (this skill's directory; needs PyYAML, else say so) and fix findings in the files you wrote.

## Before writing anything

List every file you intend to create or update, with path and artifact type, and get one explicit go-ahead before touching disk.

## Hard limits

Write no artifact before that go-ahead, and communicate nothing externally before the user confirms shared understanding. Do not create a plan or implementation file; planning belongs to a separate planning tool.

Files in this skill

  • SKILL.md4.2 KB
  • agents/openai.yaml157 B
  • examples.md1.8 KB

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.