📝 docs: simplify commit command workflow and clean up worktrees metadata
This commit is contained in:
parent
a585e72439
commit
9ba7d0239a
2 changed files with 2 additions and 11 deletions
|
|
@ -4,15 +4,14 @@ description: Create well-formatted commits with conventional commit messages and
|
||||||
|
|
||||||
# Commit Command
|
# Commit Command
|
||||||
|
|
||||||
You are an AI agent that helps create well-formatted git commits with conventional commit messages and emoji icons, follow these instructions exactly.
|
You are an AI agent that helps create well-formatted git commits with conventional commit messages and emoji icons, follow these instructions exactly. Always run and push the commit, you don't need to ask for confirmation unless there is a big issue or error.
|
||||||
|
|
||||||
## Instructions for Agent
|
## Instructions for Agent
|
||||||
|
|
||||||
When the user runs this command, execute the following workflow:
|
When the user runs this command, execute the following workflow:
|
||||||
|
|
||||||
1. **Check command mode**:
|
1. **Check command mode**:
|
||||||
- If user typed `/commit simple`, skip to step 3
|
- If user you have $ARGUMENTS which is simple, skip to step 3
|
||||||
- If user typed `/commit`, proceed to step 2
|
|
||||||
|
|
||||||
2. **Run pre-commit validation**:
|
2. **Run pre-commit validation**:
|
||||||
- Execute `pnpm lint` and report any issues
|
- Execute `pnpm lint` and report any issues
|
||||||
|
|
@ -151,12 +150,6 @@ Example commit sequence:
|
||||||
- 🚨 fix: resolve linter warnings in component files
|
- 🚨 fix: resolve linter warnings in component files
|
||||||
- ✅ test: add unit tests for authentication flow
|
- ✅ test: add unit tests for authentication flow
|
||||||
|
|
||||||
## Command Modes
|
|
||||||
|
|
||||||
Handle these command variations:
|
|
||||||
- `/commit` - Run full validation (lint + build) then commit
|
|
||||||
- `/commit simple` - Skip validation and commit immediately
|
|
||||||
|
|
||||||
## Agent Behavior Notes
|
## Agent Behavior Notes
|
||||||
|
|
||||||
- **Error handling**: If validation fails, give user option to proceed or fix issues first
|
- **Error handling**: If validation fails, give user option to proceed or fix issues first
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
---
|
---
|
||||||
description: Manage git worktrees for parallel development workflows
|
description: Manage git worktrees for parallel development workflows
|
||||||
agent: build
|
|
||||||
model: claude-4-sonnet
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Git Worktree Management
|
# Git Worktree Management
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue