writing-skills

Validate SKILL.md documentation with a test-driven workflow.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/shichengwuyu/PaiJiPlus --skill writing-skills-shichengwuyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/shichengwuyu/PaiJiPlus/tree/main/.trae/skills/writing-skills
Command: npx skills add https://github.com/shichengwuyu/PaiJiPlus --skill writing-skills-shichengwuyu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies a discipline for writing skills documentation using test-driven development, ensuring that skills are proven and maintainable rather than ad hoc narratives.

Core Features & Use Cases

  • Establishes a TDD-inspired workflow for creating, editing, and validating SKILL.md-based Skills.
  • Enforces YAML frontmatter with required fields (name, description) and a structured, trigger-focused description for discovery.
  • Supports progressive disclosure with inline references and optional tooling to validate format, safety, and quality control.

Quick Start

Describe the process for creating a new Skill using SKILL.md and executing the TDD workflow to validate it.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I write SKILL.md documentation using test-driven development?

To write SKILL.md documentation using test-driven development, you apply a disciplined workflow that validates triggering conditions, scope of use, and safety guidelines before finalizing the skill narrative.

What is test-driven skill writing for SKILL.md files?

Test-driven skill writing is a methodology that codifies documentation creation into a proven, maintainable format rather than ad hoc narratives, ensuring skills are validated against strict quality control standards.

What YAML frontmatter fields are required for skill discovery?

Required YAML frontmatter fields for skill discovery include name and description, alongside metadata fields like keywords, dependencies, components, and toxicity assessments to govern proper indexing.

How do I validate the quality and safety of a SKILL.md file?

You validate SKILL.md quality and safety by enforcing a structured description with defined sections and using optional tooling to check YAML frontmatter format, triggering conditions, and toxicity assessments.

Does test-driven documentation work for editing existing skills?

Yes, test-driven documentation supports creating, editing, and verifying SKILL.md-based skills by applying progressive disclosure and validating that frontmatter still governs discovery correctly after modifications.

When should I not use test-driven writing for skill documentation?

Avoid test-driven writing for skill documentation when your project requires ad hoc narratives without strict quality control, or when you cannot enforce the required YAML frontmatter and structured description sections.