بنقرة واحدة
skill-authoring
Use when creating, refining, or composing skills. Evidence-driven pattern analysis.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when creating, refining, or composing skills. Evidence-driven pattern analysis.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when reviewing architecture decisions. C4 model, dependency inversion, hexagonal boundaries.
Use during discuss-slice and plan-slice to stress-test a spec or plan against domain vocabulary before approval.
Use during research-slice to build disposable experiments that answer technical uncertainty.
Use during project:init to scaffold repo-level agent configuration (CLAUDE.md, AGENTS.md, tracker labels).
Use when debugging. 4-phase investigation, root cause, minimal fix.
Use when implementing features/fixes. Iron law: ¬∃ production code without failing test.
| name | skill-authoring |
| description | Use when creating, refining, or composing skills. Evidence-driven pattern analysis. |
∀ skill creation ∧ refinement tasks.
∀ draft: evidence table required. ¬speculate — ¬ evidence -> ¬ skill.
---
name: <kebab-case>
description: "Use when <trigger>"
---
Description = the only field the loader sees when picking skills. Treat as API.
Use when <triggers> — concrete keywords ∨ contexts ∨ file typesGood: Extract text and tables from PDFs, fill forms, merge documents. Use when working with PDF files or user mentions PDFs, forms, extraction.
Bad: Helps with documents.
skill-name/
├── SKILL.md # ≤100 lines, required
├── REFERENCE.md # detailed docs, optional
├── EXAMPLES.md # worked examples, optional
└── scripts/ # deterministic helpers, optional
Split when:
Linking: SKILL.md -> REFERENCE.md only (one level deep). ¬ chains.
Add scripts when:
Scripts > generated code: fewer tokens, fewer regressions.
Skill body uses formal notation: ∀ (all), ∃ (exists), ∈ (member), ∧ (and), ∨ (or), ¬ (not), -> (then). Target ~62% token reduction vs prose.
Default level: ultra for body. off for frontmatter ∧ description (loader parses literal).
frontmatter · description field · fenced code · inline code · URLs · file paths · CLI commands · headings (count + order) · tool names · numeric versions · quoted error strings · table structure · bullet nesting depth.
section ∈ { security warning, destructive op, irreversible action, ordered multi-step where fragment order risks misread } -> prose, resume notation next section.
Skill MAY declare body compression level via frontmatter compression: <off|lite|standard|ultra|symbolic>. Default ultra. symbolic reserved for skills the model alone reads (¬ user-facing checklists).
Skills can load other skills for layered behavior:
LOAD @skills/<name>/SKILL.md
Use Cases:
Example: Brainstorming skill loads code-review-protocol for spec document reviewer:
# In brainstorming/SKILL.md review section:
LOAD @skills/code-review-protocol/SKILL.md
# Apply fresh-reviewer rule to spec review
skills/ for format referencedrafts directory (e.g., drafts/<name>.md)drafts directorydrafts directoryRun skill validation before deployment.
∀ draft -> verify before promoting from drafts/:
Use when <trigger>, ¬ compressed[a-z0-9-]{1,64}, ¬ leading/trailing/consecutive hyphens[a-z0-9-], ¬ leading/trailing/consecutive hyphens