.pi/prompts/wr.md
Wrap it.
Additional instructions: $ARGUMENTS
Determine context from the conversation history first.
Rules for context detection:
/is or /pr, assume the issue or PR context is already known from the conversation and from the analysis work already done.Unless I explicitly override something in this request, do the following in order:
Add or update the relevant package changelog entry under ## [Unreleased] using the repo changelog rules.
If this task is tied to a GitHub issue or PR and a final issue or PR comment has not already been posted in this session, draft it in my tone, preview it, and post exactly one final comment. The comment must end with this exact standalone disclaimer line, with no variations:
This comment is AI-generated by `/wr`
Commit only files you changed in this session.
If this task is tied to exactly one GitHub issue, include closes #<issue> in the commit message. If it is tied to multiple issues, stop and ask which one to use. If it is not tied to any issue, do not include closes # or fixes # in the commit message.
Check the current git branch. If it is not main, stop and ask what to do. Do not push from another branch unless I explicitly say so.
Push the current branch.
Constraints:
git add . or git add -A.