Automated summary
This skill guides the creation of new Agent Skills that conform to the Agent Skills specification by generating a SKILL.md file with frontmatter along with its directory structure.
Strengths
- Provides a structured five-step workflow, from topic investigation through optional directories
- Precisely details the YAML frontmatter fields (name, description, user-invocable, allowed-tools, etc.)
- Includes concrete authoring principles: conciseness, no duplication, useful instructions
- Suggests recommended body sections such as Workflow, Validation, and Common Pitfalls
Limitations
- Covers only skill creation and explicitly excludes custom agents and file-based instructions
- Offers no concrete automated testing mechanism, only general guidance
Use it when you need to create, scaffold, or add a new Agent Skill with a correct structure and frontmatter.
Avoid it for creating custom agents or adding language- or module-specific coding guidelines, which belong to other mechanisms.
Security analysis
SafeThis is a purely instructional meta-skill for scaffolding Agent Skills. It declares no allowed-tools and contains no executable payloads, shell one-liners, network calls, credential handling, or destructive operations. References to running scripts and to the `task` tool with a `model` parameter are described conceptually as part of the skill-authoring workflow (with guidance to prefer PowerShell/Python/JS and to fail closed on errors), not as instructions to execute anything risky. Explicit checklist items even prohibit including secrets, tokens, or internal URLs in generated skills, making this low-risk to list.
No concerns found
How this analysis is madeExamples
Create a new agent skill called 'api-migration' that helps migrate REST endpoints to GraphQL, including the SKILL.md with frontmatter and a references directory.Help me scaffold a skill for writing release notes, and show me the correct YAML frontmatter fields including argument-hint and allowed-tools.name: make-skill description: 'Create new Agent Skills for GitHub Copilot. Use when asked to create, scaffold, or add a skill. Generates SKILL.md with frontmatter, directory structure, and optional resources.'
Create Skill
This skill helps you scaffold new agent skills that conform to the Agent Skills specification. Agent Skills are a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows.
When Not to Use
- Creating custom agents (use the agents/ directory pattern)
- Adding language-specific, framework-specific, or module-specific coding guidelines (use file-based instructions instead)
Key Principles
- Frontmatter is critical:
nameanddescriptiondetermine when the skill triggers—be clear and comprehensive - Concise is key: Only include what agents don't already know; context window is shared
- Useful instructions: Only include information that's stable, not easily searchable and can be used for any task within the skill's scope
- No duplication: Information lives in SKILL.md OR reference files, not both
Workflow
Step 1: Investigate the Topic
Build deep understanding of the relevant topics using the repository content, existing documentation, and any linked external resources.
After investigating, verify:
- [ ] Can explain what the skill does in one paragraph
- [ ] Can list 3-5 specific scenarios where the skill is applicable
- [ ] Can identify common pitfalls or misconceptions about the topic
- [ ] Can outline a step-by-step skill workflow with clear validation steps
- [ ] Have search queries for deeper topics
- [ ] Can determine if the skill should be user-invocable or background knowledge only
If there are any ambiguities, gaps in understanding, or multiple valid approaches, ask the user for clarification before proceeding to skill creation. Also, evaluate whether the task might be better handled by a custom agent, agentic workflow, an existing skill or multiple narrower skills, and discuss this with the user if relevant.
Step 2: Create the skill directory
.agents/skills/<skill-name>/
├── SKILL.md # Required: instructions + metadata
Step 3: Generate SKILL.md with frontmatter
Create the file with required YAML frontmatter:
---
name: <skill-name>
description: <description of what the skill does and when to use it>
user-invocable: <Optional, defaults to true. Set to false for background knowledge skills.>
argument-hint: <Optional, guidance for how agents should format arguments when invoking the skill.>
disable-model-invocation: <Optional, set to true to prevent agents from invoking the skill and only allow to be used through manual invocation.>
compatibility: <Optional, specify any environment, tool, or context requirements for the skill.>
metadata: <Optional, key-value mapping for additional metadata that may be relevant for discovery or execution.>
allowed-tools: <Optional, list of pre-approved tools that agents could use when invoking the skill.>
---
Step 4: Add body content sections
Include these recommended sections, following this file's structure:
- <Human-readable skill name>: One paragraph describing the outcome beyond what's already in the description
- When Not to Use: Bullet list of exclusions, optional
- Inputs and Outputs: Example inputs and expected outputs, if applicable
- Workflow: Numbered steps with checkpoints
- Testing: Instructions for how to create automated tests for the skill output, if applicable
- Validation: How to confirm the skill worked correctly
- Common Pitfalls: Known traps and how to avoid them, optional
Step 5: Add and populate optional directories if needed
.agents/skills/<skill-name>/
├── SKILL.md
├── scripts/ # Optional: executable code that agents can run
├── references/ # Optional: REFERENCE.md (Detailed technical reference), FORMS.md (Form templates or structured data formats), domain-specific instruction files
└── assets/ # Optional: templates, resources and other data files that aren't executable or Markdown
Step 6: Write Scripts (Script-driven Only)
- Prefer PowerShell, but can also use Python or JavaScript
- Standard param block with defaults
- Ensure scripts produce clear, structured, and parseable console output (for example, section headers and status lines)
- Emoji status: ✅ green / ⚠️ yellow / 🔴 red
- Fail-closed error handling — Unknown ≠ Healthy
❌ NEVER count API failures as success. Return "Unknown" and exclude from positive counts.
Step 7: Validate the skill
Ensure the name:
- Does not start or end with a hyphen
- Does not contain consecutive hyphens
- Is between 1-64 characters
- YAML frontmatter name matches directory name exactly
After creating a skill, verify:
- [ ] frontmatter fields are valid
- [ ] SKILL.md is under 500 lines and 5000 tokens, split into references if needed
- [ ] File references use relative paths
- [ ] Instructions are actionable and specific
- [ ] Instructions don't duplicate what's already in
.github/copilot-instructions.mdor under.github/instructions/ - [ ] Workflow has numbered steps with clear checkpoints
- [ ] Validation section exists with observable success criteria
- [ ] No secrets, tokens, or internal URLs included
- [ ] Common pitfalls are relevant and have solutions
- [ ] Optional directories are used appropriately
- [ ] Scripts handle edge cases gracefully and return structured outputs and helpful error messages when applicable
Step 8: Test with Multi-Model Subagents
Follow references/testing-patterns.md:
- Select top-tier model from 2-4 different families
- Give each the same test prompt exercising the skill
- Launch in parallel via
tasktool withmodelparameter - Synthesize: consensus findings = high confidence
- Fix errors first, then warnings, then consider suggestions
- Retrospective: When an agent misapplies guidance, ask the same model why it made that choice — its self-analysis reveals guidance gaps you can close with targeted anti-patterns (see references/anti-patterns.md)
- A/B test: After fixing issues, re-run the same task to verify improvement — same model, same prompt, compare correctness/speed/tool calls (see references/testing-patterns.md)
For new skills or major restructuring, use the writer-critic convergence loop instead: one agent writes, a different-model agent critiques, writer applies fixes, repeat until convergence (2-3 rounds). See references/testing-patterns.md#writer-critic-convergence-loop.
Common Pitfalls
| Pitfall | Solution |
|---------|----------|
| Description is vague | Include what it does AND when to use it |
| Instructions are ambiguous | Use numbered steps with concrete actions |
| Missing validation steps | Add checkpoints that verify success |
| Hardcoded environment assumptions | Document requirements in compatibility field |
| Key files section lists files previously mentioned | Avoid duplication, only include in one place and rename section to "Other Key Files" |
| Testing section lists test folders that are obvious from the repo structure | Remove the section if it doesn't add value |
References
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/create-agent-skill-mrwakaub/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/create-agent-skill-mrwakaub' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-agent-skill-mrwakaub/download' --output '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md.part' && mv '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md.part' '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && test -s '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/make-skill' && cp -R '.skill-downloads/create-agent-skill-mrwakaub' '.claude/skills/make-skill'Cursor
test -f '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && test -s '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/make-skill' && cp -R '.skill-downloads/create-agent-skill-mrwakaub' '.cursor/skills/make-skill'Codex
test -f '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && test -s '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/make-skill' && cp -R '.skill-downloads/create-agent-skill-mrwakaub' '.agents/skills/make-skill'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/create-agent-skill-mrwakaub'openskills read 'create-agent-skill-mrwakaub'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/create-agent-skill-mrwakaub/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.