daikichiba9511/dotfiles/spec-behavior

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when authoring or reviewing a software behavior specification expressed as a conversion table or Mermaid state machine, including states, events, guards, actions, and invariants. Do not use for architecture diagrams, implementation flowcharts, or prose-only requirements.

Install

npx vskill@latest install daikichiba9511/dotfiles/spec-behavior

SKILL.md

Spec Behavior

振る舞い仕様の作成・レビューを支援する。変換系は表、リアクティブ系は Mermaid 拡張状態機械で書き分ける。

Always read references/behavior-spec-guide.md before writing or reviewing a spec. If the spec involves multiple subsystems, refinement, or separation from implementation details, also read references/multi-entity-composition.md.

Mode

Choose one mode first.

  • write: user says they want to write, create, draft, or produce a behavior spec.
  • review: user asks for review, check, lint, or provides only a file path.
  • If unclear, ask one concise question before proceeding.

Write Workflow

  1. Identify the target behavior, domain boundary, and granularity.
  2. Classify the system:
  • conversion: output is determined only by input, so use a table.
  • reactive: history, mode, state, or parallelism matters, so use Mermaid stateDiagram-v2.
  • mixed: include both and state the boundary in design notes.
  1. Draft using the guide:
  • UML transition label convention: event [guard] / action
  • Harel subset: hierarchy, orthogonal regions, and same-name-event broadcast
  • product-breakdown patterns: forbidden state, transition restriction, mode dependence
  • abnormal paths: cancel, reject, fail, timeout, recovery
  1. Add the design notes section from the guide.
  2. Run the guide's self-check before writing.
  3. If the user gave an explicit save path, write there. Otherwise ask for the save path before writing.

Review Workflow

  1. Read the target file. If no target is provided, ask for one.
  2. Run the guide's mechanical checks first.
  3. Run the guide's semantic checks next.
  4. Report findings by severity: error, warning, info.
  5. For every finding, include the line number, current issue, and concrete fix suggestion.
  6. In review mode, do not edit the file unless the user explicitly asks for fixes.

Rules

  • Prefer a table for stateless input-output conversion.
  • Prefer Mermaid stateDiagram-v2 for behavior with state, history, modes, or parallel regions.
  • Use same-name events in orthogonal regions to express broadcast.
  • Do not write the full Cartesian product of states when product-breakdown patterns are enough.
  • Treat completeness as either defined state-event coverage or an explicit default such as "undefined events are ignored".
  • Keep middleware and infrastructure names out of behavior specs when abstract communication properties are enough.
  • When uncertain whether a case is conversion or reactive, include both and explain the boundary in design notes.

$ARGUMENTS

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/daikichiba9511/dotfiles/spec-behavior/badge)](https://verified-skill.com/skills/daikichiba9511/dotfiles/spec-behavior)

Something wrong with this skill or its page? Tell us.