skill-authoring
Skill1 starsChanged 2 months agoMITView on GitHub
Creates and optimizes Claude Code skills following Anthropic's official best practices with emphasis on agent parallelization and script-first determinism. Use when: (1) creating a new skill from scratch, (2) optimizing an existing skill that exceeds 500 lines or has poor discoverability, (3) extracting inline code into scripts/ or reference material into references/, (4) designing orchestrator + sub-agent architectures for complex skills, (5) restructuring a skill directory into SKILL.md + scripts/ + references/ layout, (6) auditing skill cross-references for stale links. Covers: agent-first orchestration, parallel sub-agent design, script-first determinism, frontmatter rules, progressive disclosure, directory layout, description writing, and quality checklist.
- Commits and pushes
58 other projects use a version of this.
Adopted by
Most recently taken up by
- paulnsorensen/easy-cheesetheir own version, first seen Oct 3, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- microsoft/GitHub-Copilot-for-Azuretheir own version, first seen Oct 1, 2026
- theopenco/llmgatewaytheir own version, first seen Oct 1, 2026
- fusebase-dev/fusebase-flowtheir own version, first seen Oct 1, 2026
- kynn-dev/agent-skillstheir own version, first seen Sep 30, 2026
Used with
Projects with it also use observability, incident-response and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 7 projects that use this
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 5 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 3 projects that use this
jacobraskSkillknowledge-base
Manage your personal knowledge base of curated resources, bookmarks, and excerpts. Triggers include "knowledge base", "kb", "add to knowledge", "add tabs to", "what do I have on", "what do we know about", "find resources about". Use with safari-tabs skill for bulk ingestion from Safari windows. Location is ~/knowledge/.
Also in 3 projects that use this
UnitOneAISkillthreat-modeling
Runs a structured STRIDE threat model on any system design, API specification, or codebase. Auto-invoked when the user discusses architecture, shares a system diagram or design document, or asks "what could go wrong?" Produces threat actor profiles, component-threat matrix, a threat register with STRIDE classification, data-flow diagram template, trust boundary identification, and prioritized mitigations mapped to MITRE ATT&CK techniques.
Also in 3 projects that use this
ElasticSkillaccessibility
Accessibility guidance for Kibana. Use this skill when working with or reviewing EUI components, resolving a11y-related (@elastic/eui) ESLint issues, and ensuring proper use of ARIA attributes, focus management, keyboard interactions, and accessible naming conventions.
Also in 5 projects that use this
Other versions58 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 58
- nyldn/claude-octopus★ 4.2ksame name
- theopenco/llmgateway★ 1.7ksame name
- TencentCloudBase/CloudBase-AI-Toolkit★ 1.1ksame name
- spytensor/openmozi★ 423same name
- grafana/skills★ 276same name
- microsoft/GitHub-Copilot-for-Azure★ 253same name
- DAAF-Contribution-Community/daaf★ 236same name
- scitix/siclaw★ 235same name
- Azure/azure-sdk-tools★ 134same name
- notivn/AIEV★ 126same name
48 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- changelog-keeperSkill
- claudeceptionSkill
- context-shieldSkill
- conversation-searchSkill
- deep-reviewSkill
- figma-ui-designerSkill
- spec-creatorSkill
- spec-implementSkill
- spec-reviewSkill
- worktreeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. 0 are common, 13 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 52 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Keep SKILL.md body under 500 lines.
- Distinctive: line 52
Write in third person ("Processes files..." not "I help you..." or "You can...")
- Very specific: line 54
Add numbered trigger conditions: Use when: (1) ..., (2) ..., (3) ...
- Distinctive: line 97
Default: extract a script: Only skip if the skill is purely decision guidance with no deterministic steps.
- Very specific: line 108
Always support --help / -h with usage examples
- Distinctive: line 110
Use meaningful exit codes (0 = success, 1 = error, 2 = usage)
- Very specific: line 113
Use #!/usr/bin/env bash shebang (portable)
- Very specific: line 126
Keep SKILL.md focused on when/why/context, not how (the script handles that)
- Distinctive: line 141
Default: decompose into agents: Only skip if the skill is a single-step check or pure decision guidance.
- Distinctive: line 171
Only sequence agents when one depends on another's output.
- Distinctive: line 198
Don't rely on the agent inferring context from the conversation.
- Distinctive: line 267
Agent registration: If the skill uses an orchestrator, include a Sub-Agent Registry table in the orchestrator's agent file listing all …
- Very specific: line 288
Every skill with tracking should include scripts/task-manifest.sh — a bash case statement that emits a JSON array of tasks per workflow.
- Distinctive: line 312
Decide: create new vs update existing (see decision table below)
- Distinctive: line 327
Ask: "Can this task be split into independent subtasks that run in parallel?"
- Distinctive: line 338
Ask: "Can the skill's core action be expressed as a deterministic check or procedure?"
- Distinctive: line 352
Ask: "Does this skill have 3+ sequential phases or take >2 minutes?"
- Very specific: line 368
Run each script with human-readable output (no --json), scan for zero counts, unexpected items, misclassified entries, empty sections
- Very specific: line 370
Run with --json — verify field values match human-readable output
- Distinctive: line 371
Test with 2-3 varied inputs (different formats, different project areas)
- Distinctive: line 459
When a skill exceeds 500 lines, has poor structure, or runs slowly:
“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Authoring
Core Principles
- Decompose into agents — break complex skills into an orchestrator + specialized sub-agents. Each sub-agent has a single focused responsibility. The orchestrator delegates, coordinates, and reports — it never does the work itself.
- Parallelize aggressively — launch independent sub-agents in a SINGLE Task tool message. If 3 catalogs need processing, launch 3 agents simultaneously, not sequentially. Time savings compound: 3 parallel agents = ~1x latency, not 3x.
- Script-first for determinism — if the skill's value can be captured in a deterministic script, write the script FIRST, then wrap SKILL.md around it. Scripts are testable, runnable outside Claude, and keep SKILL.md lean. Agents handle judgement; scripts handle procedure.
- Concise is key — the context window is a shared resource. Only add what Claude doesn't already know. Challenge each paragraph: "Does this justify its token cost?"
- Progressive disclosure — SKILL.md is the overview; reference files load on-demand. Keep SKILL.md body under 500 lines.
- Match freedom to fragility — text instructions for flexible tasks, exact scripts for fragile operations, specialized agents for judgement-heavy tasks.
- Default assumption — Claude is already very smart. Skip explanations of basic concepts, library purposes, or general programming knowledge.
- Track progress for long workflows — skills with 3+ sequential phases must include a task manifest script. Use TaskCreate/TaskUpdate to give real-time progress visibility. Users should never wonder "what phase is it on?" during a 5-minute workflow.
Frontmatter Rules
Supported fields: name, description, metadata, compatibility, license.
---
name: kebab-case-name # ≤64 chars, lowercase + hyphens only
description: "Third-person description. Use when: (1) ..., (2) ..." # ≤1024 chars, single-line quoted
metadata:
version: 1.0.0 # semver: patch=typos, minor=new content, major=breaking
---Do NOT include: author, date, tags, allowed-tools, category, or
top-level version (use metadata.version instead). Use double-quoted single-line
strings for description — block scalars (description: |) cause VS Code linter errors.
Description rules:
- Write in third person ("Processes files..." not "I help you..." or "You can...")
- Include both what it does AND when to use it
- Add numbered trigger conditions:
Use when: (1) ..., (2) ..., (3) ... - Include specific symptoms, error messages, framework names
- Claude uses this to choose from 100+ skills — be specific enough to win selection
Directory Layout
your-skill/
├── SKILL.md # Required — decision workflow, when-to-use, key rules
├── scripts/ # Optional — executable automation
│ ├── extract.sh # Pre-processing: deterministic data extraction
│ └── apply-fixes.sh # Post-processing: apply agent results
└── references/ # Optional — lookup material loaded on-demand
├── field-tables.md # Tables, matrices, lookup data
└── examples.md # Code examples, past case studies
# Agent definitions live alongside other agents (not inside the skill):
.claude/agents/
├── your-orchestrator.md # Pure orchestrator — delegates everything
├── your-sub-agent-a.md # Focused specialist (NOT user-invocable)
└── your-sub-agent-b.md # Focused specialist (NOT user-invocable)What Goes Where
| Content Type | Location | Why |
| Decision workflow | SKILL.md | Always loaded — guides what to do |
| Trigger conditions | SKILL.md | Must be visible for skill activation |
| Quick-reference commands | SKILL.md | Frequently needed during use |
| Agent orchestration pattern | SKILL.md | Defines how agents coordinate |
| Agent definitions | .claude/agents/ | Reusable across skills, standard location |
| Lookup tables, field refs | references/ | Consulted occasionally, not always |
| Code examples, case studies | references/ | Large blocks that dilute SKILL.md |
| Executable procedures | scripts/ | Predictable, testable, reusable |
Reference Rules
- One level deep from SKILL.md — no references linking to other references
- Descriptive filenames —
api-field-reference.mdnotref1.md - Files > 100 lines should have a table of contents at the top
Script Extraction
Default: extract a script. Only skip if the skill is purely decision guidance with no deterministic steps.
Extract into scripts/ when ANY apply:
- The skill checks, validates, or detects something (staleness, sync, coverage)
- The code handles error conditions (missing deps, wrong directory, invalid args)
- The same code block appears in multiple skills
- The script composes with other scripts or CI/hooks
- Users may run it standalone outside the skill context
Script requirements:
- Always support
--help/-hwith usage examples - Validate inputs before operating (check files exist, directories writable)
- Use meaningful exit codes (0 = success, 1 = error, 2 = usage)
- Include a
--fixmode where applicable (detect + auto-remediate) - Make executable:
chmod +x scripts/*.sh - Use
#!/usr/bin/env bashshebang (portable) - Choose
setflags by script purpose (see Pitfall below)
Pitfall: set -e interacts badly with bash arithmetic and pipes.
Common triggers: (1) find | sort | head -N — head closes the pipe causing SIGPIPE
(exit 141) with pipefail, (2) grep -c returns exit 1 when count is 0,
(3) echo "$var" | while read in subshells, (4) ((var++)) when var=0 — ((0))
evaluates to false, causing set -e to terminate the script. Fix: use
VAR=$((VAR + 1)) instead of ((VAR++)). Use set -euo pipefail for validation
scripts; use set -eu (without pipefail) for context-gathering scripts.
After writing the script, slim SKILL.md:
- Replace procedural prose with a Quick Check section pointing to the script
- Keep SKILL.md focused on when/why/context, not how (the script handles that)
- Move lookup tables (field mappings, inventories) into the script or references/
Reference from SKILL.md:
## Quick Check
```bash
./scripts/validate.sh /tmp/data.json # Report only
./scripts/validate.sh /tmp/data.json --fix # Auto-remediate
./scripts/validate.sh --help # Usage
```Agent & Orchestration Design
Default: decompose into agents. Only skip if the skill is a single-step check or pure decision guidance. Every skill with 2+ independent subtasks should use parallel agents.
When to Use Agents
| Signal | Agent Approach | Teams? |
| Task has 2+ independent subtasks | Parallel sub-agents for each | No |
| Task requires web search, content reading, or AI judgement | Dedicated agent per domain | No |
| Task processes N items of the same type | Fan-out: one agent per item (or per batch) | No |
| Task has sequential phases with parallel work within | Orchestrator coordinates phase gates | Maybe |
| Task is a single deterministic check | No agent — use a script instead | No |
| Multi-phase workflow with inter-agent feedback | Named teammates via TeamCreate | Yes |
Orchestrator Pattern
The pure orchestrator pattern is the gold standard for complex skills:
Orchestrator (coordinates, decides, reports)
├── Sub-agent A (focused task 1) ─── launched in parallel ──┐
├── Sub-agent B (focused task 2) ─── launched in parallel ──┤ SINGLE message
├── Sub-agent C (focused task 3) ─── launched in parallel ──┘
└── Script (deterministic pre/post-processing)Orchestrator rules:
- Pure delegation — the orchestrator NEVER does the work itself. It launches agents, collects results, makes phase-gate decisions, and generates the final report.
- Parallel by default — launch all independent agents in a SINGLE Task tool message. Only sequence agents when one depends on another's output.
- Progress reporting — output status updates between tool calls so the user is never left wondering what's happening.
MCP Tool Constraint (CRITICAL for skills using MCP servers)
Agent Teams teammates and sub-agents CANNOT call MCP tools. MCP server connections and tool permissions are session-scoped — they don't propagate to tmux panes or child agent sessions. When a teammate calls an MCP tool, it shows "Permission request sent to team leader" and deadlocks — the lead has no mechanism to approve.
"Lead Reads, Agents Analyze" pattern:
- The orchestrator/lead reads ALL MCP content in Phase 1 (it has the permissions)
- File contents are passed as TEXT in agent prompts — agents analyze text, not MCP resources
- Agents must NOT call any
mcp__*orReadMcpResourceTooltools
This applies to ALL MCP servers (Figma, Sentry, Railway, etc.) and both Agent Teams
teammates and non-team sub-agents (Agent tool calls). Always design skills that use
MCP data with this constraint in mind.
Sub-Agent Design
Each sub-agent should be maximally specialized:
- Single responsibility — one agent per focused task (e.g., "validate curated catalog URLs" not "validate all URLs across all catalogs")
- Self-contained prompt — include all context the agent needs in its Task prompt. Don't rely on the agent inferring context from the conversation.
- Structured output — define the exact JSON/report format the agent should return. The orchestrator parses this to make decisions.
- Appropriate model — use
haikufor fast/simple tasks (data extraction, formatting),sonnetfor moderate judgement (code review, validation),opusonly when deep reasoning is essential.
Parallelization Patterns
Fan-out by item — one agent per catalog, per PR, per test folder:
# 3 catalogs → 3 parallel agents (SINGLE message)
Task(agent=general-purpose, prompt="Validate curated catalog URLs...")
Task(agent=general-purpose, prompt="Validate google-places catalog URLs...")
Task(agent=general-purpose, prompt="Validate experiences catalog URLs...")Fan-out by concern — one agent per review dimension:
# 3 review concerns → 3 parallel agents (SINGLE message)
Task(agent=code-reviewer, prompt="Review for bugs/correctness...")
Task(agent=code-reviewer, prompt="Review for simplicity/DRY...")
Task(agent=code-reviewer, prompt="Review for project conventions...")Phased parallelism — sequential phases, parallel within each:
Phase 1: Script extracts data (deterministic)
Phase 2: 3 parallel agents process data (judgement)
Phase 3: Script applies fixes (deterministic)
Phase 4: 1 agent validates results (judgement)Agent + Script Composition
The most powerful pattern combines both:
- Scripts handle deterministic pre-processing (extraction, transformation, validation)
- Agents handle judgement-heavy work (content verification, research, code review)
- Scripts handle deterministic post-processing (applying fixes, generating reports)
Example flow: extract-urls.sh → 3 parallel verification agents → apply-fixes.sh
Agent Teams Orchestration
See references/agent-teams.md: teams vs sub-agents, the team pattern, conditional team usage, and the teams variant of the complex template.
Defining Agent Files
For skills that spawn agents, create .claude/agents/<agent-name>.md:
---
name: agent-name
description: "Single-purpose description. NOT user-invocable — spawned by <orchestrator>."
model: sonnet # or haiku for simple tasks
---
You are a **<Role Name>**. Your mission is to <focused task>.
## Input (provided by orchestrator)
[What the orchestrator passes in the Task prompt]
## Output Format
[Exact JSON/report structure to return]
## Workflow
[Step-by-step procedure]Agent registration: If the skill uses an orchestrator, include a Sub-Agent Registry table in the orchestrator's agent file listing all sub-agents, their concurrency model (parallel/sequential), purpose, and model tier.
Progress Tracking for Long-Running Workflows
Skills with 3+ sequential phases or workflows lasting >2 minutes should include a task manifest — a script that defines the exact TaskCreate checklist for each workflow the skill supports.
When to Add Task Tracking
| Signal | Required? |
| 3+ sequential phases | Yes — users need visibility |
| Multiple workflows/subcommands | Yes — each workflow gets its own manifest |
| Single-phase script | No — overkill |
| Pure decision guidance (no execution) | No — nothing to track |
Task Manifest Script Pattern
Every skill with tracking should include scripts/task-manifest.sh — a bash case
statement that emits a JSON array of tasks per workflow. Each task has subject,
activeForm, and description fields matching TaskCreate parameters.
See references/task-tracking-pattern.md for the full script template with examples.
Key rules:
- Each workflow is a
casebranch emitting a JSON array --listreturns machine-readable workflow names;--helpshows usage- SKILL.md includes a "Progress Tracking (MANDATORY)" section with the task table
- Mark tasks
in_progressbefore starting,completedafter,deletedon abort
Generating a Task Manifest for a New Skill
~/.claude/skills/skill-authoring/scripts/generate-task-manifest.sh \
--skill-dir /path/to/my-skill \
--workflows "full-audit:5,quick-check:2"Creating a New Skill — Workflow
- Check existing skills — search project + user-level directories
- Decide: create new vs update existing (see decision table below)
- Evaluate decomposition — can this be split into parallel agents? (see below)
- Evaluate script-first — can deterministic parts be captured in scripts? (see below)
- Evaluate progress tracking — does the skill have 3+ phases? (see below)
- Write agents (if applicable) — orchestrator + sub-agent definitions
- Write scripts (if applicable) — with
--help, error handling, exit codes - Write task manifest (if applicable) —
scripts/task-manifest.shfor each workflow - Write SKILL.md — frontmatter + body; reference agents, scripts, and task manifest
- Extract references/ — if lookup material exceeds ~30 lines
- Validate — run the quality checklist
- Dry-run test — run scripts against real project data (see below)
- Version — start at
1.0.0
Decomposition Evaluation (Step 3)
Ask: "Can this task be split into independent subtasks that run in parallel?"
| Answer | Approach | Example |
| Yes — N independent items | Fan-out: one agent per item, orchestrator collects | catalog-url-validator: 3 parallel agents, one per catalog |
| Yes — N independent concerns | Fan-out by concern: one agent per dimension | pr-review-toolkit: parallel reviewers for code, tests, errors, types |
| Partially — phases with parallel steps | Phased: script → parallel agents → script | catalog-maintainer: backup → fetch → enrich → validate → embed |
| No — single sequential task | No orchestrator needed; single agent or script | catalog-embedding-sync: one script checks all |
Script-First Evaluation (Step 4)
Ask: "Can the skill's core action be expressed as a deterministic check or procedure?"
| Answer | Approach | Example |
| Yes — fully deterministic | Write script first, SKILL.md is thin wrapper | catalog-embedding-sync: script checks timestamps + counts |
| Mostly — with some judgement | Script handles the deterministic parts, agents handle judgement | catalog-url-validator: script extracts URLs, agents verify content |
| No — primarily decision guidance | Prose-first SKILL.md, no script needed | catalog-field-lifecycle: decision tree for field preservation |
Why script-first wins: A 140-line script replaces ~60 lines of prose in SKILL.md while being testable, runnable standalone, and composable with CI/hooks. The SKILL.md drops from "explain everything" to "explain when/why + point to script".
Progress Tracking Evaluation (Step 5)
Ask: "Does this skill have 3+ sequential phases or take >2 minutes?"
| Answer | Approach | Example |
| Yes — 3+ phases | Add scripts/task-manifest.sh with one entry per phase | review-dependabot-prs: 8 tasks across triage→apply→test→deploy |
| Yes — multiple workflows | Add one case branch per workflow | triage-issues (github-board plugin): full-audit (5 tasks) + quick-check (2 tasks) |
| No — 1-2 fast phases | Skip task manifest — no tracking needed | catalog-embedding-sync: single script, <30 seconds |
Dry-Run Testing (Step 12)
Every skill with scripts MUST be dry-run tested against real project data before release.
Scripts that look correct often fail due to: regex format mismatches, grep pipe chains
where head causes SIGPIPE, find including coverage/build artifacts, and classification
heuristics that misfire on edge cases.
Procedure:
- Run each script with human-readable output (no
--json), scan for zero counts, unexpected items, misclassified entries, empty sections - Run with
--json— verify field values match human-readable output - Test with 2-3 varied inputs (different formats, different project areas)
- Fix and re-test — bugs cluster (one broken heuristic often means others are too)
Common catches: grep -rlq ... | head -1 always exits 0 on empty -q output;
find without -not -path "*/coverage/*" includes test artifacts; regex assumes one
heading format but project uses another (e.g., ### Sub-Task vs ### AC1:).
Create vs Update Decision
| Found | Action |
| Nothing related | Create new |
| Same trigger + same fix | Update existing (minor version bump) |
| Same trigger, different root cause | Create new, add See Also links both ways |
| Same domain, different trigger | Update existing with new variant subsection |
| Stale or wrong | Deprecate in Notes, create replacement |
Skill Template
See references/skill-templates.md for the simple (script-only) and complex (orchestrator + parallel agents + scripts + task tracking) templates.
Quality Checklist
Decomposition & agents:
- Decomposition evaluated: can this be split into parallel sub-agents?
- If yes: orchestrator defined as pure delegator (never does the work itself)
- Independent agents launched in SINGLE Task tool message (not sequentially)
- Each sub-agent has single focused responsibility
- Sub-agents use appropriate model tier (haiku/sonnet/opus)
- Agent definitions include structured output format
Scripts & determinism:
- Script-first evaluated: can deterministic parts be captured in scripts?
- If yes: script written first, SKILL.md references it (not duplicates it)
- Scripts have
--helpand--fix/--dry-runsupport and are executable - Scripts dry-run tested against real project data (2-3 varied inputs)
Progress tracking:
- Progress tracking evaluated: does the skill have 3+ sequential phases?
- If yes:
scripts/task-manifest.shcreated with onecaseper workflow - Each workflow defines tasks with
subject,activeForm,description - SKILL.md includes "Progress Tracking (MANDATORY)" section with task table
- Task update rules documented (in_progress → completed, abort → deleted)
Teams (optional):
- Team mode evaluated: does this skill have multi-phase feedback loops?
- If yes: team pattern documented alongside sub-agent pattern
- Conditional check for
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMSdocumented - TeamDelete cleanup documented in workflow
Structure & content:
- SKILL.md body ≤ 500 lines
- Description ≤ 1024 chars, third person, with trigger conditions, double-quoted single-line
- Frontmatter has only
name,description,metadata - References are one level deep from SKILL.md
- All cross-reference links resolve to existing files
Anti-Patterns
- Sequential when parallel is possible — if agents don't depend on each other's output, launch them in a SINGLE message. Sequential = N x latency for no reason.
- Monolithic agent — one agent doing 5 things. Split into 5 focused agents.
- Orchestrator doing work — the orchestrator should delegate, not fetch/validate/enrich.
- Missing structured output — agents returning prose instead of parseable JSON/reports forces the orchestrator to guess at results.
- Verbose explanations — Claude knows what PDFs are. Skip the intro paragraph.
- Too many options — provide a default with escape hatch, not 5 alternatives.
- Deeply nested references — SKILL.md → ref.md → detail.md causes partial reads.
- Time-sensitive info — "After August 2025, use X" becomes stale. Use "Current method" / "Legacy" sections.
- Inconsistent terminology — pick one term ("endpoint" not alternating "URL/route/path").
- Non-standard frontmatter —
author,date,tagswaste tokens and aren't used. - Incomplete CLI templates in agents — when agents create GitHub artifacts (
gh issue create,gh pr create), include ALL metadata flags (--label,--assignee,--milestone) explicitly in the template. Agents improvise missing fields with plausible-but-wrong values (e.g.,dependencieslabel instead of project'sdependabotlabel). Include a selection guide for dynamic fields like priority labels. - Silent long-running workflows — skills with 3+ phases that don't use TaskCreate leave
users staring at a spinner for minutes with no visibility. Always include a task manifest
and update tasks between phases. If a sub-agent takes >30 seconds, the user should see
which task is
in_progress. - Untested scripts shipped as "done" — scripts that pass code review but fail on real data. Always dry-run against the current project with varied inputs before declaring complete. Bugs cluster: if one heuristic is wrong, test the others too.
- Using teams for one-shot parallel work — teams add overhead (shared task list, message routing). For independent fan-out tasks, sub-agents are faster and cheaper.
Optimizing Existing Skills
When a skill exceeds 500 lines, has poor structure, or runs slowly:
- Audit for parallelization — identify independent subtasks that could be agents
- Decompose monolithic agents — split "does everything" agents into focused specialists
- Extract scripts/ — move deterministic procedures out of agent prompts
- Extract references/ — move lookup tables and code examples
- Replace inline content with links:
See **[references/your-file.md](references/your-file.md)** for the full lookup table. - Validate cross-references — grep for
references/andscripts/links, verify all exist - Fix stale cross-references — search for skill names that no longer exist
- Bump version — minor for content reorganization, major for agent architecture changes
See Also
claudeception— when to extract knowledge into skills (the WHY/WHEN)- Anthropic docs: Skill authoring best practices
- GitHub: skill-authoring — install instructions, changelog, and releases
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

