mit einem Klick
commit-push-pr
// End-of-task git workflow. Writes the commit message, pushes the branch, opens the PR with a structured description.
// End-of-task git workflow. Writes the commit message, pushes the branch, opens the PR with a structured description.
Lewis's deep-research workflow. Drop a question in, get a structured brief back with sources and conflicting views.
Lewis's backtest workflow. Drop a strategy idea in, get a structured backtest plan and results template back.
How Lewis decides what % of capital goes into which bucket. Run when you're sizing a new position or rebalancing.
Paste a function. Get back the same logic in half the lines. Removes accidental complexity without breaking behaviour.
Lewis's TradingView Pine script workflow. Strategy ideation → Pine code → on-chart preview, end-to-end.
Pre-trade risk check. Position sizing, stop placement, R-multiple math — before you click the button, not after.
| name | commit-push-pr |
| description | End-of-task git workflow. Writes the commit message, pushes the branch, opens the PR with a structured description. |
Commit all staged and unstaged changes, push to remote, and open a pull request.
Steps:
git status and git diff to understand what changedgit log --oneline -5 to understand recent commit style in this repogit add specific files (avoid .env, secrets, node_modules)git commit -m "$(cat <<'EOF'
<summary of change>
EOF
)"
git push (or git push -u origin HEAD if no upstream)gh pr create using this format:
gh pr create --title "<short title under 70 chars>" --body "$(cat <<'EOF'
## Summary
- <bullet 1>
- <bullet 2>
## Test plan
- [ ] <manual test step>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
Do not push to main/master without confirmation. If pre-commit hooks fail, fix the issue before retrying — never use --no-verify.