Skip to content

NetFabric/intelligentium / .agents/skills/create-skill

create-skill

Verified

Create or update AI agent skills (SKILL.md + reference files) for any harness that supports the format: GitHub Copilot, Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Kiro, OpenCode, and more. Use when: authoring a new skill from scratch, improving or restructuring an existing skill, deciding how to split content across files, writing skill frontmatter, choosing trigger phrases for the description field, organizing reference files. Covers skill architecture, compact writing rules, frontmatter constraints, and research using official documentation and Microsoft Learn. DO NOT USE FOR: general coding tasks, VS Code extension development, non-skill documentation.

Create Skill

Skills built this way run in any harness that supports SKILL.md — Copilot, Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Kiro, OpenCode, and more — not just one tool.

Anatomy

A skill is a folder (<skill-name>/, kebab-case) containing:

FilePurposeTarget Size
SKILL.mdEntry point — facts, quick-ref, reference table<100 lines
references/*.mdDeep detail, examples, edge cases<200 lines each
scripts/Runnable helpers invoked by skill instructions—
assets/Templates, data files, images referenced by skill—

SKILL.md Frontmatter

---
name: <skill-name>            # matches folder name
description: "<≤1024 chars>"  # double-quoted; trigger phrases; relevance context; exclusions
---

Description rules: always wrap the value in double quotes — descriptions routinely contain colons ("USE FOR:", "DO NOT USE FOR:") that break strict YAML parsers when left unquoted; keyword-rich; list trigger phrases; state exclusions with "DO NOT USE FOR:"; ≤1024 chars; never write a literal # preceded by whitespace — YAML treats it as a comment and silently truncates the rest of the value (reword instead, e.g. "colon-prefixed directives" not "#:"). Full rules → references/structure.md.

Workflow: New Skill

  1. Define scope — subject, users, trigger phrases, exclusions
  2. Research — load references/research-workflow.md
  3. Draft SKILL.md skeleton (tables, code blocks, ref table)
  4. Extract detail → reference files
  5. Validate frontmatter length (echo -n "..." | wc -c)
  6. Run agent-markdown-best-practices for compact agent-facing content, routing descriptions, and reference boundaries
  7. Run markdown-best-practices over every new/edited .md file — heading spacing, table/list consistency, fenced-code language tags

Workflow: Update Skill

  1. Re-fetch affected docs via official documentation or Microsoft Learn
  2. Edit only the reference file(s) that changed
  3. Update SKILL.md summary + reference table if needed
  4. Verify description ≤1024 chars
  5. Re-run agent-markdown-best-practices and markdown-best-practices over every file touched

Writing Rules (summary)

  • Tables > prose; omit preamble; active voice
  • Comments only when code can't show intent
  • No restatements, no obvious callouts
  • Full content rules → agent-markdown-best-practices

Reference Files

FileLoad When
references/structure.mdDesigning folder layout, frontmatter, or reference conventions
references/research-workflow.mdResearching a new or updated skill topic
rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.Stars: 466kUpdated Claude CodeCodexVerifiedInstall
academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).Stars: 196kUpdated Claude CodeCodexUnverifiedInstall
doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.Stars: 196kUpdated Claude CodeCodexVerifiedInstall