[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HBTNYAQP4G37HCVWYGFMW0":3,"skill-same:01M6HBTNYAQP4G37HCVWYGFMW0":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":65},"01M6HBTNYAQP4G37HCVWYGFMW0","mission",null,"Start or switch to a named feature mission and capture its purpose, constraints, and numbered roadmap, so every later step shares the same context. Use this to begin a new feature cycle or update its direction — it drives bin\u002Fgodmode-mission, maintains the project-global .planning\u002FPROJECT.md, and writes the mission's .planning\u002Fmissions\u002F\u003Cmission_id>\u002FROADMAP.md.","SyloRei\u002Fclaude-godmode","SyloRei","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5840195?v=4","01M6HBT6QSK7QM4DTVPNGARNP4","Andrey Prokofev","01M6HBT6WED1MEN8W7JYP412WE",3,"MIT","https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Fskills\u002Fmission\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"godmode","true","missions","direction","feature","project","cycle","switch","later","update","roadmap","use","context","edit","write","read","Bash","start","planning","2026-11-10 10:12:30",false,"---\nname: mission\ndescription: \"Start or switch to a named feature mission and capture its purpose, constraints, and numbered roadmap, so every later step shares the same context. Use this to begin a new feature cycle or update its direction — it drives bin\u002Fgodmode-mission, maintains the project-global .planning\u002FPROJECT.md, and writes the mission's .planning\u002Fmissions\u002F\u003Cmission_id>\u002FROADMAP.md.\"\nuser-invocable: true\nallowed-tools: Read, Write, Edit, Glob, Bash(gm=*), Bash(*godmode-state*), Bash(*godmode-mission*)\n---\n\n# Mission\n\nEstablish the durable foundation for a **named feature cycle** — a *mission*: **why** it exists, the **constraints** it must respect, what **success** looks like, and a **numbered roadmap** of work units. Run `\u002Fmission \u003Cfeature name>` to create-or-switch a mission; re-run any time to update its direction. Every later step (`\u002Fbrief N`, `\u002Fplan N`, `\u002Fbuild N`, `\u002Fverify N`, `\u002Fship`) reads this shared context for the active mission. If `\u002Fideate` already proposed this feature, `\u002Fmission` picks up that proposal as seed context (see step 2).\n\nA **mission** is a named feature cycle stored at `.planning\u002Fmissions\u002F\u003Cmission_id>\u002F`, where `\u003Cmission_id>` is `NN-slug` (allocated by `bin\u002Fgodmode-mission`). Each mission owns its own roadmap and briefs, and its work units number from 1 *within the mission*.\n\nArtifacts live in the **consumer's** repo (the project you are helping build), never in the plugin source. Two are **project-global** at the `.planning\u002F` root and span every mission; one is **mission-scoped**:\n\n- `.planning\u002FPROJECT.md` *(root, global)* — purpose, constraints, success criteria. The persistent project charter, shared by all missions.\n- `.planning\u002FSTATE.md` *(root, global)* — workflow state, including the active `mission_id`.\n- `.planning\u002Fmissions\u002F\u003Cmission_id>\u002FROADMAP.md` *(per-mission)* — this mission's numbered list of work units. Each entry is referenceable by number: `\u002Fbrief N` plans entry N **of the active mission**.\n\n---\n\n## Auto Mode\n\nAuto Mode suppresses **confirmation prompts** (\"proceed? \u002F shall I write it?\") — never the **clarifying questions** that decide what the project actually is. A charter built on silent guesses is confidently wrong, and every later step inherits the error. So even in Auto Mode:\n\n- **Still ask the consequential questions** — the ones whose answer materially changes the charter or this mission's scope (who it's for, what \"success\" concretely means, hard constraints, scope edges) AND that the repo\u002FREADME\u002Fmanifests\u002Frecent commits cannot answer. Batch them up front, lettered\u002Foption style, so they're answered fast.\n- **Assume the trivial** — for low-stakes gaps the repo can reasonably imply, pick a sensible default and record it under an **Assumptions** heading rather than asking.\n- Don't interrogate: if the repo already answers something, don't ask it. Treat user course-corrections as normal input.\n\nWhen Auto Mode is absent, same principle — ask the essential questions, keep it brief. This is a charter, not an interview, but the few questions that set direction are worth asking in either mode.\n\n**Recommendation convention** (`godmode:recommend-convention`). Every question you ask follows the shared convention in `rules\u002Fgodmode-recommend.md`: lead with a **Recommended** option that carries a visible one-line rationale, then let the user override. Don't hand back a flat menu of equal choices — you did the analysis, so say what you'd pick and why:\n\n```\nWhat does \"success\" concretely mean for this project?\n\n  a) Ships a working CLI a new user can install and run (Recommended — the\n     repo is a tool, and the README frames adoption as the goal)\n  b) Reaches feature parity with the prior version — broader, slower to verify\n  c) Something else — tell me\n\nPick a letter, or describe a different option.\n```\n\n---\n\n## Process\n\n### 1. Start or switch the mission\n\n**Resolving the godmode helpers.** The `godmode-*` helpers live in the plugin install dir — **not** the consumer repo you're working in — so a bare `bin\u002Fgodmode-*` path fails from another project's working directory. Every `bash` block below resolves their location into `$gm` first (plugin mode → `$CLAUDE_PLUGIN_ROOT\u002Fbin`, manual install → `~\u002F.claude\u002Fbin`, in-repo → `.\u002Fbin`) and calls `\"$gm\u002Fgodmode-\u003Cname>\"`. The helpers still operate on the consumer repo's `.planning\u002F` (your current working directory) — only the binary is resolved from the install dir. Keep the resolver line; never call a helper by a bare relative path.\n\n`\u002Fmission` always takes a **feature name** as its argument. Hand it to the lifecycle helper, which slugifies the name and decides create-vs-switch:\n\n```bash\ngm=$(for c in \"${CLAUDE_PLUGIN_ROOT:-}\" \"$HOME\u002F.claude\" .; do [ -x \"$c\u002Fbin\u002Fgodmode-state\" ] && { echo \"$c\u002Fbin\"; break; }; done)\n\"$gm\u002Fgodmode-mission\" start \u003Cfeature name>\n```\n\n- **New name** (no `.planning\u002Fmissions\u002FNN-slug` for that slug yet) → the helper allocates the next `NN`, scaffolds `.planning\u002Fmissions\u002FNN-slug\u002F` with a header-only `ROADMAP.md` and a `briefs\u002F` directory, records `mission_id`\u002F`mission_name` in state, and **resets `active_unit` to 1**. This is a fresh feature cycle: its roadmap and briefs number from 1.\n- **Existing name** (a mission dir already exists for that slug) → the helper **switches** to it: it sets `mission_id`\u002F`mission_name` and **leaves `active_unit` unchanged**, preserving that mission's counter.\n\nThen resolve the active mission so every later path is mission-scoped:\n\n```bash\ngm=$(for c in \"${CLAUDE_PLUGIN_ROOT:-}\" \"$HOME\u002F.claude\" .; do [ -x \"$c\u002Fbin\u002Fgodmode-state\" ] && { echo \"$c\u002Fbin\"; break; }; done)\nmission_id=$(\"$gm\u002Fgodmode-state\" get mission_id)\n```\n\nIf `\u002Fmission` was invoked without a feature name, ask the user for one before doing anything else — a mission must be named.\n\n### 2. Seed from a prior `\u002Fideate` artifact (additive, best-effort)\n\n`\u002Fideate` (the pre-mission front door) may have written a durable proposal at `.planning\u002Fideas\u002F\u003Cslug>\u002FIDEAS.md`, where `\u003Cslug>` is the kebab-case feature name. Because `bin\u002Fgodmode-mission start \u003Cfeature name>` derives the mission's `\u003Cslug>` from the **same** feature name with the **same** slugify rule, an `\u002Fideate` proposal and the `\u002Fmission` of the same name share a slug — that slug match is the contract that connects them.\n\nThe active `mission_id` is `NN-slug`; the seed slug is its `slug` portion (everything after the leading `NN-`). With that slug known, check for the artifact and, **if it exists**, Read it and use it as seed context for the charter (`PROJECT.md`) and this mission's `ROADMAP.md` — the proposed purpose, rough success criteria, known constraints, candidate directions, and rough work-unit list become starting material for the steps below (still subject to the consequential questions and merge behavior; the user can override anything).\n\nThis read is **additive and best-effort**: if no matching `.planning\u002Fideas\u002F\u003Cslug>\u002FIDEAS.md` exists, do nothing and continue — `\u002Fmission` behaves **exactly as it does today**, with no error and no change to any other behavior described here. The artifact only ever adds seed context; it never gates or alters the mission lifecycle.\n\n### 3. Read before writing\n\nAlways Read existing state first — re-running `\u002Fmission` for the same mission is an **update**, not a fresh write:\n\n- `.planning\u002FPROJECT.md` (if present) — current purpose, constraints, decisions (project-global, at the `.planning\u002F` root; shared by all missions).\n- `.planning\u002Fmissions\u002F${mission_id}\u002FROADMAP.md` — this mission's numbered work units and their status. For a freshly created mission the helper has already seeded a header-only file.\n- Read the current workflow state:\n  ```bash\n  gm=$(for c in \"${CLAUDE_PLUGIN_ROOT:-}\" \"$HOME\u002F.claude\" .; do [ -x \"$c\u002Fbin\u002Fgodmode-state\" ] && { echo \"$c\u002Fbin\"; break; }; done)\n  \"$gm\u002Fgodmode-state\" get active_unit\n  \"$gm\u002Fgodmode-state\" get status\n  ```\n\nIf `PROJECT.md` does not exist, this is a first-time project initialization. If it exists, preserve what is already decided (see Merge behavior below).\n\n### 4. Gather purpose, constraints, success criteria\n\nEstablish, from the repo and the user (or inferred defaults in Auto Mode):\n\n- **Purpose** — what the project is for and who it serves. One or two paragraphs. This is project-global; refine it across missions, don't rewrite it per feature.\n- **Constraints** — hard limits: tech stack, portability targets, license, dependency budget, anything non-negotiable.\n- **Success criteria** — the concrete bar that says the project achieved its goal. Measurable where possible.\n\nThe charter (`PROJECT.md`) spans all missions. The current mission's roadmap captures only the work units that belong to *this* feature cycle.\n\n### 5. Establish the mission's numbered roadmap\n\nBreak this mission's work into a **numbered** list of work units. Each entry:\n\n- Has a stable integer number — the reference `\u002Fbrief N` will use. Numbering starts at 1 **within the mission**.\n- Has a short title and a one-line outcome statement.\n- Has a status: `pending`, `active`, or `done`.\n\nNumber entries sequentially. New work units append with the next free number; **never renumber existing entries** (their numbers are referenced elsewhere).\n\n### 6. Write the artifacts (merge, never clobber)\n\nWrite the project-global `.planning\u002FPROJECT.md` (at the root) and the mission-scoped `.planning\u002Fmissions\u002F${mission_id}\u002FROADMAP.md` using the formats below.\n\n### 7. Record workflow state\n\nPoint the workflow at the first unstarted roadmap entry so `\u002Fgodmode` can tell the user what to do next:\n\n```bash\n# N = the lowest-numbered roadmap entry of this mission that is still pending\ngm=$(for c in \"${CLAUDE_PLUGIN_ROOT:-}\" \"$HOME\u002F.claude\" .; do [ -x \"$c\u002Fbin\u002Fgodmode-state\" ] && { echo \"$c\u002Fbin\"; break; }; done)\n\"$gm\u002Fgodmode-state\" set active_unit \"N\"\n\"$gm\u002Fgodmode-state\" set status \"mission defined\"\n\"$gm\u002Fgodmode-state\" set next_command \"\u002Fbrief N\"\n```\n\n`mission_id`\u002F`mission_name` are already set by `bin\u002Fgodmode-mission start` (step 1) — do not set them by hand here.\n\nIf every roadmap entry is already `done`, set `status` to `roadmap complete` and leave `next_command` pointing at `\u002Fmission` to add more work units to this mission (or start a new one).\n\n---\n\n## Merge behavior (re-running updates, does not clobber)\n\n`\u002Fmission` is safe to re-run, and the name you pass decides what happens — this is enforced by `bin\u002Fgodmode-mission`:\n\n- **New feature name → new mission, counter reset.** A name with no existing mission dir scaffolds a fresh `.planning\u002Fmissions\u002FNN-slug\u002F` and resets `active_unit` to 1. The new mission's roadmap and briefs number from 1, independent of every other mission.\n- **Existing feature name → merge in place, counter preserved.** Re-running with a name that already has a mission dir switches to it and leaves `active_unit` (its counter) untouched. You then **update** that mission's existing `ROADMAP.md` rather than starting over. Merge-never-clobber is now scoped to that mission.\n\nOn every run, regardless of create-vs-switch:\n\n- **Preserve existing decisions.** Read the current project-global `PROJECT.md` and carry forward purpose, constraints, success criteria, and any **Decisions** section verbatim unless the user explicitly changes one. Edit individual lines or sections; do not rewrite the whole file from a blank slate. `PROJECT.md` is shared across missions — never reset it when starting a new mission.\n- **Append, don't renumber, roadmap entries.** Within the active mission's `ROADMAP.md`, existing numbered entries keep their numbers and status. New work units get the next free number. If the user marks an entry done or active, change only that entry's status field.\n- **Never silently drop content.** When updating a section, keep prior context; if a constraint or decision is being removed, note it explicitly (e.g. move it under a `## Superseded` heading rather than deleting it).\n- **Show a diff summary.** After writing, report which sections changed and which roadmap entries were added or had their status updated.\n\nUse Edit for surgical changes to existing files (the project-global `PROJECT.md`, and an existing mission's `ROADMAP.md`) and Write only for first-time population of a freshly seeded or absent file.\n\n---\n\n## Artifact formats\n\n### `.planning\u002FPROJECT.md` *(root, project-global)*\n\n```markdown\n# Project: [name]\n\n**Updated:** [YYYY-MM-DD]\n\n## Purpose\n[Why this project exists and who it serves.]\n\n## Success Criteria\n- [Concrete, measurable where possible.]\n\n## Constraints\n- [Hard limits: stack, portability, license, dependency budget, non-negotiables.]\n\n## Decisions\n- [YYYY-MM-DD] [Decision] — [rationale]. (Preserved across re-runs and missions.)\n```\n\n### `.planning\u002Fmissions\u002F\u003Cmission_id>\u002FROADMAP.md` *(per-mission)*\n\n`bin\u002Fgodmode-mission` seeds this header-only when the mission is created; `\u002Fmission` populates and updates it. `\u003Cmission_id>` is the active mission's `NN-slug` from `\"$gm\u002Fgodmode-state\" get mission_id` (see the helper-resolution note in step 1).\n\n```markdown\n# Roadmap: [mission name]\n\n**Updated:** [YYYY-MM-DD]\n\nNumbered work units for this mission. Reference an entry with `\u002Fbrief N`.\n\n| # | Work unit | Outcome | Status |\n|---|-----------|---------|--------|\n| 1 | [title]   | [one-line outcome] | pending |\n| 2 | [title]   | [one-line outcome] | active  |\n| 3 | [title]   | [one-line outcome] | done    |\n```\n\n---\n\n## Output\n\n\u003C!-- Output follows the in-skill output convention: godmode:output-convention — see rules\u002Fgodmode-output.md -->\n\nAfter writing, report:\n\n- The active mission (`mission_id` and `mission_name`), and whether it was created fresh or switched into.\n- Which artifacts were created vs updated, with their paths (the global `.planning\u002FPROJECT.md` and the mission-scoped `.planning\u002Fmissions\u002F\u003Cmission_id>\u002FROADMAP.md`).\n- A short diff summary: changed sections and added\u002Fupdated roadmap entries.\n- In Auto Mode, an **Assumptions** list of inferred defaults.\n- The workflow state set and the next step:\n\n> \"Mission '\u003Cmission_name>' defined. Run `\u002Fbrief N` to plan work unit N.\"\n\n---\n\n## Related\n\n- **\u002Fideate** — the pre-mission front door: discusses and proposes the next mission, writing `.planning\u002Fideas\u002F\u003Cslug>\u002FIDEAS.md`. `\u002Fmission \u003Cname>` auto-reads a matching artifact as seed context (step 2).\n- **\u002Fbrief N** — turns roadmap entry N of the active mission into a work unit with a why + what + spec.\n- **\u002Fgodmode** — reads the workflow state this skill records (including the active `mission_id`) and tells the user the next command.\n- **\u002Fonboard** — run first on an unfamiliar codebase; its findings sharpen the purpose and constraints captured in `PROJECT.md`.\n- **bin\u002Fgodmode-mission** — the lifecycle helper this skill drives to create-or-switch missions and keep `mission_id`\u002F`mission_name` in sync.\n\n**Spine:** `\u002Fmission` → `\u002Fbrief N` → `\u002Fplan N` → `\u002Fbuild N` → `\u002Fverify N` → `\u002Fship`. Mission is the shared-context root every later step reads from, scoped to the active mission.\n","# Mission\n\nEstablish the durable foundation for a **named feature cycle** — a *mission*: **why** it exists, the **constraints** it must respect, what **success** looks like, and a **numbered roadmap** of work units. Run `\u002Fmission \u003Cfeature name>` to create-or-switch a mission; re-run any time to update its direction. Every later step (`\u002Fbrief N`, `\u002Fplan N`, `\u002Fbuild N`, `\u002Fverify N`, `\u002Fship`) reads this shared context for the active mission. If `\u002Fideate` already proposed this feature, `\u002Fmission` picks up that proposal as seed context (see step 2).\n\nA **mission** is a named feature cycle stored at `.planning\u002Fmissions\u002F\u003Cmission_id>\u002F`, where `\u003Cmission_id>` is `NN-slug` (allocated by `bin\u002Fgodmode-mission`). Each mission owns its own roadmap and briefs, and its work units number from 1 *within the mission*.\n\nArtifacts live in the **consumer's** repo (the project you are helping build), never in the plugin source. Two are **project-global** at the `.planning\u002F` root and span every mission; one is **mission-scoped**:\n\n- `.planning\u002FPROJECT.md` *(root, global)* — purpose, constraints, success criteria. The persistent project charter, shared by all missions.\n- `.planning\u002FSTATE.md` *(root, global)* — workflow state, including the active `mission_id`.\n- `.planning\u002Fmissions\u002F\u003Cmission_id>\u002FROADMAP.md` *(per-mission)* — this mission's numbered list of work units. Each entry is referenceable by number: `\u002Fbrief N` plans entry N **of the active mission**.\n\n---\n\n## Auto Mode\n\nAuto Mode suppresses **confirmation prompts** (\"proceed? \u002F shall I write it?\") — never the **clarifying questions** that decide what the project actually is. A charter built on silent guesses is confidently wrong, and every later step inherits the error. So even in Auto Mode:\n\n- **Still ask the consequential questions** — the ones whose answer materially changes the charter or this mission's scope (who it's for, what \"success\" concretely means, hard constraints, scope edges) AND that the repo\u002FREADME\u002Fmanifests\u002Frecent commits cannot answer. Batch them up front, lettered\u002Foption style, so they're answered fast.\n- **Assume the trivial** — for low-stakes gaps the repo can reasonably imply, pick a sensible default and record it under an **Assumptions** heading rather than asking.\n- Don't interrogate: if the repo already answers something, don't ask it. Treat user course-corrections as normal input.\n\nWhen Auto Mode is absent, same principle — ask the essential questions, keep it brief. This is a charter, not an interview, but the few questions that set direction are worth asking in either mode.\n\n**Recommendation convention** (`godmode:recommend-convention`). Every question you ask follows the shared convention in `rules\u002Fgodmode-recommend.md`: lead with a **Recommended** option that carries a visible one-line rationale, then let the user override. Don't hand back a flat menu of equal choices — you did the analysis, so say what you'd pick and why:\n\n```\nWhat does \"success\" concretely mean for this project?\n\n  a) Ships a working CLI a new user can install and run (Recommended — the\n     repo is a tool, and the README frames adoption as the goal)\n  b) Reaches feature parity with the prior version — broader, slower to verify\n  c) Something else — tell me\n\nPick a letter, or describe a different option.\n```\n\n---\n\n## Process\n\n### 1. Start or switch the mission\n\n**Resolving the godmode helpers.** The `godmode-*` helpers live in the plugin install dir — **not** the consumer repo you're working in — so a bare `bin\u002Fgodmode-*` path fails from another project's working directory. Every `bash` block below resolves their location into `$gm` first (plugin mode → `$CLAUDE_PLUGIN_ROOT\u002Fbin`, manual install → `~\u002F.claude\u002Fbin`, in-repo → `.\u002Fbin`) and calls `\"$gm\u002Fgodmode-\u003Cname>\"`. The helpers still operate on the consumer repo's `.planning\u002F` (your current working directory) — only the binary is resolved from the install dir. Keep the resolver line; never call a helper by a bare relative path.\n\n`\u002Fmission` always takes a **feature name** as its argument. Hand it to the lifecycle helper, which slugifies the name and decides create-vs-switch:\n\n```bash\ngm=$(for c in \"${CLAUDE_PLUGIN_ROOT:-}\" \"$HOME\u002F.claude\" .; do [ -x \"$c\u002Fbin\u002Fgodmode-state\" ] && { echo \"$c\u002Fbin\"; break; }; done)\n\"$gm\u002Fgodmode-mission\" start \u003Cfeature name>\n```\n\n- **New name** (no `.planning\u002Fmissions\u002FNN-slug` for that slug yet) → the helper allocates the next `NN`, scaffolds `.planning\u002Fmissions\u002FNN-slug\u002F` with a header-only `ROADMAP.md` and a `briefs\u002F` directory, records `mission_id`\u002F`mission_name` in state, and **resets `active_unit` to 1**. This is a fresh feature cycle: its roadmap and briefs number from 1.\n- **Existing name** (a mission dir already exists for that slug) → the helper **switches** to it: it sets `mission_id`\u002F`mission_name` and **leaves `active_unit` unchanged**, preserving that mission's counter.\n\nThen resolve the active mission so every later path is mission-scoped:\n\n```bash\ngm=$(for c in \"${CLAUDE_PLUGIN_ROOT:-}\" \"$HOME\u002F.claude\" .; do [ -x \"$c\u002Fbin\u002Fgodmode-state\" ] && { echo \"$c\u002Fbin\"; break; }; done)\nmission_id=$(\"$gm\u002Fgodmode-state\" get mission_id)\n```\n\nIf `\u002Fmission` was invoked without a feature name, ask the user for one before doing anything else — a mission must be named.\n\n### 2. Seed from a prior `\u002Fideate` artifact (additive, best-effort)\n\n`\u002Fideate` (the pre-mission front door) may have written a durable proposal at `.planning\u002Fideas\u002F\u003Cslug>\u002FIDEAS.md`, where `\u003Cslug>` is the kebab-case feature name. Because `bin\u002Fgodmode-mission start \u003Cfeature name>` derives the mission's `\u003Cslug>` from the **same** feature name with the **same** slugify rule, an `\u002Fideate` proposal and the `\u002Fmission` of the same name share a slug — that slug match is the contract that connects them.\n\nThe active `mission_id` is `NN-slug`; the seed slug is its `slug` portion (everything after the leading `NN-`). With that slug known, check for the artifact and, **if it exists**, Read it and use it as seed context for the charter (`PROJECT.md`) and this mission's `ROADMAP.md` — the proposed purpose, rough success criteria, known constraints, candidate directions, and rough work-unit list become starting material for the steps below (still subject to the consequential questions and merge behavior; the user can override anything).\n\nThis read is **additive and best-effort**: if no matching `.planning\u002Fideas\u002F\u003Cslug>\u002FIDEAS.md` exists, do nothing and continue — `\u002Fmission` behaves **exactly as it does today**, with no error and no change to any other behavior described here. The artifact only ever adds seed context; it never gates or alters the mission lifecycle.\n\n### 3. Read before writing\n\nAlways Read existing state first — re-running `\u002Fmission` for the same mission is an **update**, not a fresh write:\n\n- `.planning\u002FPROJECT.md` (if present) — current purpose, constraints, decisions (project-global, at the `.planning\u002F` root; shared by all missions).\n- `.planning\u002Fmissions\u002F${mission_id}\u002FROADMAP.md` — this mission's numbered work units and their status. For a freshly created mission the helper has already seeded a header-only file.\n- Read the current workflow state:\n  ```bash\n  gm=$(for c in \"${CLAUDE_PLUGIN_ROOT:-}\" \"$HOME\u002F.claude\" .; do [ -x \"$c\u002Fbin\u002Fgodmode-state\" ] && { echo \"$c\u002Fbin\"; break; }; done)\n  \"$gm\u002Fgodmode-state\" get active_unit\n  \"$gm\u002Fgodmode-state\" get status\n  ```\n\nIf `PROJECT.md` does not exist, this is a first-time project initialization. If it exists, preserve what is already decided (see Merge behavior below).\n\n### 4. Gather purpose, constraints, success criteria\n\nEstablish, from the repo and the user (or inferred defaults in Auto Mode):\n\n- **Purpose** — what the project is for and who it serves. One or two paragraphs. This is project-global; refine it across missions, don't rewrite it per feature.\n- **Constraints** — hard limits: tech stack, portability targets, license, dependency budget, anything non-negotiable.\n- **Success criteria** — the concrete bar that says the project achieved its goal. Measurable where possible.\n\nThe charter (`PROJECT.md`) spans all missions. The current mission's roadmap captures only the work units that belong to *this* feature cycle.\n\n### 5. Establish the mission's numbered roadmap\n\nBreak this mission's work into a **numbered** list of work units. Each entry:\n\n- Has a stable integer number — the reference `\u002Fbrief N` will use. Numbering starts at 1 **within the mission**.\n- Has a short title and a one-line outcome statement.\n- Has a status: `pending`, `active`, or `done`.\n\nNumber entries sequentially. New work units append with the next free number; **never renumber existing entries** (their numbers are referenced elsewhere).\n\n### 6. Write the artifacts (merge, never clobber)\n\nWrite the project-global `.planning\u002FPROJECT.md` (at the root) and the mission-scoped `.planning\u002Fmissions\u002F${mission_id}\u002FROADMAP.md` using the formats below.\n\n### 7. Record workflow state\n\nPoint the workflow at the first unstarted roadmap entry so `\u002Fgodmode` can tell the user what to do next:\n\n```bash\n# N = the lowest-numbered roadmap entry of this mission that is still pending\ngm=$(for c in \"${CLAUDE_PLUGIN_ROOT:-}\" \"$HOME\u002F.claude\" .; do [ -x \"$c\u002Fbin\u002Fgodmode-state\" ] && { echo \"$c\u002Fbin\"; break; }; done)\n\"$gm\u002Fgodmode-state\" set active_unit \"N\"\n\"$gm\u002Fgodmode-state\" set status \"mission defined\"\n\"$gm\u002Fgodmode-state\" set next_command \"\u002Fbrief N\"\n```\n\n`mission_id`\u002F`mission_name` are already set by `bin\u002Fgodmode-mission start` (step 1) — do not set them by hand here.\n\nIf every roadmap entry is already `done`, set `status` to `roadmap complete` and leave `next_command` pointing at `\u002Fmission` to add more work units to this mission (or start a new one).\n\n---\n\n## Merge behavior (re-running updates, does not clobber)\n\n`\u002Fmission` is safe to re-run, and the name you pass decides what happens — this is enforced by `bin\u002Fgodmode-mission`:\n\n- **New feature name → new mission, counter reset.** A name with no existing mission dir scaffolds a fresh `.planning\u002Fmissions\u002FNN-slug\u002F` and resets `active_unit` to 1. The new mission's roadmap and briefs number from 1, independent of every other mission.\n- **Existing feature name → merge in place, counter preserved.** Re-running with a name that already has a mission dir switches to it and leaves `active_unit` (its counter) untouched. You then **update** that mission's existing `ROADMAP.md` rather than starting over. Merge-never-clobber is now scoped to that mission.\n\nOn every run, regardless of create-vs-switch:\n\n- **Preserve existing decisions.** Read the current project-global `PROJECT.md` and carry forward purpose, constraints, success criteria, and any **Decisions** section verbatim unless the user explicitly changes one. Edit individual lines or sections; do not rewrite the whole file from a blank slate. `PROJECT.md` is shared across missions — never reset it when starting a new mission.\n- **Append, don't renumber, roadmap entries.** Within the active mission's `ROADMAP.md`, existing numbered entries keep their numbers and status. New work units get the next free number. If the user marks an entry done or active, change only that entry's status field.\n- **Never silently drop content.** When updating a section, keep prior context; if a constraint or decision is being removed, note it explicitly (e.g. move it under a `## Superseded` heading rather than deleting it).\n- **Show a diff summary.** After writing, report which sections changed and which roadmap entries were added or had their status updated.\n\nUse Edit for surgical changes to existing files (the project-global `PROJECT.md`, and an existing mission's `ROADMAP.md`) and Write only for first-time population of a freshly seeded or absent file.\n\n---\n\n## Artifact formats\n\n### `.planning\u002FPROJECT.md` *(root, project-global)*\n\n```markdown\n# Project: [name]\n\n**Updated:** [YYYY-MM-DD]\n\n## Purpose\n[Why this project exists and who it serves.]\n\n## Success Criteria\n- [Concrete, measurable where possible.]\n\n## Constraints\n- [Hard limits: stack, portability, license, dependency budget, non-negotiables.]\n\n## Decisions\n- [YYYY-MM-DD] [Decision] — [rationale]. (Preserved across re-runs and missions.)\n```\n\n### `.planning\u002Fmissions\u002F\u003Cmission_id>\u002FROADMAP.md` *(per-mission)*\n\n`bin\u002Fgodmode-mission` seeds this header-only when the mission is created; `\u002Fmission` populates and updates it. `\u003Cmission_id>` is the active mission's `NN-slug` from `\"$gm\u002Fgodmode-state\" get mission_id` (see the helper-resolution note in step 1).\n\n```markdown\n# Roadmap: [mission name]\n\n**Updated:** [YYYY-MM-DD]\n\nNumbered work units for this mission. Reference an entry with `\u002Fbrief N`.\n\n| # | Work unit | Outcome | Status |\n|---|-----------|---------|--------|\n| 1 | [title]   | [one-line outcome] | pending |\n| 2 | [title]   | [one-line outcome] | active  |\n| 3 | [title]   | [one-line outcome] | done    |\n```\n\n---\n\n## Output\n\n\u003C!-- Output follows the in-skill output convention: godmode:output-convention — see rules\u002Fgodmode-output.md -->\n\nAfter writing, report:\n\n- The active mission (`mission_id` and `mission_name`), and whether it was created fresh or switched into.\n- Which artifacts were created vs updated, with their paths (the global `.planning\u002FPROJECT.md` and the mission-scoped `.planning\u002Fmissions\u002F\u003Cmission_id>\u002FROADMAP.md`).\n- A short diff summary: changed sections and added\u002Fupdated roadmap entries.\n- In Auto Mode, an **Assumptions** list of inferred defaults.\n- The workflow state set and the next step:\n\n> \"Mission '\u003Cmission_name>' defined. Run `\u002Fbrief N` to plan work unit N.\"\n\n---\n\n## Related\n\n- **\u002Fideate** — the pre-mission front door: discusses and proposes the next mission, writing `.planning\u002Fideas\u002F\u003Cslug>\u002FIDEAS.md`. `\u002Fmission \u003Cname>` auto-reads a matching artifact as seed context (step 2).\n- **\u002Fbrief N** — turns roadmap entry N of the active mission into a work unit with a why + what + spec.\n- **\u002Fgodmode** — reads the workflow state this skill records (including the active `mission_id`) and tells the user the next command.\n- **\u002Fonboard** — run first on an unfamiliar codebase; its findings sharpen the purpose and constraints captured in `PROJECT.md`.\n- **bin\u002Fgodmode-mission** — the lifecycle helper this skill drives to create-or-switch missions and keep `mission_id`\u002F`mission_name` in sync.\n\n**Spine:** `\u002Fmission` → `\u002Fbrief N` → `\u002Fplan N` → `\u002Fbuild N` → `\u002Fverify N` → `\u002Fship`. Mission is the shared-context root every later step reads from, scoped to the active mission.\n",{"name":5,"description":7,"allowed-tools":43,"user-invocable":44},"Read, Write, Edit, Glob, Bash(gm=*), Bash(*godmode-state*), Bash(*godmode-mission*)",true,"main","717a1f3af996804502df0047840b6c74a1d464c5","skills\u002Fmission",0,"https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode","https:\u002F\u002Fgithub.com\u002FSyloRei","Nya? Kawai? Desu?","2026-06-08 16:03:07",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":44},[55,58,61],{"tool":56,"command":57},"npx","npx skills add SyloRei\u002Fclaude-godmode --skill mission",{"tool":59,"command":60},"bunx","bunx skills add SyloRei\u002Fclaude-godmode --skill mission",{"tool":62,"command":63},"pnpm","pnpm dlx skills add SyloRei\u002Fclaude-godmode --skill mission","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Fskills\u002Fmission\u002FSKILL.md",[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002FREADME.md","SCRIPT","脚本",1150,"https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Fskills\u002Fmission\u002Fscripts\u002FREADME.md",[73,81,103,124,144,163],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":38},"01M6HBW3WEVBXANCRWF5YK5BYC","{{name=null}=null}","{{description=null}=null}","https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Ftemplates\u002Fskill\u002FSKILL.md",[],[75,80,20],"name",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":38},"01M6HBVZ86GN3TGGFSJ4XM9C5Q","verify","Check a built unit goal-backward: classify every brief acceptance criterion COVERED \u002F PARTIAL \u002F MISSING with concrete evidence, so you know what is truly done. Use when: verify N, check whether unit N is done, confirm the goals for roadmap unit N are met.","https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[83,29,88,89,90,91,92,93,94,19,95,96,97,34,98,35,99,100,101,102],"you","ShellCheck","unit","scripts","classify","done","show","log","goal","coverage","model","brief","acceptance","git","run",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":38},"01M6HBVTDPNPD88ZWXT4T5M8EA","triage","Respond to a production incident, outage, or regression in the wild: establish the timeline, assess blast radius, and reconstruct what happened with cited evidence. Use this when something is failing in production and you need to understand it before fixing it.","https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Fskills\u002Ftriage\u002FSKILL.md",[],[105,30,110,111,112,113,114,115,116,117,118,119,120,121,122,88,123,20],"with","understand","it","respond","assess","production incident","incident","evidence","regression","radius","timeline","Production","blast radius","wild",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":38},"01M6HBVNQ1ASFTJTYT47F8M559","tdd","Build new behavior test-first using strict Red-Green-Refactor cycles. Use this when you want to drive a new feature or behavior from failing tests before writing the implementation.","https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[126,131,132,133,134,23,20,88,135,136,30,137,138,139,140,141,142,143],"green","drive","red","tests","implementation","red-green-refactor","new feature","behavior","first","refactor","test","writing","build",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":38},"01M6HBVH8GX9JCMS5432JZVTMN","ship","Run every canonical quality gate, push the branch, and open a pull request — release in one command. Use when: ship it, ready to ship, create the PR, push and open a PR.","https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Fskills\u002Fship\u002FSKILL.md",[],[146,151,102,152,153,154,101,91,155,156,19,157,34,158,159,98,35,160,161,162],"release","create","quality gate","pr","canonical","ship it","ready","command","branch","open","push","pull",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":38},"01M6HBVB6SVSMQPXBMWEWQ4J5M","refine","Mid-mission gap analysis: read the active mission's roadmap and briefs, surface what's missing or underspecified, converge on one gap, and append a NEW numbered work unit plus its full brief — strictly additive. Use when: refine, what are we missing, find gaps in the current mission, add the next unit. Never edits an existing brief or roadmap unit in place — that is \u002Fbrief N's job.","https:\u002F\u002Fgithub.com\u002FSyloRei\u002Fclaude-godmode\u002Fblob\u002Fmain\u002Fskills\u002Frefine\u002FSKILL.md",[],[165,170,5,171,172,90,173,174,175,19,29,176,177,32,33,34,178,35,179,99],"active","converge","briefs","add","full","next","never","append","work","analysis"]