writing-skills

Validate Skills documentation through a RED-GREEN-REFACTOR testing loop.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/harsh-pandhe/pod-transit --skill writing-skills-harsh-pandhe
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/harsh-pandhe/pod-transit/tree/main/.agents/skills/writing-skills
Command: npx skills add https://github.com/harsh-pandhe/pod-transit --skill writing-skills-harsh-pandhe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured, test-driven approach to creating and maintaining Skills documentation, reducing ambiguity and preventing regressions by baselining failure cases and documenting explicit countermeasures.

Core Features & Use Cases

  • RED-GREEN-REFACTOR workflow: baseline failure testing, minimal skill creation, and tightening loopholes.
  • Rationalization management: capture and address agent rationalizations with a formal table and red flags.
  • Deployment hygiene: ensures skill is tested before deployment and includes a mandatory stop-and-test checklist.
  • Cross-skill guidance: supports references to background materials like anthropic-best-practices.md and testing-skills-with-subagents.md to align with best practices.
  • Meta-testing patterns: includes meta-discussion about evaluation, feedback loops, and iteration.

Quick Start

Begin with RED-GREEN-REFACTOR: run a failing baseline, write a minimal GREEN skill, and complete a REFACTOR pass to 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 test Skills documentation before deployment?▼

Test skills documentation by running a RED-GREEN-REFACTOR loop to baseline failure cases, write minimal guidance, and close loopholes before deployment. This enforces a mandatory stop-and-test checklist to ensure bulletproof docs.

What is the RED-GREEN-REFACTOR workflow for skill writing?▼

The RED-GREEN-REFACTOR workflow for skill writing is a test-driven loop: run a failing baseline to capture failure modes, write a minimal GREEN skill to pass it, and complete a REFACTOR pass to tighten loopholes and ensure deployment readiness.

How do I manage agent rationalizations when creating Skills documentation?▼

Manage agent rationalizations by capturing them in a formal rationalization table and flagging them with red flags. This structured approach addresses agent excuses and prevents regressions by documenting explicit countermeasures.

What is the best way to prevent regressions in Skills documentation?▼

Prevent regressions in Skills documentation by baselining failure cases through test-driven writing. This approach reduces ambiguity and documents explicit countermeasures to ensure bulletproof guidance across the repository.

Does test-driven skill writing require specific background materials?▼

Test-driven skill writing supports references to best practice background materials like anthropic-best-practices.md and testing-skills-with-subagents.md to align documentation with established guidelines and meta-testing evaluation patterns.

When should I not use a test-driven approach for skill writing?▼

Avoid test-driven skill writing when you need rapid, informal prototyping without deployment hygiene. This approach enforces explicit rationalizations, red-flag tables, and mandatory stop-and-test checklists, which may overhead simple documentation tasks.