--- name: ab-mastermind description: The intelligent entry point to the AB Method. Use when the user isn't sure which workflow they need, asks whether to create a goal or a task, or wants to understand how the AB Method works end to end. Routes intent to the right workflow instead of reimplementing it. --- This skill runs the AB Method **mastermind** workflow. Follow the workflow defined in `.ab-method/core/mastermind.md` exactly — it contains the full routing logic, the goal-vs-task decision guide, and the end-to-end explanation. Before doing anything, check `.ab-method/structure/index.yaml`. It defines where every workflow reads from and writes to. Paths are user-configurable; never hardcode them. **Locating `.ab-method/`.** Every `.ab-method/...` path — here and inside the workflow files — is resolved in this order: 1. **The project root (the current working directory) first.** If `/.ab-method/...` exists, use it. A project's own `.ab-method/structure/index.yaml` is how it customises its paths, so it always wins — check for it even when the bundled copy is right there. 2. **Only if the project has no such file** (AB Method installed as a plugin rather than with `npx ab-method`), read the bundled copy: `../../../.ab-method/` relative to this `SKILL.md`. The bundled copy is read-only reference material. Every path the index or a workflow names (`docs/...`, `CONTEXT.md`, `UBIQUITOUS_LANGUAGE.md`, ...) is relative to the **project root** — never to the folder the bundled files live in. Never write inside that folder. Mastermind is deliberately thin: it discovers the available `ab-*` workflow skills at runtime, matches the user's intent, and delegates to the matching skill. It never reproduces another workflow's process.