Skip to content
Back to skills

Outcome

ASecurity

.claude/OUTCOME.md を対話的に生成 / 更新する。不在や空 (Behavior が空か TBD のみ) なら AskUserQuestion で収集して stub を生成し、既存なら現状を提示して更新する。

  • 12 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
ai-agentsgobash

Security analysis

A100/100

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

Scanned September 24, 2026

npx -y skills add thkt/dotclaude --skill outcome --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Outcome?

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

Security grade badge for Outcome
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thkt-outcome/badge)](https://www.skillsdirectory.com/skills/thkt-outcome)

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: outcome
description: .claude/OUTCOME.md を対話的に生成 / 更新する。不在や空 (Behavior が空か TBD のみ) なら AskUserQuestion で収集して stub を生成し、既存なら現状を提示して更新する。
when_to_use: OUTCOME作って, OUTCOME更新, アウトカム定義, create outcome, update outcome
allowed-tools: Read Write Edit AskUserQuestion Bash(${CLAUDE_SKILL_DIR}/scripts/*)
model: opus
---

# /outcome - OUTCOME.md 生成 / 更新

他スキルが `OUTCOME.md` の不在を検知したときの受け皿。停止や警告で返すとアウトカムが空のまま残るので、対話で集めて生成する。

## 分岐

${CLAUDE_SKILL_DIR}/scripts/validate-outcome.ts .claude/OUTCOME.md を実行し、JSON の `flow` が示すフローへ入る。判定基準はスクリプトが持つ。

| state  | 条件                           | flow     |
| ------ | ------------------------------ | -------- |
| absent | ファイル不在                   | generate |
| empty  | Behavior が空、または TBD のみ | generate |
| ok     | Behavior に中身がある          | update   |

## 生成

1. ${CLAUDE_SKILL_DIR}/templates/outcome.md を読む
2. Behavior、Non-goals、Constraints の 3 項目を AskUserQuestion 1 回で各 1 問ずつ収集する。Behavior は 1 つ以上で主体を明示する
3. 各 Behavior をアウトカムテストに通す。fail なら書き直してユーザーに再提示する
4. テンプレートに流し込み、`.claude/OUTCOME.md` を Write。冒頭文と Indicators はどちらも収集しない。冒頭文を書かず、Indicators はセクションごと落とす
5. validate-outcome.ts を再実行し、`errors` が空になるまで直す。`placeholder_left` はプレースホルダの残り、`missing_section` は見出しの欠落

## 更新

1. `.claude/OUTCOME.md` を読み、現状の各セクションを提示する。生成時に落とした冒頭文と Indicators は、未記入であることを示す
2. 変更するセクションとその内容を AskUserQuestion で確認する。冒頭文と Indicators を足せるのはこの経路だけ
3. 変更後の Behavior をアウトカムテストに通してから Edit する
4. validate-outcome.ts を再実行し、`errors` が空であることを確認する
5. `warnings` に `missing_indicator` があれば、その指標を足すかをユーザーに確認する。Indicators セクションを持ちながら Time/Error rate/Value のどれかを欠く状態を指す

Files in this skill

  • SKILL.md2.5 KB
  • scripts/validate-outcome.ts5.7 KB
  • templates/outcome.md1.6 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.

Comments

Loading comments…

Newsletter

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