Browse Source

📝 docs: simplify commit command workflow and clean up worktrees metadata

darrenhinde 7 months ago
parent
commit
9ba7d0239a
2 changed files with 2 additions and 11 deletions
  1. 2 9
      .opencode/command/commit.md
  2. 0 2
      .opencode/command/worktrees.md

+ 2 - 9
.opencode/command/commit.md

@@ -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 typed `/commit`, proceed to step 2
+   - If user you have $ARGUMENTS which is simple, skip to step 3
 
 
 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  

+ 0 - 2
.opencode/command/worktrees.md

@@ -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