2026-05-02 23:18:48 +00:00
${intro}
2025-06-04 17:12:13 +00:00
2026-03-30 03:10:01 +00:00
Be aware: OS: ${os}, Shell: ${shell}
2026-05-02 23:18:48 +00:00
${workdirSection}
2025-12-11 20:58:44 +00:00
2026-05-01 03:48:48 +00:00
Use `${tmp}` for temporary work outside the workspace. This directory has already been created, already exists, and is pre-approved for external directory access.
2026-05-01 03:47:15 +00:00
2025-12-26 04:06:46 +00:00
IMPORTANT: This tool is for terminal operations like git, npm, docker, etc. DO NOT use it for file operations (reading, writing, editing, searching, finding files) - use the specialized tools for this instead.
2026-05-02 23:18:48 +00:00
${commandSection}
2025-06-04 17:12:13 +00:00
2026-05-16 05:18:47 +00:00
# Git and GitHub
- Only commit, amend, push, or create PRs when explicitly requested.
- Before committing, inspect `git status`, `git diff`, and `git log --oneline -10`; stage only intended files and never commit secrets.
- Write a concise commit message that matches the repo style.
- Do not update git config, skip hooks, use interactive `-i`, force-push, or create empty commits unless explicitly requested.
- If a commit fails or hooks reject it, fix the issue and create a new commit; do not amend the failed commit.
- Before creating a PR, inspect status, diff, remote tracking, recent commits, and the diff from the base branch.
- Review all commits included in the PR, not just the latest commit.
- Use `gh` for GitHub tasks, including PRs, issues, checks, and releases; return the PR URL when done.