Skip to content
Back to skills

Side Effect Safety

ASecurity

Use when work may write to external systems, perform destructive operations, publish, migrate, delete, send, push, or broadly modify files.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 3, 2026
ai-agents

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add ShugokiFable/Ultimate-AI-Starter-Bundle --skill side-effect-safety --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Side Effect Safety?

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

Security grade badge for Side Effect Safety
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shugokifable-side-effect-safety/badge)](https://www.skillsdirectory.com/skills/shugokifable-side-effect-safety)

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
---
name: side-effect-safety
description: Use when work may write to external systems, perform destructive operations, publish, migrate, delete, send, push, or broadly modify files.
---

# Side-Effect Safety

## Core rule
Before an **irreversible** or externally visible action, verify intent, target, **scope**, prerequisites, and **rollback**.

## Gate
1. Identify exactly what state changes and where.
2. Read current state immediately before the write.
3. Narrow the operation to the minimum target set.
4. Preserve recoverable state: backup, branch, snapshot, transaction, or export.
5. Validate required preconditions and authorization.
6. Execute once; do not blindly retry ambiguous writes.
7. Read back the resulting state and verify it matches intent.

If a write returns an uncertain result, perform a read-only verification before retrying. Duplicate emails, releases, PRs, payments, or config blocks are usually caused by treating “timeout” as “nothing happened”.

Prefer reversible staging before irreversible publication.

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…