build-skill

Standardize OpenCode skill creation with templates, frontmatter validation, and folder structures.

1|Updated Jun 8, 2024
One-click install
npx skills add https://github.com/michaelmechenko/dotfiles --skill build-skill-michaelmechenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-skill
Source: https://github.com/michaelmechenko/dotfiles/tree/main/opencode/skill/build-skill
Command: npx skills add https://github.com/michaelmechenko/dotfiles --skill build-skill-michaelmechenko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The absence of standardized guidance and templates for creating OpenCode skills leads to inconsistent SKILL.md files and slow onboarding.

Core Features & Use Cases

  • Guidance on frontmatter structure and naming conventions to ensure consistent skill discovery.
  • Starter templates and scripts to scaffold new skills quickly.
  • Validation and packaging workflows to catch errors early and package skills for distribution.

Quick Start

Run the starter to scaffold a new skill directory and generate SKILL.md with proper frontmatter.

Frequently Asked Questions about build-skill

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

FAQPage Schema
How do I create an OpenCode skill with proper YAML frontmatter?

To create an OpenCode skill with proper YAML frontmatter, use scaffolding templates that enforce required name and description fields, ensuring consistent skill discovery and standardized SKILL.md files across project installations.

What is the best way to validate OpenCode skill folder structures?

The best way to validate OpenCode skill folder structures is to use automated validation workflows that check YAML frontmatter requirements and verify optional references, scripts, and assets directories to catch errors early.

How does skill scaffolding work for team-based OpenCode projects?

Skill scaffolding for team-based OpenCode projects works by generating standardized directory structures and starter templates, ensuring consistent naming conventions and frontmatter validation across both global and project-scoped installations.

Can I use skill templates for global and project-scoped OpenCode installations?

Yes, you can use skill templates for both global and project-scoped OpenCode installations, as the scaffolding and validation workflows are designed to support team environments with consistent folder structures and frontmatter requirements.

Why does my OpenCode skill validation fail without frontmatter?

OpenCode skill validation fails without frontmatter because the system enforces mandatory YAML fields, specifically name and description, to maintain consistent skill discovery and standardized SKILL.md formatting across teams.

What components are required when building an OpenCode skill?

When building an OpenCode skill, the required components are YAML frontmatter containing name and description fields, while optional components include references, scripts, and assets directories that support the validation workflow.