sunnydata-skill-authoring
SkillCloud & infraUse when creating new skills, editing existing skills, or verifying skills work before deployment
Use sunnydata-skill-authoring in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add sunnydata-skill-authoring and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the sunnydata-skill-authoring
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by zenobia000/claude-godzilla-z in .claude/skills/sunnydata-skill-authoring/SKILL.md and read by Ahel’s review.
繁體中文說明:見 SUPERPOWERS-EXTRAS-USAGE-zh-TW.md(全系列
sp-*摘要)。
Writing Skills
Overview
Writing skills IS Test-Driven Development applied to process documentation.
Personal skills live in agent-specific directories (~/.claude/skills for Claude Code, ~/.agents/skills/ for Codex)
You write test cases (pressure scenarios with subagents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes).
Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.
REQUIRED BACKGROUND: You MUST understand superpowers:sunnydata-testing before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill adapts TDD to documentation.
Official guidance: For Anthropic's official skill authoring best practices, see anthropic-best-practices.md. This document provides additional patterns and guidelines that complement the TDD-focused approach in this skill.
What is a Skill?
A skill is a reference guide for proven techniques, patterns, or tools. Skills help future Claude instances find and apply effective approaches.
Skills are: Reusable techniques, patterns, tools, reference guides
Skills are NOT: Narratives about how you solved a problem once
Skill types: Technique (concrete method with steps, e.g. condition-based-waiting), Pattern (way of thinking, e.g. flatten-with-flags), Reference (API docs, syntax guides, tool documentation).
When to Create a Skill
Create when:
- Technique wasn't intuitively obvious to you
- You'd reference this again across projects
- Pattern applies broadly (not project-specific)
- Others would benefit
Don't create for:
- One-off solutions
- Standard practices well-documented elsewhere
- Project-specific conventions (put in CLAUDE.md)
- Mechanical constraints (if it's enforceable with regex/validation, automate it—save documentation for judgment calls)
TDD Mapping for Skills
| TDD Concept | Skill Creation |
|---|---|
| Test case | Pressure scenario with subagent |
| Production code | Skill document (SKILL.md) |
| Test fails (RED) | Agent violates rule without skill (baseline) |
| Test passes (GREEN) | Agent complies with skill present |
| Refactor | Close loopholes while maintaining compliance |
| Write test first | Run baseline scenario BEFORE writing skill |
| Watch it fail | Document exact rationalizations agent uses |
| Minimal code | Write skill addressing those specific violations |
| Watch it pass | Verify agent now complies |
| Refactor cycle | Find new rationalizations → plug → re-verify |
The Iron Law (Same as TDD)
NO SKILL WITHOUT A FAILING TEST FIRST
This applies to NEW skills AND EDITS to existing skills.
Write skill before testing? Delete it. Start over. Edit skill without testing? Same violation.
No exceptions:
- Not for "simple additions"
- Not for "just adding a section"
- Not for "documentation updates"
- Don't keep untested changes as "reference"
- Don't "adapt" while running tests
- Delete means delete
Workflow: RED-GREEN-REFACTOR
- RED — Write failing test (baseline). Run pressure scenarios with a subagent
WITHOUT the skill. Document exact behavior and verbatim rationalizations.
Read
references/testing-and-bulletproofing.mdbefore designing scenarios — each skill type (discipline, technique, pattern, reference) needs a different test approach. - GREEN — Write minimal skill. Address the specific baseline failures; skip
hypothetical cases. Read
references/skill-structure.mdwhen laying out frontmatter, directory structure, flowcharts, and code examples. Readreferences/writing-for-agents.mdwhen writing the description and prose — discovery (CSO), token efficiency, and steering language live there. Re-run the same scenarios WITH the skill; the agent should now comply. - REFACTOR — Close loopholes. Agent found a new rationalization? Add an
explicit counter, build the rationalization table, create a red-flags list.
Re-test until bulletproof. Read
references/testing-and-bulletproofing.mdfor loophole-closing patterns and the full deployment checklist.
Testing methodology: See @testing-skills-with-subagents.md for pressure scenario design, pressure types, and meta-testing techniques.
Writing Principles
- Lead with words, not lectures. Steer behavior with compact concepts the model already knows — "seam", "tracer bullet", "red", "tight feedback loop" — and repeat them as tokens, not sentences: "keep the loop tight" beats re-explaining "fast, deterministic, low-overhead" every time.
- Prompt the positive. State what TO do; a "don't" plants the very image you want avoided. Reserve "never / do not" for hard gates like the Iron Law.
- One excellent example beats many mediocre ones. Complete, runnable, commented for WHY, from a real scenario. You're good at porting.
- Description = when to use, NOT what the skill does. A workflow summary in the description becomes a shortcut that replaces reading the skill body.
Details and worked examples: references/writing-for-agents.md.
STOP: Before Moving to Next Skill
After writing ANY skill, you MUST STOP and complete the deployment process.
Test each skill before starting the next — verify the current one, then move on;
"batching is more efficient" is how untested skills ship. The deployment
checklist in references/testing-and-bulletproofing.md is MANDATORY for EACH
skill. Deploying untested skills = deploying untested code.
The Bottom Line
Creating skills IS TDD for process documentation.
Same Iron Law: No skill without failing test first. Same cycle: RED (baseline) → GREEN (write skill) → REFACTOR (close loopholes). Same benefits: Better quality, fewer surprises, bulletproof results.
If you follow TDD for code, follow it for skills. It's the same discipline applied to documentation.
Signals
- GitHub stars
- 20
- Forks
- 2
- Last commit
- Aug 2026
Ahel review
K1binfo
installs-packages (in render-graphs.js)K1binfo
installs-packages (in anthropic-best-practices.md)
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Item type
- skill
- Key
sunnydata-skill-authoring- Source
- github.com/zenobia000/claude-godzilla-z
github.com/zenobia000/claude-godzilla-z
More in Cloud & infra
Skill · vercel-labs
More in Cloud & infraweb-design-guidelines
Skill · vercel-labs
More in Cloud & infraturborepo
Skill · vercel
More in Cloud & inframicrosoft-foundry
Skill · microsoft
More in Cloud & infraazure-diagnostics
Skill · microsoft
More in Cloud & infrauncloud
Skill · affaan-m
More in Cloud & infra