Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

decide

/decide

Rozstrzyga odłożoną decyzję i wznawia autonomiczne wykonanie: obsługuje oczekujące pliki DECISION-NNN.md i mówi wykonawcy, którą opcję wybrać przy zablokowanym punkcie kontrolnym.

Repozytorium
devflow-claude ↗
Licencja
MIT
Ostatnia zmiana repozytorium
21.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
1
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 21.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Rozstrzyga odłożoną decyzję i wznawia autonomiczne wykonanie: obsługuje oczekujące pliki DECISION-NNN.md i mówi wykonawcy, którą opcję wybrać przy zablokowanym punkcie kontrolnym.

Wyzwalacze z opisu

resolve decisiondecide DECISION-pick option for DECISION-unblock DECISION-answer DECISION-choose option for decisionI want option-ago with option-b

Argumenty

/decide [<decision-id> <choice>]
Oryginalny opis (EN)

Resolve a parked decision and resume autonomous execution. Use when you see a pending DECISION-NNN.md in .aoforge/decisions/pending/, when the user wants to choose an option for a blocked checkpoint:decision, or when you need to tell the executor which option to take. Triggers on: "resolve decision", "decide DECISION-", "pick option for DECISION-", "unblock DECISION-", "answer DECISION-", "choose option for decision", "I want option-a", "go with option-b", "my answer is".

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 154 linii, 758 słów

Podgląd SKILL.md
---
name: decide
description: |
  Resolve a parked decision and resume autonomous execution.
  Use when you see a pending DECISION-NNN.md in .aoforge/decisions/pending/, when the user wants to choose an option for a blocked checkpoint:decision, or when you need to tell the executor which option to take.
  Triggers on: "resolve decision", "decide DECISION-", "pick option for DECISION-", "unblock DECISION-", "answer DECISION-", "choose option for decision", "I want option-a", "go with option-b", "my answer is".
argument-hint: "[<decision-id> <choice>]"
allowed-tools:
  - Bash
  - Read
  - AskUserQuestion
---

<objective>
Resolve a parked decision (or list pending decisions if no arguments given) and tell the user how to resume gated execution.

Decisions are opened with `aof-tools decision open <trd-id> --question <text|@path>` when autonomous execution hits a `checkpoint:decision` it cannot auto-select, and answered with `aof-tools decision answer <id> --text <choice>`. Never write or move a decision file by hand.

- **Local mode** (`github.store` off): a decision is `.aoforge/decisions/pending/DECISION-NNN.md`; answering it moves it to `.aoforge/decisions/resolved/` and unblocks the TRDs listed in its `blocks` field.
- **Store mode**: a decision is a Decision issue that blocks its TRD, with id `<trd-id>-d<k>` and the read cache `.aoforge/decisions/<id>.md`; answering it posts the answer and closes the issue.
</objective>

<process>
**Step 1 — No arguments: list pending decisions**

If `$ARGUMENTS` is empty, run:

```bash
node ~/.claude/aoforge/bin/aof-tools.cjs decision-queue list --raw
```

Parse the JSON array. If empty, report "No pending decisions." and stop.

Otherwise format each decision for the user:

```
DECISION-NNN: <title>
  Recommendation: <recommendation>
  Choices: <option names joined by " | ">
  Blocks: <blocks array or "none">
  Context: <context field>

To resolve: /aoforge:decide DECISION-NNN <option>
```

Then ask with AskUserQuestion, first for the decision, then for its option. The decision question follows the
runtime-list rule: up to 4 pending decisions become the options; with more, offer the first 4 and the user types any
listed id under Other. With exactly one pending decision, skip it and ask only for the option.

```
AskUserQuestion([
  {
    header: "Decision",
    question: "Which decision do you want to resolve? Under Other, type any decision id from the list.",
    multiSelect: false,
    options: [
      { label: "{DECISION-NNN 1}", description: "{title}" },
      { label: "{DECISION-NNN 2}", description: "{title}" }
    ]
  }
])
```

Then that decision's options, the recommendation first. With more than 4 options, offer the recommendation and the
next 3, and the user types any other option name under Other.

```
AskUserQuestion([
  {
    header: "Option",
    question: "{title}: which option?",
    multiSelect: false,
    options: [
      { label: "{recommended option name} (Recommended)", description: "{its label; pros}" },
      { label: "{option name 2}", description: "{its label; pros}" }
    ]
  }
])
```

Resolve the chosen decision with the chosen option name (without ` (Recommended)`) as in Step 2.

