petr-korobeinikov/skills

skill-new

>- Scaffolds a new skill in the current project, following the project's existing skill layout.

First seen Apr 28, 2026

Installation

$ npx skills add petr-korobeinikov/skills --skill skill-new

Also in this package

Other skills from petr-korobeinikov/skills · top by installs.

npx skills add petr-korobeinikov/skills

Browse all from petr-korobeinikov/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,695 B
  • docs SUMMARY.md 109 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 49 installs

SKILL.md

skill-new

Create a new skill folder with a properly formatted SKILL.md, placed according to the current project's layout.

When NOT to use

Triggers for activation live in the frontmatter whentouse field. Do NOT activate for editing existing skills — only for creating new ones.

Inputs to collect

Before writing files, make sure you have:

  1. name — lowercase, hyphen-separated, unique among existing skills.

Derive from the user's request if obvious; otherwise ask.

  1. description —

one or two sentences describing what the skill does. Keep it concise; trigger conditions go in whentouse. Ask the user if unclear.

  1. whentouse —

trigger conditions that tell the agent when to activate this skill: phrases the user might say, file types, project shapes. The agent matches against description + whentouse combined, so be concrete. Ask the user if unclear.

  1. Body content —

the steps the agent should follow when the skill activates. Ask the user for the procedure if they haven't described it.

Determine the target directory

Look at where existing SKILL.md files live in the project and follow the same convention. Common layouts:

  • skills/<name>/SKILL.md — most common multi-skill repo
  • .claude/skills/<name>/SKILL.md — Claude-specific project layout
  • <name>/SKILL.md at repo root — flat layout

If no existing skills are found, default to skills/<name>/SKILL.md.

Steps

  1. Determine the target directory using the rule above.
  2. Verify the target path does not already exist.

If it does, stop and ask whether to overwrite or pick a different name.

  1. Create the directory.
  2. Write SKILL.md using the template below.
  3. Report the created path.

SKILL.md template

---
name: <name>
description: >-
  <one or two sentences: what the skill does>
when_to_use: >-
  <triggers: phrases the user might say, file types, project shapes>
---

# <Human-readable title>

<One-paragraph summary of what the skill does.>

## Steps

1. <First action>
2. <Second action>
3. <Final action>

Rules

  • Don't add scripts/ or references/ subfolders

unless the skill actually needs them — keep the scaffold minimal.

  • Don't write a per-skill README;

SKILL.md is the documentation.

  • Frontmatter name must match the folder name.