From 027efffe525c32ed1d4f118f9e8d90b7a52fe2c1 Mon Sep 17 00:00:00 2001 From: Sheldon Finlay Date: Fri, 27 Mar 2026 08:12:02 -0400 Subject: [PATCH] fix: rename skill dirs for clean plugin namespacing (agent-loop:init not agent-loop:loop-init) --- skills/{loop-init => init}/SKILL.md | 0 skills/loop-triage/SKILL.md | 83 ----------------------------- skills/{loop-plan => plan}/SKILL.md | 0 skills/{loop-run => run}/SKILL.md | 0 4 files changed, 83 deletions(-) rename skills/{loop-init => init}/SKILL.md (100%) delete mode 100644 skills/loop-triage/SKILL.md rename skills/{loop-plan => plan}/SKILL.md (100%) rename skills/{loop-run => run}/SKILL.md (100%) diff --git a/skills/loop-init/SKILL.md b/skills/init/SKILL.md similarity index 100% rename from skills/loop-init/SKILL.md rename to skills/init/SKILL.md diff --git a/skills/loop-triage/SKILL.md b/skills/loop-triage/SKILL.md deleted file mode 100644 index 3657a28..0000000 --- a/skills/loop-triage/SKILL.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -name: triage -description: Generate a human handoff brief summarizing loop status — completed, blocked, and remaining stories with recommended next steps. ---- - -# /triage — Generate Human Handoff Brief - -Generate a triage brief summarizing the current state of a loop run. Use this when: -- The loop hit max iterations without completing -- You want a status check mid-run -- You're handing off to another developer - -## Instructions - -When the user invokes `/loop-triage`: - -### Step 1: Read Current State - -1. Read `.loop/prd.json` — get story statuses -2. Read `.loop/progress.md` — get session log and patterns -3. Read `.loop/config.json` — get mode and iteration settings -4. Check git log for recent commits on the loop branch - -### Step 2: Analyze - -For each story, determine: -- **Complete**: `passes: true`, verified by evaluator -- **In Progress**: `passes: false`, has been attempted (check progress.md for entries) -- **Blocked**: `passes: false`, rejected multiple times (check `rejections` count and `notes`) -- **Not Started**: `passes: false`, no progress.md entries, no rejections - -### Step 3: Generate Brief - -Write to `.loop/triage/TRIAGE_BRIEF.md`: - -```markdown -# Triage Brief - -Generated: {current date and time} -Mode: {mode from config.json} -Branch: {branchName from prd.json} - -## Status Summary - -- **Complete:** {N} stories -- **In Progress:** {N} stories -- **Blocked:** {N} stories (hit retry limit) -- **Not Started:** {N} stories - -## Story Details - -| ID | Title | Status | Rejections | Notes | -|----|-------|--------|------------|-------| -| US-001 | ... | Complete | 0 | | -| US-002 | ... | Blocked | 3 | Evaluator rejected: ... | -| US-003 | ... | Not Started | 0 | | - -## Key Patterns Discovered - -{Copy the Codebase Patterns section from progress.md} - -## Blocked Stories — Analysis - -For each blocked story, summarize: -- What was attempted -- Why it was rejected (from notes field) -- Suggested approach for a human to unblock it - -## Recommended Next Steps - -Based on the current state: -1. {Most important next action} -2. {Second priority} -3. {Third priority} - -## Files Modified - -{List all files changed across all commits on the loop branch, with brief descriptions} -``` - -### Step 4: Present to User - -Show the summary inline and tell the user where the full brief is saved. diff --git a/skills/loop-plan/SKILL.md b/skills/plan/SKILL.md similarity index 100% rename from skills/loop-plan/SKILL.md rename to skills/plan/SKILL.md diff --git a/skills/loop-run/SKILL.md b/skills/run/SKILL.md similarity index 100% rename from skills/loop-run/SKILL.md rename to skills/run/SKILL.md