writing-skills

Create, edit, and validate Skills with frontmatter checks before deployment.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xxih/ai-harness-zh --skill writing-skills-xxih
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/xxih/ai-harness-zh/tree/main/references/translations/superpowers/skills/writing-skills
Command: npx skills add https://github.com/xxih/ai-harness-zh --skill writing-skills-xxih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

帮助你在创建、编辑以及部署前对 Skill 进行标准化验证,确保遵循测试驱动开发(TDD)和统一的部署流程,避免缺失前置测试和草率发布。

Core Features & Use Cases

  • 提供统一的 Skill 编写结构与前提条件检查,确保 SKILL.md 的 Frontmatter 至少包含 name 与 description,并遵循规定的长度与格式。
  • 指导如何组织 Skill 内容,包含原则、模式、示例,以及在实际工作流中的应用场景,帮助团队复用与部署。
  • 提供从测试驱动到 Skill 部署的完整流程要点,帮助团队在发布前完成自检与评审。

Quick Start

先运行基线测试以观察失败点,然后按步骤撰写并提交一个最小可用的 Skill。

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I validate Skill frontmatter before deployment?

Validating Skill frontmatter requires checking that the SKILL.md file contains at least the name and description fields, adhering to specified length and format guidelines before deployment.

What is the RED-GREEN-REFACTOR discipline for skill writing?

The RED-GREEN-REFACTOR discipline for skill writing is a test-driven workflow where you run baseline tests to observe failures, write a minimal viable Skill to pass them, and then refine the structure and documentation.

How to structure documentation for a new Skill workflow?

To structure documentation for a new Skill workflow, organize content by principles, patterns, and examples, ensuring it outlines specific application scenarios to help teams effectively reuse and deploy the Skill.

Do I need test-driven development to write a Skill?

You need test-driven development to write a Skill because the workflow recommends applying RED-GREEN-REFACTOR discipline, ensuring you run baseline tests first to identify failures before submitting a minimal usable Skill.

What's the best way to standardize Skill content creation?

The best way to standardize Skill content creation is to enforce unified prerequisites and structure, ensuring frontmatter validation and organized guidelines for principles and examples are consistently met before deployment.

Why does my Skill validation fail during the editing process?

Skill validation fails during editing when the SKILL.md frontmatter is missing required fields like name or description, or when the content lacks the structured guidelines and test-driven checks needed for deployment readiness.