# uuid

Use this skill to add UUID v4 or v7 generation to JavaScript and TypeScript projects. Choose v7 when IDs should sort by creation time.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1 install · ★ 492 repo stars
- Author: aiskillstore
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aiskillstore/marketplace/tree/HEAD/skills/7spade/uuid/SKILL.md
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/uuid

## What it does

The skill covers the `uuid` package version `13.0.0` and RFC9562. It guides the choice between random v4 identifiers for entities, sessions, and requests, and timestamp-based v7 identifiers for database keys, events, and audit records that need chronological ordering.

Its examples show task and audit-log IDs in Angular apps using Firestore, along with session and file-upload tracking. UUID v7 carries a timestamp and sorts by creation time; the entity examples use v4 where chronological ordering is not needed. The Firestore examples use Angular and `@angular/fire/firestore`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aiskillstore/marketplace --skill uuid -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aiskillstore/marketplace --skill uuid -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aiskillstore/marketplace --skill uuid -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aiskillstore/marketplace skills/7spade/uuid
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aiskillstore/marketplace --skill uuid -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aiskillstore/marketplace --path skills/7spade/uuid
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aiskillstore/marketplace --skill uuid -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/aiskillstore/marketplace/tree/HEAD/skills/7spade/uuid/SKILL.md

## When to use it
- assign a UUID to a task or session
- sort event IDs by creation time
- give each audit record its own identifier
- track a file upload by ID

## Example prompts
- Add UUID v4 generation for task IDs in my TypeScript project.
- Use UUID v7 for audit-log keys so I can sort them by time.
- Show how to assign IDs to file uploads and track their status.

## Similar
- [UUID Generator — v4, v7, ULID, Nanoid (Batch 100)](https://affpapa.org/en/nevibecode/mcp/uuid-generator-v4-v7-ulid-nanoid-batch-100.md) — MCP server · 3352 installs
- [find-skills](https://affpapa.org/en/nevibecode/skills/find-skills.md) — skill · 4400000 installs
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [agent-browser](https://affpapa.org/en/nevibecode/skills/vercel-labs-agent-browser.md) — skill · 1600000 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 802600 installs
- [grill-me](https://affpapa.org/en/nevibecode/skills/grill-me.md) — skill · 1424476 installs
- [grill-with-docs](https://affpapa.org/en/nevibecode/skills/grill-with-docs.md) — skill · 1219756 installs

From the same set: [aiskillstore/marketplace](https://affpapa.org/en/nevibecode/by/aiskillstore/marketplace.md) — 18 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
