skill-creator

Create or rewrite v2 SKILL.md files with validated frontmatter and body sections.

171|4|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/ntygod/ZhiWei --skill skill-creator-ntygod
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-creator
Source: https://github.com/ntygod/ZhiWei/tree/main/src/main/resources/skills/skill-creator
Command: npx skills add https://github.com/ntygod/ZhiWei --skill skill-creator-ntygod

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

指南帮助用户手动创作或改写符合 v2 规范的 Skill SKILL.md,确保 frontmatter、描述、版本和 metadata.zhiwei 等字段以及后续的 body 三大小节符合要求。

Core Features & Use Cases

  • 提供 frontmatter 的规范模板与校验要点,帮助用户快速填写 name、description、version 及 metadata.zhiwei。
  • 指引 body 的三大必需小节:适用场景、 不适用场景、 工作流,并说明描述字段的约束与兼容性。
  • 提供 migrate / 校验 的参考模板,包含 references 目录的放置方案与复杂内容下沉策略。

Quick Start

以一个新 Skill 为例,按照本指南逐步编写 SKILL.md,确保 description 以“当 / 用于 / Use when”开头,body 含三小节并在长度限制内。

Frequently Asked Questions about skill-creator

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

FAQPage Schema
How do I create a Skill.md that complies with the v2 specification?

A v2-compliant Skill.md requires valid frontmatter fields like name, description, version, and metadata.zhiwei, followed by three body sections covering applicable scenarios, non-applicable scenarios, and workflow to ensure structural validation.

What are the description constraints for a v2 SKILL.md file?

The description field in a v2 SKILL.md must start with the Chinese word "当", "用于", or the English "Use when". It must not contain workflow words and must remain under 1024 characters in length to pass validation.

How do I migrate an existing Skill.md to the v2 specification format?

To migrate an existing Skill.md to the v2 format, rewrite the frontmatter to include version and metadata.zhiwei fields, update the description to meet starting word constraints, and restructure the body into the three mandatory sections using migration reference templates.

What sections are required in the body of a v2 SKILL.md?

The body of a v2 SKILL.md requires three mandatory sections: applicable scenarios, non-applicable scenarios, and workflow. Complex content within these sections should be下沉 to a references directory to maintain readability.

Do I need any dependencies to validate frontmatter in Skill.md files?

No dependencies are required to validate frontmatter in Skill.md files. The validation process checks frontmatter fields, description constraints, and body section structure manually or through provided templates without external components.

Why does my Skill.md description fail v2 specification validation?

A Skill.md description fails v2 validation if it does not start with "当", "用于", or "Use when", exceeds 1024 characters, or contains workflow words. Enforce these constraints to pass the frontmatter validation checks.