skills/src/workflow/SKILL.md
Use when the user invokes /workflow. Injects project workflow methodology as context. Accepts argument: plan, exec, review (default: all).
npx skillsauth add shuymn/dotfiles workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<skill-root> はこの SKILL.md を含むディレクトリを指す。references/... は呼び出し元のカレントディレクトリではなく、<skill-root> 基準で解決する。$ARGUMENTS に応じて読む reference を決める。
$ARGUMENTS が plan で始まる → references/plan.md だけ読む$ARGUMENTS が exec で始まる → references/exec.md だけ読む$ARGUMENTS が review で始まる → references/review.md だけ読む$ARGUMENTS が空、または未定義の値 → references/plan.md, references/exec.md, references/review.md をすべて読む一致した file を読み、この session の plan / exec / review の運用ルールとして扱う。
thin spec, thick checks である。constraints、復元しにくい判断、停止条件だけに使う。thick checks は量産ではない。高信号で replay 可能な checks を厚く持つことを指す。LLM -> artifact -> LLM の往復でミスリードしにくい契約である。merge / close を止める blocker が残っているかを見る。Theme に結びつくものだけを扱う。goal / constraints / escalation を握る。AI は分解、局所探索、実装、check replay、closure judgment を担う。TODO.md の各 Theme は最低でも次を持つ。
Theme -- 1 Theme = 1つの外から観測できる前進Outcome -- 終わると外から何が変わるかGoal -- 今回達成したい外部結果だけMust Not Break -- 今回の merge / close を止める blocker 境界Non-goals -- 今回扱わない改善、別 PR に送る改善、広げない論点Acceptance -- 十分条件と停止条件だけEvidence -- blocker / no-blocker を判定する replay 手順と trust metadata の正本Gates -- Gate Model の語彙だけを使い、量ではなく信号強度で選ぶExecutable doc -- 実装前は失敗し実装後は通る replay 可能な spec。merge / close 判定に直結するものだけを置くWhy not split vertically further? -- これ以上縦に分けない理由Escalate if -- AI が安全に閉じられない条件これらは独立 artifact ではなく、TODO.md の各 Theme に入れる。この contract に入らない説明は残さない。
Evidence は run、oracle、visibility、controls、missing、companion、必要なら notes を持つ。controls と missing は常に [] を使い、語彙は agent と context だけに固定する。visibility=independent なら companion=none、visibility=implementation-visible なら replay 可能な独立 evidence を companion に入れる。
書式は次に固定する。
- [ ] Theme: ...
- Outcome: ...
- Goal: ...
- Must Not Break: ...
- Non-goals: ...
- Acceptance (EARS):
- When ...
- If ...
- Evidence: `run=...; oracle=...; visibility=independent; controls=[agent,context]; missing=[]; companion=none; notes=...`
- Gates: `static`, `integration`
- Executable doc: `...`
- Why not split vertically further?: ...
- Escalate if: ...
thin spec, thick checks を成立させる主手段である。Theme は必要な gate を複数選べるが、十分な判定に必要な最小高信号セットに絞る。public contract と主要シナリオを表す integration / system に置く。Theme Contract、Executable doc、Acceptance、Evidence.oracle を見て書く。Evidence.controls の agent 分離と context 分離で上げる。benchmark、coverage、mutation、independent AI review は補助確認であり、上位契約の代替には使わない。利用可能な gate:
static -- 型、lint、format、禁止依存、schema checkintegration -- public contract、境界接続、状態遷移system -- 主要シナリオ、e2e、stop-ship 条件benchmark -- 性能制約、回帰閾値、処理量制約coverage / diff coverage -- 到達確認、未検証領域の補助把握mutation -- 検知力確認の補助independent AI review -- 独立視点の補助確認unit -- 局所補強が必要なときだけ最低要件:
static は常に必須public contract を触るなら integration は必須system か同等の証拠は必須Theme Contract の Gates は最低要件を満たさなければならないEvidence に trust metadata を残さず、test や review を independent と主張するcoverage、benchmark、test、AI review の通過だけで検知力を推定し、close したことにするdevelopment
Simplifies recently changed code by running three parallel reviews (reuse, quality, efficiency) and applying only behavior-preserving fixes. Use when the user asks to simplify, clean up, reduce duplication, improve code reuse, or optimize recently changed code, a staged diff, a branch diff, or explicitly listed files. Also use when the user says things like 'simplify this', 'まとめて整理して', 'コードをスリムにして', or invokes `/simplify`.
development
Processes AI reviewer feedback and applies only verified fixes. Works in two modes: (1) fetches comments from a PR URL or current branch, (2) processes feedback pasted directly into the conversation. Trigger when the user wants to bulk-process or apply AI review suggestions — from a GitHub PR or pasted text. Do NOT trigger for single questions about what a bot said, or general code review discussion.
testing
Prepares .ralph/ runtime state from an approved and reviewed plan bundle. Syncs plan tasks into prd.json and updates prompt.run.md with project-specific context and quality gates. Use after plan approval, decompose-plan review PASS, and ralph init.
development
Review text for AI writing tropes and mechanical prose patterns, then report findings with concrete rewrite suggestions. Use when the user asks to proofread, lint, or polish writing — especially docs, blog posts, READMEs, commit messages, PR descriptions, or any prose that should read as human-written. Also use when the user says "check for AI slop", "does this sound like AI", "make this sound more natural", or wants to de-AI their text.