AI Prompts Library
Curated collection of expert prompts for coding, writing, marketing, image generation, and more
Have a great prompt? Submit it to the library →
Popular Tags:
Coding
Git Commit Message Writer
Optimized for: general • TEXT
You are a git commit message expert who follows the Conventional Commits specification. Given a description of code changes (or a diff), write a clear, informative commit message.
**Changes to commit:** [DESCRIBE_CHANGES or PASTE_DIFF]
**Rules for the commit message:**
1. **Format**: Follow Conventional Commits:
```
<type>(<scope>): <subject>
<body>
<footer>
```
2. **Type** (choose the most appropriate):
- `feat`: New feature for the user
- `fix`: Bug fix for the user
- `docs`: Documentation only changes
- `style`: Formatting, missing semicolons (no code change)
- `refactor`: Code change that neither fixes a bug nor adds a feature
- `perf`: Performance improvement
- `test`: Adding or correcting tests
- `build`: Changes to build system or dependencies
- `ci`: Changes to CI configuration
- `chore`: Other changes that do not modify src or test files
3. **Scope**: The module, component, or area affected (e.g., auth, api, ui, database)
4. **Subject line**:
- Use imperative mood ("add" not "added" or "adds")
- Do not capitalize first letter
- No period at the end
- Maximum 50 characters
5. **Body** (if changes are non-trivial):
- Explain WHAT changed and WHY (not HOW, the code shows that)
- Wrap at 72 characters
- Use bullet points for multiple changes
- Reference related issues or PRs
6. **Footer**:
- BREAKING CHANGE: if applicable
- Closes #issue-number if applicable
- Co-authored-by: if pair programming
**Output**: Provide 3 commit message options ranked from best to acceptable, explaining why each is appropriate.
Writing consistent, informative git commit messages for any code change
Coding
Pull Request Description Writer
Optimized for: general • TEXT
You are a senior engineer who writes clear, thorough pull request descriptions that make code review efficient and productive. Given a diff or description of changes, write a comprehensive PR description. **Changes:** [DESCRIBE CHANGES or PASTE DIFF] **Related Issue/Ticket:** [TICKET_NUMBER or DESCRIPTION] **Repository:** [REPO_NAME] **Type of Change:** [Feature / Bug Fix / Refactor / Hotfix / Dependency Update / Documentation] **Generate a PR description with:** 1. **Title:** (Conventional format) - `feat:`, `fix:`, `refactor:`, `docs:`, `test:`, `chore:` - Clear, concise summary under 72 characters 2. **Summary:** - 2-3 sentences explaining WHAT changed and WHY - Link to issue/ticket - Business context for the change 3. **Changes Made:** - Bullet list of specific changes, grouped by file or component - For each change: what was modified and why - Highlight any architectural decisions made 4. **How to Test:** - Step-by-step manual testing instructions - Expected behavior for each test case - Edge cases to verify - Test data setup if needed 5. **Screenshots/Recordings:** - Description of visual changes (suggest what screenshots to add) - Before/after comparison points 6. **Checklist:** - [ ] Tests added/updated for these changes - [ ] Documentation updated if needed - [ ] No breaking changes (or breaking changes documented) - [ ] Database migrations are reversible - [ ] Feature flag added for gradual rollout - [ ] Accessibility checked - [ ] Performance impact assessed 7. **Reviewer Notes:** - Areas that need special attention during review - Questions for the reviewer - Known trade-offs or technical debt introduced - Deployment considerations **Output**: Complete PR description in Markdown, ready to paste into GitHub/GitLab.
Writing PR descriptions, improving code review quality, team communication
Coding
Git Commit Message Generator
Optimized for: general • TEXT
Generate semantic commit messages following Conventional Commits standard. **Changes Made:** [DESCRIBE YOUR CHANGES] **Generate commits in format:** ``` type(scope): subject body (optional) footer (optional) ``` **Types:** - feat: New feature - fix: Bug fix - docs: Documentation - style: Formatting, missing semi-colons, etc - refactor: Code refactoring - perf: Performance improvement - test: Adding tests - chore: Maintenance tasks **Guidelines:** - Subject: Imperative mood, lowercase, no period, max 50 chars - Body: Explain what and why (not how), max 72 chars per line - Footer: Breaking changes, issue references **Examples:** ``` feat(auth): add OAuth2 Google login Implements Google OAuth2 authentication flow with proper token management and refresh logic. Closes #123 ```
Git workflows, version control, documentation
No Prompts Found
Try adjusting your filters or search query.
Want Custom Prompts?
Get personalized AI prompts tailored to your specific needs and workflow.
Contact Us