Code Request Safety

Check risk before code actions. Use before running commands, editing files, deleting files, moving data, or changing configuration.

lubochka Updated 1 repo stars

File contents

Code Request Safety

Purpose

Check risk before code actions.

When to Use

Use before running commands, editing files, deleting files, moving data, or changing configuration.

Inputs

User request, filesystem scope, command risk, approval policy, project safety rules.

Steps

  1. Identify the intended operation.
  2. Identify destructive or broad effects.
  3. Verify the allowed scope.
  4. Require a gate for unsafe work.

Gates

Dangerous or unclear operations are blocked or explicitly approved.

Evidence

Chosen command/edit scope and safety rationale.

Anti-Patterns

Running destructive commands from guessed paths.

Related

code-execution, no-secrets

lubochka/xiigen-general-skills commit 8356b3d4a8

Frequently asked questions

npx get-skill add lubochka/code-request-safety-2