1
0
mirror of https://github.com/steipete/agent-rules.git synced 2025-12-16 12:00:09 +01:00
Files
agent-rules-mirror/project-rules/commit-fast.mdc
Peter Steinberger b14f443855 Add 15 new development workflow rules from claude-code
Added comprehensive rules adapted from vincenthopf/claude-code:

Development Workflows:
- commit.mdc, commit-fast.mdc: Git commit workflows
- add-to-changelog.mdc: Structured changelog updates
- pr-review.mdc: Multi-role PR review checklist

Code Quality:
- check.mdc: Multi-language code quality checks
- clean.mdc: Auto-fix formatting and linting
- code-analysis.mdc: Advanced analysis options

Problem Solving:
- analyze-issue.mdc: GitHub issue analysis
- bug-fix.mdc: Complete bug-fixing workflow
- implement-task.mdc: Methodical implementation
- five.mdc: Five Whys root cause analysis

Documentation:
- create-docs.mdc: Comprehensive doc generation
- mermaid.mdc: Diagram generation

Project Setup:
- context-prime.mdc: Load project context
- create-command.mdc: Create custom commands

Credit: @vincenthopf (https://github.com/vincenthopf/claude-code)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-12 14:19:32 +02:00

22 lines
960 B
Plaintext

# Fast Commit Task
Generate 3 commit message suggestions based on the staged changes, then automatically use the first suggestion without user confirmation.
Follow conventional commit format with appropriate emojis and create descriptive messages that explain the purpose of changes. Skip the manual message selection step to streamline the commit process.
## Steps:
1. Run `git status` to see staged changes
2. Generate 3 commit message suggestions following conventional commit format
3. Automatically select the first suggestion
4. Execute `git commit -m` with the selected message
5. Exclude Claude co-authorship footer from commits
## Commit Types:
- ✨ feat: New features
- 🐛 fix: Bug fixes
- 📝 docs: Documentation changes
- ♻️ refactor: Code restructuring
- 🧑‍💻 chore: Tooling and maintenance
- 🎨 style: Code formatting, missing semicolons, etc.
- ⚡️ perf: Performance improvements
- ✅ test: Adding or correcting tests