session-startup · git:20261021.1029279 · 2026-10-21 · sha256 5efffbc1b673193b
session-startup git:20261021.1029279A
Immutable. This exact content never changes and is served at /api/v1/blob/5efffbc1b673193b.
--- name: session-startup description: "Obligatory sequence at session start: read AGENTS.md, load phase skills, check memory, run tests and present a plan." license: MIT --- # Session startup > The operational contract lives in `AGENTS.md`. This skill is the procedure. ## Steps (in order) 1. **Read `AGENTS.md`** — it is the entry point. If `## Commands`, `## Structure` or `## Do Not Touch` are missing, stop and ask to complete them. 2. **Check the bootstrap state** — if `.template/state.json` exists and `status` is `pending`, run `BOOTSTRAP.md` before anything else. 3. **Load the phase skills** from the Skill Registry in `AGENTS.md`. Do not load skills from packs that are not activated. 4. **Review the previous session** — if persistent memory is configured, retrieve the context. If not, inspect the repo state (`git status`, `git log -5`). 5. **Run the tests** with the command declared in `AGENTS.md` (`## Commands`). They must be green before writing code. 6. **Present a plan to the user** before touching code. ## If something is missing | Missing | Action | |---|---| | Test command | Ask; never invent one | | "Do not touch" rules | Ask before editing | | Bootstrap pending | Run the ritual first | | Red tests | Report and do not proceed | ## Role announcement When switching roles, announce it as `🎩 Ahora soy <rol>` before acting.