Retrospective feedback system with Execute-Verify-Gate structural anti-skip enforcement for DevForgeAI operations. Captures feedback after /dev, /qa, /release, sprint planning, or manual triggers. Handles 6 feedback types: conversation, summary, metrics, checklist, ai_analysis, and triage. Prevents token optimization bias through lean orchestration, per-phase reference loading, checkpoint persistence, and binary CLI gate enforcement. Use when feedback needs to be captured, when the user mentions retrospectives, lessons learned, workflow improvements, process feedback, or wants to review what went well or poorly. Also handles AI architectural analysis, recommendation triage, feedback search, export/import, and configuration management.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
Retrospective feedback system with Execute-Verify-Gate structural anti-skip enforcement for DevForgeAI operations. Captures feedback after /dev, /qa, /release, sprint planning, or manual triggers. Handles 6 feedback types: conversation, summary, metrics, checklist, ai_analysis, and triage. Prevents token optimization bias through lean orchestration, per-phase reference loading, checkpoint persistence, and binary CLI gate enforcement. Use when feedback needs to be captured, when the user mentions retrospectives, lessons learned, workflow improvements, process feedback, or wants to review what went well or poorly. Also handles AI architectural analysis, recommendation triage, feedback search, export/import, and configuration management.
Capture retrospective feedback from development workflows to improve processes, identify patterns, and enable continuous improvement — with structural anti-skip enforcement.
If ambiguous or conflicts detected: HALT and use AskUserQuestion
Execution Model
This skill expands inline. After invocation, execute Phase 00 Initialization immediately. Do not wait passively, ask permission, or offer execution options.
Self-Check (if ANY box is true = VIOLATION):
Stopping to ask about token budget
Stopping to offer execution options
Waiting passively for user to say "go"
Asking "should I execute this?"
Skipping a phase because it "seems simple"
Combining multiple phases into one
Summarizing instead of loading a reference file
Skipping verification because "I already wrote the file"
IF any box checked: EXECUTION MODEL VIOLATION. Go directly to Phase 00 Initialization now.
Anti-Skip Enforcement Contract
This skill enforces 4 independent anti-skip layers. ALL FOUR must fail for a step to be skipped:
Per-phase reference loading - Each phase loads its reference files fresh via Read(). NOT consolidated. Prevents "already covered" rationalization.
Binary CLI gates - devforgeai-validate phase-check/phase-complete at phase boundaries. Cannot be forged by LLM.
Checkpoint-based state tracking - Phase completion verified by checking checkpoint JSON data keys and current_phase field.
Artifact verification - Checkpoint JSON existence checked via Glob(), feedback files verified on disk, index entries verified via Grep().
Execute-Verify-Record Pattern: Every mandatory step in every phase file has three parts:
EXECUTE: The exact action to perform (Read, Write, AskUserQuestion, Task, Grep, Glob)
VERIFY: How to confirm the action happened (file exists, content contains expected text, data key populated)
RECORD: Update checkpoint JSON with captured data; call devforgeai-validate phase-record
Token Optimization Bias is PROHIBITED. Do not skip, compress, or shortcut any step. Every phase step exists because a previous failure proved it necessary.
Feedback Types
Type
When Used
What Happens
Reference
conversation
After /dev, /qa, /release
Present context-aware questions via AskUserQuestion, persist responses
references/adaptive-questioning.md
summary
After any operation
Auto-generate markdown summary of results
references/feedback-persistence-guide.md
metrics
After any operation
Collect quantitative data (time, tokens, coverage)
FOR phase_num in range(CURRENT_PHASE, 7): # Phases 01-06
1. ENTRY GATE: devforgeai-validate phase-check ${SESSION_ID} --workflow=feedback --from={prev} --to={phase_id} --project-root=.
IF exit != 0 AND exit != 127: HALT
2. LOAD: Read(file_path=".claude/skills/spec-driven-feedback/phases/{phase_files[phase_num]}")
Load the phase file FRESH. Do NOT rely on memory of previous reads.
3. REFERENCE: Read the phase's reference files as specified in the phase Contract section.
References are in references/ (self-contained within this skill).
Load ALL listed references. Do not skip any.
4. EXECUTE: Follow EVERY step in the phase file using EXECUTE-VERIFY-RECORD triplets.
- Each step's EXECUTE tells you exactly what action to take
- Each step's VERIFY tells you how to confirm the action happened
- Each step's RECORD tells you how to update the checkpoint
5. EXIT GATE: devforgeai-validate phase-complete ${SESSION_ID} --workflow=feedback --phase={phase_id} --checkpoint-passed --project-root=.
IF exit != 0 AND exit != 127: HALT
6. CHECKPOINT: Update checkpoint JSON with phase completion.
Write updated checkpoint to disk.
Verify write via Glob().
Phase Table
Phase
Name
File
Steps
Required Subagents
00
Initialization
(inline above)
6
none
01
Context Detection & Sanitization
phases/phase-01-context-detection.md
5
none
02
Type Dispatch & Preparation
phases/phase-02-type-dispatch.md
4
none
03
Feedback Execution
phases/phase-03-feedback-execution.md
3-6 (varies by type)
framework-analyst (ai_analysis only)
04
Validation & Quality Gates
phases/phase-04-validation.md
4
none
05
Persistence & Indexing
phases/phase-05-persistence.md
5
none
06
Completion & Display
phases/phase-06-completion.md
3
none
Required Subagents Per Phase
Phase
Subagent
Enforcement
03
framework-analyst
CONDITIONAL (ai_analysis feedback type only)
03
(spec-driven-stories via Skill)
CONDITIONAL (triage feedback type only)
All other phases: No subagents required. Direct tool calls (Read, Write, Glob, Grep, AskUserQuestion).
Constraint: All recommendations MUST be implementable within Claude Code Terminal. If a recommendation requires tools beyond Read, Write, Edit, Glob, Grep, Bash, TaskCreate, TaskUpdate, AskUserQuestion — flag it as feasible_in_claude_code: false.
References:references/ (self-contained within this skill)
Templates:templates/ (self-contained within this skill)
Hook System:HOOK-SYSTEM.md (self-contained within this skill)
Configuration:devforgeai/feedback/config.yaml
Workflow Completion Validation
IF phases_completed < 6: HALT "WORKFLOW INCOMPLETE - {completed_count}/6 phases"
IF feedback_file_path is null: HALT "Feedback file was not written"
IF feedback_id is null: HALT "Feedback ID was not generated"
IF checkpoint status != "complete": Update checkpoint status to "complete"
Configuration
File:devforgeai/feedback/config.yaml
Setting
Default
Description
retention_days
90
Days to keep feedback (1-3650)
auto_trigger_enabled
true
Auto-trigger on operation completion
export_format
json
Default export format (json/csv/markdown)
include_metadata
true
Include metadata in exports
search_enabled
true
Enable search functionality
Success Criteria
All 6 phases executed (no skipping)
Feedback file written to disk (verified via Glob)
Index updated with new entry (verified via Grep)
Register updated with new entry (verified via Grep)
Checkpoint marked as complete
Confirmation displayed to user with feedback ID
Token usage < 40K (isolated context)
Related Documentation
Original Skill:.claude/skills/spec-driven-feedback/SKILL.md (archived — absorbed into spec-driven-feedback per ADR-040)
Hook System:HOOK-SYSTEM.md (self-contained within this skill)