Skip to content
Back to skills

Examples

ASecurity

A project requires a structured skill for managing PostgreSQL migrations safely with rollback validation.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentssqldatabase

Security analysis

A100/100

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

Scanned September 3, 2026

npx -y skills add imMamdouhaboammar/get-fable --skill examples --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Examples?

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

Security grade badge for Examples
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/immamdouhaboammar-examples/badge)](https://www.skillsdirectory.com/skills/immamdouhaboammar-examples)

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
# Example: Creating a Specialized Database Migrator Skill

## Context
A project requires a structured skill for managing PostgreSQL migrations safely with rollback validation.

## Execution Sequence

### Step 1: Initialize Package Manifest (`skills/db-migrator/skill.package.json`)
```json
{
  "$schema": "../../schemas/skill-package.schema.json",
  "schemaVersion": 1,
  "id": "db-migrator",
  "entry": "SKILL.md",
  "agents": ["agents/openai.yaml"],
  "references": ["references/rollback-safety.md"],
  "templates": ["templates/migration.sql"],
  "examples": ["examples/add-user-column.md"],
  "evals": ["evals/scenarios.json"],
  "scripts": []
}
```

### Step 2: Author Behavioral Contract (`skills/db-migrator/SKILL.md`)
Includes `When to Use`, `When NOT to Use`, explicit inputs, rollback procedures, and evidence requirements.

### Step 3: Author Eval Scenarios (`skills/db-migrator/evals/scenarios.json`)
Covers forward migration, dry-run schema validation, rollback test on error, and rejecting destructive drops without explicit confirmation.

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…