Skip to content

feat(opencode): rig-control skill + command + 34 tests - #1177

Open
ZacxDev wants to merge 1 commit into
mainfrom
feat/opencode-rig-control-skill
Open

feat(opencode): rig-control skill + command + 34 tests#1177
ZacxDev wants to merge 1 commit into
mainfrom
feat/opencode-rig-control-skill

Conversation

@ZacxDev

@ZacxDev ZacxDev commented Aug 31, 2026

Copy link
Copy Markdown
Member

New opencode skill for the rig-control RGB gradient system.

Files:

  • — full subsystem reference (prereq guard, state, toggle, gradient, color editing, timers, gotchas, files)
  • — hand-written command with ! shell injection for live state/timer/color output
  • — 34 tests (frontmatter, body, scripts, color schedule, command template, consistency)
  • mkOutOfStoreSymlink override for the command (like browser and dl-router)

Why hand-written command: The auto-generated command from generate-commands.py would just copy the skill body verbatim, losing the ! backtick syntax that executes shell commands and injects live output. The hand-written version shows real state, timers, and gradient color.

Validated: Blind dogfood dispatch — all 4 commands succeeded (openrgb check, state read, timers, gradient color).

Next steps: Tier in claude/skill-tiers.json (tier A — must auto-fire from RGB/lighting symptoms).

New opencode skill for the rig-control RGB gradient system:
- claude/skills/rig-control/SKILL.md — full subsystem reference
- scripts/opencode/commands/rig-control.md — hand-written command with
  !` shell injection (auto-generated version would just copy the skill
  body verbatim, losing the live state/timer/color output)
- scripts/tests/test_opencode_rig_control.py — 34 tests (frontmatter,
  body, scripts, color schedule, command template, consistency)
- nix/home.nix — mkOutOfStoreSymlink override for the command, like
  browser and dl-router

Blind dogfood validated: all 4 commands (openrgb check, state read,
timers, gradient color) succeeded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant