/roadmapsmith:roadmap-initfrom roadmapsmith
Create a fresh ROADMAP.md by scanning the repo and asking the user 3 minimal questions. Groups tasks by phase and code area. Never overwrites an existing ROADMAP.md.
Ships in roadmapsmith. 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.
None: SKILL.md is the whole skill.
Trigger: user types /roadmap-init or dice "hazme un roadmap", "create a roadmap", equivalente.
Este skill es hermano de roadmap-update. Ambos comparten las mismas invariantes al final.
Read (best-effort, no bloquear en missing files):
README.md (repo root) para contextopackage.json / pyproject.toml / Cargo.toml para nombre, description, deps**/*.{js,ts,jsx,tsx,py,go,rs,rb,java,kt} excluyendo node_modules .git dist build .next coverageTODO|FIXME|HACK comments en el códigov1.3: Signals de Claude Code / Codex skill/plugin project. Chequear también:
SKILL.md en root con YAML frontmatter (name: y description:).claude-plugin/plugin.json.codex-plugin/plugin.jsoncommands/*.md con frontmatter YAMLbin/*.js como entrypoint (no vale bin/*.sh — esos suelen ser wrappers del install)plugins/**/skills/**/SKILL.md (bundle multi-skill)Regla de clasificación auto: si 2+ signals de la lista de arriba matchean, marcar el mapa mental como type: skill-plugin. Esto evita el bug clásico del generator pre-v1.0 (v0.14) que ve install.sh/ps1 y clasifica como "Shell" — sin mirar bin/*.js ni SKILL.md.
Construir un mapa mental:
skill-plugin / cli / web / electron / monorepo / python-package / unknownPreguntar TODO en un solo mensaje. NO hacer preguntas de a una:
Antes de generar el ROADMAP.md, tres cosas:
1. Nombre del proyecto (default: <name inferido>):
2. Qué problema resuelve (una frase):
3. Usuario primario (ej: "solo dev", "equipo interno", "usuarios finales"; default: "solo dev"):
Y dos decisiones de formato:
4. Metadata mode:
- "rica" — cada task incluye owner + evidence + fecha inline en HTML comments
- "lite" — solo `[ ] [P0] Task text`, sin metadata
5. (v1.3, opcional) Project type — el auto-detect infirió "<type detectado>". Si es incorrecto, forzá el tipo:
- "cli" — Node.js / Python / Rust CLI tool
- "skill-plugin" — Claude Code / Codex skill o plugin (SKILL.md + plugin.json)
- "web" — Next.js / Vite / React / Vue frontend
- "electron" — Electron desktop app
- "monorepo" — pnpm / npm workspaces
- "auto" — dejar que el skill infiera (default)
Cuál preferís? (respondé con los 4-5 valores separados por líneas)
Esperar respuesta. NO PROCEDER hasta que el user responda.
Si el user responde algo distinto a "auto" en la pregunta 5, usar ese type en Step 4. El override humano gana sobre el auto-detect.
Default: ./ROADMAP.md (repo root).
Si ya existe algún roadmap-like file (docs/roadmap.md, TODO.md), PREGUNTAR:
"Detecté <archivo existente>. ¿Escribo un ROADMAP.md nuevo en el root, o rescribo <archivo existente>?"
Si el user tenía un ROADMAP.md ya (contradice el trigger), redirigir a /roadmap-update y parar.
Estructura (hybrid grouping: fases + áreas):
# <project name>
<problem statement>
**Primary user:** <user>
**Project type (v1.3):** <type auto-detectado o forzado por user>
## Phase 0 — Baseline
### <área 1 detectada>
- [ ] [P0] <task inferida>
### <área 2>
- [ ] [P0] <task inferida>
## Phase 1 — Growth
### <área>
- [ ] [P1] <task>
## Phase 2 — Polish
- [ ] [P2] <task>
Task inference según type (v1.3, max 10-15 total, quality over quantity):
Común a todos los types:
TODO/FIXME/HACK comments → tasks Address <TYPE>: <text> (<file>:<line>)Add tests for <module>Complete <feature><text del README>type=skill-plugin (v1.3): priorizar tasks específicas al ecosistema:
description: compacta → Compact description in <skill-name>/SKILL.md (currently >200 chars)commands/*.md sin frontmatter → Add frontmatter to commands/<name>.md.claude-plugin/plugin.json → Add .claude-plugin/plugin.json manifestAdd smoke test for bin/<entrypoint>.jstype=cli: tasks tipo Add --help output for <subcommand>, Add exit-code contract tests, Document argv parsing edge cases.
type=web: tasks tipo Add loading states for <page>, Wire up form validation for <form>, Add a11y audit for <route>.
type=electron: tasks tipo Wire up auto-updater, Add crash reporter, Sign installer for macOS/Windows.
type=monorepo: tasks tipo Enforce shared tsconfig, Add cross-package test in CI.
Task anatomy según metadata mode elegido:
- [ ] [P0] Add login <!-- owner: pending, evidence: (none yet), added: YYYY-MM-DD -->- [ ] [P0] Add loginPriorizar:
Write ROADMAP.md via Write tool.
Emitir reporte estructurado:
═══ roadmap-init report ═══
CREATED: <path>
STATS:
- Áreas detectadas: <n>
- Tasks generadas: <n> total (P0: <n>, P1: <n>, P2: <n>)
- Metadata mode: <rich | lite>
- Project type (v1.3): <type> (auto-detected | user-forced)
NEXT:
- Revisá las tasks, edit o borrá cualquiera que no aplique
- Usá `/roadmap-update` cuando quieras que el agente refleje tu progreso en el código
═══ end report ═══
/roadmap-update./roadmap-update u otras interacciones./roadmap-update NO son responsabilidad de este skill. Solo hacé init y salite.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (papischolz/roadmapsmith) — no native marketplace selected
npx claudepluginhub p/papischolz-roadmapsmith