Source profileQuality 98/100

kensaurus/cursor-kenji/skills-cursor/create-skill/SKILL.md

create-skill

Guide users through creating effective Agent Skills for Cursor. Use when user wants to create, write, update, or debug a skill, or asks about SKILL.md format, skill structure, ~/.cursor/skills/, or skill best practices.

Source repository stars
9
Declared platforms
1
Static risk flags
1
Last source update
2026-08-21
Source checked
2026-08-25

Decision brief

What it does: where it fits

This skill guides you through creating effective Agent Skills for Cursor. Skills are markdown files that teach the agent how to perform specific tasks: reviewing PRs using team standards, generating commit messages in a preferred format, querying database schemas, or any special…

Best for

  • Use when user wants to create, write, update, or debug a skill, or asks about SKILL.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorDeclaredSource recordInstall path and trigger
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/kensaurus/cursor-kenji --skill "skills-cursor/create-skill"
Safe inspection promptEditorial

Inspect the Agent Skill "create-skill" from https://github.com/kensaurus/cursor-kenji/blob/28a0bd8403c950f58ed063d47a858ee3493b0038/skills-cursor/create-skill/SKILL.md at commit 28a0bd8403c950f58ed063d47a858ee3493b0038. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Instructions

    Clear, step-by-step guidance for the agent.

    Clear, step-by-step guidance for the agent.
  2. 02

    Code Review

    description: Review code for quality, security, and best practices following team standards. Use when reviewing pull requests, code changes, or when the user asks for a code review. markdown

    description: Review code for quality, security, and best practices following team standards. Use when reviewing pull requests, code changes, or when the user asks for a code review. markdownUse pdfplumber for text extraction:\\\python import pdfplumber
  3. 03

    Quick start

    [Essential instructions here]

    [Essential instructions here]
  4. 04

    Skill creation workflow (summary)

    1. Discovery — purpose, location, triggers, constraints 2. Design — name, description, sections, supporting files 3. Implement — SKILL.md + references/ + scripts/ as needed 4. Verify — in cursor-kenji run npm run validate:skills; description ≤320 chars, body <500 lines

    Discovery — purpose, location, triggers, constraintsDesign — name, description, sections, supporting filesImplement — SKILL.md + references/ + scripts/ as needed
  5. 05

    CRITICAL: Check Existing First

    Before creating ANY skill, verify:

    Check for existing skills:Check for similar functionality:Consider extending vs creating:

Permission review

Static risk signals and limitations

Reads files

low · line 167

The documentation asks the agent to read local files, directories, or repositories.

with pdfplumber.open("file.pdf") as pdf:

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score98/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars9SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
kensaurus/cursor-kenji
Skill path
skills-cursor/create-skill/SKILL.md
Commit
28a0bd8403c950f58ed063d47a858ee3493b0038
License
MIT
Collected
2026-08-25
Default branch
main
View the original SKILL.md

Creating Skills in Cursor

This skill guides you through creating effective Agent Skills for Cursor. Skills are markdown files that teach the agent how to perform specific tasks: reviewing PRs using team standards, generating commit messages in a preferred format, querying database schemas, or any specialized workflow.

CRITICAL: Check Existing First

Before creating ANY skill, verify:

  1. Check for existing skills:
ls -la ~/.cursor/skills/*/SKILL.md 2>/dev/null
ls -la .cursor/skills/*/SKILL.md 2>/dev/null
  1. Check for similar functionality:
