AgentSkillsCN

trpg-roll

执行确定性的骰子投掷,并采用失败优先的裁决方式。

SKILL.md
--- frontmatter
name: trpg-roll
description: Execute deterministic dice rolls and apply fail-forward adjudication.
argument-hint: --label "<text>" --tn <n> --stat <STAT> --skill <SKILL> | --expr "<dice expr>"
disable-model-invocation: false
allowed-tools: Bash

/trpg-roll

Steps

  1. Run:
bash
python3 scripts/trpg_roll.py $ARGUMENTS
  1. Use returned ROLL {...} to adjudicate.
  2. Before sending final narration/options, run /trpg-preflight equivalent check and fix FAIL items.

Adjudication Rules

  • CRITICAL/SUCCESS: advance scene + one useful gain.
  • PARTIAL/FAIL: still advance + one clear cost/complication.
  • If tracked values change, emit 【状態】key=value.

Output Constraints

  • No spoiler disclosure.
  • No clue summary.
  • Keep narration concise and actionable.
  • If options are presented, use numeric labels (1. 2. 3. 4.), not alphabetic labels.