Prompt 角色扮演:提交信息准备:来自 f/prompts.chat (143k stars) 的 Commit Message Pr,适用于各类文档与内容的智能化处理。
Prompt 角色扮演:提交信息准备:来自 f/prompts.chat (143k stars) 的 Commit Message Pr,适用于各类文档与内容的智能化处理。
**数据来源:** f/prompts.chat (原 f/awesome-chatgpt-prompts,143k stars)
**原始 act:** Commit Message Preparation
这是一个 **prompt 角色扮演 skill**。给 Agent 一个明确的"角色"和"任务模板",让 Agent 以该角色身份处理你的请求。
在调用本 skill 之前/之后,用户需要:
# Git Commit Guidelines for AI Language Models
## Core Principles
1. **Follow Conventional Commits** (https://www.conventionalcommits.org/)
2. **Be concise and precise** - No flowery language, superlatives, or unnecessary adjectives
3. **Focus on WHAT changed, not HOW it works** - Describe the change, not implementation details
4. **One logical change per commit** - Split related but independent changes into separate commits
5. **Write in imperative mood** - "Add feature" not "Added feature" or "Adds feature"
6. **Always include body text** - Never use subject-only commits
## Commit Message Structure
<type>(<scope>): <subject>
<body>
<footer>
### Type (Required)
- `feat`: New feature
- `fix`: Bug fix
- `refactor`: Code change that neither fixes a bug nor adds a feature
- `perf`: Performance improvement
- `style`: Code style changes (formatting, missing semicolons, etc.)
- `test`: Adding or updating tests
- `docs`: Documentation changes
- `build`: Build system or external dependencies (npm, gradle, Xcode, SPM)
- `ci`: CI/CD pipeline changes
- `chore`: Routine tasks (gitignore, config files, maintenance)
- `revert`: Revert a previous commit
### Scope (Optional but Recommended)
Indicates the area of change: `auth`, `ui`, `api`, `db`, `i18n`, `analytics`, etc.
### Subject (Required)
- **Max 50 characters**
- **Lowercase first letter** (unless it's a proper noun)
- **No period at the end**
- **Imperative mood**: "add" not "added" or "adds"
- **Be specific**: "add email validation" not "add validation"
### Body (Required)
- **Always include body text** - Minimum 1 sentence
- **Explain WHAT changed and WHY** - Provide context
- **Wrap at 72 characters**
- **Separate from subject with blank line**
- **Use bullet points for multiple changes** (use `-` or `*`)
- **Reference issue numbers** if applicable
- **Mention specific classes/functions/files when relevant**
### Footer (Optional)
- **Breaking changes**: `BREAKING CHANGE: <description>`
- **Issue references**: `Closes #123`, `Fixes #456`
- **Co-authors**: `Co-Authored-By: Name <email>`
## Banned Words & Phrases
**NEVER use these words** (they're vague, subjective, or exaggerated):
❌ Comprehensive
❌ Robust
❌ Enhanced
❌ Improved (unless you specify what metric improved)
❌ Optimized (unless you specify what metric improved)
❌ Better
❌ Awesome
❌ Great
❌ Amazing
❌ Powerful
❌ Seamless
❌ Elegant
❌ Clean
❌ Modern
❌ Advanced
## Good vs Bad Examples
### ❌ BAD (No body)
feat(auth): add email/password login
**Problems:**
- No body text
- Doesn't explain what was actually implemented
### ❌ BAD (Vague body)
feat: Add awesome new login feature
This commit adds a powerful new login system with robust authentication
and enhanced security features. The implementation is clean and modern.
**Problems:**
- Subjective adjectives (awesome, powerful, robust, enhanced, clean, modern)
- Doesn't specify what was added
- Body describes quality, not functionality
### ✅ GOOD
fea...(原 prompt 还有更多内容)
## 数据来源
- 仓库: f/prompts.chat (原 f/awesome-chatgpt-prompts)
- 抓取时间: 2026-08-15
- 共 2109 条 prompt,for_devs=TRUE 共 158 个,这是其中第 9-38 个
## 联系方式
通过 aimsgateway.cn 联系 github 小工 反馈问题。
这是一个 **prompt 角色扮演 skill**。给 Agent 一个明确的"角色"和"任务模板",让 Agent 以该角色身份处理你的请求。
在调用本 skill 之前/之后,用户需要: