agentleFS
pekralpekral/cursor-rules/skills/skill-creator/SKILL.md

skill-creator

Skill10 starsChanged 4 months agoMITView on GitHub

Use when creating a new Agent skill in this repository. Generates a SKILL.md that follows project conventions, passes skill-check validation, and updates the changelog and readme.

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use context7-efficient, skill-share 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.
  • hfzarslanSkill

    context7-efficient

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

    Also in 5 projects that use this

  • ArogyaReddySkill

    skill-share

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    Also in 20 projects that use this

  • bkootazSkill

    artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 39 projects that use this

  • seedprodSkill

    goplaces

    Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.

    Also in 5 projects that use this

  • seedprodSkill

    things-mac

    Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks OpenClaw to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

    Also in 5 projects that use this

  • JetBrainsSkill

    slack-gif-creator

    Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.

    Also in 93 projects that use this

  • +1 more from seedprod

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 14 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    no duplication with existing skills

    line 18
  2. Distinctive:

    Do not modify other skills, rules, or production code

    line 26
  3. Distinctive:

    Do not duplicate an existing skill — extend or refactor instead

    line 27
  4. Distinctive:

    Never add behavior beyond what the requested skill needs

    line 28
  5. Distinctive:

    Before generating any file, gather:

    line 40
  6. Very specific:

    If running interactively, confirm the inputs with the user.

    line 49
  7. Distinctive:

    If an existing skill already covers the workflow, stop and propose an update to that skill instead of creating a new one.

    line 57
  8. Very specific:

    Create skills/<slug>/SKILL.md.

    line 61
  9. Distinctive:

    Never invent paths. Verify every reference points to a real file before saving.

    line 111
  10. Distinctive:

    Do not paste rule content into the skill — link to it.

    line 115
  11. Distinctive:

    Do not add humanizer, marketing, or third-party links unless the user requests them.

    line 116
  12. Distinctive:

    Run before declaring the skill done:

    line 121
  13. Very specific:

    If skill-check flags an auto-fixable warning, run npx skill-check check skills/<slug> --fix --no-security-scan (path-scoped) instead of …

    line 123
  14. Very specific:

    Do not silence checks; fix the SKILL.md content until the report is clean.

    line 126
  15. Very specific:

    After the new SKILL.md passes validation:

    line 131
  16. Very specific:

    Add a CHANGELOG.md entry under [Unreleased] describing the new skill and referencing the issue (e.g.

    line 132
  17. Distinctive:

    add the new skill to the appropriate table (Issue Resolution, Code Review, Testing, Platform & Data, etc.)

    line 135
  18. Distinctive:

    follow-up tasks (e.g. tests for code that the skill orchestrates) if any

    line 149
  19. Distinctive:

    Keep each skill narrow and composable

    line 156
  20. Distinctive:

    Prefer explicit steps over vague guidance

    line 157
  21. Very specific:

    Verify every @rules/* and @skills/* reference exists

    line 158

“Common” is measured: kept by at least 6 in 10 of the 179 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Creator

Purpose

Author a new Agent skill that fits this repository's conventions and ships ready for review.

Focus on:

  • consistent frontmatter and section layout
  • behavior aligned with skill-check.config.json limits
  • clear Use when, Execution, and Done when sections
  • no duplication with existing skills

Constraints

  • Apply @rules/php/core-standards.mdc only once it is established that the skill being created targets PHP code work in a PHP project — skip it for a stack-agnostic or non-PHP skill; do not load the PHP standards when the new skill does not touch PHP.
  • Apply @rules/git/general.mdc
  • Output must be in English
  • Do not modify other skills, rules, or production code
  • Do not duplicate an existing skill — extend or refactor instead
  • Never add behavior beyond what the requested skill needs

Use when

  • A new Agent skill must be added to skills/ for an AI agent workflow
  • An existing workflow that lives only in chat history should be promoted to a reusable skill
  • The user asks to "create a skill", "add a skill", or "scaffold a skill"

Inputs the agent must collect

Before generating any file, gather:

  • Skill name — kebab-case, ≤ 64 chars, unique under skills/
  • Purpose — one sentence describing what the skill does
  • Trigger phrase — the "Use when …" wording for the description
  • Scope — read-only review, code change, refactor, delivery, or other
  • Required rules — which rules/**/*.md* files the skill must apply
  • Integrations — issue tracker, GitHub, MySQL, Telescope, etc. (or none)
  • Output expectations — markdown report, code change, PR comment, etc.

If running interactively, confirm the inputs with the user. If running autonomously (e.g. invoked by resolve-issue or a scheduled workflow), infer the inputs from the triggering issue / PR description and state the assumptions in the final summary.


Execution

1. Discover existing skills

  • List skills/ and read any skill whose name overlaps semantically with the request.
  • If an existing skill already covers the workflow, stop and propose an update to that skill instead of creating a new one.

2. Choose the slug and location

  • Slug must be kebab-case, ≤ 64 chars, and not collide with an existing folder under skills/.
  • Create skills/<slug>/SKILL.md. Add subfolders (templates/, references/) only when the skill genuinely needs them.

3. Write the frontmatter

Required keys:

---
name: <slug>
description: "Use when <trigger phrase>. <one sentence on scope>."
license: MIT
metadata:
  author: "Petr Král (pekral.cz)"
---

Rules from skill-check.config.json:

  • description: 50–1024 chars; should start with "Use when"
  • name: ≤ 64 chars
  • Body: ≤ 500 lines and ≤ 5000 tokens

4. Compose the body

The repo accepts two body layouts. Pick one and stay consistent within the file.

Layout A — Constraints-first (preferred for new skills):

  1. ## Constraints — applied rules and hard limits (one bullet per item)
  2. ## Use when — concrete triggers
  3. ## Required approach or ## Execution — numbered steps the agent must follow
  4. ## Output or ## Output Format — structure of what the skill returns
  5. ## Done when — verifiable completion criteria

Examples in the repo: refactor-entry-point-to-action, smartest-project-addition, test-driven-development, test-like-human, security-review.

Layout B — Title + Purpose (legacy, still acceptable):

  1. # <Title Case Name>
  2. ## Purpose — one short paragraph plus a bullet list of focus areas
  3. ## Constraints
  4. ## Execution
  5. ## Output or ## Output Format
  6. ## Principles — short guiding rules (optional)
  7. ## Done when

Examples in the repo: code-review, class-refactoring, create-test, analyze-problem.

Omit a section only when it does not apply.

5. Reference rules and other skills

  • Reference rule files as @rules/<area>/<file>.mdc or .md exactly as they exist on disk.
  • Reference other skills as @skills/<slug>/SKILL.md.
  • Never invent paths. Verify every reference points to a real file before saving.

6. Keep behavior minimal

  • One skill, one workflow. Split into separate skills if the scope grows.
  • Do not paste rule content into the skill — link to it.
  • Do not add humanizer, marketing, or third-party links unless the user requests them.

Quality Gates

Run before declaring the skill done:

  • composer skill-check — must report PASS with no warnings on the new file
  • If skill-check flags an auto-fixable warning, run npx skill-check check skills/<slug> --fix --no-security-scan (path-scoped) instead of composer skill-check-fix, which rewrites every skill in the tree and can pollute the diff with unrelated formatting changes
  • composer build — full project build (must finish without errors)

Do not silence checks; fix the SKILL.md content until the report is clean.


Repository updates

After the new SKILL.md passes validation:

  • Add a CHANGELOG.md entry under [Unreleased] describing the new skill and referencing the issue (e.g. (#432)).
  • Update README.md:
    • bump the skill count in the "Skills Overview" header and the "Why This Package" bullet
    • add the new skill to the appropriate table (Issue Resolution, Code Review, Testing, Platform & Data, etc.)

Skip the README update only when the skill is intentionally internal and not part of the public catalog — state this explicitly in the PR description.


Output

  • New file: skills/<slug>/SKILL.md
  • Updated CHANGELOG.md and README.md
  • Short summary covering:
    • chosen slug and scope
    • rules and skills referenced
    • skill-check result
    • follow-up tasks (e.g. tests for code that the skill orchestrates) if any

Principles

  • Reuse existing skills before adding new ones
  • Keep each skill narrow and composable
  • Prefer explicit steps over vague guidance
  • Verify every @rules/* and @skills/* reference exists
  • Let skill-check be the source of truth for SKILL.md quality

Done when

  • skills/<slug>/SKILL.md exists with valid frontmatter and required sections
  • composer skill-check passes with no warnings on the new file
  • composer build finishes without errors
  • CHANGELOG.md and README.md reflect the new skill (or the omission is justified)
  • The summary lists the slug, references, and validation result

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.