Skip to content
Back to skills

205 Examples 9c7538f4

ASecurity

Detailed examples of validation errors and how to fix them.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
toolsshellbash

Security analysis

A100/100

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

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 205-examples_9c7538f4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 205 Examples 9c7538f4?

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

Security grade badge for 205 Examples 9c7538f4
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-205-examples-9c7538f4/badge)](https://www.skillsdirectory.com/skills/tools-only-205-examples-9c7538f4)

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
# Skill Validation Error Reference

Detailed examples of validation errors and how to fix them.

## YAML Syntax Errors

```
❌ YAML syntax error in SKILL.md:

Line 5: mapping values are not allowed in this context

This usually means:
  - Missing quotes around strings with special characters (: or #)
  - Incorrect indentation (use spaces, not tabs)
  - Unclosed brackets or braces

πŸ’‘ Fix: Review lines 4-6 in the YAML frontmatter
```

**Common causes:**
- Colons in unquoted strings: `description: Deploy to: production` β†’ use quotes
- Tabs instead of spaces for indentation
- Missing closing brackets in arrays

## Missing Required Fields

```
❌ Validation failed: Missing required field 'description'

Required fields for SKILL.md frontmatter:
  βœ“ name: skill-name
  βœ— description: [MISSING]
  βœ“ version: 1.0.0

πŸ’‘ Fix: Add a description field:
---
name: skill-name
description: One-line summary of what this skill does
version: 1.0.0
---
```

**Required fields:**
- `name` - kebab-case identifier
- `description` - one-line summary
- `version` - semver format (X.Y.Z)

## Invalid Tool Names

```
❌ Invalid tools in allowed-tools:

Invalid tools:
  - 'bash' ❌ β†’ Did you mean 'Bash'? (tools are case-sensitive)
  - 'read' ❌ β†’ Did you mean 'Read'?
  - 'FileReader' ❌ β†’ No such tool. Available: Read

πŸ’‘ Fix: Update allowed-tools with correct tool names (case-sensitive)
```

**Valid tool names (case-sensitive):**
- `Bash`, `Read`, `Write`, `Edit`, `Glob`, `Grep`, `WebFetch`
- `AskUserQuestion`, `TodoWrite`, `SlashCommand`, `Skill`
- `BashOutput`, `KillShell`

## Version Format Errors

```
❌ Version format error: 'v1.0' is not valid semver

Version must be: MAJOR.MINOR.PATCH
  - Correct: 1.0.0, 2.1.3, 0.1.0
  - Incorrect: v1.0, 1.0, 2.1

πŸ’‘ Fix: Change version to '1.0.0'
```

## Name Format Errors

```
❌ Name format error: 'My Skill' is not valid

Name must be kebab-case:
  - Correct: my-skill, code-analyzer, doc-writer
  - Incorrect: My Skill, my_skill, MySkill

πŸ’‘ Fix: Use lowercase letters, numbers, and hyphens only
```

## Empty Content Error

```
❌ SKILL.md has no content after frontmatter

The skill definition must include instructions after the YAML frontmatter.

πŸ’‘ Fix: Add skill logic and workflows after the closing ---
```

## Quick Fix Reference

| Error | Common Cause | Quick Fix |
|-------|--------------|-----------|
| YAML syntax | Unquoted special chars | Wrap strings in quotes |
| Missing field | Incomplete frontmatter | Add required field |
| Invalid tool | Wrong case or typo | Use exact tool name |
| Bad version | Missing patch number | Use X.Y.Z format |
| Bad name | Spaces or uppercase | Use kebab-case |

Files in this skill

  • README.md836 B
  • skill.md2.6 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…