**Step 2 — With arguments: resolve and report**

Parse `$ARGUMENTS` as `<decision-id> <choice>` (first word is id, remainder is choice).

Run:

```bash
node ~/.claude/aoforge/bin/aof-tools.cjs decision answer <decision-id> --text "<choice>"
```

For a long answer, put it in a draft file and pass `--from <path>` instead of `--text`.

If exit 0, the verb prints `decision answer: wrote .aoforge/<rel> (<mode> mode).`:
- Read the decision file it names (local: `.aoforge/decisions/resolved/<decision-id>.md`; store: `.aoforge/decisions/<decision-id>.md`)
- Local: extract the `blocks` list from its frontmatter. Store: the id `<trd-id>-d<k>` names the TRD the decision blocked
- Report the resolution and list the newly-unblocked TRDs
- Suggest the next step:

```
Decision <id> resolved with: <choice>

Unblocked TRDs:
  - <trd-id>
  - ...

To resume execution:
  /aoforge:execute-objective <objective>
```

If `blocks` is empty, report: "Decision resolved. No TRDs were blocked by this decision — execution was already able to continue independently."

If exit non-zero, show the error from stderr and suggest running `/aoforge:decide` without arguments to list current pending decisions.

**Step 3 — Context note**

In local mode, decisions in `.aoforge/decisions/resolved/` are the permanent archive. They are NOT gitignored — parked decisions are durable planning state, not runtime markers. In store mode the closed Decision issue is the archive.
</process>

<context>
Decision files conform to the Pattern 3 format (TRD 10-03):

```
---
id: DECISION-001
objective: 10
wave: 2
trd: 10-03
type: checkpoint:decision
created: 2026-06-12T14:30:00Z
status: pending
blocks: [10-04, 10-05]
independent: [10-06]
recommendation: option-a
---

## Decision: [What's being decided]

**Context:** [Why this matters]

<!-- builtin-audit: allow the DECISION file format decision-queue.cjs writes; this label is data, not a prompt -->
**Options:**

1. **option-a** — [Name]
   - Pros: [benefits]
   - Cons: [tradeoffs]

## To Resolve

Reply: `/aoforge:decide DECISION-001 option-a`
```

The `blocks` array lists TRD ids gated on this decision (direct + transitive). `independent` lists TRDs that can proceed regardless. `recommendation` is the planner's suggested pick.

The local file above is what `decision open` writes in local mode (store mode keeps only the question in the cache file).

Writes go through the decision verbs:
- `aof-tools decision open <trd-id> --question <text|@path>` — park a new decision
- `aof-tools decision answer <id> --text <choice>` (or `--from <path|->`) — answer it; local ids are `DECISION-NNN`, store ids `<trd-id>-d<k>`

Reading and notification stay on `aof-tools decision-queue`:
- `list [--raw] [--status resolved]` — list decisions
- `notify <id>` — re-fire OS notification for a pending decision
</context>

Wersje

RepozytoriumWynikLicencja
Ta strona · AO-Cyber-Systems/devflow-claude100MIT
vegardjorg/ravenseat100MIT
generous-corp/pulp100MIT
wrg32786/aigent-os100MIT
alirezarezvani/claude-skills100MIT
DvJ4Y/shipwright100MIT
blockrunai/blockrun-mcp100MIT
Abilityai/cornelius100MIT
menkesu/awesome-pm-skills100MIT

Migawka bazy z 13.11.2026 · wersja paczki 83a71b42194f (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90s4h-decision
    Kieruje do właściwego skilla decyzyjnego, gdy trzeba wybrać opcję, ocenić możliwe błędy albo sprawdzić, czy decyzja jest odwracalna.
  • 100decision-question
    Prosi użytkownika o wybór tylko wtedy, gdy praca zależy od jego decyzji, i przedstawia najmniejszy kompletny brief decyzyjny.
  • 100humanloop
    Wstrzymuje wykonanie agenta, aby człowiek zatwierdził decyzję, wybrał opcję, odpowiedział tekstem lub skomentował dokument, przez CLI hl z uchwytem zadania i późniejszym odbiorem odpowiedzi.
  • 95ask-decision
    Przedstawia oczekujące decyzje człowieka pojedynczo: kontekst, opcje z domyślną na pierwszym miejscu i gotową akcję do wykonania.
  • 95ask-decision
    Przedstawia oczekujące decyzje człowieka pojedynczo: kontekst, opcje z domyślną na pierwszym miejscu i gotową akcję do wykonania.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.