writing-skills

Design and validate skills using test-driven development with red-green-refactor checks.

3|Updated May 31, 2024
One-click install
npx skills add https://github.com/hugo-berendi/yomi --skill writing-skills-hugo-berendi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/hugo-berendi/yomi/tree/main/.opencode/skills/writing-skills
Command: npx skills add https://github.com/hugo-berendi/yomi --skill writing-skills-hugo-berendi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured, test-driven approach to creating and maintaining skills, ensuring they are robust before deployment.

Core Features & Use Cases

  • Red-Green-Refactor workflow for skill creation and validation.
  • Frontmatter-driven discovery: name and description define the skill's identity.
  • Designed for creating new skills, editing existing skills, and verifying readiness before deployment.
  • Encourages repeatable documentation practices to reduce drift and miscommunication.

Quick Start

Draft a new SKILL.md with frontmatter including name and description, then fill in the body sections describing when to use, core pattern, quick reference, and common mistakes. Run a quick validation by applying the described workflow to a sample scenario and compare agent behavior before and after applying the 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 reusable skills before deployment?

You validate reusable skills by applying a test-driven development approach with red-green-refactor checks, ensuring frontmatter compliance and verifying readiness before deployment across documentation-rich workflows.

What is test-driven development for skill creation?

Test-driven development for skill creation is a structured workflow using red-green-refactor cycles to design, edit, and verify skills, enforcing frontmatter compliance and clear usage guidelines to reduce documentation drift.

How do I structure a SKILL.md file for discovery?

You structure a SKILL.md file by defining frontmatter with name and description for identity, then adding body sections for when to use, core pattern, quick reference, and common mistakes to ensure proper discovery.

Can I use test-driven development to edit existing skills?

Yes, you can use the test-driven development workflow to edit existing skills by running validation checks, comparing agent behavior before and after changes, and enforcing frontmatter compliance throughout the editing process.

What's the best way to reduce documentation drift when writing skills?

The best way to reduce documentation drift when writing skills is to enforce repeatable documentation practices with frontmatter-driven discovery and structured body sections, ensuring clear usage guidelines and consistent validation.

Why does my skill validation fail frontmatter compliance checks?

Skill validation fails frontmatter compliance checks when the SKILL.md file is missing required name and description fields, which define the skill's identity and are necessary for proper discovery and deployment readiness.