Skip to content
implementing-agent-skills logo

Implementing Agent Skills

implementing-agent-skills

Implements new Agent Skills for the project. Identifies the AI coding tool (Cursor, Claude Code, Gemini CLI), ensures specification compliance, and provides specialized templates. Use when creating, authoring, or adding a new skill, or when the user asks about Agent Skills format or SKILL.md.

SKILL.md

Full skill instructions

Implementing Agent Skills

Purpose

This skill implements new Agent Skills by identifying the target AI coding tool, ensuring specification compliance, and applying templates and best practices so the created skill is compatible with the user's workflow.

Implementation Workflow

Copy this checklist and track progress:

Implementation Progress:
- [ ] Step 1: Identify AI coding tool
- [ ] Step 2: Choose or create skill directory (name matches frontmatter)
- [ ] Step 3: Select template and adapt frontmatter (name, description)
- [ ] Step 4: Write instructions; keep SKILL.md under 500 lines
- [ ] Step 5: Add references/​assets as needed; keep links one level deep
- [ ] Step 6: Validate (YAML, skills-ref if available, keyword-rich description)

1. Identify AI Coding Tool

Check the project for indicators of AI coding tools:

  • Cursor: Presence of .cursor/ directory, .cursorrules, or .cursorignore.
  • Claude Code: Presence of .claude/ directory or claude.json.
  • Gemini CLI: Presence of gemini.json or specific environment variables.

Logic

  1. Scan the workspace root for these indicators.
  2. Analyze the findings:
    • If one tool is detected -> Proceed with that tool as the target.
    • If multiple tools are detected -> Ask the user which tool to target.
    • If no tools are detected -> Ask the user to specify the tool.

2. Interaction Strategy

If you need to ask the user, use the AskQuestion tool if available, or ask conversationally.

Example Question: "I detected multiple AI coding tools (Cursor and Claude Code). Which one should I target for this Agent Skill?"

  • Cursor
  • Claude Code
  • Gemini CLI

3. Implementation Context

Once the tool is identified, tailor the Agent Skill implementation accordingly:

  • Cursor:

    • Target: .cursor/​skills/ (project) or ~/​.cursor/​skills/ (global).
    • Format: Standard SKILL.md with YAML frontmatter.
  • Claude Code:

    • Target: .claude/​skills/ (project) or ~/​.claude/​skills/ (global).
    • Format: Follow Claude Code skill conventions.
  • Gemini CLI:

    • Follow Gemini CLI specific skill structure.

4. Standards & Templates

When implementing a new skill, always follow the established best practices and select the most appropriate template as a starting point.

Specification Compliance

Ensure the skill follows the official Agent Skills specification:

  • Naming: Directory and name in frontmatter must match; use gerund form (e.g. processing-pdfs, implementing-agent-skills). Lowercase letters, numbers, and hyphens only; no leading/​trailing hyphens or consecutive hyphens.
  • Description: Write in third person; describe what the skill does and when to use it; include keywords for discovery (max 1024 characters).
  • Frontmatter: Include required name and description. Add optional license, compatibility, metadata, allowed-tools if applicable.
  • Structure: Keep SKILL.md under 500 lines. Use scripts/, references/, and assets/ for progressive disclosure; keep file references one level deep from SKILL.md.

Validation

Before completing the task:

  1. Check Syntax: Verify YAML frontmatter is valid.
  2. Validate: If the skills-ref tool is available, run skills-ref validate ./<skill-directory>.
  3. Manual Review: Ensure the description is keyword-rich for discovery.

Best Practices

See references/​best-practices.md for detailed naming, description, and progressive disclosure standards.

Available Templates

Select the template that best matches the skill's purpose:

TemplatePurpose
generic.mdStandard boilerplate for any skill.
cli-tool-wrapper.mdWrapping CLI tools with help checks and safety.
sop-workflow.mdChecklists and SOPs for hybrid/​manual processes.
library-upgrade.mdSafe, multi-step dependency upgrades.
code-review.mdReviewing code against project standards.
security-audit.mdSystematic vulnerability scanning and reporting.
fixer-loop.mdAutonomous "test-analyze-fix" loops (TDD/​Lint).
docs-sync.mdKeeping documentation in sync with source code.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View