shell-scripts
Shell Scripts Workflow
Workflow for shell script changes.
Prerequisites
- Use
git-workflowSkill for branch, commit, and PR workflow. - Refer to
.claude/rules/shell-script.mdfor detailed best practices (SSOT).
Applicable Files
| Path | Description |
|---|---|
scripts/ |
All shell scripts |
*.sh |
Shell scripts anywhere |
Workflow
1. Make Changes
Edit shell scripts following the rules in .claude/rules/shell-script.md.
2. Verify (from rules/shell-script.md)
make shfmt
shellcheck scripts/{script}.sh # if installed
3. Self-Review Checklist
- Script is executable (
chmod +x) - Has shebang line (
#!/usr/bin/env bash) - Uses strict mode (
set -euo pipefail) - Variables are quoted
- All comments and messages are in English
Related
.claude/rules/shell-script.md- Shell rules (SSOT)git-workflow- Branch, commit, PR workflow
More from hiromaily/go-crypto-wallet
makefile-update
Makefile development workflow. Use when modifying Makefile or files in make/ directory.
33docs-update
Documentation update workflow. Use when modifying files in docs/ directory or any markdown files (*.md).
33btc-terminology
Critical Bitcoin terminology rules to prevent confusion between bech32m (encoding) and taproot (address type). Use when working on BTC-related code, config files, or shell scripts.
33db-migration
Database schema and migration workflow. Use when modifying database schemas in tools/atlas/ or SQLC queries in tools/sqlc/.
30openspec-propose
Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.
24mockery
>
14