writing-skills

Create and verify documentation-based skills using Test-Driven Development principles.

7|1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/eyadsibai/ltk --skill writing-skills-eyadsibai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/eyadsibai/ltk/tree/main/plugins/ltk-core/skills/writing-skills
Command: npx skills add https://github.com/eyadsibai/ltk --skill writing-skills-eyadsibai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating and refining documentation-based skills by applying Test-Driven Development (TDD) principles, ensuring that skills are robust, accurate, and directly address their intended use cases.

Core Features & Use Cases

  • TDD for Documentation: Adapts the RED-GREEN-REFACTOR cycle to skill development.
  • Agent Failure Analysis: Guides the creation of pressure scenarios to expose skill deficiencies.
  • Use Case: When developing a new skill for code refactoring, use this skill to first write tests that demonstrate an agent's failure to refactor correctly without the skill, then write the skill to pass those tests, and finally refactor to cover edge cases.

Quick Start

Use the writing skills skill to create a new skill for handling asynchronous task failures.

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 principles to skill development for documentation?

Skill development uses a RED-GREEN-REFACTOR cycle to build documentation-based skills. You write pressure scenarios exposing agent failures first, then create skill documentation to pass those tests, and finally refactor to cover edge cases.

What is the best way to test if an agent correctly follows process documentation?

Agent testing validates process documentation by running subagent-driven pressure scenarios. These scenarios expose skill deficiencies by forcing the agent into complex situations where missing or unclear documentation causes failures.

How do I create pressure scenarios to expose deficiencies in existing skills?

Pressure scenarios are created by defining subagent tasks that stress specific skill compliance requirements. You design these tests to deliberately trigger agent failures, revealing where the current documentation lacks sufficient guidance for edge cases.

Can I use this TDD approach to refine refactoring skills for edge cases?

Yes, the TDD approach applies to both new and existing skills. After writing tests that demonstrate an agent's initial refactoring failure, you iterate on the documentation until tests pass, then refactor to handle additional edge cases effectively.

Do I need any specific testing frameworks to verify skill compliance?

No specific testing frameworks are required as dependencies. Skill compliance is verified through subagent-driven pressure scenarios that evaluate whether the agent successfully follows the documentation to complete the assigned task.

Why does my agent fail to follow documentation correctly without test-driven skill development?

Agents fail when documentation lacks sufficient detail for complex scenarios. Test-driven skill development solves this by first capturing the failure as a test, then refining the documentation until the agent successfully passes the pressure scenario.