一键导入
opencode-config-validation
Validates OpenCode configuration files for correctness and best practices
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validates OpenCode configuration files for correctness and best practices
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | opencode-config-validation |
| description | Validates OpenCode configuration files for correctness and best practices |
This skill provides comprehensive validation rules for OpenCode configurations.
Use this skill to validate agent, skill, and command configurations before finalizing them. It ensures configurations follow OpenCode standards and will work correctly.
Load this skill when:
Frontmatter Fields:
description: Required, 1-200 charactersmode: Required for agents (primary, subagent, or all)Optional Fields:
model: Format must be provider/model-id
opencode modelstemperature: Must be between 0.0 and 1.0tools: Object with boolean valuespermissions: Object with allow, ask, or deny valuesmaxSteps: Positive integer for iteration limitsFile Structure:
~/.config/opencode/agent/[name].md or .opencode/agent/[name].md--- markers)code-review, otto-analyzerCode_Review, otto analyzer, review-Valid tool names:
read, write, editbash, glob, grepskill, task, webfetchtodowrite, todoreadservername_toolname)permissions:
edit: allow|ask|deny
bash:
"git *": allow
"npm *": ask
"*": deny
webfetch: allow
Directory Structure:
skill/[name]/SKILL.mdFrontmatter Fields:
name: Required, must match directorydescription: Required, 1-1024 charactersOptional Fields:
license: SPDX identifiercompatibility: String valuemetadata: Key-value pairs^[a-z0-9]+(-[a-z0-9]+)*$--)git-workflow, code-review-processgit--workflow, -review, review-Should include:
File Location:
command/[name].mdFrontmatter Fields:
template or descriptionOptional Fields:
agent: Which agent handles the commandmodel: Model overridesubtask: Boolean for subagent invocation$ARGUMENTS: All arguments as string$1, $2, etc.: Individual arguments!command``: Shell command interpolation@filename: File referenceSKILL.mdcommand not just !commandStructure Check:
Frontmatter Validation:
Content Validation:
Cross-Reference Check:
Descriptions:
Naming:
Documentation:
Testing:
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Fetches and reads the latest OpenCode documentation from the official repository to stay current with features, best practices, and configuration options. Use this skill when creating new agents, sub-agents, skills, commands, or any other OpenCode configuration.