writing-skills

Develop and maintain AI agent skills with test-driven documentation.

1|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/quangphu1912/codebase-analyzer --skill writing-skills-quangphu1912
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/quangphu1912/codebase-analyzer/tree/main/vendor/superpowers/skills/writing-skills
Command: npx skills add https://github.com/quangphu1912/codebase-analyzer --skill writing-skills-quangphu1912

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of creating comprehensive, reliable, and maintainable documentation for AI agents through a TDD-like process for documentation.

Core Features & Use Cases

  • Test-Driven Documentation: Ensures that documentation is effective and relevant by using a testing-driven approach.
  • Skill Authoring Best Practices: Provides guidelines for writing concise, well-structured, and effective skills.
  • Progressive Disclosure: Organizes skill content to provide just the right amount of information at the right time.
  • Feedback Loops: Encourages continuous improvement of skills through testing and iterative refinement.
  • Use Case: Ideal for developing and maintaining a repository of AI agent skills where each skill is backed by thorough documentation and testing.

Quick Start

Run the skill to create a new documentation skill by following the TDD cycle: RED (write failing test), GREEN (write skill), REFACTOR (close loopholes).

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I apply TDD to AI agent skill authoring?

You apply TDD to skill authoring by following a RED-GREEN-REFACTOR cycle: write a failing test for the documentation, write the skill to pass it, then refactor to close loopholes. This ensures your AI agent skills are reliable and maintainable.

What is test-driven documentation for AI agents?

Test-driven documentation is a development process that uses testing to verify your skill docs are effective and relevant. By validating instructions against expected outcomes, you ensure AI agents interpret and execute the documented skills correctly.

How do I structure skill documentation for progressive disclosure?

You structure documentation for progressive disclosure by organizing skill content to provide just the right amount of information at the right time. This approach streamlines skill development by preventing information overload during AI agent execution.

Can I use this TDD documentation process for maintaining existing AI skills?

Yes, you can use this TDD documentation process for maintaining existing AI skills. It encourages continuous improvement through feedback loops, allowing you to iteratively refine and verify skill behavior during ongoing skill verification processes.

What's the best way to close loopholes in AI agent skill instructions?

The best way to close loopholes in AI agent skill instructions is through the REFACTOR phase of TDD documentation. After writing the skill to pass tests, you refactor the content to eliminate ambiguities and ensure strict reliability.