ワンクリックで
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 職業分類に基づく
Supreme policy layer governing all Claude Code behavior. Autonomy, one-line prompt interpretation, speed standards, emphasis signal processing, cross-skill coordination, done definitions, conflict resolution. Loaded every prompt.
Establish project thesis before first code. Infer product type from domain/folder/README. Identify users, business model, pSEO strategy, AI-native dev approach. Maintain PROJECT_BRIEF.md as source of truth.
Deep web research, competitor scanning, technology evaluation, and implementation planning. Decomposes work into vertical slices, identifies parallel workstreams, tracks assumptions with confidence levels, and designs the critical path for minimum wall-clock time.
Captures and evolves user preferences with confidence levels. Maintains Voice of the Customer model with exact language, dissatisfaction and aspiration signals. Handles promotion/demotion, global vs project scoping, auto memory system, and Omi wearable data integration.
Cloudflare-first platform selection. Decision trees for Workers, D1, R2, KV, DO, Queues, Vectorize, Containers, Sandboxes, Flagship, Agent Memory, Workflows v2. Default stack, override conditions, auth, data patterns, reliability.
Implements features in vertical slices, always starting with homepage. Enforces anti-placeholder rules — no lorem ipsum, no TODO stubs, no gray boxes. Real content, real images, real interactions. TypeScript strict mode, Zod validation, and structured file organization.
| name | writing-skills |
| description | Use when creating new skills, editing existing skills, or verifying skills work before deployment |
Writing a skill IS TDD on process documentation: watch an agent fail the task WITHOUT the skill (RED), write the skill against those exact failures (GREEN), close the loopholes it then invents (REFACTOR). If you never watched it fail without the skill, you don't know the skill teaches the right thing.
Vendored from obra/Superpowers (MIT, Jesse Vincent), compressed to house style per [[vendored-skill-compression]].
REQUIRED BACKGROUND: superpowers:test-driven-development defines the RED-GREEN-REFACTOR cycle this adapts.
Ordered-by-weight bullets, the behavior-anchored description template, description-SDO (WHEN not WHAT), and "match the form to the failure" are the house authoring contract — see [[skill-authoring-contract]], don't restate them. Token-efficient prose style: [[instruction-compression-playbook]]. This file covers only what's specific to creating + testing a skill.
A reference guide for a proven technique, pattern, or tool — reusable, not a narrative of how you solved something once. Three shapes:
condition-based-waiting, root-cause-tracing).flatten-with-flags).NO SKILL — OR EDIT — SHIPS WITHOUT A FAILING TEST FIRST. Wrote it before testing? Delete it, start from baseline. No exception for "simple additions", "just a section", or "documentation updates". Don't keep untested changes "as reference". Delete means delete.
Two required frontmatter fields: name (letters/numbers/hyphens only) and description (≤1024 chars total; see agentskills.io/specification for the rest). Then a lean body:
## Overview # what + core principle, 1-2 sentences
## When to Use # symptoms / use cases; when NOT to; small flowchart only if the decision is non-obvious
## Core Pattern # before/after for techniques & patterns
## Quick Reference # table or bullets for scanning
## Implementation # inline code for simple cases; link a file for heavy reference
## Common Mistakes # what goes wrong + the fix
SKILL.md is a table of contents (progressive disclosure). Inline only what changes per task; split out when content is heavy:
Cross-reference other skills by name with an explicit marker (**REQUIRED:** superpowers:test-driven-development) — never @path, which force-loads the file and burns 200k+ context before you need it.
One excellent example beats five languages. Make it complete, runnable, from a real scenario, commented with WHY — not a fill-in-the-blank template. You're good at porting; one great example is enough.
Use a small inline flowchart ONLY for a non-obvious decision point, a process loop where you might stop too early, or an "A vs B" choice. Never for reference material (use tables/lists), code (use markdown blocks), or linear steps (use a numbered list). Style rules: graphviz-conventions.dot. Render for a human: ./render-graphs.js ../some-skill [--combine].
The full method — pressure scenarios, the RED-GREEN-REFACTOR loop for skills, rationalization tables, red-flags, micro-testing wording against a no-guidance control, and the per-skill deployment gate — lives in testing-skills.md. A worked campaign is in examples/CLAUDE_MD_TESTING.md. Persuasion levers that make a discipline skill bind: persuasion-principles.md.
The one-line discipline: discipline/judgment skills get pressure-tested under 3+ stacked pressures; pure reference skills get retrieval-tested instead.
[[skill-authoring-contract]] — the canonical authoring contract (structure, description template, form-to-failure)[[instruction-compression-playbook]] — token-efficient prose style[[micro-test-instruction-wording]] — prove guidance wording binds before shipping it| Excuse | Reality |
|---|---|
| "Skill is obviously clear" | Clear to you ≠ clear to other agents. Test it. |
| "Just a reference" | References have gaps. Test retrieval. |
| "Too tedious to test" | Less tedious than debugging a bad skill in production. |
| "I'll test if problems emerge" | Problems = agents can't use the skill. Test BEFORE deploying. |
Red Flags — STOP and test: "just a simple addition" · "I'm confident it's good" · "academic review is enough" · "no time to test."