grep -r "description:" ~/.cursor/skills/*/SKILL.md 2>/dev/null
  1. Consider extending vs creating:
  • Could an existing skill be enhanced?
  • Would a rule be more appropriate than a skill?

Why: Avoid skill duplication. Skills should have clear, distinct purposes.

Before You Begin: Gather Requirements

Before creating a skill, gather essential information from the user about:

  1. Purpose and scope: What specific task or workflow should this skill help with?
  2. Target location: Should this be a personal skill (~/.cursor/skills/) or project skill (.cursor/skills/)?
  3. Trigger scenarios: When should the agent automatically apply this skill?
  4. Key domain knowledge: What specialized information does the agent need that it wouldn't already know?
  5. Output format preferences: Are there specific templates, formats, or styles required?
  6. Existing patterns: Are there existing examples or conventions to follow?

Inferring from Context

If you have previous conversation context, infer the skill from what was discussed. You can create skills based on workflows, patterns, or domain knowledge that emerged in the conversation.

Gathering Additional Information

If you need clarification, use the AskQuestion tool when available:

Example AskQuestion usage:
- "Where should this skill be stored?" with options like ["Personal (~/.cursor/skills/)", "Project (.cursor/skills/)"]
- "Should this skill include executable scripts?" with options like ["Yes", "No"]

If the AskQuestion tool is not available, ask these questions conversationally.


Skill File Structure

Directory Layout

Skills are stored as directories containing a SKILL.md file:

skill-name/
├── SKILL.md              # Required - main instructions
├── reference.md          # Optional - detailed documentation
├── examples.md           # Optional - usage examples
└── scripts/              # Optional - utility scripts
    ├── validate.py
    └── helper.sh

Storage Locations

TypePathScope
Personal~/.cursor/skills/skill-name/Available across all your projects
Project.cursor/skills/skill-name/Shared with anyone using the repository

IMPORTANT: Never create skills in ~/.cursor/skills-cursor/. This directory is reserved for Cursor's internal built-in skills and is managed automatically by the system.

SKILL.md Structure

Every skill requires a SKILL.md file with YAML frontmatter and markdown body:

---
name: your-skill-name
description: Brief description of what this skill does and when to use it
---

# Your Skill Name

## Instructions
Clear, step-by-step guidance for the agent.

## Examples
Concrete examples of using this skill.

Required Metadata Fields

FieldRequirementsPurpose
nameMax 64 chars, lowercase letters/numbers/hyphens onlyUnique identifier for the skill
descriptionMax 320 chars in kenji (spec max 1024), non-emptyHelps agent decide when to apply the skill

Writing Effective Descriptions

The description is critical for skill discovery. The agent uses it to decide when to apply your skill.

Description Best Practices

  1. Write in third person (the description is injected into the system prompt):

    • ✅ Good: "Processes Excel files and generates reports"
    • ❌ Avoid: "I can help you process Excel files"
    • ❌ Avoid: "You can use this to process Excel files"
  2. Be specific and include trigger terms:

    • ✅ Good: "Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction."
    • ❌ Vague: "Helps with documents"
  3. Include both WHAT and WHEN:

    • WHAT: What the skill does (specific capabilities)
    • WHEN: When the agent should use it (trigger scenarios)

Description Examples

# PDF Processing
description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

# Excel Analysis
description: Analyze Excel spreadsheets, create pivot tables, generate charts. Use when analyzing Excel files, spreadsheets, tabular data, or .xlsx files.

# Git Commit Helper
description: Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes.

# Code Review
description: Review code for quality, security, and best practices following team standards. Use when reviewing pull requests, code changes, or when the user asks for a code review.

Core Authoring Principles

1. Concise is Key

The context window is shared with conversation history, other skills, and requests. Every token competes for space.

Default assumption: The agent is already very smart. Only add context it doesn't already have.

Challenge each piece of information:

  • "Does the agent really need this explanation?"
  • "Can I assume the agent knows this?"
  • "Does this paragraph justify its token cost?"

Good (concise):

## Extract PDF text

Use pdfplumber for text extraction:

\`\`\`python
import pdfplumber

with pdfplumber.open("file.pdf") as pdf:
    text = pdf.pages[0].extract_text()
\`\`\`

Bad (verbose):

## Extract PDF text

PDF (Portable Document Format) files are a common file format that contains
text, images, and other content. To extract text from a PDF, you'll need to
use a library. There are many libraries available for PDF processing, but we
recommend pdfplumber because it's easy to use and handles most cases well...

2. Keep SKILL.md Under 500 Lines

For optimal performance, the main SKILL.md file should be concise. Use progressive disclosure for detailed content.

3. Progressive Disclosure

Put essential information in SKILL.md; detailed reference material in separate files that the agent reads only when needed.

# PDF Processing

## Quick start
[Essential instructions here]

## Additional resources
- For complete API details, see [reference.md](reference.md)
- For usage examples, see [examples.md](examples.md)

Keep references one level deep - link directly from SKILL.md to reference files. Deeply nested references may result in partial reads.

4. Prune with the verbosity levers

Adapted from mattpocock/skills (MIT):

  • No-op test — if a sentence doesn't change behavior versus the agent's default ("be thorough"), delete the whole sentence. Cure weak intensifiers with a stronger single word (relentless), not more prose.
  • Positive phrasing — state the target behavior instead of prohibiting the bad one; keep prohibitions only as hard guardrails, paired with what to do instead.
  • Leading words — collapse restated qualities into one compact concept the model already knows ("fast, deterministic, low-overhead" → a tight loop).
  • One trigger per branch — in descriptions, synonyms of the same trigger are duplication; keep only genuinely distinct branches.
  • Checkable completion criteria — end steps on a condition the agent can verify, not a vibe; vague criteria invite premature completion.

5. Set Appropriate Degrees of Freedom

Match specificity to the task's fragility:

Freedom LevelWhen to UseExample
High (text instructions)Multiple valid approaches, context-dependentCode review guidelines
Medium (pseudocode/templates)Preferred pattern with acceptable variationReport generation
Low (specific scripts)Fragile operations, consistency criticalDatabase migrations

Skill creation workflow (summary)

  1. Discovery — purpose, location, triggers, constraints
  2. Design — name, description, sections, supporting files
  3. ImplementSKILL.md + references/ + scripts/ as needed
  4. Verify — in cursor-kenji run npm run validate:skills; description ≤320 chars, body <500 lines

Additional resources

Frequently asked questions

What to verify before installation and use

What does the create-skill source document cover?

This skill guides you through creating effective Agent Skills for Cursor. Skills are markdown files that teach the agent how to perform specific tasks: reviewing PRs using team standards, generating commit messages in a preferred format, querying database schemas, or any special…

How do I install create-skill?

The source record exposes this install command: npx skills add https://github.com/kensaurus/cursor-kenji --skill "skills-cursor/create-skill". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: cursor.

Which permission-related actions were detected?

Static rules flagged read-files in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 956

mgiovani/cc-arsenal

create-skill

Create a new agent skill (or Claude Code slash command) from a plain-language description, using live spec fetching, pattern research, and an approval-gated blueprint before any files are written. Use whenever the user wants to build, scaffold, or author a new skill, subagent capability, or slash command, including phrasings like 'make a command for X', 'create a slash command', 'turn this into a reusable skill', or 'package this workflow as a skill'. Not for editing CLAUDE.md/AGENTS.md memory r

Computed 9730

MoizIbnYousaf/marketing-cli

create-skill

Create new marketing skills for the mktg playbook. Use when the agent needs to add a new capability, someone says 'create a skill', 'new skill', 'add a marketing skill', 'extend the playbook', 'I need a skill for X', 'build a skill', 'make a skill for Y', or 'add capability for Z'. Also use when someone wants to capture a marketing workflow they just did into a reusable skill, or when they say 'turn this into a skill'. Reads the skill contract, generates SKILL.md with correct frontmatter and str

Computed 92129

jinzhezenggroup/computational-chemistry-agent-skills

create-skill

Create new Agent Skills following the agentskills.io specification. Use when the user wants to create, scaffold, or design a new skill for AI agents. Handles SKILL.md generation, directory structure setup, and validation.

Computed 9965

brucesongs/kali-claw

insecure-design

Insecure Design (OWASP A06:2025) focuses on security flaws in system architecture and design phases, rather than code implementation-level bugs.