opencode-create-skill

Generate OpenCode skills with SKILL.md files and YAML frontmatter.

1|Updated May 7, 2022
One-click install
npx skills add https://github.com/brandonburrus/dotfiles --skill opencode-create-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-create-skill
Source: https://github.com/brandonburrus/dotfiles/tree/main/.config/opencode/skills/opencode-create-skill
Command: npx skills add https://github.com/brandonburrus/dotfiles --skill opencode-create-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of new, reusable skills for the OpenCode platform, ensuring they are discoverable and functional.

Core Features & Use Cases

  • Skill Generation: Guides users through defining skill purpose, scope, and structure.
  • YAML Frontmatter: Ensures correct name and description for agent discovery.
  • Structural Pattern Selection: Helps choose between workflow and style/output patterns.
  • Placement Guidance: Advises on global vs. project-local skill placement.
  • Use Case: A developer needs to create a new skill to automate code formatting. They use this skill to define the skill's name, description, choose the appropriate pattern (workflow), and ensure it's saved in the correct global directory.

Quick Start

Use the opencode-create-skill to generate a new skill for managing git branches.

Frequently Asked Questions about opencode-create-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new OpenCode skill with valid YAML frontmatter?

To create an OpenCode skill, define its purpose, select a structural pattern like workflow or style/output, and write a valid SKILL.md file with correct YAML frontmatter including name and description for agent discovery.

What's the best way to structure an OpenCode skill for agent development?

Structuring an OpenCode skill involves choosing between a workflow pattern for procedural tasks or a style/output pattern for formatting, then writing the body content in SKILL.md to match the selected pattern and scope.

Does OpenCode skill creation require any specific dependencies or tools?

OpenCode skill creation requires no external dependencies; it guides you through requirements gathering, pattern selection, and writing the SKILL.md file, then saves it to the appropriate global or project-local path.

How do I choose between workflow and style/output patterns when generating an OpenCode skill?

Choose a workflow pattern for step-by-step automation tasks like code formatting, or a style/output pattern for generating consistent output formats, based on the skill's defined purpose and scope.

Where should I save generated OpenCode skills for global vs project-local access?

Save generated OpenCode skills to the global directory for broad reuse across projects, or to the project-local path for scoped access, depending on whether the skill applies generally or to a specific project.

Why does my OpenCode skill not appear in agent discovery after creation?

OpenCode skills may not appear in agent discovery if the YAML frontmatter lacks the correct name or description fields, or if the SKILL.md file is not saved to the appropriate global or project-local skill path.