/codebase-ai-readiness:generate-roadmapfrom codebase-ai-readiness
Generates a prioritized improvement roadmap to increase AI readiness. Useful after running an assessment to identify next steps for advancing autonomy levels.
Ships in codebase-ai-readiness. 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.
Produce a detailed, prioritized improvement plan to advance the codebase to the next autonomy level (or a specified target level).
Search for readiness-report.md in the codebase root. If it exists, read it and extract:
If no report exists, inform the user: "No readiness report found. Run /assess-readiness first to generate a baseline assessment."
Also extract from the report if present: workflow artifacts summary, compound engineering score, collaboration effectiveness recommendations, alignment note (if any).
references/level-transitions.md for transition requirements.references/l2-to-l3-hinge.md and add
the L2 → L3 hinge section to the roadmap.For each category, compare the current score to what is needed for the target level. Load references/improvement-actions.md and references/improvement-actions-agent.md for common actions. Load references/implementation-phases.md for the strategic phasing model and prioritization principles.
If the report's alignment note indicates codebase ahead of practices, prioritize repo
enablers from references/l2-to-l3-hinge.md and collaboration actions from
improvement-actions-agent.md. If practices ahead of codebase, prioritize verification,
types, CI, and testable-boundaries actions before expanding agent workflows.
Focus on:
If compound engineering readiness or progressive context disclosure is below the threshold
for the target level, load references/workflow-and-surfaces.md. Plan paired improvements:
Track A (CI, types, hooks, instruction files) and Track B (workflow artifact dirs, packaged
skills for repeatable agent workflows). Do not recommend only infrastructure fixes when session
context is absent.
If the readiness report lacks collaboration metrics or marks them "not measured", add roadmap
actions from ../assess-readiness/references/collaboration-metrics.md (tracking, PR template,
post-review rule updates).
For each recommended action, specify:
Order actions by: (1) unblock the next level first, (2) alignment-driven priority when the report flags a mismatch (see Step 3), (3) highest impact/effort ratio, (4) foundational actions before dependent ones.
Write a new readiness-roadmap.md file in the codebase root:
# AI Readiness Roadmap
**Current level**: LX | **Target level**: LY | **Current score**: XX/100
## Critical path (must-do for next level)
| # | Action | Category | Effort | Impact | Details |
|---|--------|----------|--------|--------|---------|
| 1 | ... | ... | ... | ... | ... |
## L2 → L3 hinge
Include when current level ≤ L2 and target level ≥ L3. Split codebase critical path vs repo
enablers. Load `references/l2-to-l3-hinge.md`.
## Session infrastructure (dual track)
Include this section when compound engineering or progressive context disclosure is below
target. Pair one Track A action (durable surfaces / CI) with one Track B action (workflow
artifacts or packaged skill) per row.
| # | Track A (durable surfaces) | Track B (workflow artifacts / skills) | Effort | Impact |
|---|----------------------------|---------------------------------------|--------|--------|
| 1 | ... | ... | ... | ... |
## Collaboration effectiveness
| # | Action | Effort | Impact | Details |
|---|--------|--------|--------|---------|
| 1 | ... | ... | ... | ... |
## High-impact improvements
| # | Action | Category | Effort | Impact | Details |
|---|--------|----------|--------|--------|---------|
| 1 | ... | ... | ... | ... | ... |
## Nice-to-have
| # | Action | Category | Effort | Impact | Details |
|---|--------|----------|--------|--------|---------|
| 1 | ... | ... | ... | ... | ... |
references/implementation-phases.md (opens in a new tab)references/improvement-actions-agent.md (opens in a new tab)references/improvement-actions.md (opens in a new tab)references/l2-to-l3-hinge.md (opens in a new tab)references/level-transitions.md (opens in a new tab)references/workflow-and-surfaces.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub krokoko/cairn --plugin codebase-ai-readinessOther plugins' skills for the same job