一键导入
shell-discipline
Shell discipline — one command per call, no inline env vars, gh auth login.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Shell discipline — one command per call, no inline env vars, gh auth login.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | shell-discipline |
| description | Shell discipline — one command per call, no inline env vars, gh auth login. |
&&, ;, or cd dir && command. Use separate calls — first cd, then the command.VAR=value command. Set env separately or use proper auth tools.gh auth login / gh auth switch to switch GitHub accounts — never prefix with GH_TOKEN=....Each chained command is one opaque action to the permission layer; splitting them gives one auditable tool call per intent. Inline env vars hide configuration in the command line and leak secrets into shell history; explicit auth tools (gh auth login) keep credentials in the keyring where they belong.
gh CLI installed and authenticated.gh auth login fails or token expired. Re-run gh auth login -h github.com interactively, then gh auth status to verify. Don't paste the token into a shell command.gh auth switch -u <user>. If that user's token is invalid, re-auth that account before switching.sudo inline; an unattended agent shouldn't be entering passwords.Generate one "Implement Block X" GitHub issue per Spec Kit tasks.md PR-stack block, with a minimal body pointing at tasks.md as the source of truth.
Implement one Spec Kit `tasks.md` PR-stack block end-to-end — TDD + review + PR + CI fix loop.
Apply KISS, YAGNI, DRY, SOLID, fail-fast, be-brief on every code decision.
Five-pass review of a diff: code, security, architecture, acceptance, AI-native.
Apply Solidity conventions — Foundry only, forge fmt, solhint:all, fuzz tests.
Commit via feature branch + PR + git hooks; never push main, never merge.