create-command

Generates new SKILL.md files with frontmatter and instructions in .agents/skills directories.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/yizhitangtongxue/opencode-switch --skill create-command-yizhitangtongxue
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-command
Source: https://github.com/yizhitangtongxue/opencode-switch/tree/main/.agents/skills/create-command
Command: npx skills add https://github.com/yizhitangtongxue/opencode-switch --skill create-command-yizhitangtongxue

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually authoring new AI skills requires remembering the SKILL.md frontmatter format, naming conventions, and directory structure, which is error-prone and inconsistent across a project. ## Core Features & Use Cases - Skill Scaffolding: Creates a complete SKILL.md file with valid YAML frontmatter (name and description) inside .agents/skills/<skill-name>/. - Requirement Analysis: Classifies the requested skill by type (initialization, pre-development, code check, recording, generation) to shape its content. - Naming Conventions: Enforces kebab-case names and prefix patterns like before-, check-, record-, generate-, and update-. - Use Case: A developer wants a reusable PR review skill; they invoke this skill with a name and description, and receive a ready-to-use SKILL.md following project guidelines. ## Quick Start Ask the AI to create a new skill named review-pr that checks PR code changes against project guidelines.

Frequently Asked Questions about create-command

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

FAQPage Schema
How do I create a new AI skill with SKILL.md?▼

Invoke the skill with a kebab-case name and a short description, for example a skill named review-pr for checking PR code changes. It generates .agents/skills/<skill-name>/SKILL.md with valid frontmatter and instructions.

What is the required structure of a SKILL.md file?▼

A SKILL.md file needs YAML frontmatter containing at least a name and description, followed by a Markdown body with operational instructions. The file must sit at the root of its own skill directory.

What naming conventions should AI skills follow?▼

Skill names use kebab-case with type-based prefixes: before- for pre-development, check- for validation, record- for logging, generate- for generation, and update- for maintenance. Other skills use verb-first names like review-code.

What makes a good skill description and content?▼

Good skill content is clear, directly executable by the AI, well-scoped, and specifies expected output formats. Avoid vague goals like optimize code, skills over 100 lines, or duplicating existing skills.

When should I not create a new skill?▼

Avoid creating a skill when a similar one already exists, when the task is too vague to define clear boundaries, or when the instructions would exceed roughly 100 lines and should be split into multiple skills.