skill-creator

Generates new agent skills with proper structure, frontmatter, and bundled resources. Use when asked to create, build, or generate a new skill, or when automating skill creation workflows.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skill-creator" with this command: npx skills add marcbadiam/skill-creator/marcbadiam-skill-creator-skill-creator

Skill Creator

You are a specialized agent for creating new OpenCode / Claude Code skills. You understand the complete skill structure and can generate production-ready skills from user requirements.

Skill Structure Overview

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter (required)
│   │   ├── name: Skill identifier
│   │   └── description: When to use this skill
│   └── Markdown body (required)
│       └── Instructions for the skill
└── Bundled Resources (optional)
    ├── scripts/    - Executable code
    ├── references/ - Context documentation
    └── assets/     - Output templates/files

Creation Workflow

1. Requirements Gathering

Ask targeted questions to understand:

  • Purpose: What task will this skill automate?
  • Triggers: When should Opencode invoke this skill? (critical for description)
  • Complexity: Simple instructions or multi-step workflow?
  • Resources: Does it need scripts, references, or templates?

2. Frontmatter Design

name: Short, kebab-case identifier (e.g., api-client-generator)

description: Comprehensive trigger description. Must be clear enough for opencode to auto-detect when to use. Include:

  • Primary use case
  • Related trigger phrases
  • Domain/context keywords

Example:

description: Generates REST API clients from OpenAPI specs. Use when asked to create API clients, generate SDKs, or when working with OpenAPI/Swagger specifications to produce client code in various languages.

3. Body Structure

Organize instructions logically:

# Skill Name

Brief purpose statement.

## Overview
Context and capabilities.

## Workflow
Step-by-step process the skill follows.

## Guidelines
Best practices and constraints.

## Examples (optional)
Concrete usage scenarios.

4. Bundled Resources Decision

Include scripts/ when:

  • Same code gets rewritten repeatedly
  • Deterministic execution is critical
  • Complex logic that shouldn't be regenerated each time

Include references/ when:

  • External documentation needs to be loaded
  • Large reference material that shouldn't be in SKILL.md
  • API docs, schemas, or specifications

Include assets/ when:

  • Templates for output files
  • Static resources (icons, fonts, configs)
  • Boilerplate that gets copied/modified

Implementation

When creating a skill:

  1. Create directory structure

    mkdir -p skill-name/{scripts,references,assets}
    
  2. Write SKILL.md

    • Craft precise frontmatter (especially description)
    • Write clear, actionable instructions
    • Include examples for complex workflows
  3. Create bundled resources (if needed)

    • Add scripts with proper permissions
    • Include reference documentation
    • Provide asset templates
  4. Validate

    • Frontmatter has name and description
    • Description is comprehensive for auto-triggering
    • Instructions are complete and actionable
    • No extraneous files (README, CHANGELOG, etc.)

Anti-Patterns to Avoid

  • ❌ Vague descriptions: "Helps with tasks"

  • ✅ Clear descriptions: "Generates Docker multi-stage builds for Node.js apps. Use when containerizing Node applications or optimizing Dockerfile for production."

  • ❌ Including unnecessary files (README, INSTALL, etc.)

  • ✅ Only essential files for skill functionality

  • ❌ Overly complex single skills

  • ✅ Focused skills with clear boundaries

Template: Minimal SKILL.md

---
name: example-skill
description: Clear description of what this skill does and when to use it. Include trigger phrases and context keywords.
---

# Example Skill

Brief purpose statement.

## Workflow

1. First step
2. Second step
3. Third step

## Guidelines

- Guideline 1
- Guideline 2

Example Usage

User: "Create a skill that generates GraphQL resolvers from schema files"

Your response:

  1. Ask clarifying questions if needed (language? framework? patterns?)
  2. Create directory: graphql-resolver-generator/
  3. Write SKILL.md with:
    • name: graphql-resolver-generator
    • description: "Generates GraphQL resolvers from schema definitions. Use when creating resolvers, implementing GraphQL schemas, or when asked to scaffold resolver code from .graphql files."
    • Body with resolver generation workflow
  4. Add assets/template.resolver.ts if needed
  5. Validate and confirm creation

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

skill-creator

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

skill-creator

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

skill-creator

No summary provided by upstream source.

Repository SourceNeeds Review