Test an oh-my-opencode-slim release candidate or bugfix before publishing. Use when validating a packed plugin artifact, release branch, crash fix, OpenCode runtime compatibility, or model-specific smoke test such as OpenCode 1.17.11 message transform regressions.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Use this skill to validate an oh-my-opencode-slim release candidate before
public npm publish. Test the packed artifact, not @latest and not the source
tree.
node_modules/oh-my-opencode-slim/dist/index.js.opencode debug config and verify plugin_origins contains only the
intended plugin when doing an isolation smoke.opencode run --print-logs --log-level DEBUG.Use a temp directory so release validation never depends on the local package cache.
SMOKE=/tmp/oh-my-opencode-slim-release-smoke
rm -rf "$SMOKE"
mkdir -p "$SMOKE/pkg" "$SMOKE/app" "$SMOKE/home" "$SMOKE/xdg/opencode" "$SMOKE/run"
bun run build
npm pack --pack-destination "$SMOKE/pkg"Install the tarball:
cd "$SMOKE/app"
bun init -y
bun add "$SMOKE/pkg"/oh-my-opencode-slim-*.tgz
node -p "require('./node_modules/oh-my-opencode-slim/package.json').version"Write the minimal OpenCode config:
cat > "$SMOKE/xdg/opencode/opencode.json" <<EOF
{
"model": "opencode/deepseek-v4-flash-free",
"plugin": [
"file://$SMOKE/app/node_modules/oh-my-opencode-slim/dist/index.js"
],
"agent": {
"orchestrator": {
"model": "opencode/deepseek-v4-flash-free"
}
}
}
EOFUse env -i for the cleanest smoke. This strips host OPENCODE_*, ORCA_*,
and project overlay variables that can silently add plugins or provider aliases.
env -i PATH="$PATH" HOME="$SMOKE/home" XDG_CONFIG_HOME="$SMOKE/xdg" \
opencode debug configConfirm:
plugin_origins has exactly one entry.dist/index.js.If OpenCode needs provider aliases from the host environment, run a second non-isolated model-specific smoke and clearly label it as weaker isolation.
Run the actual prompt with timeout:
env -i PATH="$PATH" HOME="$SMOKE/home" XDG_CONFIG_HOME="$SMOKE/xdg" \
timeout 120 \
opencode run --print-logs --log-level DEBUG "Say OK only."Expected result:
OKSearch logs for the bug signature. For the OpenCode 1.17.11 malformed-message crash, use:
rg "message\\.info\\.role|undefined is not an object|Cannot read properties of undefined|TypeError" \
"$SMOKE/home/.local/share/opencode/log" -n 2>/dev/null || trueNo matches should appear.
If the fully isolated environment cannot resolve OpenAI provider aliases, run a separate host-provider smoke while keeping the plugin path pointed at the tarball install.
mkdir -p "$SMOKE/config"
cat > "$SMOKE/config/opencode.json" <<EOF
{
"model": "openai/gpt-5.6-fast",
"plugin": [
"file://$SMOKE/app/node_modules/oh-my-opencode-slim/dist/index.js"
],
"agent": {
"orchestrator": {
"model": "openai/gpt-5.6-fast"
}
}
}
EOF
OPENCODE_CONFIG_DIR="$SMOKE/config" \
timeout 120 \
opencode run --print-logs --log-level DEBUG "Say OK only."Report this as a host-provider smoke because existing project, user, or Orca
OpenCode config may still merge in. Use opencode debug config to disclose
what else loaded.
## Release-candidate smoke validation
- Commit under test:
- Tarball:
- Installed package version:
- OpenCode version:
- Config isolation: sanitized `env -i` / host-provider
- Plugin origin:
- Model:
- Command:
- Result:
- Crash signature search:
- Limitations:1c0e1f4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.