diff --git a/plugins/compound-engineering/skills/ce-work-beta/SKILL.md b/plugins/compound-engineering/skills/ce-work-beta/SKILL.md index 8328e58..ce84d73 100644 --- a/plugins/compound-engineering/skills/ce-work-beta/SKILL.md +++ b/plugins/compound-engineering/skills/ce-work-beta/SKILL.md @@ -74,8 +74,17 @@ Determine how to proceed based on what was provided in ``. ``` **If already on a feature branch** (not the default branch): - - Ask: "Continue working on `[current_branch]`, or create a new branch?" - - If continuing, proceed to step 3 + + First, check whether the branch name is **meaningful** — a name like `feat/crowd-sniff` or `fix/email-validation` tells future readers what the work is about. Auto-generated worktree names (e.g., `worktree-jolly-beaming-raven`) or other opaque names do not. + + If the branch name is meaningless or auto-generated, suggest renaming it before continuing: + ```bash + git branch -m + ``` + Derive the new name from the plan title or work description (e.g., `feat/crowd-sniff`). Present the rename as a recommended option alongside continuing as-is. + + Then ask: "Continue working on `[current_branch]`, or create a new branch?" + - If continuing (with or without rename), proceed to step 3 - If creating new, follow Option A or B below **If on the default branch**, choose how to proceed: diff --git a/plugins/compound-engineering/skills/ce-work/SKILL.md b/plugins/compound-engineering/skills/ce-work/SKILL.md index 6644f1a..0e601d1 100644 --- a/plugins/compound-engineering/skills/ce-work/SKILL.md +++ b/plugins/compound-engineering/skills/ce-work/SKILL.md @@ -73,8 +73,17 @@ Determine how to proceed based on what was provided in ``. ``` **If already on a feature branch** (not the default branch): - - Ask: "Continue working on `[current_branch]`, or create a new branch?" - - If continuing, proceed to step 3 + + First, check whether the branch name is **meaningful** — a name like `feat/crowd-sniff` or `fix/email-validation` tells future readers what the work is about. Auto-generated worktree names (e.g., `worktree-jolly-beaming-raven`) or other opaque names do not. + + If the branch name is meaningless or auto-generated, suggest renaming it before continuing: + ```bash + git branch -m + ``` + Derive the new name from the plan title or work description (e.g., `feat/crowd-sniff`). Present the rename as a recommended option alongside continuing as-is. + + Then ask: "Continue working on `[current_branch]`, or create a new branch?" + - If continuing (with or without rename), proceed to step 3 - If creating new, follow Option A or B below **If on the default branch**, choose how to proceed: