Skip to content
Back to skills

Commands

ASecurity

Scaffold a new skill with validation, plugin generation, and README update.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentspythongobashfrontend

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add 2ykwang/agent-skills --skill commands --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commands?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commands
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/2ykwang-commands/badge)](https://www.skillsdirectory.com/skills/2ykwang-commands)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Scaffold a new skill with validation, plugin generation, and README update.
argument-hint: "<skill-name>"
---

# Add Skill

Scaffold a new skill named `$ARGUMENTS`.

## Workflow

### 1. Validate Input

- Check `$ARGUMENTS` is kebab-case (`^[a-z0-9]+(-[a-z0-9]+)*$`). Stop with error if not.
- Check `skills/$ARGUMENTS/` does not already exist. Stop with error if it does.

### 2. Create Directory Structure

```
skills/<name>/
├── SKILL.md
└── README.md
```

### 3. Write SKILL.md

```markdown
---
name: <name>
version: 0.0.1
category: TODO
description: "TODO — one sentence describing what this skill does and when to trigger it."
argument-hint: "<argument>"
---

## Instructions

TODO
```

### 4. Ask User

Use AskUserQuestion:
1. **Category** — one of: `development`, `design-frontend`, `productivity`, `integrations`, `media`
2. **Description** — one sentence for the skill description

Update SKILL.md frontmatter with the user's answers.

### 5. Write README.md

Create `skills/<name>/README.md` with this structure:

```markdown
# <name>

<description from step 4>

## When to use

- TODO

## Usage

```
/skill-name <example>
```

## Installation

### Claude Code

```bash
claude plugin marketplace add 2ykwang/agent-skills
claude plugin install <name>@2ykwang-agent-skills
```

### npx skills

```bash
npx skills add 2ykwang/agent-skills --skill <name>
```
```

### 6. Generate Plugins

Run `python3 scripts/generate_plugins.py`. This generates:
- `plugins/<name>/` directory with plugin.json, README.md, and copied skills
- Updated `.claude-plugin/marketplace.json`

### 7. Update README.md Skills Table

Find the table between the two `---` separators. Append 3-row block before the closing `---`:

```markdown
| [<name>](skills/<name>) | <description> |
| | `npx skills add 2ykwang/agent-skills --skill <name>` |
| | `claude plugin install <name>@2ykwang-agent-skills` |
```

### 8. Validate and Report

Run `python3 scripts/validate.py`. Show output.

Print summary:

```
Created skills/<name>/

Next steps:
  1. Edit skills/<name>/SKILL.md — replace TODOs
  2. Edit skills/<name>/README.md — add "When to use" and "Usage" examples
  3. just generate && just validate
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.