One-click install
npx skills add https://github.com/WesleyMFrederick/cc-workflows --skill writing-skills-wesleymfrederick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/WesleyMFrederick/cc-workflows/tree/main/.claude/skills/writing-skills
Command: npx skills add https://github.com/WesleyMFrederick/cc-workflows --skill writing-skills-wesleymfrederick

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents AI skills from failing to effectively guide agent behavior by enforcing a Test-Driven Development (TDD) approach to skill creation, ensuring clarity and resistance to rationalization.

Core Features & Use Cases

  • TDD for Documentation: Applies Test-Driven Development (RED-GREEN-REFACTOR) to skill creation, ensuring effectiveness and compliance before deployment.
  • Scope Selection: Guides you in choosing the correct scope (user vs. project) for skill storage, preventing organizational and version control issues.
  • Claude Search Optimization (CSO): Provides best practices for naming, descriptions, and keywords to maximize skill discoverability by future AI instances.

Quick Start

Use the writing-skills skill to create a new skill for 'managing database migrations'.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I apply test-driven development to create AI skills?

Test-driven development for skills follows the RED-GREEN-REFACTOR workflow: first define failure scenarios with subagents to identify baseline gaps, then build skill documentation that passes those tests, ensuring compliance before deployment. This approach prevents skills from failing to guide agent behavior effectively.

What's the best way to structure skill documentation for AI agent compliance?

Structure skills by meeting frontmatter field constraints (name and description), following deterministic naming conventions, and applying scoped behavior requirements for reproducible agent compliance. Validate against pressure scenarios to ensure your skill guides behavior reliably across user and project scopes.

Should I store my skill in user or project scope?

Choose user scope (~/.claude/skills/) for personal skills you'll reuse across projects, and project scope (.claude/skills/) for skills tied to specific codebases or teams. Scope selection prevents organizational chaos and version control conflicts.

How do I make my skill discoverable to other AI instances?

Optimize skill discoverability through Claude Search Optimization: craft precise names and descriptions matching your skill's core task, select keywords that reflect the problem it solves, and follow best practices for naming conventions. This maximizes the chance future AI instances find your skill when they need it.

Can I use test-driven development for existing skills?

Yes. Apply TDD to validate or edit existing skills across both scopes by running pressure scenarios with subagents to elicit failures, then refactoring documentation to achieve green compliance. This ensures even legacy skills meet current compliance standards.

What happens if my skill fails compliance testing?

Compliance failures surface specific gaps in documentation clarity or behavior guidance. The RED-GREEN-REFACTOR cycle catches these issues before deployment: refactor your skill's structure, frontmatter, and naming to pass pressure scenarios, ensuring it reliably guides agent behavior in production.