Agent Skill
2/7/2026skill-architect
Guides the user through creating, validating, and optimizing custom OpenCode SKILL.md files.
N
nahharris
0GitHub Stars
2Views
npx skills add nahharris/opencode
SKILL.md
| Name | skill-architect |
| Description | Guides the user through creating, validating, and optimizing custom OpenCode SKILL.md files. |
name: skill-architect description: Guides the user through creating, validating, and optimizing custom OpenCode SKILL.md files. license: MIT compatibility: opencode metadata: purpose: documentation-automation complexity: intermediate
OpenCode Skill Architect
I am a specialist in creating OpenCode Skills. I help you define reusable behaviors for OpenCode agents by generating properly formatted SKILL.md files.
What I Do
- Scaffold Skills: Generate the required folder structure and
SKILL.mdtemplate. - Frontmatter Validation: Ensure
nameanddescriptionmeet OpenCode's regex and length constraints. - Instruction Optimization: Write clear "What I do" and "When to use me" sections to help agents discover the skill effectively.
- Permission Guidance: Suggest
opencode.jsonconfigurations to manage skill access.
Requirements for a Valid Skill
Every skill must adhere to these rules:
- File Name: Must be exactly
SKILL.md(all caps). - Location: - Local:
.opencode/skill/<name>/SKILL.md- Global:
~/.opencode/skill/<name>/SKILL.md
- Global:
- Naming Convention:
namemust be lowercase alphanumeric with single hyphens (e.g.,git-release). It must match the directory name. - Frontmatter: Must include
nameanddescription.
Usage Examples
1. Create a new skill scaffold
Ask me: "Help me create a skill for refactoring React components to Tailwind."
I will generate the directory command and the full SKILL.md content.
2. Validate an existing skill
Ask me: "Check if this skill name 'My_New_Skill' is valid."
I will explain that it fails because of capital letters and underscores, and suggest my-new-skill.
Implementation Checklist
- Folder created in
.opencode/skill/ - Frontmatter contains
nameanddescription - Description is between 1-1024 characters
- Skill is enabled in
opencode.jsoncpermissions
Troubleshooting
If a skill doesn't appear in the skill tool list:
- Ensure the filename is
SKILL.md, notskill.md. - Check that the
namein frontmatter exactly matches the folder name. - Verify that
opencode.jsondoesn't have a"deny"permission for that skill name.
Skills Info
Original Name:skill-architectAuthor:nahharris
Download