skill-creation

Create and validate agent skill definitions with SKILL.md templates and security best practices.

9|1|Updated Jul 9, 2025
One-click install
npx skills add https://github.com/KemingHe/common-devx --skill skill-creation-keminghe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-creation
Source: https://github.com/KemingHe/common-devx/tree/main/.agents/skills/skill-creation
Command: npx skills add https://github.com/KemingHe/common-devx --skill skill-creation-keminghe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill reduces friction for authors who need to create, convert, or validate Agent Skills by providing a repeatable, specification-aligned process, templates, and security guidance to avoid common format and safety mistakes.

Core Features & Use Cases

  • Template-driven creation: supplies a SKILL.md template and asset hygiene rules to produce consistent skill entry points.
  • Prompt-to-skill conversion: converts legacy prompts into SKILL.md frontmatter and structured bodies suitable for repository consumption.
  • Validation and best practices: enforces frontmatter requirements, naming conventions, general doc constraints, and inserts Security Best Practices where appropriate.
  • Use case: rapidly generate a new skill with SKILL.md, README.md, and assets from a plain-text prompt while ensuring repository-wide consistency and safety.

Quick Start

Ask the agent to create a skill for the desired task and include any templates, constraints, and output format requirements.

Frequently Asked Questions about skill-creation

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

FAQPage Schema
How do I convert a plain-text prompt into a SKILL.md file with valid YAML frontmatter?

To convert a prompt into a SKILL.md file, you supply the legacy text to the agent, which then extracts and structures the content into valid YAML frontmatter with name and description fields, producing a repository-ready skill entry point.

What are the required naming conventions and frontmatter constraints for creating an agent skill?

Creating an agent skill requires valid YAML frontmatter containing specific name and description fields, alongside adherence to strict naming conventions and general doc constraints to ensure repository-wide consistency and avoid format validation errors.

Can I generate a complete agent skill package including README and assets from a single prompt?

Yes, you can rapidly generate a complete agent skill package by instructing the agent with your desired task, templates, and output format, which then produces the SKILL.md, README.md, and necessary assets simultaneously.

What security best practices should I apply when refactoring agent skills for repository consumption?

When refactoring agent skills for repository consumption, you must apply recommended asset resolution rules and insert security best practices into the skill definition to avoid common safety mistakes and ensure secure execution.

Why does my agent skill validation fail when checking frontmatter and content constraints?

Agent skill validation fails when the SKILL.md file lacks required YAML frontmatter fields like name and description, or when the content violates enforced naming conventions and document constraints required for repository alignment.