Safety, skill collection
Destructive change guardrails
Use these skills before an agent changes files, Git history, a database, or a schema. They provide review procedures for identifying affected work and checking recovery options. Enforce permissions in the runtime as well.
ai-safety-guardrailsWhat to give your agent
A skill supplies a procedure. Give your agent the project evidence and constraints needed to apply it.
- The requested change and the exact resources it will affect.
- Current working-tree or database state, including concurrent work.
- A preview of the change, a verification query, and an available recovery path.
Prepare a column migration with a recovery path
An application needs a replacement for a legacy status column. Some workers still read the old column, so immediately dropping it would break an active code path.
Map readers and writers
Find the API, worker, scheduled job, and reporting queries that use the old field. Record the deployment order and which versions may run at the same time.
Stage the change
Add the replacement, backfill in bounded batches, and compare old and new values. Switch readers only after the relevant writers and backfill are ready.
Verify before removal
Check that old readers are gone and the new representation matches expected records. Prepare a concrete review of the final drop operation with its recovery constraints.
Inventory: every reader and writer
Plan: add, backfill, verify, switch, remove
Evidence: mismatch query and deployment versions
Recovery: retained data and tested restore procedureHow to check the result
- The backfill can restart without corrupting completed rows.
- Verification detects deliberately introduced mismatches.
- Removal is separate from the initial schema expansion.
A failure to watch for
A confirmation prompt cannot compensate for an unknown blast radius. Identify the affected resources before presenting the change for review.
This is an illustrative exercise. Run the checks against your own project to establish the result.
Skills in this pack
Open a skill to see its activation guidance, source sections, and individual install command. These descriptions come from the linked source files.
5 of 5 skills
Database Safetydatabase-safety
CRITICAL SAFETY SKILL - Use this skill before any database operation that modifies or deletes data. Activate when the user wants to DELETE, UPDATE, TRUNCATE, DROP, or reset database. This skill prevents accidental data loss by enforcing verification, scoping, and confirmation requirements.
Inside the source file
- Danger Levels
- Pre-Operation Protocol
- DELETE Safety
- UPDATE Safety
- Batch Operations Safety
- Transaction Safety
- Environment Protection
- Backup Before Dangerous Operations
Install this skill individually
npx skills add latestaiagents/agent-skills --skill database-safetyDestructive Operation Guarddestructive-operation-guard
CRITICAL SAFETY SKILL - Always active. Use this skill to prevent destructive operations without explicit user confirmation. Activate BEFORE any operation that deletes data, resets state, overwrites files, force pushes, drops tables, truncates data, runs migrations, or performs any irreversible action. This skill MUST be consulted before executing potentially harmful commands.
Inside the source file
- Core Principle
- Destructive Operations Checklist
- Mandatory Confirmation Protocol
- Examples of Proper Guardrails
- Recovery Information
- Red Flags - STOP Immediately
- Best Practices Summary
Install this skill individually
npx skills add latestaiagents/agent-skills --skill destructive-operation-guardFile Operation Safetyfile-operation-safety
CRITICAL SAFETY SKILL - Use this skill before any file system operation that deletes, moves, or overwrites files. Activate when the user wants to rm, mv, cp (with overwrite), clear directories, or perform bulk file operations. This skill prevents accidental file loss through verification and confirmation protocols.
Inside the source file
- Danger Levels
- Pre-Operation Protocol
- Safe Patterns
- Protection Mechanisms
- Common Dangerous Patterns to Block
- Recovery Information
- Best Practices Summary
- Pre-Flight Checklist
Install this skill individually
npx skills add latestaiagents/agent-skills --skill file-operation-safetyGit Safetygit-safety
CRITICAL SAFETY SKILL - Use this skill before any Git operation that could lose commits, rewrite history, or affect shared branches. Activate when the user wants to force push, reset hard, rebase, clean, or perform any destructive Git operation. This skill prevents loss of work through verification and confirmation.
Inside the source file
- Danger Levels
- Pre-Operation Protocol
- Safe Git Workflow
- Protected Branches Configuration
- Best Practices Summary
- Pre-Flight Checklist
Install this skill individually
npx skills add latestaiagents/agent-skills --skill git-safetyMigration Safetymigration-safety
CRITICAL SAFETY SKILL - Use this skill before running ANY database migration. Activate when the user wants to run migrations, rollback migrations, re-run migrations, or modify database schema. This skill prevents data loss from migrations by enforcing backup requirements, checking existing data, and requiring explicit confirmation before destructive changes.
Inside the source file
- The Problem This Solves
- Golden Rules
- Pre-Migration Checklist
- Migration Execution Protocol
- Handling Failed Migrations
- Framework-Specific Safety
- Recovery Procedures
- Best Practices Summary
Install this skill individually
npx skills add latestaiagents/agent-skills --skill migration-safetyInstall the skills
With Node.js and npm available, run this in your project’s terminal. The CLI prompts for skills, agent, and installation scope.
npx skills add https://github.com/latestaiagents/agent-skills/tree/main/skills/safety/ai-safety-guardrailsChoose scope, then verify discovery
Choose project scope for instructions tied to this repository, or global scope when you want them available across projects. Check the selected agent’s installed skill list, then try a representative task from the example above.
For one skill, open its contents entry and use the individual command. Installation support and skill behavior vary by agent.
Skills CLI documentation and supported agentsInstall commands follow the repository’s current branch. The inventory on this page is pinned to the source revision below, so a later install may differ.
Source and review status
This inventory is taken from commit a5e492b, committed November 4, 2026. Skill instructions and bundled integrations have not completed a technical review. The worked example is editorial guidance, separate from the source file contents.