Skill creator

From curiositech/windags-skills · View interactive version

Skill creator is an AI agent skill from the GitHub repository curiositech/windags-skills. Use this skill when creating a new Claude skill from scratch, editing or improving an existing skill, or measuring skill performance with evals and benchmarks. Invoke whenever the user says things like ''make a skill for X'', ''turn this workflow into a skill'', ''test my skill'', ''improve my skill

How to use this skill

Skill file

Skill Creator

A skill for creating new skills and iteratively improving them through systematic testing and evaluation.

Decision Points

Navigate based on the user's entry point and current skill state:

Entry Assessment
├── "Make a skill for X" → Capture Intent → Draft SKILL.md
├── "Turn this workflow into a skill" → Extract from conversation → Confirm intent
├── "Test/improve my skill" → Locate skill → Run test cases
├── "Optimize description" → Load skill → Generate trigger evals
└── Proactive detection → Assess if workflow is repeatable → Suggest skill creation

Skill State Check
├── No skill exists → Full creation flow (intent → draft → test → iterate)
├── Draft exists, no tests → Create test cases → Run evaluations
├── Has tests, poor performance → Analyze failures → Improve skill → Retest
└── Working skill → Description optimization → Package

Test Case Strategy
├── Objectively verifiable outputs (code, data, files) → Create quantitative assertions
├── Subjective outputs (writing, design) → Skip assertions, focus on qualitative review
└── Mixed outputs → Assertions for verifiable parts, human review for subjective

Evaluation Scope
├── First iteration → 2-3 focused test cases
├── Subsequent iterations → Rerun same cases for comparison
└── Final validation → Expand to 5-10 diverse cases

Improvement Trigger
├── User feedback identifies specific issues → Target those areas
├── Quantitative benchmarks show regression → Analyze root cause
├── No clear feedback but low pass rates → Review transcripts for patterns
└── Consistent success across tests → Move to description optimization

Failure Modes

Vague Intent Capture (Symptom: Poor skill performance on diverse inputs)

Detection: If skill works on test cases but fails when users try different variations of the same task type.

Diagnosis: Intent interview was too narrow or focused only on specific examples rather than the general capability.

Fix: Restart intent capture with broader questions: "What are all the ways someone might ask for this?" and "What edge cases should we handle?"

Weak Test Coverage (Symptom: High pass rates but skill doesn't work in practice)

Detection: If assertions are passing but user feedback consistently identifies problems, or if skill works only on the exact test prompts.

Diagnosis: Test cases don't represent real usage patterns, or assertions are non-discriminating.

Fix: Apply discriminating assertion test - would a clearly wrong output also pass this assertion? Rewrite assertions to check specific content only a correct output would have.

Iteration Tunnel Vision (Symptom: Endless tweaking without improvement)

Detection: If 3+ iterations show no meaningful progress, or changes only address test cases without improving general capability.

Diagnosis: Over-optimization on specific examples rather than addressing root capability gaps.

Fix: Step back and analyze failure patterns across all test cases. Consider fundamental approach changes rather than incremental tweaks.

Missing Baseline Reality Check (Symptom: False confidence in skill value)

Detection: If you're only testing with the skill and never comparing to without-skill performance.

Diagnosis: No objective measure of whether the skill actually improves outcomes over baseline Claude.

Fix: Always run baseline comparisons (without-skill for new skills, old-version for improvements) to measure actual value added.

Premature Description Optimization (Symptom: Great triggering, poor execution)

Detection: If spending time on description optimization before the skill reliably works on test cases.

Diagnosis: Optimizing discoverability before ensuring quality.

Fix: Complete the test-improve cycle first. Only optimize descriptions once the skill consistently passes evaluations.

Worked Examples

Example 1: Creating a Documentation Skill from Scratch

Initial Request: "I keep having to explain our API structure to new developers. Can we make a skill for that?"

Intent Capture Decision Tree:

Draft Process:

Test Cases Design:

{
  "skill_name": "api-documenter", 
  "evals": [
    {
      "id": 1,
      "prompt": "Document our user authentication API endpoints",
      "files": ["evals/files/auth_spec.yaml"],
      "expectations": [
        "Output includes authentication section with bearer token example",
        "Each endpoint has request/response examples",
        "Parameter tables include required/optional indicators"
      ]
    }
  ]
}

First Iteration Results:

Improvement Applied:

Second Iteration: Pass rate improved from 60% to 95%, user satisfied with comprehensive coverage.

Example 2: Improving an Existing Code Review Skill

Entry Point: User says "My code review skill keeps missing security issues"

State Assessment: Skill exists, has test cases, but low performance on security-related assertions.

Failure Analysis:

Improvement Strategy:

Test Case Iteration:

Key Learning: The skill was solving the wrong problem - automating style checks instead of augmenting security analysis. Success required fundamental reframing, not incremental improvement.

Quality Gates

NOT-FOR Boundaries

What this skill should NOT handle:

When to delegate:

This skill focuses exclusively on the skill creation lifecycle: capturing requirements, drafting instructions, creating test cases, running evaluations, and iterating based on results.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.