writing-skills

Enforce test-driven documentation for creating and validating SKILL.md files.

2|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/robertpelloni/workspace --skill writing-skills-robertpelloni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/robertpelloni/workspace/tree/main/AI_COORDINATION/skills/superpowers-skills-main/skills/meta/writing-skills
Command: npx skills add https://github.com/robertpelloni/workspace --skill writing-skills-robertpelloni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill guides you through the process of creating high-quality, robust AI skills that are easy to understand, use, and maintain. It ensures consistency and adherence to best practices, maximizing the utility of your AI capabilities.

Core Features & Use Cases

  • Best Practice Guidance: Provide recommendations for skill structure, naming, and documentation.
  • Example Generation: Help create clear and concise usage examples.
  • Use Case: When developing a new skill for "data visualization," use this skill to ensure your SKILL.md is well-formatted, includes a clear problem statement, and provides actionable quick-start instructions.

Quick Start

Write a new skill for "automated report generation," following best practices for clarity and reusability.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I create a well-structured AI skill that follows best practices?

Creating a structured AI skill requires following a documented pattern: define a two-field YAML frontmatter with name and description, then build a SKILL.md with sections including Overview, When to Use, Core Pattern, Quick Reference, Implementation, Common Mistakes, and Real-World Impact. This enforces consistency and makes skills reusable and maintainable.

What is test-driven documentation and why does it matter for skill deployment?

Test-driven documentation is a RED-GREEN-REFACTOR workflow that validates skills before deployment by using pressure scenarios with subagents to surface failures. It ensures your skill meets compliance requirements and performs reliably under real conditions before going live.

How do I validate a skill before deploying it to production?

Validate skills by enforcing test-driven documentation: run pressure scenarios with subagents to uncover edge cases and failures, verify your SKILL.md complies with the required structure and frontmatter format, and confirm the skill handles common mistakes gracefully before deployment.

What documentation structure do AI skills need to be maintainable and reusable?

Maintainable AI skills require a consistent documentation structure: two-field YAML frontmatter, an Overview section explaining purpose, When to Use guidance, a Core Pattern describing the approach, Quick Reference for fast lookup, Implementation details, Common Mistakes to avoid, and Real-World Impact examples showing practical outcomes.

Can I use this approach when editing an existing skill's documentation?

Yes, this skill guides editing existing SKILL.md files by applying the same best-practice structure and test-driven validation. Restructure your documentation to match the required layout, validate against pressure scenarios, and ensure compliance with the two-field frontmatter before re-deploying.

Related Skills