writing-skills

Document skill creation, editing, and verification with a test-driven workflow.

3|2|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Moonsong-Labs/knowledge-work-plugins --skill writing-skills-moonsong-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/Moonsong-Labs/knowledge-work-plugins/tree/main/plugin-management/skills/writing-skills
Command: npx skills add https://github.com/Moonsong-Labs/knowledge-work-plugins --skill writing-skills-moonsong-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing Skills provide a structured, test-driven approach to documenting and validating skills before deployment. It codifies the RED-GREEN-REFACTOR cycle for skills and ensures adherence to the shared standards for frontmatter, trigger contracts, and metadata parity.

Core Features & Use Cases

  • Enforces a disciplined workflow for writing and validating skills (TDD for documentation).
  • References the shared skill standards to ensure naming, frontmatter, triggers, and metadata parity.
  • Supports the Skill Creation Checklist: RED, GREEN, REFACTOR, REVIEW, and deployment.

Quick Start

Follow the RED-GREEN-REFACTOR workflow to draft and validate a new SKILL.md before deployment.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I apply test-driven development to skill documentation?

Test-driven development for skill documentation applies the RED-GREEN-REFACTOR cycle to draft, validate, and refine SKILL.md files before deployment. This enforces structured frontmatter and trigger contracts throughout the authoring process.

What is the red-green-refactor workflow for writing SKILL.md files?

The red-green-refactor workflow for SKILL.md files is a cycle that drafts skill triggers, validates metadata parity, and refines documentation. It ensures frontmatter-driven documents meet shared standards before review and deployment.

How do I validate frontmatter parity and trigger contracts for a SKILL.md?

Validating frontmatter parity and trigger contracts involves checking SKILL.md files against shared skill standards. The test-driven workflow enforces these metadata requirements during the GREEN phase before proceeding to refactoring.

Can I use test-driven documentation for editing existing plugin bundles?

Yes, test-driven documentation supports editing existing plugin bundles. Skill maintainers can run the verification workflow to revalidate frontmatter, triggers, and metadata parity across updated SKILL.md files.

What is the best way to document new skills before deployment?

The best way to document new skills before deployment is following the Skill Creation Checklist: RED, GREEN, REFACTOR, and REVIEW. This sequence ensures all frontmatter, triggers, and metadata pass validation checks prior to release.

Does the skill writing workflow integrate with the Skill Reviewer?

Yes, the skill writing workflow integrates with the Skill Reviewer. After completing the RED-GREEN-REFACTOR cycle and validation, the generated SKILL.md files transition into the Skill Reviewer workflow for final review.