37f35ce0a0
Add two Claude Code helper functions to streamline common dev workflows: - `claude-docs`: triggers Claude to sync README.md with recent session changes - `claude-pr`: triggers Claude to create a branch, commit, push, and open a PR Also add `.claude` to .gitignore and document both functions in README.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 lines
553 B
Fish
4 lines
553 B
Fish
function claude-pr --description 'Claude-code: New branch, commit, push, and PR'
|
|
claude "Act as a senior engineer. Execute this sequence: 1. Create a new git branch (kebab-case). 2. Stage changes and write a Conventional Commit message. 3. Self-verify the changes by running relevant build/test commands or linting. 4. Push to remote. 5. Create a PR to 'main' including a summary of changes and a 'Manual Verification' section containing a Markdown checklist (- [ ]) of specific, bite-sized steps required to manually verify the functionality."
|
|
end
|