About
This skill provides a comprehensive framework for extending OpenCode, an open-source AI coding assistant. It guides developers through the entire lifecycle of extension development, including scaffolded plugin architecture, advanced agent configuration for primary and subagent modes, and the implementation of lifecycle hooks to intercept tool execution. By leveraging TypeScript-based plugin patterns and Zod schemas for tool definitions, it ensures that custom extensions are production-ready, performant, and easily distributable via npm.