Write, edit, copyedit, or unslop human-facing prose while preserving the user's canonical voice from `~/.config/opencode/TONE.md`. Use for documentation, READMEs, PR descriptions, commit-message bodies, changelogs, issue summaries, long-form explanations,…
TypeScript pattern matching with ts-pattern for exhaustive branching, data selection, and runtime shape checks. Use when implementing or refactoring conditionals over discriminated unions, tuple combinations, nested object shapes, reducer/state-machine…
ASCII diagram patterns for architecture, workflows, file trees, and data visualizations. Use when creating terminal-rendered diagrams, box-drawing layouts, progress bars, swimlanes, or blast radius visualizations.
Simplify and refine code for clarity, consistency, and maintainability while preserving exact behavior. Use to clean up recently written or modified code, reduce nesting and redundant abstractions, apply project coding standards, or improve readability…
Use when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full source.
Build, refactor, review, debug, test, or migrate XState state machines, actor systems, and `@xstate/store` state management in JavaScript or TypeScript. Use whenever a repository imports `xstate`, a core framework adapter such as `@xstate/react`, or any…
Author, refactor, or review Lua used as program configuration in this dotfiles repo. Use when editing or evaluating Lua config layers such as .config/nvim/, .config/wezterm/, Hypr Lua helpers, or future Lua-backed dotfiles, especially shared Lua style, module…
Split large repository tasks into safe, independently executable work units and coordinate bounded OpenCode subagents. Use when a request involves a large repetitive migration, audit, cleanup, test addition, documentation update, lint backlog, or similar work…