Skip to content
Back to skills

1840 Naming Rules 22ef468b

ASecurity

Same rules apply to both Skills and Agents:

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
ai-agentsbashcode-review

Works with

  • mcp

Security analysis

A100/100

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

Scanned June 1, 2026

npx -y skills add tools-only/X-Skills --skill 1840-naming-rules_22ef468b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1840 Naming Rules 22ef468b?

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

Security grade badge for 1840 Naming Rules 22ef468b
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1840-naming-rules-22ef468b/badge)](https://www.skillsdirectory.com/skills/tools-only-1840-naming-rules-22ef468b)

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
# Naming Rules Summary

## Common name Field Rules

Same rules apply to both Skills and Agents:

| Rule | Details |
|-----|------|
| Length | 1-64 characters |
| Allowed characters | Lowercase (`a-z`), numbers (`0-9`), hyphens (`-`) |
| Start/End | Hyphens not allowed |
| Consecutive | Consecutive hyphens (`--`) not allowed |
| Reserved words | `anthropic`, `claude` not allowed |

---

## Additional Skill name Rules

- **Directory match**: name must match parent directory name

```
skill-name/           # Directory
└── SKILL.md
    ---
    name: skill-name  # Must match
    ---
```

---

## Valid Examples

```yaml
# Skills
name: pdf-processing
name: data-analysis
name: code-review
name: brand-guidelines
name: mcp-builder

# Agents
name: code-reviewer
name: test-runner
name: sam-analyst
name: jenny-engineer
```

---

## Invalid Examples

```yaml
# Uppercase not allowed
name: PDF-Processing  # ❌
name: DataAnalysis    # ❌

# Hyphen rule violations
name: -pdf            # ❌ Starting hyphen
name: pdf-            # ❌ Ending hyphen
name: pdf--editor     # ❌ Consecutive hyphens

# Disallowed characters
name: pdf_processing  # ❌ Underscore
name: pdf.processing  # ❌ Period
name: pdf processing  # ❌ Space

# Reserved words
name: anthropic-tool  # ❌ Contains reserved word
name: claude-helper   # ❌ Contains reserved word
```

---

## description Field Rules

| Item | Skill | Agent |
|-----|-------|-------|
| Length | 1-1024 characters | 1-1024 characters |
| Required content | Function + when to use | Role + trigger conditions |
| Keywords | Include searchable keywords | Claude auto-delegation trigger |

---

## Validation Regex

```bash
# name validation
[[ "$name" =~ ^[a-z][a-z0-9-]*[a-z0-9]$ ]] && \
[[ ! "$name" =~ -- ]] && \
[ ${#name} -le 64 ] && \
[[ ! "$name" =~ anthropic|claude ]]
```

---

## Quick Check

| Check | Method |
|-----|------|
| Lowercase only? | `echo "$name" \| grep -q '^[a-z0-9-]*$'` |
| 64 chars or less? | `[ ${#name} -le 64 ]` |
| Hyphen rules? | `[[ ! "$name" =~ ^-\|-$\|-- ]]` |
| No reserved words? | `[[ ! "$name" =~ anthropic\|claude ]]` |
| Directory match? (Skill) | `[ "$name" == "$(basename $PWD)" ]` |

Files in this skill

  • README.md948 B
  • skill.md2.1 KB

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.

Comments

Loading comments…

Newsletter

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