skill-creator

Generate SKILL.md templates and scaffold Opencode Skill directories.

Updated Jun 15, 2025
One-click install
npx skills add https://github.com/patrickhaahr/dotfiles --skill skill-creator-patrickhaahr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-creator
Source: https://github.com/patrickhaahr/dotfiles/tree/main/opencode/.config/opencode/skills/skill-creator
Command: npx skills add https://github.com/patrickhaahr/dotfiles --skill skill-creator-patrickhaahr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers bootstrap and standardize Opencode Skills by generating consistent SKILL.md templates, scaffolding directories, and enforcing naming conventions for new skills.

Core Features & Use Cases

  • Scaffold a new skill directory with SKILL.md frontmatter, and optional scripts/, references/, assets/ folders.
  • Validate skill name constraints (lowercase, hyphenated, 1-64 chars) and enforce frontmatter requirements.
  • Provide a reusable workflow for creating, updating, and discovering skills within both project-local and global scopes.

Quick Start

  1. Run the helper script to scaffold a new skill: python3 ~/.config/opencode/skill/skill-creator/scripts/init_skill.py <skill-name>

Frequently Asked Questions about skill-creator

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

FAQPage Schema
How do I scaffold a new Opencode skill directory with the correct structure?

To scaffold a new Opencode skill, run the init script with your desired skill name. The script generates a SKILL.md template with required frontmatter and optional subdirectories like scripts, references, and assets.

What are the naming constraints for creating an Opencode Skill?

Opencode Skill names must be lowercase and hyphenated, between 1 and 64 characters long. The skill creator script validates these naming constraints and enforces frontmatter consistency before generating the directory.

Can I create Opencode skills globally or only within a local project?

You can create Opencode skills in both project-local and global contexts. The scaffolding script supports generating skill directories and SKILL.md templates in either scope.

What is the required frontmatter format for a SKILL.md file?

The required frontmatter format for a SKILL.md file includes validated name and description fields. The skill creator script enforces this YAML frontmatter consistency to ensure standardization across new skills.

Does the skill scaffolding process include any boilerplate scripts?

Yes, the scaffolding process can include an optional scripts directory. The skill creator sets up your project structure by generating these optional folders alongside the main SKILL.md template.

What is the best way to standardize multiple Opencode Skills?

The best way to standardize Opencode Skills is by using a scaffolding script to enforce naming conventions and frontmatter validation. This ensures every generated SKILL.md template follows consistent project standards.