其他

operating-safely

riekelt/princip…engineer

Use when an action touches live systems, shared state, or things that do not come back - deleting, overwriting, restarting, killing processes, editing shared config, handling secrets, or working beside concurrent sessions. Encodes the destructive-op guards, secrets hygiene, and concurrent-session safety. Use before the destructive command, not after, even when the command looks routine.

  • 1.9万 次安装
  • 6 星标
  • 收录于

安装命令

npx skills add https://github.com/riekelt/principal-engineer --skill operating-safely

SKILL.md

Operating safely

REQUIRED BACKGROUND: the principal-engineering skill.

Overview

Some things (production data, secret exposure, a colleague's uncommitted work) do not come back at all.

Destructive operations

  • Look at the target first. Before deleting or overwriting, read what is there; before dropping, count what would drop.
  • Targeted over bulk. Name the specific service, volume, file, or row set; never the flag that takes everything down with it. Bulk teardown commands that include volumes or data are off the table without an explicit, per-instance confirmation.
  • The operator owns live process lifecycles. Ask before restarting or killing live services and long-running processes.
  • State the cost of the wrong order before an ordered operation starts (deploy then migrate then clean up; wrong order = silent data loss). Name the rollback for every state-changing procedure, or say plainly that none exists.
  • Database changes need their own confirmation. Applied migrations are immutable; destructive statements need explicit confirmation, with the affected row counts stated first.

Secrets