From ef8a8a813f2bab3103ed4c20fdfe1b253d04cdd9 Mon Sep 17 00:00:00 2001 From: janhesters Date: Thu, 16 Apr 2026 20:01:25 +0200 Subject: [PATCH] fix(aidd-pr): strengthen Step 3 delegation prompt requirements The agent was sometimes fixing code inline instead of generating delegation prompts. Strengthen Step 3 with explicit requirements: - Do NOT fix code directly, only produce prompt text - Each prompt must start with /aidd-fix - Must reference specific file, line, and review comment - Must instruct sub-agent to commit to PR branch, not create new one --- ai/skills/aidd-pr/SKILL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ai/skills/aidd-pr/SKILL.md b/ai/skills/aidd-pr/SKILL.md index 419a0d8..4233d41 100644 --- a/ai/skills/aidd-pr/SKILL.md +++ b/ai/skills/aidd-pr/SKILL.md @@ -81,8 +81,12 @@ resolveAddressed(triageResult) { ### Step 3 — Delegate (thinking) delegateRemaining(triageResult) => delegationPrompts { + Do NOT fix code directly — only produce prompt text for sub-agents to execute later. 1. For each remaining issue, generate a `/aidd-fix` delegation prompt - 2. Each prompt targets one issue, referencing the specific file, line, and PR branch + 2. Each prompt must: + - Start with `/aidd-fix` on the first line + - Reference the specific file, line, and review comment + - Instruct the sub-agent to commit directly to the PR branch and not create a new branch 3. Wrap each prompt in a markdown code block for easy copy-paste or sub-agent dispatch }