What problem does it solve? Prevents recurring production regressions in the opencode-swarm repository by loading non-negotiable engineering invariants before modifying high-risk areas like plugin initialization, subprocess spawning, tool registration, and test mocking. ## Core Features & Use Cases - Invariant Enforcement: Summarizes the 12 invariants from AGENTS.md, highlighting the four that caused recent regressions (bounded fail-open plugin init, bounded killable subprocesses, Node-ESM runtime portability, and test mock isolation). - Init-Path Import Safety: Details how transitive import chains (e.g., the src/lang barrel loading web-tree-sitter WASM) violate init latency budgets, with a verification checklist including repro-704 timing and purity tests. - Tool Version Parity: Requires invoking pinned tool versions (e.g., bunx @biomejs/biome@<version>) so local validation matches CI gates. - Skill Mirror Contract: Explains identical/divergent/opencode-only mirror contracts between .opencode and .claude skill trees, verified with bun run drift:check. - Use Case: Before editing src/index.ts or src/hooks/*, load this skill to learn that every awaited init operation must be wrapped in withTimeout and degrade non-fatally, avoiding the silent plugin-drop failure from issue #704. ## Quick Start Load the engineering-conventions skill before modifying plugin initialization, subprocess, or test code and follow its invariant checklist.