What problem does it solve? Contributors modifying the opencode-swarm plugin frequently ship regressions in high-risk areas like plugin initialization, subprocess handling, and runtime portability because critical invariants are scattered across AGENTS.md and docs. This Skill consolidates those non-negotiable rules into a single loadable reference so agents apply them before touching dangerous code paths. ## Core Features & Use Cases - Invariant enforcement: Summarizes the four highest-risk invariants (bounded fail-open plugin init, bounded killable subprocesses, Node-ESM runtime portability, test mock isolation) with links to the authoritative AGENTS.md source. - Deep-dive guidance: Covers init-path-safe imports, sandbox env override escaping, sandbox fallback parity, SAST baseline capture, tool version parity, and the skill mirror contract. - Use Case: Before editing src/index.ts or any subprocess-spawning utility, load this Skill to learn that every spawn needs cwd, stdin ignore, timeout, and proc.kill() in a finally block, preventing the class of hang regressions seen in issues #704 and #1471. ## Quick Start Load the engineering-conventions skill before modifying plugin initialization, subprocess, or tool registration code and follow its invariant checklist.