@alecsibilia/luca 13.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +47 -0
- package/bin/luca.js +3 -0
- package/dist/chunks/branch.mjs +47 -0
- package/dist/chunks/bun-runtime.mjs +46 -0
- package/dist/chunks/checks.mjs +53 -0
- package/dist/chunks/claim-verify.mjs +465 -0
- package/dist/chunks/classify.mjs +105 -0
- package/dist/chunks/confidence.mjs +199 -0
- package/dist/chunks/doctor.mjs +158 -0
- package/dist/chunks/hook.mjs +696 -0
- package/dist/chunks/init.mjs +715 -0
- package/dist/chunks/muninndb-health.mjs +66 -0
- package/dist/chunks/phase.mjs +38 -0
- package/dist/chunks/pr-review.mjs +122 -0
- package/dist/chunks/preferences.mjs +61 -0
- package/dist/chunks/repair.mjs +111 -0
- package/dist/chunks/repo.mjs +58 -0
- package/dist/chunks/retro.mjs +86 -0
- package/dist/chunks/roadmap.mjs +58 -0
- package/dist/chunks/rules.mjs +527 -0
- package/dist/chunks/stale-mcp-server.mjs +90 -0
- package/dist/chunks/state.mjs +57 -0
- package/dist/chunks/stray-local-install.mjs +200 -0
- package/dist/chunks/telemetry.mjs +165 -0
- package/dist/chunks/todo.mjs +151 -0
- package/dist/chunks/vault-init.mjs +300 -0
- package/dist/chunks/verification.mjs +95 -0
- package/dist/chunks/version.mjs +70 -0
- package/dist/chunks/workflow.mjs +47 -0
- package/dist/claude/.claude/agents/architect.md +410 -0
- package/dist/claude/.claude/agents/build.md +111 -0
- package/dist/claude/.claude/agents/discuss.md +93 -0
- package/dist/claude/.claude/agents/discussion.md +149 -0
- package/dist/claude/.claude/agents/execute.md +416 -0
- package/dist/claude/.claude/agents/executor.md +161 -0
- package/dist/claude/.claude/agents/fast.md +84 -0
- package/dist/claude/.claude/agents/finalize.md +484 -0
- package/dist/claude/.claude/agents/learner.md +160 -0
- package/dist/claude/.claude/agents/plan-reviewer.md +129 -0
- package/dist/claude/.claude/agents/plan.md +96 -0
- package/dist/claude/.claude/agents/research.md +327 -0
- package/dist/claude/.claude/agents/researcher.md +78 -0
- package/dist/claude/.claude/agents/review.md +283 -0
- package/dist/claude/.claude/agents/reviewer.md +163 -0
- package/dist/claude/.claude/agents/shadow-scanner.md +257 -0
- package/dist/claude/.claude/agents/triage.md +230 -0
- package/dist/claude/.claude/agents/verifier.md +131 -0
- package/dist/claude/.claude/commands/bug-diagnose.md +12 -0
- package/dist/claude/.claude/commands/gh-issue-triage.md +14 -0
- package/dist/claude/.claude/commands/gh-pr-address.md +235 -0
- package/dist/claude/.claude/commands/gh-prepare.md +12 -0
- package/dist/claude/.claude/commands/grill-me.md +12 -0
- package/dist/claude/.claude/commands/lu-review.md +51 -0
- package/dist/claude/.claude/commands/lu.md +75 -0
- package/dist/claude/.claude/commands/luca-init.md +14 -0
- package/dist/claude/.claude/commands/luca-telemetry-report.md +12 -0
- package/dist/claude/.claude/commands/memory-audit.md +12 -0
- package/dist/claude/.claude/commands/milestone-new.md +122 -0
- package/dist/claude/.claude/commands/phase-discuss.md +45 -0
- package/dist/claude/.claude/commands/phase-execute.md +39 -0
- package/dist/claude/.claude/commands/phase-plan.md +53 -0
- package/dist/claude/.claude/commands/repo-cleanup.md +80 -0
- package/dist/claude/.claude/commands/todo-add.md +28 -0
- package/dist/claude/.claude/commands/todo-check.md +36 -0
- package/dist/claude/.claude/hooks/context-refresher.ts +285 -0
- package/dist/claude/.claude/hooks/continuation-messages.ts +215 -0
- package/dist/claude/.claude/hooks/pipeline-guard.ts +182 -0
- package/dist/claude/.claude/settings.json +41 -0
- package/dist/claude/skills/arch-audit/SKILL.md +161 -0
- package/dist/claude/skills/autopilot/SKILL.md +1299 -0
- package/dist/claude/skills/bug-diagnose/SKILL.md +102 -0
- package/dist/claude/skills/choose/SKILL.md +124 -0
- package/dist/claude/skills/gh-issue-triage/SKILL.md +97 -0
- package/dist/claude/skills/gh-pr-address/SKILL.md +235 -0
- package/dist/claude/skills/gh-prepare/SKILL.md +209 -0
- package/dist/claude/skills/grill-me/SKILL.md +46 -0
- package/dist/claude/skills/lu/SKILL.md +112 -0
- package/dist/claude/skills/lu-review/SKILL.md +51 -0
- package/dist/claude/skills/luca-init/SKILL.md +91 -0
- package/dist/claude/skills/luca-telemetry-report/SKILL.md +145 -0
- package/dist/claude/skills/luca-write-surface/SKILL.md +213 -0
- package/dist/claude/skills/memory-audit/SKILL.md +217 -0
- package/dist/claude/skills/milestone-audit/SKILL.md +545 -0
- package/dist/claude/skills/milestone-complete/SKILL.md +168 -0
- package/dist/claude/skills/milestone-gaps/SKILL.md +60 -0
- package/dist/claude/skills/milestone-new/SKILL.md +125 -0
- package/dist/claude/skills/note/SKILL.md +162 -0
- package/dist/claude/skills/phase-add/SKILL.md +91 -0
- package/dist/claude/skills/phase-assumptions/SKILL.md +92 -0
- package/dist/claude/skills/phase-discuss/SKILL.md +165 -0
- package/dist/claude/skills/phase-execute/SKILL.md +1786 -0
- package/dist/claude/skills/phase-insert/SKILL.md +100 -0
- package/dist/claude/skills/phase-plan/SKILL.md +461 -0
- package/dist/claude/skills/phase-remove/SKILL.md +113 -0
- package/dist/claude/skills/phase-research/SKILL.md +80 -0
- package/dist/claude/skills/post-init-tour/SKILL.md +58 -0
- package/dist/claude/skills/progress/SKILL.md +271 -0
- package/dist/claude/skills/project-new/SKILL.md +609 -0
- package/dist/claude/skills/quick/SKILL.md +256 -0
- package/dist/claude/skills/rename-audit/SKILL.md +52 -0
- package/dist/claude/skills/repo-audit/SKILL.md +88 -0
- package/dist/claude/skills/repo-cleanup/SKILL.md +80 -0
- package/dist/claude/skills/seed-memory/SKILL.md +235 -0
- package/dist/claude/skills/session-pause/SKILL.md +126 -0
- package/dist/claude/skills/session-plan/SKILL.md +112 -0
- package/dist/claude/skills/session-resume/SKILL.md +75 -0
- package/dist/claude/skills/todo-add/SKILL.md +85 -0
- package/dist/claude/skills/todo-check/SKILL.md +77 -0
- package/dist/claude/skills/workflow-save/SKILL.md +277 -0
- package/dist/index.d.mts +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.mjs +69 -0
- package/dist/shared/luca.B3Mimc0P.mjs +52 -0
- package/dist/shared/luca.B3saVjJm.mjs +163 -0
- package/dist/shared/luca.BYdjkfnz.mjs +217 -0
- package/dist/shared/luca.BmhNkYe2.mjs +56 -0
- package/dist/shared/luca.C4gMUoBd.mjs +358 -0
- package/dist/shared/luca.CQ3g1xrD.mjs +19 -0
- package/dist/shared/luca.CRmaAfXR.mjs +713 -0
- package/dist/shared/luca.CrXzXueR.mjs +57 -0
- package/dist/shared/luca.DTomPq7I.mjs +91 -0
- package/dist/shared/luca.DjDTeDCi.mjs +1904 -0
- package/dist/shared/luca.HZxBTBgD.mjs +201 -0
- package/dist/shared/luca.TSMg1t7I.mjs +10 -0
- package/dist/shared/luca.dM-MKlNE.mjs +25 -0
- package/dist/shared/luca.naWEcQ4B.mjs +7 -0
- package/package.json +76 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: phase-research
|
|
3
|
+
description: Conduct comprehensive ecosystem research for niche or complex technical domains.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<main>
|
|
7
|
+
# Luca Research Phase
|
|
8
|
+
|
|
9
|
+
Comprehensive ecosystem research for niche/complex domains.
|
|
10
|
+
|
|
11
|
+
**Arguments:** `<phase number>`
|
|
12
|
+
|
|
13
|
+
## When to Use
|
|
14
|
+
|
|
15
|
+
Use for:
|
|
16
|
+
|
|
17
|
+
- 3D, games, audio, shaders, ML
|
|
18
|
+
- Specialized domains with non-obvious patterns
|
|
19
|
+
- Tech stacks you're unfamiliar with
|
|
20
|
+
|
|
21
|
+
Goes beyond "which library" to ecosystem knowledge:
|
|
22
|
+
|
|
23
|
+
- Standard architectures in the domain
|
|
24
|
+
- Expected features and behaviors
|
|
25
|
+
- Common pitfalls and anti-patterns
|
|
26
|
+
|
|
27
|
+
## Process
|
|
28
|
+
|
|
29
|
+
1. **Load phase context:**
|
|
30
|
+
|
|
31
|
+
- Read `.luca/roadmap.md` for phase goal
|
|
32
|
+
- Recall project identity from MuninnDB (`brain:project-identity`) for project context
|
|
33
|
+
- Read existing research at `.luca/phases/<slug>/research.md` (if any)
|
|
34
|
+
|
|
35
|
+
2. **Spawn researcher:**
|
|
36
|
+
|
|
37
|
+
- Use lu-phase-researcher agent
|
|
38
|
+
- Focus on ecosystem knowledge for the domain
|
|
39
|
+
|
|
40
|
+
3. **Create research.md:**
|
|
41
|
+
|
|
42
|
+
- Location: `.luca/phases/XX-name/{phase}-research.md`
|
|
43
|
+
- Include: stack recommendations, architecture patterns, pitfalls
|
|
44
|
+
|
|
45
|
+
4. **Present findings:**
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
## Research Complete
|
|
49
|
+
|
|
50
|
+
**Domain:** {domain}
|
|
51
|
+
**File:** .luca/phases/XX-name/{phase}-research.md
|
|
52
|
+
|
|
53
|
+
### Key Findings
|
|
54
|
+
|
|
55
|
+
**Stack:** {recommended approach}
|
|
56
|
+
**Patterns:** {standard architecture}
|
|
57
|
+
**Watch Out:** {common pitfalls}
|
|
58
|
+
|
|
59
|
+
## ▶ Next Up
|
|
60
|
+
|
|
61
|
+
/phase-plan {N} — plan with research context
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Success Criteria
|
|
65
|
+
|
|
66
|
+
- [ ] Phase context loaded
|
|
67
|
+
- [ ] Researcher agent spawned
|
|
68
|
+
- [ ] research.md created with domain knowledge
|
|
69
|
+
- [ ] Stack recommendations specific and versioned
|
|
70
|
+
- [ ] Pitfalls actionable with prevention strategies
|
|
71
|
+
|
|
72
|
+
## Next Steps
|
|
73
|
+
|
|
74
|
+
**Primary:** `/phase-plan {phase}` — Create plans using research findings
|
|
75
|
+
|
|
76
|
+
**Also available:**
|
|
77
|
+
|
|
78
|
+
- `/phase-assumptions {phase}` — Review what AI plans to do
|
|
79
|
+
- `/progress` — Check overall project status
|
|
80
|
+
</main>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: post-init-tour
|
|
3
|
+
description: "Guide new users through Luca's core concepts after project initialization."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<main>
|
|
7
|
+
# Post-Init Interactive Tour
|
|
8
|
+
|
|
9
|
+
Walk the user through Luca's core concepts after /project-new completes.
|
|
10
|
+
|
|
11
|
+
## Behavior
|
|
12
|
+
|
|
13
|
+
1. Welcome the user and explain this is a quick orientation
|
|
14
|
+
2. Present each tour step below in order, pausing briefly between steps
|
|
15
|
+
3. For each step, display the **title** as a heading and the **content** as explanation
|
|
16
|
+
4. After all steps, ask if the user has questions or wants to start planning
|
|
17
|
+
|
|
18
|
+
## Tour Steps
|
|
19
|
+
|
|
20
|
+
### Step 1: MuninnDB -- Project Memory
|
|
21
|
+
|
|
22
|
+
MuninnDB is Luca's memory system. It stores your project's identity (stack, architecture, conventions), long-term learnings (patterns, decisions, pitfalls), and session context. All memory is semantically searchable with entity graphs and temporal decay. Run /seed-memory to populate it from existing project knowledge.
|
|
23
|
+
|
|
24
|
+
### Step 2: Skills -- Interactive Workflows
|
|
25
|
+
|
|
26
|
+
Skills are user-invocable workflows triggered by /commands (e.g., /phase-plan, /phase-execute, /debug). They handle multi-step reasoning and require judgment. Run /help to see all available skills.
|
|
27
|
+
|
|
28
|
+
### Step 3: Agents -- Specialized AI Workers
|
|
29
|
+
|
|
30
|
+
Agents are specialized sub-agents that handle focused tasks: lu-router classifies complexity, lu-executor runs code changes, lu-verifier validates results, and reviewers audit code quality. They are spawned automatically during workflow execution.
|
|
31
|
+
|
|
32
|
+
### Step 4: Phases -- Structured Development
|
|
33
|
+
|
|
34
|
+
Work is organized into phases listed in `.luca/roadmap.md`. Each phase has a plan (`plan.md`) with waves of tasks. Use /phase-plan to create plans and /phase-execute to run them. Phases keep work focused and context-efficient.
|
|
35
|
+
|
|
36
|
+
### Step 5: Rules -- Automatic Enforcement
|
|
37
|
+
|
|
38
|
+
Rules are always-on guidelines loaded automatically based on file context. They enforce conventions like kebab-case naming, Bun preference, and schema-first parsing without requiring user action.
|
|
39
|
+
|
|
40
|
+
### Step 6: Hooks -- Deterministic Quality Gates
|
|
41
|
+
|
|
42
|
+
Hooks run automatically on events like file edits and commits. They handle type-checking, formatting, and pre-commit validation. Unlike skills, hooks are fast, deterministic, and cannot be skipped.
|
|
43
|
+
|
|
44
|
+
### Step 7: Getting Started
|
|
45
|
+
|
|
46
|
+
Your project is initialized. Common next steps:
|
|
47
|
+
- /phase-plan 1 -- Create a plan for your first phase
|
|
48
|
+
- /progress -- Check project status
|
|
49
|
+
- /help -- See all available commands
|
|
50
|
+
- /config-settings -- Configure workflow preferences
|
|
51
|
+
|
|
52
|
+
## Presentation Guidelines
|
|
53
|
+
|
|
54
|
+
- Keep explanations concise and practical
|
|
55
|
+
- Use the tour step content as-is; do not embellish
|
|
56
|
+
- After presenting all steps, suggest /phase-plan 1 as the natural next action
|
|
57
|
+
- If the user interrupts with a question, answer it and resume the tour
|
|
58
|
+
</main>
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: progress
|
|
3
|
+
description: Check project progress, show current state, and suggest the next action to take.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<main>
|
|
7
|
+
# Luca Progress
|
|
8
|
+
|
|
9
|
+
Check project progress, summarize recent work and what's ahead, then intelligently route to the next action - either executing an existing plan or creating the next one.
|
|
10
|
+
|
|
11
|
+
Provides situational awareness before continuing work.
|
|
12
|
+
|
|
13
|
+
## Process
|
|
14
|
+
|
|
15
|
+
### Step 1: Verify Planning Structure Exists
|
|
16
|
+
|
|
17
|
+
Use Bash (not Glob) to check—Glob respects .gitignore but .luca/ is often gitignored:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
test -d .planning && echo "exists" || echo "missing"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
If no `.luca/` directory:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
No planning structure found.
|
|
27
|
+
|
|
28
|
+
Run /project-new to start a new project.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Exit.
|
|
32
|
+
|
|
33
|
+
If missing `.luca/state.json`: suggest `/project-new`.
|
|
34
|
+
|
|
35
|
+
**If `.luca/roadmap.md` missing but `.luca/state.json` exists:**
|
|
36
|
+
This means a milestone was completed and archived. Go to **Route F** (between milestones).
|
|
37
|
+
|
|
38
|
+
### Step 2: Load Full Project Context
|
|
39
|
+
|
|
40
|
+
- Read workflow state via the `luca` CLI:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
STATE_JSON=$(luca state read 2>/dev/null || echo '{"initialized":false}')
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
- Read `.luca/roadmap.md` for phase structure and objectives
|
|
47
|
+
- Read `.luca/config.json` for settings (model_profile, workflow toggles)
|
|
48
|
+
- Recall project identity from MuninnDB (`brain:project-identity` in repo vault) for the canonical project tree — What This Is, Core Value, Requirements live as engrams in v13.
|
|
49
|
+
|
|
50
|
+
### Step 3: Gather Recent Work Context
|
|
51
|
+
|
|
52
|
+
- Find the 2-3 most recent `.luca/phases/<slug>/execute/summary.md` files
|
|
53
|
+
- Extract from each: what was accomplished, key decisions, any issues logged
|
|
54
|
+
- This shows "what we've been working on"
|
|
55
|
+
|
|
56
|
+
### Step 4: Parse Current Position
|
|
57
|
+
|
|
58
|
+
- From the workflow state JSON: pipelineStep, currentPhase, totalPhases, iteration, complexity
|
|
59
|
+
- Calculate: total plans, completed plans, remaining plans (cross-reference roadmap)
|
|
60
|
+
- Note any blockers or concerns
|
|
61
|
+
- Check for `context.md`: For phases without `plan.md`, check if `.luca/phases/<slug>/context.md` exists
|
|
62
|
+
- Count pending todos: `luca todo list --status pending 2>/dev/null | wc -l`
|
|
63
|
+
- Check for active debug sessions via MuninnDB recall (`session:debug-*` in repo vault)
|
|
64
|
+
|
|
65
|
+
**Check for PR with unaddressed comments:**
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# Check if current branch has an open PR
|
|
69
|
+
PR_JSON=$(gh pr view --json number,url,title,reviewDecision 2>/dev/null)
|
|
70
|
+
|
|
71
|
+
if [ -n "$PR_JSON" ]; then
|
|
72
|
+
PR_NUMBER=$(echo "$PR_JSON" | jq -r '.number')
|
|
73
|
+
PR_TITLE=$(echo "$PR_JSON" | jq -r '.title')
|
|
74
|
+
REVIEW_DECISION=$(echo "$PR_JSON" | jq -r '.reviewDecision // "PENDING"')
|
|
75
|
+
|
|
76
|
+
# Count comments
|
|
77
|
+
REPO=$(gh repo view --json nameWithOwner -q '.nameWithOwner')
|
|
78
|
+
REVIEW_COMMENTS=$(gh api "/repos/${REPO}/pulls/${PR_NUMBER}/comments" --jq 'length' 2>/dev/null || echo "0")
|
|
79
|
+
ISSUE_COMMENTS=$(gh api "/repos/${REPO}/issues/${PR_NUMBER}/comments" --jq '[.[] | select(.user.type != "Bot")] | length' 2>/dev/null || echo "0")
|
|
80
|
+
|
|
81
|
+
TOTAL_PR_COMMENTS=$((REVIEW_COMMENTS + ISSUE_COMMENTS))
|
|
82
|
+
HAS_PR_COMMENTS=$( [ "$TOTAL_PR_COMMENTS" -gt 0 ] && echo "true" || echo "false" )
|
|
83
|
+
else
|
|
84
|
+
HAS_PR_COMMENTS=false
|
|
85
|
+
TOTAL_PR_COMMENTS=0
|
|
86
|
+
fi
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Step 5: Present Rich Status Report
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
# [Project Name]
|
|
93
|
+
|
|
94
|
+
**Progress:** [████████░░] 8/10 plans complete
|
|
95
|
+
**Profile:** [quality/balanced/budget]
|
|
96
|
+
**Complexity:** [TRIVIAL/MODERATE/COMPLEX] (if active task)
|
|
97
|
+
|
|
98
|
+
## Git Context
|
|
99
|
+
- **Ticket:** [TICKET-ID or None]
|
|
100
|
+
- **Branch:** [TICKET-ID--description] → [RELEASE-ID--release]
|
|
101
|
+
- **Issue:** [#123 or None]
|
|
102
|
+
|
|
103
|
+
## PR Status (if open PR exists)
|
|
104
|
+
- **PR:** #[number] - [title]
|
|
105
|
+
- **Review:** [Changes requested | Approved | Pending]
|
|
106
|
+
- **Comments:** [N] unaddressed ([inline] review, [general] discussion)
|
|
107
|
+
- **Action:** `/pr-address` to process
|
|
108
|
+
|
|
109
|
+
## Recent Work
|
|
110
|
+
- [Phase X, Plan Y]: [what was accomplished - 1 line]
|
|
111
|
+
- [Phase X, Plan Z]: [what was accomplished - 1 line]
|
|
112
|
+
|
|
113
|
+
## Current Position
|
|
114
|
+
Phase [N] of [total]: [phase-name]
|
|
115
|
+
Plan [M] of [phase-total]: [status]
|
|
116
|
+
CONTEXT: [✓ if context.md exists | - if not]
|
|
117
|
+
|
|
118
|
+
## Key Decisions Made
|
|
119
|
+
- [decision 1 from MuninnDB `decision:*` engrams + confidence-journal entries]
|
|
120
|
+
- [decision 2]
|
|
121
|
+
|
|
122
|
+
## Blockers/Concerns
|
|
123
|
+
- [any blockers or concerns from MuninnDB `session:*` engrams + per-phase audits]
|
|
124
|
+
|
|
125
|
+
## What's Next
|
|
126
|
+
[Next phase/plan objective from ROADMAP]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Note:** The PR Status section only appears if the current branch has an open PR. If comments exist, it prompts the user to run `/pr-address`.
|
|
130
|
+
|
|
131
|
+
### Step 6: Route to Next Action
|
|
132
|
+
|
|
133
|
+
| Condition | Meaning | Action |
|
|
134
|
+
| ------------------------------- | --------------------------- | --------------- |
|
|
135
|
+
| uat_with_gaps > 0 | UAT gaps need fix plans | Route E |
|
|
136
|
+
| HAS_PR_COMMENTS = true | PR has unaddressed feedback | Route G |
|
|
137
|
+
| summaries < plans | Unexecuted plans exist | Route A |
|
|
138
|
+
| summaries = plans AND plans > 0 | Phase complete | Check milestone |
|
|
139
|
+
| plans = 0 | Phase not yet planned | Route B |
|
|
140
|
+
|
|
141
|
+
**Route G: PR comments need attention** (NEW)
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
## ⚠ PR Feedback Pending
|
|
145
|
+
|
|
146
|
+
**PR #{PR_NUMBER}** has {TOTAL_PR_COMMENTS} unaddressed comments.
|
|
147
|
+
|
|
148
|
+
Review decision: {REVIEW_DECISION}
|
|
149
|
+
|
|
150
|
+
| Type | Count |
|
|
151
|
+
| ------- | ----------------- |
|
|
152
|
+
| Review | {REVIEW_COMMENTS} |
|
|
153
|
+
| General | {ISSUE_COMMENTS} |
|
|
154
|
+
|
|
155
|
+
**Process with agent swarm:**
|
|
156
|
+
`/pr-address`
|
|
157
|
+
|
|
158
|
+
**Or process specific category:**
|
|
159
|
+
`/pr-address --category=security`
|
|
160
|
+
|
|
161
|
+
**Skip for now:**
|
|
162
|
+
`/progress --skip-pr` (continue to normal routing)
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
**Route A: Unexecuted plan exists**
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
## ▶ Next Up
|
|
169
|
+
|
|
170
|
+
**{phase}-{plan}: [Plan Name]** — [objective summary from plan.md]
|
|
171
|
+
|
|
172
|
+
`/phase-execute {phase}`
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**Route B: Phase needs planning**
|
|
176
|
+
|
|
177
|
+
If context.md exists:
|
|
178
|
+
|
|
179
|
+
```
|
|
180
|
+
## ▶ Next Up
|
|
181
|
+
|
|
182
|
+
**Phase {N}: {Name}** — {Goal from roadmap.md}
|
|
183
|
+
✓ Context gathered, ready to plan
|
|
184
|
+
|
|
185
|
+
`/phase-plan {phase-number}`
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
If context.md does NOT exist:
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
## ▶ Next Up
|
|
192
|
+
|
|
193
|
+
**Phase {N}: {Name}** — {Goal from roadmap.md}
|
|
194
|
+
|
|
195
|
+
`/phase-discuss {phase}` — gather context and clarify approach
|
|
196
|
+
|
|
197
|
+
**Also available:**
|
|
198
|
+
- `/phase-plan {phase}` — skip discussion, plan directly
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Route C: Phase complete, more phases remain**
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
## ✓ Phase {Z} Complete
|
|
205
|
+
|
|
206
|
+
## ▶ Next Up
|
|
207
|
+
|
|
208
|
+
**Phase {Z+1}: {Name}** — {Goal from roadmap.md}
|
|
209
|
+
|
|
210
|
+
`/phase-discuss {Z+1}` — gather context and clarify approach
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
**Route D: Milestone complete**
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
## 🎉 Milestone Complete
|
|
217
|
+
|
|
218
|
+
All {N} phases finished!
|
|
219
|
+
|
|
220
|
+
## ▶ Next Up
|
|
221
|
+
|
|
222
|
+
**Complete Milestone** — archive and prepare for next
|
|
223
|
+
|
|
224
|
+
`/milestone-complete`
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
**Route E: UAT gaps need fix plans**
|
|
228
|
+
|
|
229
|
+
```
|
|
230
|
+
## ⚠ UAT Gaps Found
|
|
231
|
+
|
|
232
|
+
**{phase}-UAT.md** has {N} gaps requiring fixes.
|
|
233
|
+
|
|
234
|
+
`/phase-plan {phase} --gaps`
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
**Route F: Between milestones**
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
## ✓ Milestone v{X.Y} Complete
|
|
241
|
+
|
|
242
|
+
Ready to plan the next milestone.
|
|
243
|
+
|
|
244
|
+
## ▶ Next Up
|
|
245
|
+
|
|
246
|
+
**Start Next Milestone** — questioning → research → requirements → roadmap
|
|
247
|
+
|
|
248
|
+
`/milestone-new`
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
## Success Criteria
|
|
252
|
+
|
|
253
|
+
- [ ] Rich context provided (recent work, decisions, issues)
|
|
254
|
+
- [ ] Current position clear with visual progress
|
|
255
|
+
- [ ] PR status checked and displayed (if open PR exists)
|
|
256
|
+
- [ ] PR comments surfaced with Route G (if unaddressed comments exist)
|
|
257
|
+
- [ ] What's next clearly explained
|
|
258
|
+
- [ ] Smart routing: /phase-execute if plans exist, /phase-plan if not
|
|
259
|
+
- [ ] User confirms before any action
|
|
260
|
+
- [ ] Seamless handoff to appropriate vlcn command
|
|
261
|
+
|
|
262
|
+
## Next Steps
|
|
263
|
+
|
|
264
|
+
This skill provides intelligent routing based on project state. The "Route" sections above determine the primary action.
|
|
265
|
+
|
|
266
|
+
**Common follow-ups:**
|
|
267
|
+
|
|
268
|
+
- `/help` — See all available commands
|
|
269
|
+
- `/config-settings` — Adjust workflow configuration
|
|
270
|
+
- `/session-pause` — Create handoff if stopping work
|
|
271
|
+
</main>
|