/sdlc-documentation:04-backlog-prioritizationfrom sdlc-documentation
Ranks an approved backlog using MoSCoW and WSJF, then assigns release or sprint order. Use when the user journey and walking skeleton are already visible; otherwise defer to story-mapping.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Prioritised backlog and release allocation is the next lifecycle deliverable.story-mapping when that neighbouring route owns the decision or deliverable.| Artefact | Source or provider | Required? | Behaviour when missing |
|---|---|---|---|
| Approved backlog, dependencies, capacity, cost of delay, and release goal | Product owner, delivery team, and business context | Yes | Stop the affected step, name the missing source, and return only a qualified gap record. |
Prioritised backlog and release allocation.| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Prioritised backlog and release allocation | Sprint planning, product governance, and delivery team | Required sections are populated, source links resolve, and every material requirement or decision has an observable review or test oracle. |
| Evidence | Reviewer | Acceptance condition |
|---|---|---|
Source, decision, trace, and validation record for Prioritised backlog and release allocation | Requirements quality reviewer | Inputs used, decisions made, checks run, failures, and unassessed items are explicit. |
Read and search are required. Editing is allowed only when the request authorises creation or repair of the named requirements artefact. Publishing, production mutation, destructive action, spending, and certification require explicit authority.
Fallback: if a required file, reviewer, standard source, network check, renderer, or execution capability is unavailable, return the narrowest useful qualified result and mark the affected check not assessed; never convert an unassessed check into a pass.
| Choice or condition | Action | Failure or risk avoided |
|---|---|---|
| A high-ranked item has no value, urgency, risk, or dependency evidence | Return it for scoring evidence instead of guessing a rank. | Priority theatre and unstable release commitments. |
| Required inputs and test oracles are complete | Continue through the existing workflow and record evidence. | A deliverable whose acceptance cannot be reproduced. |
| A mandatory source or owner is missing | Stop the affected branch and issue a qualified gap record. | Fabricated context or unauthorised decisions. |
Prioritised backlog and release allocation and its acceptance checks.Prioritised backlog and release allocation from assumed context. Fix: cite the project source or mark the scope blocked.story-mapping without routing the decision. Fix: hand off the named input and preserve trace links.not assessed and state the release consequence.Run this skill after user stories, acceptance criteria, and (optionally) story mapping artifacts exist. It applies formal prioritization frameworks -- MoSCoW classification and Weighted Shortest Job First (WSJF) scoring -- to produce a ranked, sprint-allocated backlog and a milestone-driven release plan. Every prioritization decision is grounded in quantifiable business-goal alignment drawn from vision.md.
01-user-story-generation.03-story-mapping) provides journey context.projects/<ProjectName>/<phase>/<document>/user_stories.md, projects/<ProjectName>/_context/vision.md, optionally projects/<ProjectName>/<phase>/<document>/story_map.mdprojects/<ProjectName>/<phase>/<document>/prioritized_backlog.md, projects/<ProjectName>/<phase>/<document>/release_plan.md| File | Source | Required? |
|---|---|---|
user_stories.md | projects/<ProjectName>/<phase>/<document>/ | Yes |
vision.md | projects/<ProjectName>/_context/ | Yes |
story_map.md | projects/<ProjectName>/<phase>/<document>/ | Optional |
| File | Contents | Destination |
|---|---|---|
prioritized_backlog.md | MoSCoW classification, WSJF scores, dependency notes | projects/<ProjectName>/<phase>/<document>/ |
release_plan.md | Sprint-by-sprint allocation, milestones, capacity, risk flags | projects/<ProjectName>/<phase>/<document>/ |
Read projects/<ProjectName>/<phase>/<document>/user_stories.md and projects/<ProjectName>/_context/vision.md. If projects/<ProjectName>/<phase>/<document>/story_map.md exists, read it for journey and dependency context. Log every file path read.
Classify each user story into exactly one MoSCoW category:
| Category | Criterion |
|---|---|
| Must Have | Blocks the MVP; without it the release has no value |
| Should Have | Delivers significant user or business value but MVP survives without it |
| Could Have | Nice-to-have enhancement; included only if capacity permits |
| Won't Have | Explicitly out of scope for this release; deferred to a future iteration |
For each story, score the following factors on a 1--10 integer scale using business goals from vision.md as the alignment baseline:
user_stories.md).Compute the WSJF score for each story:
$$WSJF = \frac{BV + TC + RR}{JS}$$
Higher WSJF indicates higher priority per unit of effort.
Sort stories by WSJF score in descending order within each MoSCoW category. Must-Have stories appear first, followed by Should-Have, Could-Have, and Won't-Have.
Allocate stories to sprints using an assumed velocity of 20 story points per sprint (adjustable). Fill each sprint to capacity, placing higher-WSJF stories first.
Review dependency chains across allocated sprints. Move blocking stories earlier in the plan so that no story is scheduled before its prerequisites. Flag any circular dependencies as [DEP-CYCLE].
Write projects/<ProjectName>/<phase>/<document>/prioritized_backlog.md and projects/<ProjectName>/<phase>/<document>/release_plan.md following the output format below. Log story count, sprint count, and Must-Have percentage.
# Prioritized Backlog: [Project Name]
**Generated:** [Date]
**Framework:** MoSCoW + WSJF (SAFe)
**Standards:** IEEE 29148-2018 Sec 6.4.6
---
## MoSCoW Summary
| Category | Stories | Points | Percentage |
|------------|---------|--------|------------|
| Must Have | N | N | N% |
| Should Have| N | N | N% |
| Could Have | N | N | N% |
| Won't Have | N | N | N% |
---
## WSJF Scoring Detail
| Story ID | Title | MoSCoW | BV | TC | RR | JS | WSJF | Sprint |
|----------|-------|--------|----|----|----|----| ------|--------|
| US-001 | ... | Must | 9 | 8 | 7 | 3 | 8.00 | 1 |
| US-002 | ... | Must | 8 | 7 | 6 | 5 | 4.20 | 1 |
---
## Dependency Notes
- US-003 blocks US-007 (data model prerequisite).
- [Additional dependency annotations]
# Release Plan: [Project Name]
**Generated:** [Date]
**Assumed Velocity:** 20 points/sprint
---
## Sprint Allocation
### Sprint 1 -- [Milestone Name] (N points / 20 capacity)
| Story ID | Title | Points | MoSCoW | WSJF |
|----------|-----------------|--------|--------|------|
| US-001 | ... | 3 | Must | 8.00 |
| US-002 | ... | 5 | Must | 4.20 |
**Capacity Utilization:** N / 20 (N%)
**Risk Flags:** [None | list of risks]
### Sprint 2 -- [Milestone Name] (N points / 20 capacity)
[... continue for each sprint ...]
---
## Release Metrics
| Metric | Value |
|-----------------------|-------|
| Total Stories | N |
| Total Sprints | N |
| Must-Have Coverage | N% |
| Average Utilization | N% |
01-user-story-generation, 03-story-mapping07-agile-artifacts/01-sprint-planninglogic.prompt: Prompt-level instructions for executing this skill.README.md: Quick-start summary and quality reminders.Last Updated: 2026-02-28 Skill Version: 1.0.0
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
backlog-prioritization, moscow, wsjf, release-planning, sprint-planning
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors./01-prd-generationUse when converting approved discovery evidence into a traceable PRD with objectives, prioritised features, success measures, constraints, and release scope; use vision-statement for the strategic north star and lean-canvas while assumptions still need testing./01-sprint-planningUse when preparing a sprint goal, evidence-based team capacity, selected backlog, task breakdown, and delivery risks. Use definition-of-ready to admit individual items and definition-of-done to judge completed increments./01-stakeholder-analysisUse when identifying and classifying stakeholders, influence, interests, decision rights, and communication needs before elicitation; use elicitation-toolkit to gather requirements from them.Other plugins' skills for the same job