writing-skills

Create and validate agent Skills documentation using test-driven development.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/stabilefrisur/panmetis --skill writing-skills-stabilefrisur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/stabilefrisur/panmetis/tree/main/src/panmetis/skills/writing-skills
Command: npx skills add https://github.com/stabilefrisur/panmetis --skill writing-skills-stabilefrisur

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides the creation of robust agent Skills by applying test-driven development to process documentation, ensuring tests accompany documentation and that gaps are closed through refactoring.

Core Features & Use Cases

  • Structured Skill authoring: guides frontmatter, documentation patterns, and discipline-driven workflows.
  • RED-GREEN-REFACTOR methodology: teaches baselining failures, implementing minimal Skill, and closing loopholes.
  • Rationalization tracking: captures agent rationalizations to harden skills against bypass attempts.

Quick Start

Draft the SKILL.md with YAML frontmatter and core body, then run a baseline testing campaign to validate failures before coding 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 use test-driven development for process documentation?

Test-driven development for process documentation involves writing baseline tests that fail, drafting the SKILL.md with YAML frontmatter, and implementing the minimal Skill to pass tests before refactoring to close loopholes.

What is rationalization tracking in skill writing?

Rationalization tracking in skill writing captures agent rationalizations during workflows to harden skills against bypass attempts, ensuring documentation explicitly addresses and closes loopholes discovered through these rationalizations.

How do I structure SKILL.md frontmatter for agent skills?

SKILL.md frontmatter requires YAML syntax enforcing the name and description fields, providing structured discovery metadata that guides the agent in understanding and deploying the skill correctly within workflows.

Does the red-green-refactor cycle apply to writing agent skills?

The red-green-refactor cycle applies to writing agent skills by first baselining documentation failures, implementing the minimal Skill to pass those tests, and then refactoring to close loopholes and harden the documentation.

What's the best way to validate agent skills documentation before deployment?

The best way to validate agent skills documentation is running a baseline testing campaign against the drafted SKILL.md to confirm expected failures, ensuring the documentation is tested and refined before final deployment.

Can I use this skill-writing approach for complex workflow documentation?

Yes, this skill-writing approach supports complex workflow documentation by applying discipline-driven workflows, flowcharts, and structured discovery to guide frontmatter, documentation patterns, and rationalization tracking across intricate processes.