stacksmith-safety

Intercept risky commands and enforce confirmation gates across development workflows.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/TimLai666/skills --skill stacksmith-safety
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacksmith-safety
Source: https://github.com/TimLai666/skills/tree/main/stacksmith-safety
Command: npx skills add https://github.com/TimLai666/skills --skill stacksmith-safety

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stacksmith-safety provides runtime safety controls for software projects, intercepting risky actions and enforcing preflight checks to prevent unintended destructive changes.

Core Features & Use Cases

  • Intercept dangerous commands and require confirmations before destructive operations.
  • Manage safety modes: careful, freeze, guard, and off to tailor protections during development or deployment.
  • Maintain an audit trail of actions and decisions for traceability.

Quick Start

Enable careful mode by running /stacksmith-safety careful on to begin enforcing safety gates.

Frequently Asked Questions about stacksmith-safety

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add safety guardrails to intercept destructive shell commands?

Safety modes like careful, freeze, guard, and off tailor runtime protections by defining how confirmation gates handle risky operations. Careful mode enforces preflight checks, freeze halts changes entirely, and guard applies standard routing protections.

What is the best way to enforce confirmation gates for database migrations?

Confirmation gates for database migrations enforce safety by intercepting risky migration commands and requiring manual approval. This runtime safeguard prevents unintended destructive database changes by applying preflight checks before executing migration workflows.

How do I maintain an audit trail for risky version-control rewrites?

An audit trail for version-control rewrites maintains traceability by logging intercepted commands and safety decisions. This lightweight record captures all actions across development and deployment workflows, ensuring full accountability for risky version-control changes.

Can I disable safety checks for destructive commands during local development?

You can disable safety checks for destructive commands by switching to off mode. This turns off runtime safeguards and confirmation gates, allowing risky commands to execute directly without preflight interception during local development.

When should I use freeze mode instead of careful mode for risk management?

Use freeze mode instead of careful mode when you need to halt all risky changes entirely. Careful mode intercepts destructive commands and requires confirmation, while freeze mode blocks risky operations completely to enforce strict risk management during deployments.