How skyinformatica/opencode-instructions works
This repository distributes Sky’s OpenCode configuration and development guidance, with V2 as the current setup and V1 retained for migration. The main user workflow is to run the configuration prompt, choose a scope, and install global rules, skills, agents, and settings; users then apply those agents and skills during development. V2 also includes runtime plugins for mode guidance and file-encoding preservation. Plugin internals are shown only where excerpts support them; broader installation relationships come from the README.
Main entry points: prompt-configurar-opencode.md Setup prompt · plugin.js Ponytail plugin · ponytail-instructions.cjs Ponytail instructions · orquestrador.md Orchestrator agent
Components 24
Setup and Versions
- Setup prompt
v2/prompts/prompt-configurar-opencode.md - V2 global config
v2/global/opencode.json - V1 global config
v1/global/opencode.json - V1 setup prompts
v1/prompts - Shared setup guidance
prompt-configurar-ambiente-windows.md
Development Guidance
- Sky rules
rules - Team skills
skills - MCP and service guides
redmine-instructions.md
Agent Workflow
- Orchestrator agent
v2/agents/orquestrador.md - Executor agent
v2/agents/executor.md
V2 Plugins
- Caveman plugin
v2/plugins/caveman/plugin.js - Caveman entry
v2/plugins/caveman/index.js - Caveman mode config
v2/plugins/caveman/caveman-config.cjs - Caveman mode parser
v2/plugins/caveman/caveman-parse.cjs - Ponytail plugin
v2/plugins/ponytail/plugin.js - Ponytail entry
v2/plugins/ponytail/index.js - Ponytail mode config
v2/plugins/ponytail/hooks/ponytail-config.cjs - Ponytail mode parser
v2/plugins/ponytail/ponytail-parse.cjs - Ponytail instructions
v2/plugins/ponytail/hooks/ponytail-instructions.cjs - Ponytail commands
v2/plugins/ponytail/command - Ponytail skill
v2/plugins/ponytail/skills/ponytail/SKILL.md - Encoding protection
v2/plugins/encoding-auto/index.ts
Other components
- OpenCode user
- OpenCode host
Connections 24
- OpenCode user → Setup prompt: runs
README.md - Setup prompt → V2 global config: configures
README.md - Setup prompt → Sky rules: installs
README.md - Setup prompt → Team skills: installs
README.md - Setup prompt → Orchestrator agent: installs
README.md - Setup prompt → Executor agent: installs
README.md - OpenCode user → V1 setup prompts: uses instead
README.md - V1 setup prompts → V1 global config: configures
README.md - OpenCode user → Shared setup guidance: follows
README.md - OpenCode user → Orchestrator agent: invokes
README.md - Orchestrator agent → Executor agent: delegates
README.md - OpenCode host → Caveman plugin: loads plugin
v2/plugins/caveman/plugin.js - OpenCode host → Caveman entry: loads plugin
v2/plugins/caveman/index.js - OpenCode host → Ponytail plugin: loads plugin
v2/plugins/ponytail/plugin.js - OpenCode host → Ponytail entry: loads plugin
v2/plugins/ponytail/index.js - OpenCode host → Encoding protection: loads plugin
v2/plugins/encoding-auto/index.ts - Ponytail plugin → Ponytail instructions: reuses
v2/plugins/ponytail/plugin.js - Ponytail plugin → Ponytail mode parser: uses
v2/plugins/ponytail/plugin.js - Ponytail plugin → Ponytail commands: registers
v2/plugins/ponytail/plugin.js - Ponytail instructions → Ponytail mode config: imports
v2/plugins/ponytail/hooks/ponytail-instructions.cjs - Ponytail mode parser → Ponytail mode config: imports
v2/plugins/ponytail/ponytail-parse.cjs - Ponytail instructions → Ponytail skill: reads
v2/plugins/ponytail/hooks/ponytail-instructions.cjs - Caveman entry → Caveman mode config: loads
v2/plugins/caveman/index.js - Caveman plugin → Caveman mode config: loads
v2/plugins/caveman/plugin.js