[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M786N5AD79KA34T7CGRMGYJH":3,"skill-same:01M786N5AD79KA34T7CGRMGYJH":48},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M786N5AD79KA34T7CGRMGYJH","sp-auto",null,"Use when you want one state-driven entrypoint that resumes the recommended next Spec Kit Plus workflow step without manually naming the exact command.","chenziyang110\u002Flaunchdeck","chenziyang110","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43693913?v=4","01M7863EBWK1D0P6A29YGEMAS4","Robin11","01M7863ECM1VB6RXDMHTW90D2T",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fsp-auto\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"sp-auto\"\ndescription: \"Use when you want one state-driven entrypoint that resumes the recommended next Spec Kit Plus workflow step without manually naming the exact command.\"\ncompatibility: \"Requires spec-kit project structure with .specify\u002F directory\"\nmetadata:\n  author: \"github-spec-kit\"\n  source: \"templates\u002Fcommands\u002Fauto.md\"\n---\n## Invocation Syntax\n\n- In this integration, invoke workflow skills with `$sp-plan`-style syntax.\n- References such as `\u002Fsp.plan`, `\u002Fsp.tasks`, or `next_command: \u002Fsp.plan` are canonical workflow-state identifiers and handoff values.\n- Preserve those canonical state tokens exactly in artifacts and workflow state; do not rewrite them to this integration's invocation syntax.\n\n\n\n## Blocked Exit Contract\n\nIf blocked after safe recovery, read and follow\n`.specify\u002Ftemplates\u002Fworkflow-blocker-template.md` and its JSON schema. Never\nreturn only an error or “ask a human”; preserve state and keep agent-capable\nrepair agent-owned. Set `human_action_required: true` only for authority,\ncredentials, protected systems, human decisions\u002Freviews, or physical access.\nTailor steps, expected results, failure paths, evidence, and resume action to\nCI, visual review, or product decisions. Never claim completion.\n\nFor a feature runtime blocker, do not invent `resume_argv` or overwrite an\nexisting blocker. The CLI returns a read-only `show_argv` and structured\n`resolution_action`; `next_argv` stays empty while evidence is missing. After\nthe criteria are proven, attach sanitized evidence using the action's declared\ninput and execute its base argv. It restores the same owner and keeps the full\nblocker audit.\n\n## Workflow Contract Summary\n\n- **Execution note**: This summary is routing metadata only. Follow the full contract below end-to-end rather than inferring behavior from the description alone.\n\n## Project Learning\n\nThe CLI is the only agent-facing Learning read surface:\n\n1. Run `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify learning start --command '\u003Cclassic-command-name>' --format json` before deeper non-trivial work.\n2. Select summaries by applicability and triggers; use `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify learning list --command '\u003Cclassic-command-name>' --format json` only to filter or page.\n3. Execute one matching card's `show_argv`. Do not parse Learning storage.\n\nAfter minimal live inspection identifies a reused operation or changed entry point, rerun targeted recall with current code, tests, and task\u002Fcontract evidence, for example `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify learning list --command '\u003Cclassic-command-name>' --context 'operation_owner=\u003Cowner>' --context 'consumer_owner=\u003Cconsumer>' --context 'outcome=\u003Cresult-family>' --format json`. Do not derive these facets from archived specifications. An exact operation-owner match may surface a cross-command candidate even when the new consumer differs; treat it as a candidate, expand one `show_argv`, verify it against live evidence, and do not auto-apply it.\n\nWhen the entrypoint outcome audit is triggered, persist the live facets as `learning_context`, the contextual invocation as `learning_search_refs`, and returned refs as `learning_candidate_refs`. Record exactly one `applied`, `not_applicable`, or `deferred` item in `learning_dispositions` for every candidate. Do not silently ignore a candidate: applied Learning traces to requirement\u002Fconsequence refs, not-applicable needs current evidence, and deferred needs an explicit deferral ref.\n\n`start`, `list`, and `show` are read-only. Current repository evidence,\n`.specify\u002Fmemory\u002Fconstitution.md`, and explicit user direction override stale or\ncandidate Learning.\n\nAt closeout, corrections, retries, route changes, recovery, false leads, hidden\ndependencies, validation\u002Ftooling\u002Fstate\u002Fcognition gaps, constraints, and near\nmisses are capture signals. Prefer `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify learning capture-auto`\nfrom owning state; manual capture includes summary, problem, action, triggers,\nsuccess criteria, avoid items, exceptions, and evidence.\n\n- `fast`: skip unless the task escalates.\n- `accept`, `analyze`, `ask`, `auto`, `constitution`, `explain`,\n  `implement-teams`, `taskstoissues`, and `team`: consume-only; do not violate\n  their write boundaries to capture.\n- Other non-trivial workflows: consume before deeper work; capture reusable\n  signals at closeout or record a no-learning decision.\n\nThe `policy` returned by the CLI is authoritative when prompt wording drifts.\n\n## Mandatory Subagent Execution\n\nAll substantive tasks in ordinary `sp-*` workflows default to and must use subagents.\n\nThe leader orchestrates: route, split tasks, prepare task contracts, dispatch subagents, wait for structured handoffs, integrate results, verify, and update state.\n\nBefore dispatch, every subagent lane needs a task contract with objective, authoritative inputs, allowed read\u002Fwrite scope, forbidden paths, acceptance checks, verification evidence, and structured handoff format.\n\nUse `execution_model: subagent-mandatory`.\nUse `dispatch_shape: one-subagent | parallel-subagents`.\nUse `execution_surface: native-subagents`.\n\n\n## Objective\n\nUse `sp-auto` as a resume entrypoint and launcher\u002Frouter, not as a competing workflow.\nIts job is to read current repository state, identify the recommended next Spec Kit Plus workflow step, and continue under that workflow's existing contract.\n\n## Context\n\n- Primary inputs are the repository's authoritative workflow state surfaces, not chat memory.\n- Use the lane registry as a candidate-discovery cache, not as the truth source.\n- `sp-auto` does not create a new long-lived state file of its own.\n- It exists to continue the already-canonical workflow step recorded elsewhere.\n\n## Process\n\n- For every feature-bearing candidate, first run `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify workflow show --feature-dir '\u003Cfeature-dir>' --format json`, then `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify workflow next --feature-dir '\u003Cfeature-dir>' --format json`. `FEATURE_DIR\u002Fworkflow-runtime.json` is the required-stage phase lock. Consume the returned structured `next_argv`; never reconstruct or infer the required phase action from Markdown fields.\n- When `next_argv` names `workflow complete-stage`, route to the current required-stage owner so it can finish and validate that stage. When it names `workflow transition --to \u003Cstage>`, route to that destination stage and pass the exact argv. When active `accept` returns `workflow closeout`, route to the current accept owner so human acceptance can resume; only completed `accept` has no successor.\n- A blocked runtime intentionally has no `next_argv`. Preserve its tutorial and wait for the declared evidence; once present, fill only the required evidence input in `data.resolution_action` and execute its runtime-owned base argv. `show_argv` refreshes state but never resolves it.\n- Inspect the current repository state surfaces in priority order.\n- When concurrent lanes exist, resolve candidates by command semantics first and run reconcile before any resume decision.\n- If the selected lane has a materialized worktree, continue from that isolated worktree context instead of assuming the leader workspace is the active feature root.\n- Resolve exactly one safe canonical next command.\n- Continue under that command's full shared contract instead of improvising a blended workflow.\n\n## Output Contract\n\n- Report the routed command and the state file that justified it.\n- Preserve the downstream workflow's canonical `next_command` and artifact semantics.\n- If no safe route exists, return a read-only diagnostic plus a self-unblock recommendation explaining the missing or conflicting state and the safest repair or canonical command.\n\n## Guardrails\n\n- `sp-auto` does not replace `sp-specify`, `sp-plan`, `sp-tasks`, `sp-analyze`, `sp-implement`, `sp-review`, `sp-accept`, `sp-debug`, `sp-quick`, or `sp-fast`.\n- `sp-auto` must never invent a new phase progression from chat memory when repository state already records the next step.\n- Always obey the recorded upstream gate.\n- Do not rewrite the underlying workflow state to `\u002Fsp.auto`; preserve the canonical downstream `next_command` such as `\u002Fsp.plan`, `\u002Fsp.tasks`, `\u002Fsp.implement`, `\u002Fsp.review`, `\u002Fsp.accept`, `\u002Fsp.debug`, `\u002Fsp.quick`, `\u002Fsp.fast`, `\u002Fsp.clarify`, or `\u002Fsp.deep-research`. Preserve `\u002Fsp.analyze` only when an existing state file explicitly records that legacy or diagnostic route.\n- If state is missing, stale, conflicting, or cannot identify one safe next step, stop in read-only diagnosis and report the exact blocker instead of improvising a route.\n- Do not guess when multiple resumable lanes exist.\n- Never auto-resume an `uncertain` lane.\n\n## Operating Rules\n\n## Authoritative State Surfaces\n\nInspect the available state surfaces in this order and prefer the most specific active truth source that does not violate an upstream gate:\n\n1. Active feature phase runtime and rich state\n   - Treat `FEATURE_DIR\u002Fworkflow-runtime.json` plus `workflow show`\u002F`workflow next` as the primary required-stage phase lock. `FEATURE_DIR\u002Fworkflow-state.md` is rich workflow-owned resume\u002Fevidence context and may add an auxiliary gate, but it cannot skip or reverse the runtime stage.\n   - Use only the runtime's structured `next_argv` for `complete-stage`, forward `transition`, blocker resume, or terminal status. Legacy `next_command` and `active_command` fields are fallback hints only when no runtime file exists for a noncanonical auxiliary workflow.\n   - Clean completed task-generation state with `active_command: sp-tasks`, `status: completed`, `phase_mode: task-generation-only`, and `next_command: \u002Fsp.implement` should route directly to `\u002Fsp.implement`; preserve `\u002Fsp.analyze` only when a feature-level state file explicitly records that legacy or diagnostic route.\n   - If a feature-level `workflow-state.md` contains evidence that explicitly\n     invalidates an upstream stage, do not jump around the CLI phase lock. Use\n     `workflow reopen` with the current revision, reason, evidence, and complete\n     invalidated-artifact set when that evidence is sufficient. A mapped stage\n     already active resumes its owner; the same completed stage is reactivated\n     through reopen. Otherwise route to analyze or the current owner to produce\n     a valid reopen decision.\n\n2. Active implementation execution state\n   - Read `FEATURE_DIR\u002Fimplement-tracker.md` together with `workflow-state.md`.\n   - If execution is still active and `workflow-state.md` allows `\u002Fsp.implement`, resume the canonical `\u002Fsp.implement` route.\n   - If trusted execution is completed and `next_command: \u002Fsp.review`, route to canonical `\u002Fsp.review`; do not repeat implementation or skip system Review.\n   - If `workflow-state.md` still requires `\u002Fsp.analyze`, `\u002Fsp.plan`, `\u002Fsp.tasks`, `\u002Fsp.clarify`, or `\u002Fsp.deep-research`, reconcile that gate with the CLI runtime. Execute an evidence-backed `workflow reopen` for a backward move or same-completed-stage reactivation; do not route to an upstream command while the runtime still owns a later stage.\n\n3. Post-implementation system Review state\n   - If trusted implementation closeout exists and `review-state.json` is absent, `reviewing`, `repairing`, `blocked`, failed, or stale, route to canonical `\u002Fsp.review` before human acceptance.\n   - Treat Review as approved only when the implementation fingerprint is fresh, every mandatory real-entrypoint scenario passes with required integrated evidence, and no blocking finding remains.\n\n4. Post-Review human acceptance state\n   - If trusted Review closeout exists and `human-acceptance.json` is `draft`, `ready`, `in_progress`, `blocked`, `rejected`, or `stale`, route to canonical `\u002Fsp.accept` before integration or delivery.\n   - Treat `accepted` as complete only when the frozen Human Acceptance Universe has zero uncovered required obligations, the approved Review\u002Fsummary fingerprint and Review-owned runtime-target digest are fresh, every required scenario has structured human PASS evidence against its ready Review-approved runtime target, no acceptance finding is open, and the explicit human decision is accept.\n\n5. Quick-task state\n   - Read unfinished `.planning\u002Fquick\u002F*\u002FSTATUS.md` files.\n   - If one active quick task clearly owns the next action, route to the canonical `\u002Fsp.quick` token.\n   - If the recorded next command is a bounded local repair lane, canonical `\u002Fsp.fast` is allowed only when the state explicitly justifies that smaller route.\n\n6. Debug session state\n   - Read active `.planning\u002Fdebug\u002F*.md` session files.\n   - If a live investigation owns the current next action, route to the canonical `\u002Fsp.debug` token.\n\n7. Discussion handoff state\n   - Read active `.specify\u002Fdiscussions\u002F*\u002Fdiscussion-state.json` files when no higher-authority feature, implementation, quick, or debug state has already selected a unique route; use Markdown only for legacy recovery.\n   - Treat `status: handoff-ready` plus `next_command: \u002Fsp.specify` or `sp-specify` as a `\u002Fsp.specify` candidate only when `handoff_consumption_status` is not `consumed`.\n   - If `handoff_consumption_status: consumed`, `status: completed`, `consumed_by_feature_dir` is populated, or `next_command: none`, do not count that discussion as a resumable candidate.\n   - If a handoff-ready discussion's `handoff-to-specify.json` path is already referenced by a feature `brainstorming\u002Fhandoff-to-specify.json` as `source_contract`, treat it as a consumed-stale cleanup item, not a competing route. Recommend `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify discussion mark-consumed '\u003Cslug>' --feature-dir '\u003Cfeature-dir>'` as the repair evidence, or perform that repair only when the active workflow allows state cleanup before routing.\n   - If multiple unconsumed handoff-ready discussions remain, stop and ask for a specific slug instead of guessing.\n\n## Route Resolution\n\nChoose exactly one routed command.\n\n- If lane state exists, consult the lane registry first to discover candidate lanes, then reconcile against real workflow artifacts before selecting a route.\n- Auto-resume only when there is exactly one unique safe candidate.\n- If multiple candidates remain after reconcile, stop and present a minimal choice instead of guessing.\n- Prefer the route that is already recorded in the highest-authority active state file.\n- If multiple state surfaces are active, prefer the more execution-proximate surface only when it does not conflict with an explicit upstream `next_command`.\n- Never bypass canonical upstream gates such as `\u002Fsp.clarify`, `\u002Fsp.deep-research`, `\u002Fsp.plan`, or `\u002Fsp.tasks` just because downstream artifacts already exist. Treat `\u002Fsp.analyze` as an upstream gate only when persisted workflow state explicitly records that legacy or diagnostic route.\n- Never treat `sp-auto` itself as the next recorded workflow step. It is only the entrypoint the user uses instead of typing the canonical command manually.\n\n## Execution Contract\n\nOnce the routed command is chosen:\n\n1. Announce the routed command and the state file that justified it.\n2. Carry a temporary routed-pass mode named `auto_default_recommendation: true` into the target command. This is an execution hint for this turn only; do not persist it as the target workflow's canonical `next_command`.\n3. Read `.specify\u002Ftemplates\u002Fcommands\u002F\u003Ctarget>.md` when available, or follow the routed command's shared contract from the generated local integration surface if that is the active source of truth.\n4. Continue under the routed command's rules, artifacts, validations, delegation policy, and completion criteria for the rest of the turn.\n5. Do not blend multiple workflows into one ad hoc pass. Route once, then execute that workflow faithfully.\n\n## Recommended Default Continuation\n\nWhen `auto_default_recommendation: true` is active, the routed command must auto-resolve a question or confirmation gate by accepting the recommended\u002Fdefault continuation when all of these are true:\n\n- The target workflow would otherwise stop only to ask the user to answer a bounded question, choose from a bounded list, or confirm a previously presented safe default.\n- The list or confirmation gate has one single explicitly recommended option or one safe default continuation.\n- The recommended\u002Fdefault option preserves the user's current stated intent, keeps the current scope, and does not discard or defer an upstream capability signal.\n- There is no explicit user disagreement, no unresolved planning-critical ambiguity, no out-of-scope conflict, no scope reduction, no security-sensitive decision, no destructive or irreversible action, and no external-cost or credential-affecting decision.\n\nIf those conditions hold, record the recommended option as accepted by `sp-auto` in the routed workflow's state or summary and continue. Do not invoke a structured question tool, do not render a textual question block, and do not stop only to ask the user to reply `1`, `2`, or `3` when the only safe pending action is accepting that single recommended option.\n\nIf the recommended\u002Fdefault continuation cannot satisfy every condition, do not guess and do not wait silently for user input. Write a self-unblock recommendation that names the blocker, the safest recommended user decision or canonical command, the evidence that would make automatic continuation safe next time, and any reversible repair the agent can perform before stopping under the routed workflow's normal confirmation gate.\n\n## Diagnostic Fallback\n\nIf no safe route can be selected:\n\n- stay read-only\n- report which state files were checked\n- report what was missing or conflicting\n- perform any reversible state-inspection or reconcile step allowed by this contract before giving up\n- tell the user which canonical workflow must be run manually or which state artifact must be repaired first\n- include the exact evidence that would let a future `sp-auto` run continue automatically\n\n## Expected Routed Outcomes\n\nTypical canonical targets include:\n\n- `\u002Fsp.clarify`\n- `\u002Fsp.deep-research`\n- `\u002Fsp.plan`\n- `\u002Fsp.tasks`\n- `\u002Fsp.analyze`\n- `\u002Fsp.implement`\n- `\u002Fsp.review`\n- `\u002Fsp.accept`\n- `\u002Fsp.debug`\n- `\u002Fsp.quick`\n- `\u002Fsp.fast`\n- `\u002Fsp.specify`\n\nUse canonical `\u002Fsp.specify` only when repository state or the absence of any usable downstream state makes a new or re-opened requirement-alignment pass the safest truthful next step.\nWhen no safe route can be selected and the user must invoke that fallback manually, tell them to run `$sp-specify`.\n\n## Codex Subagent Capability Discovery\n\n- Execution model: preserve the workflow's existing `subagent-mandatory`, `subagents-first`, `adaptive`, or `subagent-assisted` policy.\n- Dispatch shape: preserve the workflow's existing dispatch shape; use `subagent-blocked` only after the discovery step below fails or is unsafe.\n- Execution surface: prefer `native-subagents` when the current runtime supports it; use `none` only after recording the unavailable or unsafe surface.\n- Native subagent capability discovery: Before recording `subagent-blocked`, confirm the current runtime exposes `spawn_agent`, `wait_agent`, and `close_agent`; if they are not visible, use the active tool discovery mechanism for multi-agent or subagent tools first.\n- Do not record `subagent-blocked` until this capability discovery step is complete and the exact unavailable or unsafe surface is recorded.\n- Native subagent dispatch: Dispatch bounded subagents through `spawn_agent`.\n- Join behavior: Rejoin with `wait_agent`, integrate, then `close_agent`.\n- Preserve this workflow's existing packet, handoff, artifact, and result schema; this section only governs capability discovery before dispatch or blocked-state recording.\n","## Invocation Syntax\n\n- In this integration, invoke workflow skills with `$sp-plan`-style syntax.\n- References such as `\u002Fsp.plan`, `\u002Fsp.tasks`, or `next_command: \u002Fsp.plan` are canonical workflow-state identifiers and handoff values.\n- Preserve those canonical state tokens exactly in artifacts and workflow state; do not rewrite them to this integration's invocation syntax.\n\n\n\n## Blocked Exit Contract\n\nIf blocked after safe recovery, read and follow\n`.specify\u002Ftemplates\u002Fworkflow-blocker-template.md` and its JSON schema. Never\nreturn only an error or “ask a human”; preserve state and keep agent-capable\nrepair agent-owned. Set `human_action_required: true` only for authority,\ncredentials, protected systems, human decisions\u002Freviews, or physical access.\nTailor steps, expected results, failure paths, evidence, and resume action to\nCI, visual review, or product decisions. Never claim completion.\n\nFor a feature runtime blocker, do not invent `resume_argv` or overwrite an\nexisting blocker. The CLI returns a read-only `show_argv` and structured\n`resolution_action`; `next_argv` stays empty while evidence is missing. After\nthe criteria are proven, attach sanitized evidence using the action's declared\ninput and execute its base argv. It restores the same owner and keeps the full\nblocker audit.\n\n## Workflow Contract Summary\n\n- **Execution note**: This summary is routing metadata only. Follow the full contract below end-to-end rather than inferring behavior from the description alone.\n\n## Project Learning\n\nThe CLI is the only agent-facing Learning read surface:\n\n1. Run `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify learning start --command '\u003Cclassic-command-name>' --format json` before deeper non-trivial work.\n2. Select summaries by applicability and triggers; use `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify learning list --command '\u003Cclassic-command-name>' --format json` only to filter or page.\n3. Execute one matching card's `show_argv`. Do not parse Learning storage.\n\nAfter minimal live inspection identifies a reused operation or changed entry point, rerun targeted recall with current code, tests, and task\u002Fcontract evidence, for example `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify learning list --command '\u003Cclassic-command-name>' --context 'operation_owner=\u003Cowner>' --context 'consumer_owner=\u003Cconsumer>' --context 'outcome=\u003Cresult-family>' --format json`. Do not derive these facets from archived specifications. An exact operation-owner match may surface a cross-command candidate even when the new consumer differs; treat it as a candidate, expand one `show_argv`, verify it against live evidence, and do not auto-apply it.\n\nWhen the entrypoint outcome audit is triggered, persist the live facets as `learning_context`, the contextual invocation as `learning_search_refs`, and returned refs as `learning_candidate_refs`. Record exactly one `applied`, `not_applicable`, or `deferred` item in `learning_dispositions` for every candidate. Do not silently ignore a candidate: applied Learning traces to requirement\u002Fconsequence refs, not-applicable needs current evidence, and deferred needs an explicit deferral ref.\n\n`start`, `list`, and `show` are read-only. Current repository evidence,\n`.specify\u002Fmemory\u002Fconstitution.md`, and explicit user direction override stale or\ncandidate Learning.\n\nAt closeout, corrections, retries, route changes, recovery, false leads, hidden\ndependencies, validation\u002Ftooling\u002Fstate\u002Fcognition gaps, constraints, and near\nmisses are capture signals. Prefer `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify learning capture-auto`\nfrom owning state; manual capture includes summary, problem, action, triggers,\nsuccess criteria, avoid items, exceptions, and evidence.\n\n- `fast`: skip unless the task escalates.\n- `accept`, `analyze`, `ask`, `auto`, `constitution`, `explain`,\n  `implement-teams`, `taskstoissues`, and `team`: consume-only; do not violate\n  their write boundaries to capture.\n- Other non-trivial workflows: consume before deeper work; capture reusable\n  signals at closeout or record a no-learning decision.\n\nThe `policy` returned by the CLI is authoritative when prompt wording drifts.\n\n## Mandatory Subagent Execution\n\nAll substantive tasks in ordinary `sp-*` workflows default to and must use subagents.\n\nThe leader orchestrates: route, split tasks, prepare task contracts, dispatch subagents, wait for structured handoffs, integrate results, verify, and update state.\n\nBefore dispatch, every subagent lane needs a task contract with objective, authoritative inputs, allowed read\u002Fwrite scope, forbidden paths, acceptance checks, verification evidence, and structured handoff format.\n\nUse `execution_model: subagent-mandatory`.\nUse `dispatch_shape: one-subagent | parallel-subagents`.\nUse `execution_surface: native-subagents`.\n\n\n## Objective\n\nUse `sp-auto` as a resume entrypoint and launcher\u002Frouter, not as a competing workflow.\nIts job is to read current repository state, identify the recommended next Spec Kit Plus workflow step, and continue under that workflow's existing contract.\n\n## Context\n\n- Primary inputs are the repository's authoritative workflow state surfaces, not chat memory.\n- Use the lane registry as a candidate-discovery cache, not as the truth source.\n- `sp-auto` does not create a new long-lived state file of its own.\n- It exists to continue the already-canonical workflow step recorded elsewhere.\n\n## Process\n\n- For every feature-bearing candidate, first run `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify workflow show --feature-dir '\u003Cfeature-dir>' --format json`, then `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify workflow next --feature-dir '\u003Cfeature-dir>' --format json`. `FEATURE_DIR\u002Fworkflow-runtime.json` is the required-stage phase lock. Consume the returned structured `next_argv`; never reconstruct or infer the required phase action from Markdown fields.\n- When `next_argv` names `workflow complete-stage`, route to the current required-stage owner so it can finish and validate that stage. When it names `workflow transition --to \u003Cstage>`, route to that destination stage and pass the exact argv. When active `accept` returns `workflow closeout`, route to the current accept owner so human acceptance can resume; only completed `accept` has no successor.\n- A blocked runtime intentionally has no `next_argv`. Preserve its tutorial and wait for the declared evidence; once present, fill only the required evidence input in `data.resolution_action` and execute its runtime-owned base argv. `show_argv` refreshes state but never resolves it.\n- Inspect the current repository state surfaces in priority order.\n- When concurrent lanes exist, resolve candidates by command semantics first and run reconcile before any resume decision.\n- If the selected lane has a materialized worktree, continue from that isolated worktree context instead of assuming the leader workspace is the active feature root.\n- Resolve exactly one safe canonical next command.\n- Continue under that command's full shared contract instead of improvising a blended workflow.\n\n## Output Contract\n\n- Report the routed command and the state file that justified it.\n- Preserve the downstream workflow's canonical `next_command` and artifact semantics.\n- If no safe route exists, return a read-only diagnostic plus a self-unblock recommendation explaining the missing or conflicting state and the safest repair or canonical command.\n\n## Guardrails\n\n- `sp-auto` does not replace `sp-specify`, `sp-plan`, `sp-tasks`, `sp-analyze`, `sp-implement`, `sp-review`, `sp-accept`, `sp-debug`, `sp-quick`, or `sp-fast`.\n- `sp-auto` must never invent a new phase progression from chat memory when repository state already records the next step.\n- Always obey the recorded upstream gate.\n- Do not rewrite the underlying workflow state to `\u002Fsp.auto`; preserve the canonical downstream `next_command` such as `\u002Fsp.plan`, `\u002Fsp.tasks`, `\u002Fsp.implement`, `\u002Fsp.review`, `\u002Fsp.accept`, `\u002Fsp.debug`, `\u002Fsp.quick`, `\u002Fsp.fast`, `\u002Fsp.clarify`, or `\u002Fsp.deep-research`. Preserve `\u002Fsp.analyze` only when an existing state file explicitly records that legacy or diagnostic route.\n- If state is missing, stale, conflicting, or cannot identify one safe next step, stop in read-only diagnosis and report the exact blocker instead of improvising a route.\n- Do not guess when multiple resumable lanes exist.\n- Never auto-resume an `uncertain` lane.\n\n## Operating Rules\n\n## Authoritative State Surfaces\n\nInspect the available state surfaces in this order and prefer the most specific active truth source that does not violate an upstream gate:\n\n1. Active feature phase runtime and rich state\n   - Treat `FEATURE_DIR\u002Fworkflow-runtime.json` plus `workflow show`\u002F`workflow next` as the primary required-stage phase lock. `FEATURE_DIR\u002Fworkflow-state.md` is rich workflow-owned resume\u002Fevidence context and may add an auxiliary gate, but it cannot skip or reverse the runtime stage.\n   - Use only the runtime's structured `next_argv` for `complete-stage`, forward `transition`, blocker resume, or terminal status. Legacy `next_command` and `active_command` fields are fallback hints only when no runtime file exists for a noncanonical auxiliary workflow.\n   - Clean completed task-generation state with `active_command: sp-tasks`, `status: completed`, `phase_mode: task-generation-only`, and `next_command: \u002Fsp.implement` should route directly to `\u002Fsp.implement`; preserve `\u002Fsp.analyze` only when a feature-level state file explicitly records that legacy or diagnostic route.\n   - If a feature-level `workflow-state.md` contains evidence that explicitly\n     invalidates an upstream stage, do not jump around the CLI phase lock. Use\n     `workflow reopen` with the current revision, reason, evidence, and complete\n     invalidated-artifact set when that evidence is sufficient. A mapped stage\n     already active resumes its owner; the same completed stage is reactivated\n     through reopen. Otherwise route to analyze or the current owner to produce\n     a valid reopen decision.\n\n2. Active implementation execution state\n   - Read `FEATURE_DIR\u002Fimplement-tracker.md` together with `workflow-state.md`.\n   - If execution is still active and `workflow-state.md` allows `\u002Fsp.implement`, resume the canonical `\u002Fsp.implement` route.\n   - If trusted execution is completed and `next_command: \u002Fsp.review`, route to canonical `\u002Fsp.review`; do not repeat implementation or skip system Review.\n   - If `workflow-state.md` still requires `\u002Fsp.analyze`, `\u002Fsp.plan`, `\u002Fsp.tasks`, `\u002Fsp.clarify`, or `\u002Fsp.deep-research`, reconcile that gate with the CLI runtime. Execute an evidence-backed `workflow reopen` for a backward move or same-completed-stage reactivation; do not route to an upstream command while the runtime still owns a later stage.\n\n3. Post-implementation system Review state\n   - If trusted implementation closeout exists and `review-state.json` is absent, `reviewing`, `repairing`, `blocked`, failed, or stale, route to canonical `\u002Fsp.review` before human acceptance.\n   - Treat Review as approved only when the implementation fingerprint is fresh, every mandatory real-entrypoint scenario passes with required integrated evidence, and no blocking finding remains.\n\n4. Post-Review human acceptance state\n   - If trusted Review closeout exists and `human-acceptance.json` is `draft`, `ready`, `in_progress`, `blocked`, `rejected`, or `stale`, route to canonical `\u002Fsp.accept` before integration or delivery.\n   - Treat `accepted` as complete only when the frozen Human Acceptance Universe has zero uncovered required obligations, the approved Review\u002Fsummary fingerprint and Review-owned runtime-target digest are fresh, every required scenario has structured human PASS evidence against its ready Review-approved runtime target, no acceptance finding is open, and the explicit human decision is accept.\n\n5. Quick-task state\n   - Read unfinished `.planning\u002Fquick\u002F*\u002FSTATUS.md` files.\n   - If one active quick task clearly owns the next action, route to the canonical `\u002Fsp.quick` token.\n   - If the recorded next command is a bounded local repair lane, canonical `\u002Fsp.fast` is allowed only when the state explicitly justifies that smaller route.\n\n6. Debug session state\n   - Read active `.planning\u002Fdebug\u002F*.md` session files.\n   - If a live investigation owns the current next action, route to the canonical `\u002Fsp.debug` token.\n\n7. Discussion handoff state\n   - Read active `.specify\u002Fdiscussions\u002F*\u002Fdiscussion-state.json` files when no higher-authority feature, implementation, quick, or debug state has already selected a unique route; use Markdown only for legacy recovery.\n   - Treat `status: handoff-ready` plus `next_command: \u002Fsp.specify` or `sp-specify` as a `\u002Fsp.specify` candidate only when `handoff_consumption_status` is not `consumed`.\n   - If `handoff_consumption_status: consumed`, `status: completed`, `consumed_by_feature_dir` is populated, or `next_command: none`, do not count that discussion as a resumable candidate.\n   - If a handoff-ready discussion's `handoff-to-specify.json` path is already referenced by a feature `brainstorming\u002Fhandoff-to-specify.json` as `source_contract`, treat it as a consumed-stale cleanup item, not a competing route. Recommend `uvx --from git+https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Fspec-kit-plus.git@6fbbf08a0b6833bb783ec6b418d567776b197ae4 specify discussion mark-consumed '\u003Cslug>' --feature-dir '\u003Cfeature-dir>'` as the repair evidence, or perform that repair only when the active workflow allows state cleanup before routing.\n   - If multiple unconsumed handoff-ready discussions remain, stop and ask for a specific slug instead of guessing.\n\n## Route Resolution\n\nChoose exactly one routed command.\n\n- If lane state exists, consult the lane registry first to discover candidate lanes, then reconcile against real workflow artifacts before selecting a route.\n- Auto-resume only when there is exactly one unique safe candidate.\n- If multiple candidates remain after reconcile, stop and present a minimal choice instead of guessing.\n- Prefer the route that is already recorded in the highest-authority active state file.\n- If multiple state surfaces are active, prefer the more execution-proximate surface only when it does not conflict with an explicit upstream `next_command`.\n- Never bypass canonical upstream gates such as `\u002Fsp.clarify`, `\u002Fsp.deep-research`, `\u002Fsp.plan`, or `\u002Fsp.tasks` just because downstream artifacts already exist. Treat `\u002Fsp.analyze` as an upstream gate only when persisted workflow state explicitly records that legacy or diagnostic route.\n- Never treat `sp-auto` itself as the next recorded workflow step. It is only the entrypoint the user uses instead of typing the canonical command manually.\n\n## Execution Contract\n\nOnce the routed command is chosen:\n\n1. Announce the routed command and the state file that justified it.\n2. Carry a temporary routed-pass mode named `auto_default_recommendation: true` into the target command. This is an execution hint for this turn only; do not persist it as the target workflow's canonical `next_command`.\n3. Read `.specify\u002Ftemplates\u002Fcommands\u002F\u003Ctarget>.md` when available, or follow the routed command's shared contract from the generated local integration surface if that is the active source of truth.\n4. Continue under the routed command's rules, artifacts, validations, delegation policy, and completion criteria for the rest of the turn.\n5. Do not blend multiple workflows into one ad hoc pass. Route once, then execute that workflow faithfully.\n\n## Recommended Default Continuation\n\nWhen `auto_default_recommendation: true` is active, the routed command must auto-resolve a question or confirmation gate by accepting the recommended\u002Fdefault continuation when all of these are true:\n\n- The target workflow would otherwise stop only to ask the user to answer a bounded question, choose from a bounded list, or confirm a previously presented safe default.\n- The list or confirmation gate has one single explicitly recommended option or one safe default continuation.\n- The recommended\u002Fdefault option preserves the user's current stated intent, keeps the current scope, and does not discard or defer an upstream capability signal.\n- There is no explicit user disagreement, no unresolved planning-critical ambiguity, no out-of-scope conflict, no scope reduction, no security-sensitive decision, no destructive or irreversible action, and no external-cost or credential-affecting decision.\n\nIf those conditions hold, record the recommended option as accepted by `sp-auto` in the routed workflow's state or summary and continue. Do not invoke a structured question tool, do not render a textual question block, and do not stop only to ask the user to reply `1`, `2`, or `3` when the only safe pending action is accepting that single recommended option.\n\nIf the recommended\u002Fdefault continuation cannot satisfy every condition, do not guess and do not wait silently for user input. Write a self-unblock recommendation that names the blocker, the safest recommended user decision or canonical command, the evidence that would make automatic continuation safe next time, and any reversible repair the agent can perform before stopping under the routed workflow's normal confirmation gate.\n\n## Diagnostic Fallback\n\nIf no safe route can be selected:\n\n- stay read-only\n- report which state files were checked\n- report what was missing or conflicting\n- perform any reversible state-inspection or reconcile step allowed by this contract before giving up\n- tell the user which canonical workflow must be run manually or which state artifact must be repaired first\n- include the exact evidence that would let a future `sp-auto` run continue automatically\n\n## Expected Routed Outcomes\n\nTypical canonical targets include:\n\n- `\u002Fsp.clarify`\n- `\u002Fsp.deep-research`\n- `\u002Fsp.plan`\n- `\u002Fsp.tasks`\n- `\u002Fsp.analyze`\n- `\u002Fsp.implement`\n- `\u002Fsp.review`\n- `\u002Fsp.accept`\n- `\u002Fsp.debug`\n- `\u002Fsp.quick`\n- `\u002Fsp.fast`\n- `\u002Fsp.specify`\n\nUse canonical `\u002Fsp.specify` only when repository state or the absence of any usable downstream state makes a new or re-opened requirement-alignment pass the safest truthful next step.\nWhen no safe route can be selected and the user must invoke that fallback manually, tell them to run `$sp-specify`.\n\n## Codex Subagent Capability Discovery\n\n- Execution model: preserve the workflow's existing `subagent-mandatory`, `subagents-first`, `adaptive`, or `subagent-assisted` policy.\n- Dispatch shape: preserve the workflow's existing dispatch shape; use `subagent-blocked` only after the discovery step below fails or is unsafe.\n- Execution surface: prefer `native-subagents` when the current runtime supports it; use `none` only after recording the unavailable or unsafe surface.\n- Native subagent capability discovery: Before recording `subagent-blocked`, confirm the current runtime exposes `spawn_agent`, `wait_agent`, and `close_agent`; if they are not visible, use the active tool discovery mechanism for multi-agent or subagent tools first.\n- Do not record `subagent-blocked` until this capability discovery step is complete and the exact unavailable or unsafe surface is recorded.\n- Native subagent dispatch: Dispatch bounded subagents through `spawn_agent`.\n- Join behavior: Rejoin with `wait_agent`, integrate, then `close_agent`.\n- Preserve this workflow's existing packet, handoff, artifact, and result schema; this section only governs capability discovery before dispatch or blocked-state recording.\n",{"name":5,"metadata":24,"description":7,"compatibility":27},{"author":25,"source":26},"github-spec-kit","templates\u002Fcommands\u002Fauto.md","Requires spec-kit project structure with .specify\u002F directory","main","021f5cbe02157229460a577e9a585f2da6d78cb0",".codex\u002Fskills\u002Fsp-auto","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck","https:\u002F\u002Fgithub.com\u002Fchenziyang110","2026-08-07 18:10:54",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add chenziyang110\u002Flaunchdeck --skill sp-auto",{"tool":40,"command":41},"bunx","bunx skills add chenziyang110\u002Flaunchdeck --skill sp-auto",{"tool":43,"command":44},"pnpm","pnpm dlx skills add chenziyang110\u002Flaunchdeck --skill sp-auto","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fsp-auto\u002FSKILL.md",true,[],[49,56,62,68,75,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7875F3HQ1GF5F6BR36KY3JE","launchdeck-agent","Codex host adapter contract fixture for Launchdeck.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fagent-hosts\u002Fcodex\u002Fskill\u002FSKILL.md",[],[],{"skillNo":57,"name":51,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7875DV2DQR33K1NFJHKAMZP","Claude host adapter contract fixture for Launchdeck.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fagent-hosts\u002Fclaude\u002Fskill\u002FSKILL.md",[],[],{"skillNo":63,"name":51,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M78759JQ7A6FQ8KDQTNYS3X9","Use this skill aggressively for local project lifecycle operations even when the user does not mention Launchdeck: start this project, run the dev server, dev, build, test, restart service, stop service, show logs, inspect ports, port is occupied, clean cache; and when the user explicitly asks to configure this local project for Launchdeck or create or generate a project-adapted `.launchdeck.yml`, including 为这个项目生成 Launchdeck 配置. Do not use for ordinary code edits, docs-only work, general explanations, API design discussion, or production deployment unless the user also asks to operate or configure a local project or service.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Fagent\u002Finstaller-payload\u002Fskill\u002Flaunchdeck-agent\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M78753ZJQ7G2CZT1W1G8WRJV","zig-testing","Use ONLY when user explicitly requests Zig test code, built-in test runner configuration,\ntest failure diagnosis, or coverage for Zig projects.\n\nTriggers: \"write test zig\", \"zig test\", \"testing.allocator\", \"zig coverage\",\n\"comptime test\", \"zig expectError\", \"zig snapshot test\", \"zig fuzz\".\n\nDo NOT activate for: general Zig coding without test context, build.zig configuration\nfor non-test targets, Zig compiler errors, or Zig build system setup.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fzig-testing\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M78750JXY4Z5D5W1EX3PQ31Z","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7874X2T83EQQFRCEY5SJJVC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fverification-before-completion\u002FSKILL.md",[],[]]