# create-skill

Helps create or update skills with TDD, using subagent scenarios to test an instruction before it is revised.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1200 installs · ★ 1787
- Author: NeoLabHQ
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/NeoLabHQ/context-engineering-kit/tree/HEAD/skills/create-skill/SKILL.md
- Updated: 2026-08-26
- HTML: https://affpapa.org/en/nevibecode/skills/neolabhq-create-skill

## What it does

create-skill applies the RED-GREEN-REFACTOR cycle from TDD to skill documentation. A subagent first runs a pressure scenario without the instruction; the author then records the failure and adds targeted guidance.

It covers the structure of `SKILL.md`, including YAML `name` and `description` metadata plus Markdown instructions. Scripts, references, and assets can live in separate bundled files when the skill needs them.

You need to understand TDD before using it. That is a reason to learn the RED-GREEN-REFACTOR cycle first, because the checking method relies on it.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-skill -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/create-skill/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/create-skill/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-skill -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/create-skill/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-skill -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/create-skill/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install NeoLabHQ/context-engineering-kit create-skill
```

2. **Manually: put the files in place**
- File: `.github/skills/create-skill/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-skill -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/NeoLabHQ/context-engineering-kit --path skills/create-skill
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/create-skill/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill create-skill -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/NeoLabHQ/context-engineering-kit/tree/HEAD/skills/create-skill/SKILL.md

## When to use it
- create a `SKILL.md` for a new skill
- test subagent behaviour without instructions
- record rule violations from pressure scenarios
- revise guidance after finding loopholes

## Example prompts
- Create a new skill for an API workflow and test it with subagent scenarios.
- Update the existing `SKILL.md` to address the violations found in testing.
- Check a new skill before deployment and revise the instruction from the results.

## Similar
- [validate-skills](https://affpapa.org/en/nevibecode/skills/validate-skills.md) — skill · 7300 installs
- [open-knowledge-write-skill](https://affpapa.org/en/nevibecode/skills/open-knowledge-write-skill.md) — skill · 6900 installs
- [skill-authoring](https://affpapa.org/en/nevibecode/skills/skill-authoring.md) — skill · 3800 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [skill-creator](https://affpapa.org/en/nevibecode/skills/openclaw-skill-creator.md) — skill · 6700 installs
- [momentic-spec](https://affpapa.org/en/nevibecode/skills/momentic-spec.md) — skill · 28300 installs

## Other versions with the same name
- [create-skill · siviter-xyz](https://affpapa.org/en/nevibecode/skills/create-skill.md) — 2800 installs

From the same set: [neolabhq/context-engineering-kit](https://affpapa.org/en/nevibecode/by/neolabhq/context-engineering-kit.md) — 64 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
