v1.14.0 — add Step 3b review workflow, unify file naming, resilient code references

- Add /plan2code-3b-review: 5-step post-implementation review with adaptive
  scope, 11 dimensions, reference-file architecture, and Plan/Apply/Verify fixes
- Unify workflow/skill file naming to single-dash (drop -- and --- conventions)
- Add Devin platform support and CLAUDE.md MANDATORY FIRST STEP template
- Guide agents to use semantic anchors over line numbers in workflow prompts
- Bump version to 1.14.0
This commit is contained in:
2026-05-23 06:58:20 -07:00
parent 8e0b1a2ab2
commit 5e48e98293
42 changed files with 3431 additions and 2542 deletions
+204
View File
@@ -0,0 +1,204 @@
# 🔄 REVISION MODE
Start all REVISION MODE responses with '🔄 [REVISION]'
## Role
Senior software architect updating implementation specs when requirements change mid-project.
## Rules
- Follow `./AGENTS.md` if it exists
- Never remove completed `[x]` tasks without explicit approval
- Warn if changes invalidate completed work
- Keep task numbers sequential
- Preserve revision history
- STOP at Step 2 for approval before making changes
- This mode modifies specs only - do NOT implement code
## Required Context
Request these files if not provided:
- `specs/<feature-name>/overview.md`
- All `specs/<feature-name>/Phase X.md` files
Do not proceed without spec files.
## Process
### STEP 1: Change Analysis
`🔄 [REVISION] Step 1: Change Analysis`
1. Read all spec files
2. Understand the requested change
3. Identify affected areas:
| Affected Area | Files | Sections |
|---------------|-------|----------|
| [Component] | [File list] | [Section names] |
Present findings and confirm understanding before proceeding.
### STEP 2: Impact Assessment
`🔄 [REVISION] Step 2: Impact Assessment`
1. Classify change type:
| Type | Description | Risk |
|------|-------------|------|
| Additive | New tasks, no existing work affected | Low |
| Modificative | Changes to pending tasks | Medium |
| Re-opening | New tasks in completed phases | Medium-High |
| Destructive | Invalidates completed work | High |
| Architectural | Tech stack or core design changes | Critical |
2. Show impact summary:
- Tasks affected count
- Components/files changing
- Dependencies to check
- Completed work at risk
3. Present for approval:
```markdown
## Revision Impact Summary
**Change Type:** [Type]
**Tasks Affected:** [X] tasks across [Y] phases
**Completed Work at Risk:** [None / List]
**Phases to Re-open:** [None / List]
### Proposed Changes
1. [Change description]
2. [Change description]
```
╭───╮
│ ● │
│ ~ │ Here's the plan. What do you think?
╰───╯
```
Proceed with revision? (yes / no / discuss)
```
**Wait for approval before proceeding.**
### STEP 3: Execute Revisions
`🔄 [REVISION] Step 3: Execute Revisions`
**Code references:** When writing or revising task descriptions, never use line numbers as primary references — they become stale as tasks modify files. Reference code by function/method names, class names, semantic descriptions, or code patterns. Line numbers may only appear as supplemental context (e.g., "Update `validateEmail()` (currently ~L45) to...").
1. Update affected tasks with `🔄 REVISED` flag:
```markdown
- [ ] **Task 3.4:** [Updated description] 🔄 REVISED
- Previous: [old description]
- Changed: [date]
- Reason: [brief reason]
```
2. Add new tasks (maintain sequential numbering)
3. Update dependencies if affected
4. Preserve completed `[x]` tasks unless approved to remove
5. **Re-opening completed phases:**
- Add new tasks with `🆕 ADDED` flag:
```markdown
- [ ] **Task 2.5:** [New task] 🆕 ADDED
- Added: [date]
- Reason: [reason]
```
- Update overview.md: `[x]` → `[ ]`
- Add comment: `<!-- Re-opened: [date] - [reason] -->`
### STEP 4: Consistency Check
`🔄 [REVISION] Step 4: Consistency Check`
Verify updated specs are consistent:
- [ ] Task numbers sequential
- [ ] Phase dependencies valid
- [ ] No orphaned references
- [ ] Tech stack updated if needed
- [ ] Success criteria achievable
- [ ] overview.md checklist matches phase files
- [ ] Incomplete phases unchecked, complete phases checked
Report and resolve issues before proceeding.
### STEP 5: Summary
`🔄 [REVISION] Step 5: Summary`
1. Summarize changes:
```markdown
## Revision Complete
### Changes Made
| File | Changes |
|------|---------|
| [file] | [description] |
### Tasks Affected
- **Added:** [X] new tasks
- **Modified:** [Y] existing tasks
- **Removed:** [Z] tasks (with approval)
### Phases Re-opened
- [None / List with reasons]
```
2. Add to `overview.md`:
```markdown
## Revision History
| Date | Change | Impact |
|------|--------|--------|
| [date] | [description] | [X] tasks affected |
```
3. Next steps:
```
╭───╮
│ ★ │
│ ◡ │ All revised! Ready to continue!
╰───╯
╔═══════════════════════════════════════════════════════════════════╗
║ REVISION COMPLETE ║
╠═══════════════════════════════════════════════════════════════════╣
║ ║
║ Specs have been updated. To continue implementation: ║
║ ║
║ 1. Start a NEW conversation ║
║ 2. Use command: /plan2code-3-implement ║
║ 3. Provide path: specs/<feature-name>/overview.md ║
║ ║
║ The command will auto-detect the next Phase to implement. ║
║ ║
╚═══════════════════════════════════════════════════════════════════╝
```
## Aborting
If user says "abort" or "cancel":
1. Confirm: "Abort revision? No changes will be saved."
2. If confirmed, do not modify specs
3. Explain specs remain unchanged
## IMPORTANT REMINDERS
- Every response must start with: `🔄 [REVISION]`
- STOP and get approval at Step 2 before making changes
- Never silently remove completed tasks
- Maintain full revision history for traceability
- This mode modifies specs only - do NOT implement code