원클릭으로
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Enforce staged execution discipline on large tasks: written stage plan, parallel sub-agent delegation, failable verification at each stage, and skeptical self-review before delivery. Use when tasks span multiple files, multiple sources, or multiple sessions. Also triggers on "do this thoroughly", "be systematic", "deep work mode", "be thorough".
Write production-quality code from specs — reads requirements, researches patterns, implements with tests, and iterates until verification passes. Use when implementing features, fixing bugs with known root causes, or building new modules.
Ship code to production through a controlled pipeline with verification gates and rollback plans. Use when deploying features, managing CI/CD, running database migrations, or performing post-incident hotfix recovery.
Investigate topics deeply with cross-referenced sources and produce evidence-backed findings. Use when evaluating technologies before adoption, analyzing competitors, or investigating bug root causes across docs and issues.
Read code changes with adversarial intent to find bugs, security holes, logic errors, and performance traps. Use when reviewing PRs, auditing refactoring for regressions, or running pre-deploy safety checks.
Detect and fix code style violations, enforce project conventions, and ensure consistent formatting across the codebase. Use when cleaning lint errors before PRs, migrating linters, or bulk-applying new rules.
| name | writing-skills |
| description | Use when creating new skills, editing existing skills, or verifying skills work before deployment |
| domain | content |
| tags | ["content-creation","digital-content","media","skills","writing"] |
| persona | name: "Ernest Hemingway" title: "Master of Concise Prose" expertise: ["economy of language", "iceberg theory", "dialogue precision", "emotional restraint"] philosophy: "All you have to do is write one true sentence. Write the truest sentence that you know." credentials: - "Nobel Prize in Literature (1954)" - "Pulitzer Prize for Fiction for The Old Man and the Sea" - "Author of The Sun Also Rises, A Farewell to Arms, For Whom the Bell Tolls" - "Pioneered minimalist prose style that revolutionized 20th century writing" principles: - "Use short sentences and short first paragraphs" - "Use vigorous English - be positive, not negative" - "Eliminate every word that serves no purpose" - "Show the tip of the iceberg - let depth remain beneath surface" - "Write drunk, edit sober - separate creation from refinement" - "Never use a long word where a short one will do" - "One true sentence - start with what you know is absolutely true" |
Writing skills IS Test-Driven Development applied to process documentation.
Trigger phrases:
"writing skills"
"Creating new skills"
"Editing existing skills"
"Verifying skills work before deployment"
Creating new skills
Editing existing skills
Verifying skills work before deployment
TDD Cycle: RED → GREEN → REFACTOR
A skill is a reference guide for proven techniques, patterns, or tools.
Skills are: Reusable techniques, patterns, tools Skills are NOT: Narratives about one-off solutions
| TDD | Skills |
|---|---|
| Test case | Pressure scenario |
| RED | Agent violates without skill |
| GREEN | Agent complies with skill |
| Refactor | Close loopholes |
Frontmatter:
name: letters, numbers, hyphens onlydescription: Start with "Use when..." (trigger, not workflow)---
name: skill-name
description: Use when [specific triggering conditions]
---
Required sections:
What goes wrong + fixes
Concrete results
## Claude Search Optimization (CSO)
**Critical for discovery:** Future Claude needs to FIND your skill
### 1. Rich Description Field
**Purpose:** Claude reads description to decide which skills to load for a given task. Make it answer: "Should I read this skill right now?"
**Format:** Start with "Use when..." - trigger only, NOT workflow
**CRITICAL:** Description = When to Use, NOT What It Does
```yaml
# ❌ BAD: Summarizes workflow
description: Use when executing plans - dispatches subagent with code review
# ✅ GOOD: Just triggering conditions
description: Use when executing implementation plans with independent tasks
Content:
Name by what you DO:
condition-based-waiting > async-test-helpersroot-cause-tracing > debugging-techniquesCross-reference skills explicitly:
REQUIRED: Use superpowers:test-driven-development
**Use flowcharts ONLY for:**
- Non-obvious decision points
- Process loops where you might stop too early
- "When to use A vs B" decisions
## Flowcharts & Examples
- Flowcharts: only for non-obvious decisions
- Examples: one excellent example, not multi-language
- Code: complete, runnable, from real scenario
## File Organization
- **Inline:** All content fits in SKILL.md
- **With tool:** SKILL.md + reusable code file
- **Heavy reference:** SKILL.md + separate reference files
## The Iron Law
NO SKILL WITHOUT A FAILING TEST FIRST
Write skill before testing? Delete it. Start over.
## Testing Skill Types
**Discipline skills (TDD, verification):**
- Test: pressure scenarios, rationalization counters
- Success: agent follows rule under pressure
**Technique skills (how-to):**
- Test: application scenarios, edge cases
- Success: agent applies technique correctly
**Pattern skills (mental models):**
- Test: recognition, application
- Success: agent identifies when to apply
**Reference skills (APIs):**
- Test: retrieval, application
- Gap testing: Are common use cases covered?
**Success criteria:** Agent finds and correctly applies reference information
## Common Rationalizations
| Excuse | Reality |
|--------|---------|
| "Obviously clear" | Clear to you ≠ clear to agents. Test it. |
| "Testing is overkill" | Untested skills have issues. Always. |
| "No time to test" | Untested wastes more time later. |
## Bulletproofing Skills
**Close every loophole explicitly:**
- State the rule AND forbid specific workarounds
- Add "Violating the letter = violating the spirit"
This cuts off entire class of "I'm following the spirit" rationalizations.
### Build Rationalization Table
Capture rationalizations from baseline testing:
| Excuse | Reality |
|--------|---------|
| "Too simple to test" | Simple code breaks |
| "I'll test after" | Tests passing proves nothing |
### Red Flags List
## RED-GREEN-REFACTOR for Skills
- Configure before, creating, deployment, editing, existing settings before first use
### RED: Baseline
Run scenario WITHOUT skill. Document:
- What choices did they make?
- What rationalizations?
- Which pressures triggered violations?
This is "watch the test fail" - you must see what agents naturally do before writing the skill.
### GREEN: Write Minimal Skill
Write skill addressing those rationalizations. Run with skill - agent should comply.
### REFACTOR: Close Loopholes
Agent found new rationalization? Add explicit counter. Re-test until bulletproof.
## Anti-Patterns
- ❌ Narrative: "In session X, we found..."
- ❌ Multi-language: 3 implementations = mediocre
- ❌ Code in flowcharts: Can't copy-paste
- ❌ Generic labels: helper1, step3
**Don't:**
- Create multiple skills without testing each
- Skip testing because "batching is more efficient"
## Skill Creation Checklist
**RED Phase:**
- Create pressure scenarios
- Run WITHOUT skill - document baseline
- Identify rationalization patterns
**GREEN Phase:**
- Name: letters, numbers, hyphens only
- Frontmatter: name + description
- Description: starts with "Use when...", third person
- Run WITH skill - verify compliance
**REFACTOR Phase:**
- Find new rationalizations
- Add explicit counters
- Re-test until bulletproof
## Red Flags
- Content quality is not reviewed before publication or distribution
- Agent does not adapt tone and style for the target audience
- Watch for shortcuts and skipped steps
## Verification
After completing this skill, confirm:
- [ ] Content quality passes review before publication or distribution
- [ ] Tone and style are appropriate for the target audience
- [ ] All required outputs generated
- [ ] Success criteria met
## Process
1. Analyze the task requirements
2. Apply domain expertise
3. Verify output quality