skill-authoring

Enforce failing-test-first development for Claude Code skills with TDD cycles.

326|35|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/athola/claude-night-market --skill skill-authoring-athola
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-authoring
Source: https://github.com/athola/claude-night-market/tree/main/plugins/abstract/skills/skill-authoring
Command: npx skills add https://github.com/athola/claude-night-market --skill skill-authoring-athola

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires modular-skills.

What problem does it solve?

Guide to effective Claude Code skill authoring using TDD methodology and persuasion principles.

Core Features & Use Cases

  • Iron Law: failing tests before writing skill
  • Progressive disclosure and modular design
  • Validation and deployment readiness

Quick Start

Validate structure and tests before skill deployment.

Frequently Asked Questions about skill-authoring

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

FAQPage Schema
How do I write Claude Skills with test-driven development?

TDD for Claude Skills means writing failing tests first, then implementing the skill to pass them. This approach catches design flaws early, ensures your skill handles edge cases, and validates compliance with YAML frontmatter and SKILL.md structure requirements before deployment.

What's the best way to validate a Claude Skill before deployment?

Validate your skill by running automated tests against YAML frontmatter, SKILL.md structure, module and script references, and integration points with modular-skills and skills-eval. This catches structural issues and ensures deployment readiness.

How do I improve an underperforming Claude Skill?

Refine underperforming skills using TDD cycles: write tests that expose gaps in reasoning or handling, then incrementally improve the skill's logic. Progressive disclosure and anti-rationalization help identify hidden assumptions limiting performance.

Can I use TDD to create new Claude Skills from scratch?

Yes. Start with failing tests that define your skill's expected behavior, then build incrementally. This structured approach enforces high integrity and ensures your skill meets technical requirements for modular design and integration.

What dependencies do I need for Claude Skill authoring?

Skill authoring requires modular-skills as a dependency for proper module and script integration. The framework enforces validation against this dependency and skills-eval to ensure your skill integrates correctly in the larger ecosystem.

Why should I test Claude Skills before deployment?

Testing enforces the Iron Law: failing tests first prevent under-tested skills from reaching production. TDD cycles with validation catch structural violations, integration failures, and reasoning gaps that manual review alone misses.