From 9ba7d0239aca2049876b569c454a490f2aa0291a Mon Sep 17 00:00:00 2001 From: darrenhinde <107584450+darrenhinde@users.noreply.github.com> Date: Fri, 29 Aug 2025 17:56:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20simplify=20commit=20comm?= =?UTF-8?q?and=20workflow=20and=20clean=20up=20worktrees=20metadata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .opencode/command/commit.md | 11 ++--------- .opencode/command/worktrees.md | 2 -- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.opencode/command/commit.md b/.opencode/command/commit.md index 425e4c2..38d5a40 100644 --- a/.opencode/command/commit.md +++ b/.opencode/command/commit.md @@ -4,15 +4,14 @@ description: Create well-formatted commits with conventional commit messages and # 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 When the user runs this command, execute the following workflow: 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**: - Execute `pnpm lint` and report any issues @@ -151,12 +150,6 @@ Example commit sequence: - 🚨 fix: resolve linter warnings in component files - ✅ 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 - **Error handling**: If validation fails, give user option to proceed or fix issues first diff --git a/.opencode/command/worktrees.md b/.opencode/command/worktrees.md index 98f94dc..3430b4e 100644 --- a/.opencode/command/worktrees.md +++ b/.opencode/command/worktrees.md @@ -1,7 +1,5 @@ --- description: Manage git worktrees for parallel development workflows -agent: build -model: claude-4-sonnet --- # Git Worktree Management