$ recombobulate _
home / tips / generate-github-issue-and-pr-templates-for-your-project
0

Generate GitHub Issue and PR Templates for Your Project

bagwaa @bagwaa · Mar 25, 2026 · Workflows
generate-github-issue-and-pr-templates-for-your-project

Good issue templates prevent low-quality bug reports, and PR templates ensure reviewers get the context they need — let Claude write them from your project's conventions.

claude -p "Read my project structure and README, then generate GitHub issue templates for bug reports and feature requests, plus a PR description template. Match the tech stack and test commands you can see in the project."

Claude creates properly structured files in .github/ISSUE_TEMPLATE/ and a pull_request_template.md tailored to your stack — referencing your actual test commands, CI steps, and the right labels:

## Bug Report

**Describe the bug**
A clear description of what happened.

**To Reproduce**
1. Run `php artisan serve`
2. Navigate to...

**Expected vs Actual behaviour**

**Environment**
- PHP version:
- Laravel version:
- Browser (if applicable):

If you already have templates that aren't being filled in properly, ask Claude to rewrite them to guide contributors more explicitly:

cat .github/pull_request_template.md | claude -p "Rewrite this PR template to prompt contributors more clearly. Add checklist items for tests, documentation updates, and breaking changes."

Five minutes with Claude means every future contributor fills in the right information — without you having to ask.

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Scan Pending Changes for Security Issues with /security-review

The /security-review command scans your uncommitted changes for injection vectors, auth gaps, hardcoded secrets, and other common vulnerabilities.

bagwaa @bagwaa · 1 hour ago
0
Run Setup Scripts on Every Session with the SessionStart Hook

The SessionStart hook fires when any session begins or resumes, making it ideal for loading environment variables and running one-time setup scripts.

bagwaa @bagwaa · 1 hour ago
0
Write Property-Based Tests with fast-check and Claude

Ask Claude to write property-based tests for your functions using fast-check — it identifies the mathematical invariants in your code and generates tests that cover inputs you'd never enumerate by hand.

bagwaa @bagwaa · 2 hours ago