Help us improve
Share bugs, ideas, or general feedback.
From mercadona-user-story-toolkit
Prioritizes validated user stories using 5 weighted lenses, generates iterative batches with anti-waterfall rules. Triggered by phrases like 'prioritize stories' or 'order backlog'.
npx claudepluginhub josemerca/mercadona-user-story-toolkitHow this skill is triggered — by the user, by Claude, or both
Slash command
/mercadona-user-story-toolkit:story-prioritizationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Ultimo paso del pipeline. Asiste al usuario en definir un orden de entrega iterativo que maximiza valor y aprendizaje, evitando patrones waterfall.
Generates prioritized user stories with Given/When/Then acceptance criteria, story point estimates, and MoSCoW prioritization for sprint planning.
Creates user story maps organizing backlogs by activities, prioritized tasks, walking skeleton, and outcome-based release slices. Outputs story-map.md and prioritization.md.
Use this skill when the user asks to "prioritize the sprint", "what should we build this sprint", "help me sequence the backlog", "sprint planning", "how to prioritize these items", "what should go first", "rank these tickets", "is this item worth doing this sprint", or wants to make sequencing decisions for the upcoming sprint or iteration.
Share bugs, ideas, or general feedback.
Ultimo paso del pipeline. Asiste al usuario en definir un orden de entrega iterativo que maximiza valor y aprendizaje, evitando patrones waterfall.
Modo copiloto: Los scores y batches son PROPUESTAS basadas en la información disponible. El usuario valida y ajusta. Si hay incertidumbre sobre el valor o complejidad de una story, PREGUNTAR en vez de asignar un score arbitrario. Ver shared-config.md §Filosofía del Plugin.
"El orden de entrega importa tanto como la calidad de las stories. Entregar infraestructura sin valor usuario es waterfall disfrazado de agile."
Ver SKILL-reference.md S1 para diagrama comparativo waterfall vs iterativo.
quality-guard|prd-quality-guard -> research -> stories -> validate -> split -> PRIORITIZE
^
ESTA SKILL
Input: Stories validadas (con scoring 6 dimensiones) desde /split-stories o /validate-stories
Output: Backlog priorizado en batches iterativos con justificacion por story
STORIES VALIDADAS (input)
|
v
+--------------------------------------+
| 1. CARGAR STORIES |
| - Desde paso anterior del pipeline|
| - O stories pegadas por usuario |
| - Verificar que tienen scoring |
+--------------------------------------+
|
v
+--------------------------------------+
| 2. SCORING 5 LENTES |
| Por cada story: |
| - Value (30%) |
| - Learning (25%) |
| - Dependencies (20%) |
| - Risk of Delay (15%) |
| - Inverse Complexity (10%) |
| Priority Score = sum(lente*peso) |
+--------------------------------------+
|
v
+--------------------------------------+
| 3. GRAFO DE DEPENDENCIAS |
| - Identificar dependencias |
| tecnicas genuinas entre stories |
| - Detectar falsas dependencias |
| ("necesitamos infra primero") |
| - Visualizar grafo |
+--------------------------------------+
|
v
+--------------------------------------+
| CHECKPOINT: DEPENDENCIAS |
| Validar con usuario: |
| - Dependencias correctas? |
| - Alguna falsa dependencia? |
| - Falta alguna dependencia? |
+--------------------------------------+
|
v
+--------------------------------------+
| 4. GENERACION DE BATCHES |
| - Agrupar stories por Priority |
| Score respetando dependencias |
| - 2-4 stories por batch |
| - Validar anti-waterfall |
| - Generar justificacion |
+--------------------------------------+
|
v
+--------------------------------------+
| 5. VALIDACION ANTI-WATERFALL |
| - Cada batch tiene >=1 story |
| con valor usuario directo |
| - Spikes time-boxed (<=3 dias) |
| - Infra justificada con story |
| - Detectar patrones waterfall |
+--------------------------------------+
|
v
+--------------------------------------+
| 6. REPORTE DE PRIORIZACION |
| - Ranking con justificacion |
| - Batches con entrega de valor |
| - Alertas waterfall (si hay) |
| - Visualizacion del orden |
+--------------------------------------+
|
v
BACKLOG PRIORIZADO
Cada story se evalua con 5 lentes ponderadas. La formula:
Priority Score = (Value x 0.30) + (Learning x 0.25) + (Dependencies x 0.20)
+ (Risk of Delay x 0.15) + (Inv. Complexity x 0.10)
Cálculo determinista (offload-deterministic):
python3 scripts/score_priority.py --value=<V> --learning=<L> --dependencies=<D> --risk=<R> --complexity=<IC>
Devuelve Priority Score y Banda. Usar su output literal en el ranking.
| Lente | Peso | Pregunta clave |
|---|---|---|
| Value | 30% | Cuanto impacto genera para negocio y usuario? |
| Learning | 25% | Cuanta incertidumbre reduce? |
| Dependencies | 20% | Cuantas stories desbloquea? |
| Risk of Delay | 15% | Cual es el coste de NO hacerla pronto? |
| Inv. Complexity | 10% | Que tan simple es implementarla? |
Ver SKILL-reference.md S2-S6 para rubricas detalladas (tablas de scoring 1-5 por lente).
Ver SKILL-reference.md S7 para tabla de interpretacion del Priority Score.
Para cada story, evaluar las 5 lentes usando las rubricas de referencia.
Ver SKILL-reference.md S2-S6 para rubricas completas por lente.
Ver SKILL-reference.md S11 para template de scoring por story.
Presentar tabla de scores propuestos:
Estos son los scores que propongo para cada lente. ¿Estás de acuerdo? [tabla story × 5 lentes con justificación breve]
Si algún score no te convence, dime cuál y por qué.
Esperar confirmación antes de continuar con dependencias y batches.
Ver SKILL-reference.md S10 para formato de visualizacion y reglas del grafo.
Comunicar al usuario:
He identificado las siguientes dependencias entre stories: [Grafo]
Son correctas? Hay alguna que sobre o falte?
Esperar confirmacion antes de generar batches.
Regla cast-wide (Lada Kesseler): No presentes un único orden. Genera 2 alternativas y deja que el usuario elija.
Aplicar las 5 reglas AW-1 a AW-5. Para cada violacion:
Ver SKILL-reference.md S8 para los 5 patrones waterfall con senales y correcciones.
Ver SKILL-reference.md S9 para tabla completa de reglas anti-waterfall.
Leer references/prioritization-framework.md para el template completo y generar el reporte.
Ver SKILL-reference.md S12 para template completo del reporte de priorizacion.
SKILL-reference.mdreferences/prioritization-framework.md