What problem does it solve? Writing a correct opencode.json by hand is error-prone: the public schema has strict shapes for formatter, LSP, and permission blocks, and mixing global-only keys like mcp or plugin into a project file breaks the config. This Skill analyzes a project, asks the user for missing choices, and emits a validated configuration file. ## Core Features & Use Cases - Project Analysis: Reads package manifests, README, stack files, and existing config to determine formatter, LSP, instructions, and permission needs. - Schema-Compliant Generation: Emits only project-allowed keys ($schema, default_agent, instructions, formatter, lsp, permission) and enforces the mandatory ZAC bash deny set for git commands. - Pre-Write Validation: Runs scripts/validate-opencode.py to reject flat formatter objects, language-server wrappers, literal secrets, and invented placeholder values before writing. - Use Case: You start a new TypeScript project and need OpenCode configured with the typescript-language-server, a formatter, and safe git permissions. The Skill inspects the repo, confirms your default agent, and writes a validated opencode.json to the project root. ## Quick Start Analyze this project and generate a validated opencode.json configuration file for it.