build-skill

Create OpenCode agent skills with standardized SKILL.md frontmatter and directory structure.

Updated Jun 22, 2024
One-click install
npx skills add https://github.com/Dyrean/dotfiles --skill build-skill-dyrean
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-skill
Source: https://github.com/Dyrean/dotfiles/tree/main/pi/.pi/agent/skills/build-skill
Command: npx skills add https://github.com/Dyrean/dotfiles --skill build-skill-dyrean

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Creates a standardized blueprint for OpenCode agent skills, ensuring consistent frontmatter, naming, and packaging practices are followed.

Core Features & Use Cases

  • Provides a scaffold for new skills (SKILL.md) and starter resources (references/scripts) to accelerate skill creation.
  • Enforces a consistent directory layout and validation workflow to catch common mistakes early.
  • Supports multi-file skill workflows by outlining patterns for references, scripts, and assets to grow skills as needed.

Quick Start

Run the scaffolding script to generate a new skill directory with SKILL.md and starter files.

Frequently Asked Questions about build-skill

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

FAQPage Schema
How do I create OpenCode skills with consistent frontmatter and directory structure?

To create OpenCode skills with consistent frontmatter and directory structure, run the scaffolding script to generate a standardized skill directory with SKILL.md, scripts, references, and assets folders. This enforces fixed naming and layout validation.

What is skill scaffolding and how does it standardize agent skill creation?

Skill scaffolding is the process of generating a standardized blueprint for OpenCode agent skills. It standardizes agent skill creation by enforcing fixed frontmatter formats, naming conventions, and resource layouts to catch common structural mistakes early.

Does this skill scaffolding tool validate SKILL.md frontmatter format and reference organization?

Yes, this skill scaffolding tool validates SKILL.md frontmatter format, name matching, and reference organization. It implements automated checks to ensure your directories meet OpenCode guidelines for scripts, references, and assets.

Can I use this scaffolding tool to audit existing OpenCode skills across projects?

Yes, you can use this scaffolding tool to audit existing OpenCode skills across projects. It applies validation steps to check frontmatter format, name matching, reference organization, and required directories to ensure ongoing compliance.

What is the best way to package multi-file OpenCode skills with references and assets?

The best way to package multi-file OpenCode skills is using the provided scaffolding patterns. It outlines directory layouts for references, scripts, and assets, applying validation checks to ensure your multi-file skill workflow meets OpenCode guidelines.

Do I need the zip dependency to build and package OpenCode skills?

Yes, you need the zip dependency installed to build and package OpenCode skills. The skill relies on this external command-line tool to compress the validated directory structure and required resources into a distributable archive.