Add 5 pi extensions: pi-subagents, pi-crew, rpiv-pi, pi-interactive-shell, pi-intercom
This commit is contained in:
21
extensions/pi-crew/skills/safe-bash/SKILL.md
Normal file
21
extensions/pi-crew/skills/safe-bash/SKILL.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: safe-bash
|
||||
description: Safe shell-command workflow. Use whenever a task may execute shell commands, especially to prefer read-only commands and avoid destructive actions without confirmation.
|
||||
---
|
||||
|
||||
# safe-bash
|
||||
|
||||
Use this skill whenever a task may execute shell commands.
|
||||
|
||||
## Rules
|
||||
|
||||
- Prefer read-only commands first: `pwd`, `ls`, `find`, `rg`, `git status`, package-manager dry runs.
|
||||
- Before mutating commands, explain the target path and expected effect.
|
||||
- Never run destructive cleanup (`rm -rf`, `git clean`, force delete, prune, reset hard) without explicit confirmation.
|
||||
- Avoid shell-specific assumptions when a cross-platform Node/Pi API exists.
|
||||
- On Windows, prefer argv-based process execution and avoid `cmd /c start` or `/bin/bash` unless explicitly required.
|
||||
- Capture verification output and summarize exit status.
|
||||
|
||||
## Reporting
|
||||
|
||||
Mention commands run and whether they were read-only or mutating.
|
||||
Reference in New Issue
Block a user