safe-command-patterns
Reusable command rules that minimize accidental data loss, context overflow, and unreviewed changes. Use before editing, searching, and committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reusable command rules that minimize accidental data loss, context overflow, and unreviewed changes. Use before editing, searching, and committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run ProjectTwelve Unity batch validation and EditMode/PlayMode test suites via Unity 6000.5.1f1. Use when the user or ticket asks to run Unity tests, EditMode fixtures, batchmode validation, or verify test results from TestResults/*.xml.
Log agent sessions, consolidate project memory (dream), promote reviewed memory, and load context for new chats. Use when ending a session, improving cross-session recall, or when the user mentions agent memory, dream, log-session, or memory.md.
Wiki tickets under docs/wiki/tickets/ are the canonical task queue, each linked to a GitHub issue. Use when picking work, claiming an issue, or preparing PR references.
Recommend the next open wiki ticket to work on, ranked by phase then priority, without claiming or mutating anything. Use when the user asks "what's next", to pick the next task, or to start work without a specific ticket in hand.
Sync project-twelve with the Assets/_Licensed submodule via fetch_remotes.py, git hooks, and /fetch-remotes. Use at session start, before picking backlog work, or when the user asks to sync repos or get latest.
Use when the user asks to commit and push, publish, ship, or prepare a release commit. Guides staging only intended changes, writing a Conventional Commit, committing, and pushing to origin after verifying status and diff.
| name | safe-command-patterns |
| description | Reusable command rules that minimize accidental data loss, context overflow, and unreviewed changes. Use before editing, searching, and committing. |
Default safety rails for agent shell usage: bounded output, inspect-before-edit, confirmation gates.
Throughout every coding task — before search, edit, test, or commit.
git, rg or IDE search; optional bat, delta.
Install blocks are shared — See install-blocks.md.
Use winget blocks from the reference when provisioning a new machine.
Use apt/curl blocks from the reference; symlink fdfind → fd if needed.
Use Homebrew blocks from the reference.
git status --short
git diff --stat
git diff -- path/to/file
rg "pattern" path/ --max-count 30
ffgrep/fffind for repeated repo search over many shell roundtrips; one-off probes may still use rg/fd.See commands-requiring-confirmation.md.
--max-count, path prefix, or -g globs.git rev-parse --show-toplevel.Get-Content -TotalCount N instead of dumping full files./mnt/c/... unless intentional.git status --short before editsgit diff --stat before commit