# Aif Roadmap Next

Recommend the next planning scope from a project's roadmap, accounting for...

- Repository: https://github.com/lee-to/ai-factory (1156 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add lee-to/ai-factory --skill aif-roadmap-next -g -a claude-code -y`
Codex: `npx skills add lee-to/ai-factory --skill aif-roadmap-next -g -a codex -y`
Cursor: `npx skills add lee-to/ai-factory --skill aif-roadmap-next -g -a cursor -y`
Gemini CLI: `npx skills add lee-to/ai-factory --skill aif-roadmap-next -g -a gemini-cli -y`

## Description

Recommend the next planning scope from a project's roadmap, accounting for dependencies, active plans and estimated size. Use to choose what to plan next; does not update the roadmap or start planning without the user's selection.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Roadmap Next

Recommend a bounded next plan, with evidence and alternatives. Recommendation is
read-only; creating a plan belongs to `/aif-plan` after an explicit user selection.

## Shared project skill-context

Before mode routing or work, read existing files relative to the current project root in this order (reuse them if already loaded):

1. `.ai-factory/skill-context/global-skill-context.md`, all bundled skills.
2. `.ai-factory/skill-context/aif-roadmap-next/SKILL.md`, this skill.

Missing files are skipped; an existing unreadable file stops dependent work with its path.
Precedence: individual > build (when applicable) > global > skill defaults; retain non-conflicting instructions and check all outputs against the effective rules.
These layers customize workflow; they do not replace the project's rules/architecture hierarchy or relax explicit requirements, ownership, scope, safety/privacy, validation, or approval boundaries. Report conflicts with those boundaries instead of overriding them.
`global` is a project-local layer, not home-directory configuration. Custom/extension skills do not automatically use it.

## 1. Load context and mode

Read `.ai-factory/config.yaml` when present. Resolve `paths.roadmap`, `paths.plan`,
`paths.plans`, `paths.fix_plan`, `paths.archive`, `paths.description`,
`paths.architecture`, `paths.rules_file`, `paths.rules`, `rules.*`, and UI/technical
term language. Default paths are all under `.ai-factory/`: `ROADMAP.md`, `PLAN.md`,
`plans/`, `FIX_PLAN.md`, `archive/`, `DESCRIPTION.md`, `ARCHITECTURE.md`, `RULES.md`, `rules/`.
Read the actual roadmap and available description/architecture/applicable rules.
Missing roadmap → suggest `/aif-roadmap` and stop; do not generate one here.

Resolve the mode once:

The rest: https://github.com/lee-to/ai-factory/blob/HEAD/skills/aif-roadmap-next/SKILL.md
