sp-writing-skills

Apply test-driven development principles to create and update process documentation.

1|Updated May 2, 2026
One-click install
npx skills add https://github.com/dushyantkhosla/agent-skills --skill sp-writing-skills-dushyantkhosla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sp-writing-skills
Source: https://github.com/dushyantkhosla/agent-skills/tree/main/skills/sp-writing-skills
Command: npx skills add https://github.com/dushyantkhosla/agent-skills --skill sp-writing-skills-dushyantkhosla

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of creating, updating, and validating documentation by applying test-driven development (TDD) principles to documentation writing.

Core Features & Use Cases

  • Test-Driven Documentation: Ensures documentation is thorough, accurate, and up-to-date by using pressure scenarios, baseline tests, and iterative improvements.
  • Skill Authoring Best Practices: Offers guidance on writing concise, effective skills that are easy for Claude to discover and use.
  • TDD for Documentation: Emphasizes the importance of starting with failing tests and incrementally improving documentation based on real-world usage.

Quick Start

Use the sp-writing-skills skill to create a new documentation entry for a new feature, starting by identifying a pressure scenario that would expose a potential gap in the current knowledge base.

Frequently Asked Questions about sp-writing-skills

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

FAQPage Schema
What is test-driven documentation and how does it work?

Test-driven documentation applies test-driven development principles to writing process documentation by starting with failing pressure scenarios and incrementally improving content based on real-world usage. This approach ensures documentation remains thorough, accurate, and validated against actual system behavior.

How do I write process documentation that stays accurate when systems change?

To maintain accurate process documentation during system changes, use test-driven writing practices that establish baseline tests and pressure scenarios. Iteratively update documentation entries based on real-world usage to expose and fill knowledge gaps, ensuring content reflects current system behavior.

What's the best way to start documenting a new feature using TDD principles?

Start documenting a new feature by identifying a pressure scenario that exposes a potential gap in the current knowledge base. Create a documentation entry that fails against this scenario, then incrementally improve the content until it passes, following test-driven development methodology for thorough coverage.

Do I need to understand test-driven development to use test-driven documentation?

Yes, test-driven documentation requires an understanding of TDD principles and the ability to write clear, actionable documentation. You need familiarity with concepts like failing tests, baseline tests, pressure scenarios, and iterative improvements to effectively apply these practices to process documentation.

How does test-driven documentation compare to traditional documentation approaches?

Test-driven documentation differs from traditional approaches by actively validating content against pressure scenarios rather than passively describing systems. It emphasizes starting with failing tests and making iterative improvements based on real-world usage, resulting in documentation that is more maintainable and consistently accurate.

When should I avoid using test-driven writing practices for documentation?

Test-driven writing practices are less suitable for static documentation that rarely needs updating or scenarios where documentation does not need to reflect regular system or process changes. The approach is designed for evolving systems requiring frequent validation and iterative content improvements.