feat(opencode): rig-control skill + command + 34 tests - #1177
Open
ZacxDev wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New opencode skill for the rig-control RGB gradient system.
Files:
!shell injection for live state/timer/color outputmkOutOfStoreSymlinkoverride for the command (like browser and dl-router)Why hand-written command: The auto-generated command from
generate-commands.pywould 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).