smart-initlisted
Install: claude install-skill RBraga01/a-team
# Smart Init — Conversational Onboarding
## Trigger
This skill is invoked by the orchestrator when `/orchestrate init` is called and no `INIT.md` exists.
## Detection Sequence
Check in this order:
1. `INIT.md` exists → stop, use current init flow unchanged
2. `ROADMAP.md` exists → Path A (extract from ROADMAP)
3. `ROADMAP_*.md` exists (e.g. `ROADMAP_icd10.md`) → Path A (extract from that file)
4. Neither exists → Path B (full 5-question interview)
---
## Path A — ROADMAP Exists
Read the ROADMAP file and extract:
| Look for in ROADMAP | Maps to INIT.md field |
|--------------------|-----------------------|
| Project name in H1 or title | Project name |
| Description paragraph | Project overview |
| Stack table or technology mentions | Languages & stack |
| "Princípios não-negociáveis" or "Non-negotiable" section | Immutable rules |
| "Próximo" / "Next" / "Roadmap" items | Active work context |
| Compliance mentions (GDPR, local-first, privacy, HIPAA) | Compliance scope |
| "Feito" / "Done" section | Existing coverage |
After extraction, ask **only one question** (the only thing a ROADMAP cannot tell you):
> "Que ferramentas de IA estás a usar para escrever código neste projecto?"
> → A) Claude Code
> → B) Codex CLI
> → C) Cursor
> → D) OpenCode
> → E) Várias — escolho mais do que uma
Then generate INIT.md (see Template section below) and show the review gate.
---
## Path B — No ROADMAP (Full Interview)
Ask these 5 questions, one at a time. Use plain language — a