Generate GitHub Issue Templates for Your Project with Claude
Good issue templates reduce the back-and-forth of "I need more information" comments — let Claude write them based on how your project actually works.
claude "Read the README.md, CONTRIBUTING.md, and recent closed issues in this repo. Generate a complete .github/ISSUE_TEMPLATE/ directory with three templates: bug_report.yml, feature_request.yml, and question.yml. Use the GitHub issues forms format with proper labels, dropdowns, and required fields."
Claude tailors the fields to your actual stack — a Laravel project gets a PHP version field and a reproduction URL pointing to Laravelplayground; a React library gets a CodeSandbox template link.
For a more specific fit, describe what good issues look like in your project:
claude "Create a bug report template for a CLI tool. Required fields: CLI version (from --version output), OS and shell, the exact command that failed, expected vs actual output, and steps to reproduce. Add a checkbox that confirms they've searched existing issues."
You can also ask Claude to write the config.yml that controls the issue creation experience:
# Claude can generate this too
blank_issues_enabled: false
contact_links:
- name: Security Vulnerabilities
url: https://example.com/security
about: Please report security issues privately
And for projects with a GitHub Discussions forum, Claude can generate discussion templates to route questions away from the issue tracker entirely.
Five minutes with Claude produces templates that save hours of issue triage for the whole life of your project.
Log in to leave a comment.
The /security-review command scans your uncommitted changes for injection vectors, auth gaps, hardcoded secrets, and other common vulnerabilities.
The SessionStart hook fires when any session begins or resumes, making it ideal for loading environment variables and running one-time setup scripts.
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.