write-a-skill

Define and validate OpenCode skill units with required frontmatter and body structure.

16|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/JCE-Joshhh77/JCE-Opencode-Tools --skill write-a-skill-jce-joshhh77
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: write-a-skill
Source: https://github.com/JCE-Joshhh77/JCE-Opencode-Tools/tree/main/config/skills/write-a-skill
Command: npx skills add https://github.com/JCE-Joshhh77/JCE-Opencode-Tools --skill write-a-skill-jce-joshhh77

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables teams to consistently create, audit, and package OpenCode skill units by enforcing a standard frontmatter shape and clear operational guidance.

Core Features & Use Cases

  • Enforces a mandatory SKILL.md entry point at the skill root with name and description in frontmatter.
  • Provides a structured workflow for skill validation, labeling, and packaging.
  • Use Case: Authors can quickly scaffold new skills or audit existing ones for consistency and discoverability.

Quick Start

Create or update config/skills/write-a-skill/SKILL.md with the required frontmatter and a clear instructional body.

Frequently Asked Questions about write-a-skill

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

FAQPage Schema
How do I create a valid OpenCode skill with the correct YAML frontmatter?▼

To create a valid OpenCode skill, define a SKILL.md entry point at the skill root containing YAML frontmatter with matching name and descriptive description fields, followed by a body with concrete rules and output expectations.

What is the required structure for an OpenCode SKILL.md file?▼

The required structure for an OpenCode SKILL.md file includes YAML frontmatter with mandatory name and description fields, and a body that provides concrete operational rules and clear output expectations for deployment behavior.

How do I audit existing OpenCode skills for consistency and discoverability?▼

To audit existing OpenCode skills, apply validation across config/skills directories to ensure the required frontmatter shape and body structure are present, checking that name and description metadata are predictable and correctly matched.

Can I use YAML templates to automate OpenCode skill scaffolding and packaging?▼

Yes, you can use YAML templates to automate OpenCode skill scaffolding by enforcing a standard frontmatter shape across config/skills directories, guiding the creation, editing, and packaging of skills with predictable metadata.

Why does my OpenCode skill fail validation when missing frontmatter metadata?▼

OpenCode skill validation fails when frontmatter is missing because the system enforces a mandatory SKILL.md entry point requiring both a matching name and a descriptive description to ensure consistent deployment behavior.