From dff4c5ff2096d342d2c374fc680659686faac414 Mon Sep 17 00:00:00 2001 From: Trevin Chow Date: Sat, 18 Apr 2026 01:53:00 -0700 Subject: [PATCH] fix(ce-pr-description): mark return block as hand-off, not termination Step 9's return block reads like a terminal output, which caused a caller (git-commit-push-pr) to exit the workflow instead of running the expected gh pr create / gh pr edit. Add one sentence at the end of Step 9 naming the return as a hand-off and directing the agent to continue the parent's remaining steps. --- plugins/compound-engineering/skills/ce-pr-description/SKILL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/compound-engineering/skills/ce-pr-description/SKILL.md b/plugins/compound-engineering/skills/ce-pr-description/SKILL.md index 81b95036d..84bcf7a3b 100644 --- a/plugins/compound-engineering/skills/ce-pr-description/SKILL.md +++ b/plugins/compound-engineering/skills/ce-pr-description/SKILL.md @@ -370,6 +370,8 @@ Do not emit the body markdown in the return block — the caller reads it from ` If Step 1 exited gracefully (closed/merged PR, invalid range, empty commit list), do not create a body file — just return the reason string. +**The return block is a hand-off, not task completion.** When invoked by a parent skill (e.g., `git-commit-push-pr`), emit the return block and then continue executing the parent's remaining steps (typically `gh pr create` or `gh pr edit` with the returned title and body file). Do not stop after the return block unless invoked directly by the user with no parent workflow. + --- ## Cross-platform notes