[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CWK5W4VREMNXGQQKXXSQ3N":3,"skill-same:01M6CWK5W4VREMNXGQQKXXSQ3N":228},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6CWK5W4VREMNXGQQKXXSQ3N","spec-work",null,"Execute a settled plan, validated task pack, spec path, or concrete implementation request end-to-end. Use spec-debug for open-ended bugs; stop when target repo, scope, source ownership, or required authorization is unresolved. Not for explicitly requested GitHub PR-review-feedback handling — route those to spec-resolve-pr-feedback.","leo-kuang-ai\u002Fspec-first","leo-kuang-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8476392?v=4","01M6CWDM2YRT5M8C3G3QC3YGR5","leokuang","01M6CWDM6X46EFBXT1M1GDB5XC",111,"MIT","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"work","spec work","spec","repo","route","task","github pr","stop","implementation","auto","use","github","review","feedback","plan","open","doc","pr","debug","to spec","2026-11-10 10:12:30",false,"---\nname: spec-work\ndescription: Execute a settled plan, validated task pack, spec path, or concrete implementation request end-to-end. Use spec-debug for open-ended bugs; stop when target repo, scope, source ownership, or required authorization is unresolved. Not for explicitly requested GitHub PR-review-feedback handling — route those to spec-resolve-pr-feedback.\nargument-hint: \"[Plan doc path or description of work. Blank to auto use latest plan doc]\"\n---\n\n# Work Execution Command\n\nExecute work efficiently while maintaining quality and finishing features.\n\n## Introduction\n\nThis command takes a work document (plan or specification) or a bare prompt describing the work, and executes it systematically. The focus is on **shipping complete features** by understanding requirements quickly, following existing patterns, and maintaining quality throughout.\n\n## Workflow Contract Summary\n\n- **Inputs:** settled implementation-ready code plan, validated task pack, explicit knowledge-work plan, or concrete bounded implementation prompt.\n- **Outputs:** scoped source changes, task\u002Funit evidence, required review\u002Fresidual posture, structured verification closeout, and an authorization-aware handoff. A task pack remains derived; its source plan owns scope\u002Flifecycle.\n- **Hard exits:** unresolved target repo\u002Fdirty overlap\u002Fsource owner, requirements-only or invalid unified metadata, task-pack\u002Fsource-plan drift, scope-changing acceptance\u002Farchitecture\u002Fprovider\u002Fsource-runtime discovery, failed required review\u002Fverification, or missing mutation\u002Fcommit\u002Flanding authority for the requested exit.\n- **Ownership:** scripts prepare deterministic facts; LLMs judge semantic fit. Canonical source is modified; generated runtime mirrors are never source fixes. Local mutation, commit, landing, lifecycle, and durable evidence are separate exits.\n- **Consumers:** `spec-code-review`, caller-owned LFG\u002Fgoal flows, commit\u002FPR\u002Frelease workflows, `spec-compound`, and human reviewers.\n\n## Reference Trigger Map\n\n| Reference | Trigger | If unread\u002Funavailable |\n| --- | --- | --- |\n| [Work intake and task pack](references\u002Fwork-intake-and-task-pack.md) | Shallow metadata says `type: task-pack`. | Do not execute the pack; return validation\u002Fregeneration handoff. |\n| [Non-code execution](references\u002Fnon-code-execution.md) | Metadata says `execution: knowledge-work`. | Do not enter code\u002Fshipping lifecycle; report the missing production route. |\n| [Execution strategy](references\u002Fexecution-strategy.md) | Before first write\u002Ftest\u002Freview-fix, task tracking, worker dispatch, commit, or landing. | Lock repo\u002Fsource\u002Fdirty facts inline; use inline\u002Fserial; no commit or landing claim. |\n| [Execution engines](references\u002Fexecution-engines.md) | A structured plan\u002Ftask pack or explicit request makes goal\u002Fdynamic\u002Fworker engine selection relevant. | Use inline; do not infer a callable non-default engine. |\n| [Feedback and tests](references\u002Ffeedback-and-tests.md) | Before behavior mutation, test design, or verification coverage claim. | Run the narrowest known check and do not claim system-wide coverage. |\n| [Implementation quality](references\u002Fimplementation-quality.md) | Before durable-surface mutation or phase-boundary simplification. | Do not add a new durable surface; return to the plan owner if current source fit is unresolved. |\n| [Shipping workflow](references\u002Fshipping-workflow.md) | All implementation tasks are accounted for and quality\u002Fcloseout begins. | No completion\u002Flifecycle\u002Fcommit\u002Flanding claim. |\n| [Review findings followup](references\u002Freview-findings-followup.md) | A completed review returned actionable caller-owned findings. | Preserve in-band findings\u002Flimitations; do not rerun or silently drop them. |\n| [Tracker defer](references\u002Ftracker-defer.md) | Residual gate explicitly selects external tracker deferral. | Return structured `no_sink`; do not lose residuals or infer external authority. |\n\n## Scenario Capability\n\nFollows `docs\u002Fcontracts\u002Fworkflows\u002Fscenario-capability-matrix.md`.\nOverrides: high-risk\n\n- `foreign-residual-workspace` -> `blocked-action-required`: stop before source writes, behavior-bearing tests that rely on suspect local artifacts, review fixes, commits, lifecycle mutation, or PR-ready claims until the named cleanup\u002Finit action runs or the user explicitly accepts degraded evidence.\n- optional external-tool evidence unavailable -> `fallback-only`: use bounded direct source, test, log, diff, and user-provided evidence; disclose the missing capability and do not claim unconfirmed impact or coverage.\n- `non-git-build-workspace` coverage gaps -> `partial`: keep work inside explicit `target_repo`\u002Fcovered roots and directly inspect any uncovered build module before changing or claiming behavior there.\n\n## Input Document\n\n\u003Cinput_document> #\u003Cinvocation arguments supplied by the current host> \u003C\u002Finput_document>\n\n## Execution Workflow\n\n### Phase 0: Input Triage\n\n**First, parse a leading mode token.** If `\u003Cinput_document>` begins with `mode:return-to-caller` (or the legacy aliases `mode:caller-owned-tail` \u002F `caller:lfg`), strip that token before anything else: the remainder of the string is the plan path, and this run executes in **Return-to-Caller Mode** (see § Return-to-Caller Mode) — implement and locally verify only, then return the structured envelope instead of running the standalone shipping tail. Classify the stripped plan path with the rules below. A mode token with no following path is an error: report it rather than treating `mode:return-to-caller` as a bare prompt.\n\nDetermine how to proceed based on what was provided in `\u003Cinput_document>` (after any mode token is stripped).\n\nThe classification order is `mode token -> file metadata -> task pack -> unified plan -> legacy plan \u002F knowledge-work -> bare prompt`. Do not classify by filename alone.\n\n**File document** (input is a path to an existing plan, specification, or task pack): read only the metadata first — YAML frontmatter for Markdown, or visible header metadata for HTML.\n\nIf Markdown metadata carries `type: task-pack`, do not read the full task-pack body before this classification. Load `references\u002Fwork-intake-and-task-pack.md` and follow its deterministic validation, source-plan replay, semantic-fit, Task Pack Contract\u002FWaves, drift, task review, failure handoff, and lifecycle rules. A validated task pack is a first-class execution input, but its source plan remains authoritative and the task pack stays `status: derived`. This branch replaces the remaining file classification; after successful intake, continue Phase 1 with the resolved source plan plus validated contract.\n\nFor a declared unified artifact, validate critical metadata before classification. Duplicate critical metadata, missing `artifact_readiness` or `execution`, or a conflict between visible HTML metadata and content shape is invalid. Fail closed to a `spec-plan \u003Cplan-path>` repair handoff; do not normalize, merge, or guess the intended value. This validation applies only after the artifact declares `artifact_contract: spec-unified-plan\u002Fv1`; a truly legacy plan with no unified contract remains on the compatibility path below.\n\nBefore readiness classification, inspect lifecycle `status`. Only `status: active` is eligible for a new implementation run. `completed`, `partially-shipped`, or `superseded` returns `source-plan-non-active` and must not enter `spec-work`, generate execution tasks, or be treated as implementation-ready even when `artifact_readiness: implementation-ready` remains in historical metadata. A legacy plan with no managed status may continue only with `source-plan-lifecycle-unmanaged` recorded as a limitation. **A discovered mismatch between plan status and source reality is a finding, not authorization.** \"The plan says completed but the code doesn't have it yet\", \"the user asked to finish it\", or a recorded limitation note never converts a non-active plan into an executable one — return `source-plan-non-active` with the mismatch as a finding for the plan owner instead of implementing.\n\n- If it carries `artifact_contract: spec-unified-plan\u002Fv1`, classify `artifact_readiness` before reading the body.\n  - `artifact_readiness: requirements-only` -> stop and tell the user this Product Contract needs `spec-plan` enrichment before implementation. Offer the exact `spec-plan \u003Cplan-path>` handoff.\n  - `artifact_readiness: implementation-ready` plus `execution: code` -> continue to Phase 1 using the unified-plan reader strategy below.\n  - Any other readiness value or any non-code\u002Funclassified execution mode -> do not auto-execute as code. Route `execution: knowledge-work` to the non-code carve-out; otherwise ask the user to return to `spec-plan` to produce an implementation-ready code plan.\n  - Progress-like values (`active`, `in_progress`, `completed`, `done`) are invalid readiness values. Stop and ask for plan repair rather than guessing.\n- If it carries `execution: knowledge-work`, this is a **non-code plan** — read `references\u002Fnon-code-execution.md` and follow that carve-out instead of the rest of this workflow.\n- Otherwise (legacy plan, field absent, or `execution: code`) -> continue to Phase 1 and run the normal code lifecycle. Exception: metadata that carries a progress-like `artifact_readiness` value (`active`, `in_progress`, `completed`, `done`) without declaring the unified contract is still an invalid readiness marker, not a legacy plan — stop and ask for plan repair exactly as in the declared-contract branch instead of silently entering the code lifecycle.\n\n**Blank invocation latest-plan discovery:** when `\u003Cinput_document>` is blank, glob `docs\u002Fplans\u002F*.md` and `docs\u002Fplans\u002F*.html`, inspect metadata for the newest candidates, and only auto-select an active plan that is `artifact_readiness: implementation-ready` plus `execution: code` or an eligible legacy code plan. Never select `completed`, `partially-shipped`, or `superseded`. Stop instead of silently executing when the newest matching artifact is requirements-only, non-active, `execution: knowledge-work`, an approach-plan, or an unclassified universal\u002Fanswer-seeking output. Ask for an explicit path or a `spec-plan` enrichment step. **Superseded sibling:** if a requirements-only candidate has a same-basename file in the other format (`\u003Cbasename>.md` \u002F `\u003Cbasename>.html`) that is active and `implementation-ready`, a format conversion left the requirements-only copy stale — select the active implementation-ready sibling and execute it rather than stopping.\n\n**Bare prompt** (input is a description of work, not a file path):\n\n0. **Open-ended symptom check.** A symptom report with no error text, no stack, no failing test, and no concrete reproducible behavior (\"it feels off\", \"something is wrong somewhere, fix it\") is an open-ended diagnosis request, not an implementation prompt: name `spec-debug` as the owning workflow and route there instead of entering implementation here. Finding and fixing the bug yourself inside this workflow is doing spec-debug's job in the wrong place, even when the diagnosis is quick.\n\n1. **Scan the work area**\n\n   - Identify files likely to change based on the prompt\n   - Find existing test files for those areas (search for test\u002Fspec files that import, reference, or share names with the implementation files)\n   - Note local patterns and conventions in the affected areas\n\n2. **Assess complexity and route**\n\n   | Complexity | Signals | Action |\n   |-----------|---------|--------|\n   | **Trivial** | 1-2 files, no behavioral change (typo, config, rename) | Proceed to Phase 1 step 2 (execution boundary), then implement directly — no task list, no execution loop. Apply Test Discovery if the change touches behavior-bearing code |\n   | **Small \u002F Medium** | Clear scope, under ~10 files | Build a task list from discovery. Proceed to Phase 1 step 2 |\n   | **Large** | Cross-cutting, architectural decisions, 10+ files, touches auth\u002Fpayments\u002Fmigrations | Inform the user this would benefit from `spec-brainstorm` or `spec-plan` to surface edge cases and scope boundaries. Honor their choice. If proceeding, build a task list and continue to Phase 1 step 2 |\n\n---\n\n### Phase 1: Quick Start\n\n1. **Read Plan and Clarify** _(skip if arriving from Phase 0 with a bare prompt)_\n\n   - For validated task-pack input, treat the resolved `source_plan` as the plan read below and use only the machine-readable `Task Pack Contract`\u002F`execution_waves` for task creation. Follow `references\u002Fwork-intake-and-task-pack.md`; do not re-split from the source plan or human-readable cards.\n   - For unified plans, size your read. A short plan (lightweight or requirements-only, a screen or two) can be read in full. For a long implementation-ready plan, do **not** read the whole document first — it is expensive and unnecessary. Build a section map, then read only what the active unit needs: metadata, then `Goal Capsule`, `Verification Contract`, `Definition of Done`, the `Implementation Units` heading list, and only the active U-ID section plus referenced R\u002FF\u002FAE\u002FKTD excerpts. Read appendices or unrelated U-IDs only when the active unit cites them. To build the map: in **markdown** scan headings (`rg -n '^#{1,3} ' \u003Cplan>` — top-level sections plus `### U\u003CN>.` units); in **HTML** scan the `\u003Ch1>`–`\u003Ch3>` heading elements and their anchor ids. Match on the stable section names \u002F unit IDs (`Goal Capsule`, `Verification Contract`, `### U\u003CN>.`, …), ignoring HTML wrapper tags — not on a format-specific pattern.\n   - For legacy plans, read the work document completely. Both formats (`.md`, `.html`) carry the same section names and IDs; HTML just wraps them in semantic elements (`\u003Csection>`, `\u003Carticle>`, etc.).\n   - Treat the plan as a decision artifact, not an execution script\n   - If the plan includes sections such as `Implementation Units`, `Work Breakdown`, `Requirements` (or legacy `Requirements Trace`), `Files`, `Test Scenarios`, or `Verification`, use those as the primary source material for execution\n   - Check for `Execution note` on each implementation unit — these carry the plan's natural-language execution direction for that unit (for example, start from failing proof, characterize legacy behavior, or prefer smoke\u002Fruntime verification). Note them when creating tasks, but do not reduce them to keyword matching.\n   - Check for a `Deferred to Implementation` or `Implementation-Time Unknowns` section — these are questions the planner intentionally left for you to resolve during execution. Note them before starting so they inform your approach rather than surprising you mid-task\n   - Check for a `Scope Boundaries` section — these are explicit non-goals. Refer back to them if implementation starts pulling you toward adjacent work\n   - Review any references or links provided in the plan\n   - For a direct implementation-ready plan whose unit count, dependency graph, context volume, or verification spread makes a derived index materially useful, suggest `spec-write-tasks` once as an optional path. Never auto-compile it and never block direct execution solely because a task pack would help.\n   - If the user explicitly asks for TDD, test-first, characterization-first execution, or a specific verification style in this session, honor that direction even if the plan has no `Execution note`\n   - If anything is unclear or ambiguous, ask clarifying questions now\n   - If clarifying questions were needed above, get user approval on the resolved answers. If no clarifications were needed, proceed without a separate approval step — plan scope is the plan's authority, not something to renegotiate\n   - **Do not skip this** - better to ask questions now than build the wrong thing\n   - **Do not edit the plan body during execution.** The plan is a decision artifact; progress lives in git commits and the task tracker, not the plan. The only permitted plan mutation is the final shipping closeout transition described in `references\u002Fshipping-workflow.md`: after the completion gates close, the tail owner may use the deterministic helper to change a Markdown source plan from `active` to `completed`. This marker is not progress or completion evidence. Leaf workers, reviewers, and subagents never mutate plan status. Legacy `- [ ]` \u002F `- [x]` marks remain ignored; per-unit completion is determined from current source and verification evidence.\n\n2. **Establish Execution Boundary And Strategy**\n\n   Read `references\u002Fexecution-strategy.md` before the first write, behavior-bearing test, review fix, commit, or landing action. It is the owner for branch\u002Fworktree, task tracking, worker dispatch, parallel safety, integration, commit, and landing details.\n\n   Hard anchors remain here:\n\n   - Resolve one current Git root and, in a parent workspace, one explicit `target_repo` or per-task repo scope. Artifact `--repo` is not mutation authority.\n   - Record pre-existing dirty paths and stop for overlapping user-owned edits unless an explicit bounded preservation strategy exists.\n   - Modify canonical source of truth; generated runtime mirrors are not source fixes.\n   - A necessary discovered file may join the actual changed set only with direct evidence that it completes existing scope. A scope-changing discovery involving acceptance, public contract, architecture, provider\u002Frepo boundary, or source ownership returns to `spec-plan`\u002Ftask regeneration.\n   - Missing worker dispatch authorization\u002Fcapability falls back inline. Unknown isolation follows shared-directory rules.\n   - Local implementation does not imply `commit_authorization`; commit does not imply `landing_authorization`. Without them, keep verified changes uncommitted and do not push\u002Fopen a PR.\n\n   **STOP — before the first behavior-bearing mutation, read `references\u002Ffeedback-and-tests.md`.** It owns smallest feedback loop, vertical slicing, proof\u002Fcharacterization, test discovery, system-wide checks, and not-run replacement evidence. For a trivial non-behavioral edit, use the narrow obvious check and do not load or restate the full reference.\n\n   **STOP — before adding or materially changing a durable surface, read `references\u002Fimplementation-quality.md`.** Durable surfaces include dependencies, files, abstractions, helpers\u002Fwrappers\u002Fadapters, public\u002Fschema\u002Fruntime\u002Fprovider\u002Fsource-of-truth boundaries, workflow handoffs, generators, skills\u002Fagents, and artifact contracts. Recheck current source with `reuse \u002F extend \u002F compose \u002F new`; if the active plan\u002Ftask did not authorize the needed architecture decision, stop back instead of designing it during implementation. Ordinary bounded edits to an already-owned surface do not emit an architecture matrix or decision note.\n\n   Apply the reference and record one run-local boundary: `target_repo`, current `HEAD`\u002Fbranch, pre-existing dirty paths and overlap, canonical source owner, allowed\u002Fchanged paths, scope-changing discoveries, worker dispatch authorization\u002Fcapability\u002Fisolation, and separate mutation\u002Fcommit\u002Flanding authorization. Branch or worktree mutation requires explicit authority; never pull\u002Fswitch\u002Fcreate\u002Frename merely because a plan exists. Default-branch commit still requires explicit confirmation.\n\n   A necessary discovered file may join the changed set only when direct evidence shows it completes existing scope. Acceptance\u002Fpublic-contract\u002Farchitecture\u002Fprovider\u002Frepo\u002Fsource-owner expansion returns to `spec-plan` or task regeneration. Unknown isolation follows shared-directory rules; missing dispatch authorization\u002Fcapability runs inline. Workers never commit.\n\n3. **Create Task List** _(skip if Phase 0 already built one, or if Phase 0 routed as Trivial)_\n\n   - Validated task packs use only pinned `Task Pack Contract.tasks` and `execution_waves`; preserve `task_id`, dependencies, source refs, declared files, `stop_if`, and review intent.\n   - Direct plans use implementation units\u002FU-IDs, dependencies, files, scenarios, verification, execution notes, and patterns; do not invent code-level micro-steps or a parallel private plan.\n   - Use the current host tracker when available; otherwise keep a run-local list. Track blockers and evidence, not commit existence.\n\n4. **Choose Execution Engine, then Strategy**\n\n   Read [Execution engines](references\u002Fexecution-engines.md) only when plan shape or explicit direction makes a non-default engine relevant. Inline is the portable default. A non-default engine needs explicit authorization and current-session semantic capability, preserves task-pack checkpoints\u002Fstructured returns, and never changes tail ownership.\n\n   Before worker dispatch, inherit the full boundary from `references\u002Fexecution-strategy.md` and record `worker_dispatch_authorization`, `capability_probe`, `worker_dispatch_capability`, `worker_context_isolation`, `worker_model_override`, and `worker_bounded_parallelism`, then normalize the path as `worker_dispatch_outcome`. Missing authorization forbids discovery and fixes `capability_probe: not_applicable` plus capability unknown. Only after authorization may the current-session registry\u002Fschema be consumed as `provider_untrusted` evidence. Use serial execution for dependencies, overlapping files\u002Fcontracts\u002Fschema\u002Fconfig\u002Flockfiles\u002Fgenerated outputs, shared environment singletons, or unknown bounded parallelism. Stop parallelizing after broad unplanned edits, repeated conflicts, or out-of-scope failures.\n\n   Give each worker a bounded unit packet rather than the whole plan: Goal Capsule\u002FDoD, active unit, relevant R\u002FF\u002FAE\u002FKTD and Verification excerpts, files\u002Fpatterns\u002Fscenarios\u002Fexecution note, plus the triggered feedback\u002Fimplementation-quality rules. Require changed paths and evidence fields in the return. The orchestrator verifies the actual tree, detects collisions\u002Foverwrites, integrates in dependency order, reruns authoritative checks, updates task state, and records one of `dispatch_authorization_missing`, `subagent_capability_missing`, or `worker_capability_unproven`, plus any isolation limitations.\n\n## Anti-Rationalization Red Flags\n\n| 红旗念头 | 停下来做什么 |\n| --- | --- |\n| 「测试大概会过，先声明完成」 | 跑匹配当前 slice 的真实验证，读取 exit\u002Flog，再声明 passed 或记录 not-run reason。 |\n| 「计划写了 new wrapper，照着建就行」 | 读 current source，按 `reuse \u002F extend \u002F compose \u002F new` 重查 owner；无 translation\u002Fsequencing\u002Fsafety\u002Fevidence 边界的 wrapper 不创建。 |\n| 「相邻代码顺手一起清理」 | 回到 active plan\u002Ftask 与实际 changed set；非必要 debt 进入既有 residual\u002Fdefer sink。 |\n| 「临时文件或 orphan 留着不影响」 | 清理本次 run 造成的 orphaned source、test、reference、log 或 runtime artifact，并复跑对应 feedback loop。 |\n\n这是注意力提醒,不是 gate,也不替代 LLM 判断;最终是否停下、如何处理仍由你按当前证据决定。\n\n### Phase 2: Execute\n\n1. **Task Execution Loop**\n\n   Execute one dependency-ready unit\u002Ftask at a time, or one bounded disjoint wave when dispatch\u002Fisolation facts allow it:\n\n   1. Recheck task-pack\u002Fsource-plan pins and `stop_if` when applicable; drift or stop conditions halt this task and dependents before mutation.\n   2. Capture pre-task dirty\u002Funtracked\u002Ffile facts, read the active unit packet and current source, and verify whether the work already exists before reimplementing.\n   3. For behavior-bearing work, apply [Feedback and tests](references\u002Ffeedback-and-tests.md): establish the smallest loop, choose proof\u002Fcharacterization\u002Freplacement evidence, and keep the slice vertical.\n   4. Before durable-surface mutation, apply [Implementation quality](references\u002Fimplementation-quality.md): inventory current owners, recheck `reuse \u002F extend \u002F compose \u002F new`, and stop back on unapproved architecture\u002Fscope.\n   5. Implement only the current slice in canonical source, update the correct existing\u002Fnew tests, rerun the same loop, then run applicable system-wide\u002Fintegration checks.\n   6. Inspect the actual changed tree against declared scope; record behavior\u002Ftest\u002Fred-or-characterization\u002Fcommand\u002Fresult\u002Fexception evidence. Do not reconstruct worker-only pre-implementation observations from the diff.\n   7. For task packs, compute attributed task delta facts and close any `review_gate: required` with bounded `spec-code-review mode:agent` before dependent waves. Caller-owned fixes rerun affected verification; at most one follow-up review is allowed. Blocking\u002Fdegraded round two stops; non-blocking P2\u002FP3 remains run-local residual work.\n   8. Mark complete only after scope, evidence, required review, and blockers close. Record a logical commit candidate; create it only with `commit_authorization: authorized`.\n\n   Execution notes are intent, not enums. Proof-first requires observing the expected failure before production change; characterization records existing behavior without declaring it correct. Trivial rename\u002Fconfig\u002Fstyle\u002Fgenerated\u002Fmanual-only work may use an explicit replacement check. Never add duplicate tests merely to demonstrate ceremony, over-implement beyond the active slice, or claim coverage for a check that did not run.\n2. **Commit Checkpoint**\n\n   Follow `references\u002Fexecution-strategy.md` § Commit Authorization. Local implementation and green tests do not authorize a commit. Workers never commit. Without explicit commit authorization, keep verified changes uncommitted and report coherent commit candidates; with authorization, the orchestrator stages only run-owned files and commits only a verified logical unit.\n\n3. **Follow Existing Patterns**\n\n   - The plan should reference similar code - read those files first\n   - Match naming conventions exactly\n   - Reuse existing components where possible\n   - Follow the project's coding standards already in your context\n   - When in doubt, grep for similar implementations\n\n4. **Test Continuously**\n\n   - Run relevant tests after each significant change\n   - Don't wait until the end to test\n   - Fix failures immediately\n   - Add new tests for new behavior, update tests for changed behavior, remove tests for deleted behavior\n   - **Unit tests with mocks prove logic in isolation. Integration tests with real objects prove the layers work together.** If your change touches callbacks, middleware, or error handling — you need both.\n\n5. **Simplify as You Go**\n\n   At a behavior-cluster\u002Fdependency-wave boundary, read `references\u002Fimplementation-quality.md` § Simplification At Phase Boundaries. Classify findings as `remove-now`, `minimality-debt`, `protected`, or `architecture-mismatch`; do not default to extract-helper, delete security\u002Fdata-integrity\u002Fa11y\u002Fobservability\u002Frequired-verification code for lower LOC, or widen scope to pay unrelated debt.\n\n   If **`spec-simplify-code`** is available, invoke it at phase boundaries (especially before Phase 3 when the diff is >=30 lines) with the same classification and protected-surface constraints. Otherwise, perform the bounded pass inline. Rerun the same feedback loop for every `remove-now` or authorized architecture correction.\n\n6. **Figma Design Sync** (if applicable)\n\n   For UI work with Figma designs:\n\n   - Implement components following design specs\n   - Read `references\u002Fagents\u002Ffigma-design-sync.md` and dispatch a generic subagent seeded with that local prompt to compare implementation against the Figma design. Do not dispatch a standalone agent by type\u002Fname.\n   - Fix visual differences identified\n   - Repeat until implementation matches design\n\n7. **Frontend Design Guidance** (if applicable)\n\n   For UI tasks without a Figma design -- where the implementation touches view, template, component, layout, or page files, creates user-visible routes, or the plan contains explicit UI\u002Ffrontend\u002Fdesign language:\n\n   - Apply the frontend guidance embedded in this skill and the active repo instructions: preserve existing design-system conventions, use real UI controls and states, keep layouts responsive, and verify text does not overflow or overlap.\n   - When browser tooling is available, inspect the changed UI at desktop and mobile widths before final validation. If no browser access is available, do a code-level responsive\u002Flayout review and record that browser verification was unavailable.\n   - Phase 4's screenshot capture still applies when the change is user-visible.\n\n8. **Track Progress**\n   - Keep the task list updated as you complete tasks\n   - Note any blockers or unexpected discoveries\n   - Do not create replacement tasks when scope expands; for task-pack input honor `stop_if` and return to `spec-write-tasks`\u002F`spec-plan`, and for direct-plan input return to the plan owner when acceptance, architecture, ownership, or verification scope changes\n   - Keep user informed of major milestones\n   - When the plan defines U-IDs for Implementation Units, or the plan or origin document carries stable R-IDs (and optionally A\u002FF\u002FAE IDs), reference them in blockers, deferred-work notes, task summaries, and final verification — not routine status updates. U-IDs anchor units across plan edits; R\u002FA\u002FF\u002FAE anchor product intent across the brainstorm-plan handoff. Use the IDs the plan supplies and do not invent ones it does not. This preserves traceability without burying signal under noise.\n\n### Phase 3-4: Quality Check and Finishing Work\n\nWhen all Phase 2 tasks are complete and execution transitions to quality check, you must read `references\u002Fshipping-workflow.md` for the full shipping workflow. Do not skip this.\n\n**Code review: one portable path.** Review with `spec-code-review`, which self-sizes (lite roster for small low-risk code-only diffs, full roster otherwise). No harness-native review detection and no escalation tiers — the size\u002Fsensitive-surface judgment lives inside `spec-code-review`. Skip dedicated review only for a purely mechanical diff (formatting, dep-bumps, lint-only, generated). Full rules (autonomous Residual Gate, infra fallback) in `shipping-workflow.md`.\n\n**Review is two steps — review, then fix.** spec-work's `mode:agent` invocation is report-only: it returns JSON findings and does not edit the checkout, commit, or apply fixes. This statement is scoped to the orchestrated invocation below; other explicit `spec-code-review` entry modes retain their own contract.\n\n1. **Review** — Invoke the `spec-code-review` skill (invocation command in `references\u002Freview-findings-followup.md` § Fallback). Use `mode:agent` in orchestrated workflows; pass `plan:\u003Cpath>` when you have a plan, `base:\u003Cref>` when the merge base is known, and `depth:full` when a deep\u002Fthorough review was explicitly requested.\n2. **Apply fixes** — Load `references\u002Freview-findings-followup.md`. Filter eligibility on JSON only and batch by file. Use authorized fix workers or inline fallback; the orchestrator integrates and tests. Commit only with `commit_authorization: authorized`.\n3. **Residual Work Gate** — Only after followup; unresolved actionable findings go through the gate in `shipping-workflow.md` (autonomous sessions auto-accept + record residuals; interactive sessions ask).\n\n## Return-to-Caller Mode\n\n`mode:return-to-caller \u003Cplan-path>` (legacy alias: `mode:caller-owned-tail`) is\nreserved for orchestrators such as `lfg` that own simplification, code review,\nPR creation, and CI watching after implementation. In this mode `spec-work`\nperforms implementation and local verification only, then returns a structured\nsummary instead of running the standalone shipping tail.\n\nReturn:\n\n- `status`: `complete`, `blocked`, or `failed`\n- `plan_path`: direct plan path, or the validated task pack's authoritative `source_plan`\n- `task_pack_path` and pinned `task_pack_digest` when task-pack intake was used; otherwise `null`\n- `changed_files`\n- `u_ids_attempted`\n- `u_ids_completed`\n- `task_ids_attempted` and `task_ids_completed` when Task Cards drove execution\n- `verification_results`\n- `verification_evidence`: one entry per attempted behavior-bearing unit, plus any non-behavioral unit where tests were intentionally skipped. Each entry states the unit\u002Ftask, `behavior_changed`, `existing_tests_inspected`, `tests_added_or_changed`, tests used unchanged, red failure or characterization observed when applicable, verification commands\u002Fresults, and any exception reason. For units executed by subagents, this entry is assembled from each worker's returned evidence (Phase 1 Step 4), not reconstructed from the diff — the red-before-implementation observation exists only in the worker's report.\n- `verification_run_summary_ref`: repo-relative `verification-run-summary.v1` ref produced from the commands this work run actually executed, or `null` with an explicit limitation when no structured summary could be written\n- `verified_worktree_fingerprint`: the complete `spec-work-working-tree-fingerprint\u002Fv1` object produced by `scripts\u002Fworking-tree-fingerprint.cjs` (resolved from this skill's own `SKILL_DIR`) after this invocation's final required verification and immediately before return. It covers HEAD, tracked\u002Fstaged\u002Funstaged diff, untracked paths, and untracked bytes. A behavior-bearing `status: complete` return requires it; non-behavior returns still include it whenever the helper can run, so callers can apply freshness gates uniformly, and may omit it only together with the documented deliberate non-behavior exception. If the helper cannot run (missing runtime asset, no git, no Node), record a `fingerprint-helper-unavailable` blocker naming the concrete cause — never fabricate the object or omit it silently.\n- `honest_closeout_verdict`: `verified`, `degraded`, or `unsupported`, together with the validator `overall_reason_code`\n- `run_artifact_path`: repo-relative `spec-work-run-artifact\u002Fv2` path when a durable trigger wrote one; otherwise `null`\n- `run_artifact_reason_code`: the matched durable trigger, `no-trigger-matched`, or the producer's concrete `not-written` reason\n- `claim_limitations`: structured limitations for not-run checks, unsupported claim refs, review-evidence materialization failure, provider-bounded evidence, or other claim ceilings\n- `blockers`\n- `behavior_change`: whether behavior-bearing code changed\n- `commit_authorization: missing` and `landing_authorization: missing` for this mode; Return-to-Caller does not consume either exit\n- `plan_status_completion_candidate`: the repo-relative direct `docs\u002Fplans\u002F*.md` source plan that the caller may complete after its own shipping gates, or `null` when lifecycle mutation is not applicable\n- `plan_status_completion_degraded_reason`: `null` when a candidate is present; otherwise one of `html-plan-lifecycle-degraded`, `legacy-plan-lifecycle-degraded`, `read-compatible-status-unmanaged`, or `source-plan-path-lifecycle-degraded`. Duplicate, malformed, or invalid lifecycle metadata is a blocker, not a degraded result.\n- `standalone_shipping_skipped: true`\n\nReturn `status: complete` only when every in-scope unit\u002Ftask is accounted for and completed, task-pack pins still match when applicable, every required task review is closed, `blockers` is empty, and every required verification result is passed or explicitly not applicable with a reason. Behavior-bearing work also requires the verification evidence and `verified_worktree_fingerprint` above or a deliberate non-behavior exception. Failed, degraded, not-run, vague, stale, or missing required verification\u002Freview cannot return complete.\n\nIf a previous return-to-caller run implemented code but omitted evidence, or the caller re-enters after caller-owned simplification\u002Freview fixes, the later same-plan invocation must use the idempotency path instead of reimplementing. Re-read the current plan and tree, rerun the complete applicable Verification Contract against the current working tree, create a fresh verification-run-summary ref for commands executed by this invocation, and capture a new `verified_worktree_fingerprint` only after those checks finish. Never reuse the earlier run summary or fingerprint as final-tree evidence.\n\n`standalone_shipping_skipped: true` 只表示 caller owns simplify、full review、plan lifecycle 与 landing tail；它不跳过本次 work 已执行命令的 structured closeout。按照 `references\u002Fshipping-workflow.md` 的 Step 5.1 记录 run summary、校验 honest closeout，并按 durable trigger 返回 run artifact path\u002Freason。不得把 plan 中列出的候选命令、worker 的自然语言“tests pass”或 session-temp review path 当成这些字段的 confirmed evidence。\n\nEngine selection (`references\u002Fexecution-engines.md`) still applies in this mode,\nbut only for implementation. In return-to-caller mode do not emit a copyable\ngoal\u002Fworkflow prompt — a manual paste step strands the caller; run\ninline\u002Fauthorized workers or return a blocker instead. Any goal\u002Fworkflow engine used here\nmust not commit, push, open a PR, run the owner workflow tail, or bypass the caller-owned\ngates. Return-to-Caller never invokes `plan-status complete`; it returns only the\ncompletion candidate, and the caller owns the eventual shipping closeout.\n\n## Compact Principles And Pitfalls\n\n- Execute settled scope from current source; ask once only when repo\u002Fdocs cannot resolve a material ambiguity.\n- Reuse the correct owner and keep slices observable. Do not trade evidence, safety, accessibility, observability, or required verification for speed or lower LOC.\n- Track actual task\u002Funit evidence and blockers; commits and plan status are not progress proof.\n- Finish every in-scope unit and required review\u002Fverification before a completion claim. Keep failed\u002Fnot-run\u002Fdegraded limitations explicit.\n- Do not widen work into adjacent cleanup, imagined future abstractions, human-time “session phases,” or a new private decomposition. Return scope-changing discoveries to the plan\u002Ftask owner.\n- Review every non-mechanical diff through the portable review path or record the honest unavailable\u002Fmanual fallback. Commit and landing remain separately authorized.\n","# Work Execution Command\n\nExecute work efficiently while maintaining quality and finishing features.\n\n## Introduction\n\nThis command takes a work document (plan or specification) or a bare prompt describing the work, and executes it systematically. The focus is on **shipping complete features** by understanding requirements quickly, following existing patterns, and maintaining quality throughout.\n\n## Workflow Contract Summary\n\n- **Inputs:** settled implementation-ready code plan, validated task pack, explicit knowledge-work plan, or concrete bounded implementation prompt.\n- **Outputs:** scoped source changes, task\u002Funit evidence, required review\u002Fresidual posture, structured verification closeout, and an authorization-aware handoff. A task pack remains derived; its source plan owns scope\u002Flifecycle.\n- **Hard exits:** unresolved target repo\u002Fdirty overlap\u002Fsource owner, requirements-only or invalid unified metadata, task-pack\u002Fsource-plan drift, scope-changing acceptance\u002Farchitecture\u002Fprovider\u002Fsource-runtime discovery, failed required review\u002Fverification, or missing mutation\u002Fcommit\u002Flanding authority for the requested exit.\n- **Ownership:** scripts prepare deterministic facts; LLMs judge semantic fit. Canonical source is modified; generated runtime mirrors are never source fixes. Local mutation, commit, landing, lifecycle, and durable evidence are separate exits.\n- **Consumers:** `spec-code-review`, caller-owned LFG\u002Fgoal flows, commit\u002FPR\u002Frelease workflows, `spec-compound`, and human reviewers.\n\n## Reference Trigger Map\n\n| Reference | Trigger | If unread\u002Funavailable |\n| --- | --- | --- |\n| [Work intake and task pack](references\u002Fwork-intake-and-task-pack.md) | Shallow metadata says `type: task-pack`. | Do not execute the pack; return validation\u002Fregeneration handoff. |\n| [Non-code execution](references\u002Fnon-code-execution.md) | Metadata says `execution: knowledge-work`. | Do not enter code\u002Fshipping lifecycle; report the missing production route. |\n| [Execution strategy](references\u002Fexecution-strategy.md) | Before first write\u002Ftest\u002Freview-fix, task tracking, worker dispatch, commit, or landing. | Lock repo\u002Fsource\u002Fdirty facts inline; use inline\u002Fserial; no commit or landing claim. |\n| [Execution engines](references\u002Fexecution-engines.md) | A structured plan\u002Ftask pack or explicit request makes goal\u002Fdynamic\u002Fworker engine selection relevant. | Use inline; do not infer a callable non-default engine. |\n| [Feedback and tests](references\u002Ffeedback-and-tests.md) | Before behavior mutation, test design, or verification coverage claim. | Run the narrowest known check and do not claim system-wide coverage. |\n| [Implementation quality](references\u002Fimplementation-quality.md) | Before durable-surface mutation or phase-boundary simplification. | Do not add a new durable surface; return to the plan owner if current source fit is unresolved. |\n| [Shipping workflow](references\u002Fshipping-workflow.md) | All implementation tasks are accounted for and quality\u002Fcloseout begins. | No completion\u002Flifecycle\u002Fcommit\u002Flanding claim. |\n| [Review findings followup](references\u002Freview-findings-followup.md) | A completed review returned actionable caller-owned findings. | Preserve in-band findings\u002Flimitations; do not rerun or silently drop them. |\n| [Tracker defer](references\u002Ftracker-defer.md) | Residual gate explicitly selects external tracker deferral. | Return structured `no_sink`; do not lose residuals or infer external authority. |\n\n## Scenario Capability\n\nFollows `docs\u002Fcontracts\u002Fworkflows\u002Fscenario-capability-matrix.md`.\nOverrides: high-risk\n\n- `foreign-residual-workspace` -> `blocked-action-required`: stop before source writes, behavior-bearing tests that rely on suspect local artifacts, review fixes, commits, lifecycle mutation, or PR-ready claims until the named cleanup\u002Finit action runs or the user explicitly accepts degraded evidence.\n- optional external-tool evidence unavailable -> `fallback-only`: use bounded direct source, test, log, diff, and user-provided evidence; disclose the missing capability and do not claim unconfirmed impact or coverage.\n- `non-git-build-workspace` coverage gaps -> `partial`: keep work inside explicit `target_repo`\u002Fcovered roots and directly inspect any uncovered build module before changing or claiming behavior there.\n\n## Input Document\n\n\u003Cinput_document> #\u003Cinvocation arguments supplied by the current host> \u003C\u002Finput_document>\n\n## Execution Workflow\n\n### Phase 0: Input Triage\n\n**First, parse a leading mode token.** If `\u003Cinput_document>` begins with `mode:return-to-caller` (or the legacy aliases `mode:caller-owned-tail` \u002F `caller:lfg`), strip that token before anything else: the remainder of the string is the plan path, and this run executes in **Return-to-Caller Mode** (see § Return-to-Caller Mode) — implement and locally verify only, then return the structured envelope instead of running the standalone shipping tail. Classify the stripped plan path with the rules below. A mode token with no following path is an error: report it rather than treating `mode:return-to-caller` as a bare prompt.\n\nDetermine how to proceed based on what was provided in `\u003Cinput_document>` (after any mode token is stripped).\n\nThe classification order is `mode token -> file metadata -> task pack -> unified plan -> legacy plan \u002F knowledge-work -> bare prompt`. Do not classify by filename alone.\n\n**File document** (input is a path to an existing plan, specification, or task pack): read only the metadata first — YAML frontmatter for Markdown, or visible header metadata for HTML.\n\nIf Markdown metadata carries `type: task-pack`, do not read the full task-pack body before this classification. Load `references\u002Fwork-intake-and-task-pack.md` and follow its deterministic validation, source-plan replay, semantic-fit, Task Pack Contract\u002FWaves, drift, task review, failure handoff, and lifecycle rules. A validated task pack is a first-class execution input, but its source plan remains authoritative and the task pack stays `status: derived`. This branch replaces the remaining file classification; after successful intake, continue Phase 1 with the resolved source plan plus validated contract.\n\nFor a declared unified artifact, validate critical metadata before classification. Duplicate critical metadata, missing `artifact_readiness` or `execution`, or a conflict between visible HTML metadata and content shape is invalid. Fail closed to a `spec-plan \u003Cplan-path>` repair handoff; do not normalize, merge, or guess the intended value. This validation applies only after the artifact declares `artifact_contract: spec-unified-plan\u002Fv1`; a truly legacy plan with no unified contract remains on the compatibility path below.\n\nBefore readiness classification, inspect lifecycle `status`. Only `status: active` is eligible for a new implementation run. `completed`, `partially-shipped`, or `superseded` returns `source-plan-non-active` and must not enter `spec-work`, generate execution tasks, or be treated as implementation-ready even when `artifact_readiness: implementation-ready` remains in historical metadata. A legacy plan with no managed status may continue only with `source-plan-lifecycle-unmanaged` recorded as a limitation. **A discovered mismatch between plan status and source reality is a finding, not authorization.** \"The plan says completed but the code doesn't have it yet\", \"the user asked to finish it\", or a recorded limitation note never converts a non-active plan into an executable one — return `source-plan-non-active` with the mismatch as a finding for the plan owner instead of implementing.\n\n- If it carries `artifact_contract: spec-unified-plan\u002Fv1`, classify `artifact_readiness` before reading the body.\n  - `artifact_readiness: requirements-only` -> stop and tell the user this Product Contract needs `spec-plan` enrichment before implementation. Offer the exact `spec-plan \u003Cplan-path>` handoff.\n  - `artifact_readiness: implementation-ready` plus `execution: code` -> continue to Phase 1 using the unified-plan reader strategy below.\n  - Any other readiness value or any non-code\u002Funclassified execution mode -> do not auto-execute as code. Route `execution: knowledge-work` to the non-code carve-out; otherwise ask the user to return to `spec-plan` to produce an implementation-ready code plan.\n  - Progress-like values (`active`, `in_progress`, `completed`, `done`) are invalid readiness values. Stop and ask for plan repair rather than guessing.\n- If it carries `execution: knowledge-work`, this is a **non-code plan** — read `references\u002Fnon-code-execution.md` and follow that carve-out instead of the rest of this workflow.\n- Otherwise (legacy plan, field absent, or `execution: code`) -> continue to Phase 1 and run the normal code lifecycle. Exception: metadata that carries a progress-like `artifact_readiness` value (`active`, `in_progress`, `completed`, `done`) without declaring the unified contract is still an invalid readiness marker, not a legacy plan — stop and ask for plan repair exactly as in the declared-contract branch instead of silently entering the code lifecycle.\n\n**Blank invocation latest-plan discovery:** when `\u003Cinput_document>` is blank, glob `docs\u002Fplans\u002F*.md` and `docs\u002Fplans\u002F*.html`, inspect metadata for the newest candidates, and only auto-select an active plan that is `artifact_readiness: implementation-ready` plus `execution: code` or an eligible legacy code plan. Never select `completed`, `partially-shipped`, or `superseded`. Stop instead of silently executing when the newest matching artifact is requirements-only, non-active, `execution: knowledge-work`, an approach-plan, or an unclassified universal\u002Fanswer-seeking output. Ask for an explicit path or a `spec-plan` enrichment step. **Superseded sibling:** if a requirements-only candidate has a same-basename file in the other format (`\u003Cbasename>.md` \u002F `\u003Cbasename>.html`) that is active and `implementation-ready`, a format conversion left the requirements-only copy stale — select the active implementation-ready sibling and execute it rather than stopping.\n\n**Bare prompt** (input is a description of work, not a file path):\n\n0. **Open-ended symptom check.** A symptom report with no error text, no stack, no failing test, and no concrete reproducible behavior (\"it feels off\", \"something is wrong somewhere, fix it\") is an open-ended diagnosis request, not an implementation prompt: name `spec-debug` as the owning workflow and route there instead of entering implementation here. Finding and fixing the bug yourself inside this workflow is doing spec-debug's job in the wrong place, even when the diagnosis is quick.\n\n1. **Scan the work area**\n\n   - Identify files likely to change based on the prompt\n   - Find existing test files for those areas (search for test\u002Fspec files that import, reference, or share names with the implementation files)\n   - Note local patterns and conventions in the affected areas\n\n2. **Assess complexity and route**\n\n   | Complexity | Signals | Action |\n   |-----------|---------|--------|\n   | **Trivial** | 1-2 files, no behavioral change (typo, config, rename) | Proceed to Phase 1 step 2 (execution boundary), then implement directly — no task list, no execution loop. Apply Test Discovery if the change touches behavior-bearing code |\n   | **Small \u002F Medium** | Clear scope, under ~10 files | Build a task list from discovery. Proceed to Phase 1 step 2 |\n   | **Large** | Cross-cutting, architectural decisions, 10+ files, touches auth\u002Fpayments\u002Fmigrations | Inform the user this would benefit from `spec-brainstorm` or `spec-plan` to surface edge cases and scope boundaries. Honor their choice. If proceeding, build a task list and continue to Phase 1 step 2 |\n\n---\n\n### Phase 1: Quick Start\n\n1. **Read Plan and Clarify** _(skip if arriving from Phase 0 with a bare prompt)_\n\n   - For validated task-pack input, treat the resolved `source_plan` as the plan read below and use only the machine-readable `Task Pack Contract`\u002F`execution_waves` for task creation. Follow `references\u002Fwork-intake-and-task-pack.md`; do not re-split from the source plan or human-readable cards.\n   - For unified plans, size your read. A short plan (lightweight or requirements-only, a screen or two) can be read in full. For a long implementation-ready plan, do **not** read the whole document first — it is expensive and unnecessary. Build a section map, then read only what the active unit needs: metadata, then `Goal Capsule`, `Verification Contract`, `Definition of Done`, the `Implementation Units` heading list, and only the active U-ID section plus referenced R\u002FF\u002FAE\u002FKTD excerpts. Read appendices or unrelated U-IDs only when the active unit cites them. To build the map: in **markdown** scan headings (`rg -n '^#{1,3} ' \u003Cplan>` — top-level sections plus `### U\u003CN>.` units); in **HTML** scan the `\u003Ch1>`–`\u003Ch3>` heading elements and their anchor ids. Match on the stable section names \u002F unit IDs (`Goal Capsule`, `Verification Contract`, `### U\u003CN>.`, …), ignoring HTML wrapper tags — not on a format-specific pattern.\n   - For legacy plans, read the work document completely. Both formats (`.md`, `.html`) carry the same section names and IDs; HTML just wraps them in semantic elements (`\u003Csection>`, `\u003Carticle>`, etc.).\n   - Treat the plan as a decision artifact, not an execution script\n   - If the plan includes sections such as `Implementation Units`, `Work Breakdown`, `Requirements` (or legacy `Requirements Trace`), `Files`, `Test Scenarios`, or `Verification`, use those as the primary source material for execution\n   - Check for `Execution note` on each implementation unit — these carry the plan's natural-language execution direction for that unit (for example, start from failing proof, characterize legacy behavior, or prefer smoke\u002Fruntime verification). Note them when creating tasks, but do not reduce them to keyword matching.\n   - Check for a `Deferred to Implementation` or `Implementation-Time Unknowns` section — these are questions the planner intentionally left for you to resolve during execution. Note them before starting so they inform your approach rather than surprising you mid-task\n   - Check for a `Scope Boundaries` section — these are explicit non-goals. Refer back to them if implementation starts pulling you toward adjacent work\n   - Review any references or links provided in the plan\n   - For a direct implementation-ready plan whose unit count, dependency graph, context volume, or verification spread makes a derived index materially useful, suggest `spec-write-tasks` once as an optional path. Never auto-compile it and never block direct execution solely because a task pack would help.\n   - If the user explicitly asks for TDD, test-first, characterization-first execution, or a specific verification style in this session, honor that direction even if the plan has no `Execution note`\n   - If anything is unclear or ambiguous, ask clarifying questions now\n   - If clarifying questions were needed above, get user approval on the resolved answers. If no clarifications were needed, proceed without a separate approval step — plan scope is the plan's authority, not something to renegotiate\n   - **Do not skip this** - better to ask questions now than build the wrong thing\n   - **Do not edit the plan body during execution.** The plan is a decision artifact; progress lives in git commits and the task tracker, not the plan. The only permitted plan mutation is the final shipping closeout transition described in `references\u002Fshipping-workflow.md`: after the completion gates close, the tail owner may use the deterministic helper to change a Markdown source plan from `active` to `completed`. This marker is not progress or completion evidence. Leaf workers, reviewers, and subagents never mutate plan status. Legacy `- [ ]` \u002F `- [x]` marks remain ignored; per-unit completion is determined from current source and verification evidence.\n\n2. **Establish Execution Boundary And Strategy**\n\n   Read `references\u002Fexecution-strategy.md` before the first write, behavior-bearing test, review fix, commit, or landing action. It is the owner for branch\u002Fworktree, task tracking, worker dispatch, parallel safety, integration, commit, and landing details.\n\n   Hard anchors remain here:\n\n   - Resolve one current Git root and, in a parent workspace, one explicit `target_repo` or per-task repo scope. Artifact `--repo` is not mutation authority.\n   - Record pre-existing dirty paths and stop for overlapping user-owned edits unless an explicit bounded preservation strategy exists.\n   - Modify canonical source of truth; generated runtime mirrors are not source fixes.\n   - A necessary discovered file may join the actual changed set only with direct evidence that it completes existing scope. A scope-changing discovery involving acceptance, public contract, architecture, provider\u002Frepo boundary, or source ownership returns to `spec-plan`\u002Ftask regeneration.\n   - Missing worker dispatch authorization\u002Fcapability falls back inline. Unknown isolation follows shared-directory rules.\n   - Local implementation does not imply `commit_authorization`; commit does not imply `landing_authorization`. Without them, keep verified changes uncommitted and do not push\u002Fopen a PR.\n\n   **STOP — before the first behavior-bearing mutation, read `references\u002Ffeedback-and-tests.md`.** It owns smallest feedback loop, vertical slicing, proof\u002Fcharacterization, test discovery, system-wide checks, and not-run replacement evidence. For a trivial non-behavioral edit, use the narrow obvious check and do not load or restate the full reference.\n\n   **STOP — before adding or materially changing a durable surface, read `references\u002Fimplementation-quality.md`.** Durable surfaces include dependencies, files, abstractions, helpers\u002Fwrappers\u002Fadapters, public\u002Fschema\u002Fruntime\u002Fprovider\u002Fsource-of-truth boundaries, workflow handoffs, generators, skills\u002Fagents, and artifact contracts. Recheck current source with `reuse \u002F extend \u002F compose \u002F new`; if the active plan\u002Ftask did not authorize the needed architecture decision, stop back instead of designing it during implementation. Ordinary bounded edits to an already-owned surface do not emit an architecture matrix or decision note.\n\n   Apply the reference and record one run-local boundary: `target_repo`, current `HEAD`\u002Fbranch, pre-existing dirty paths and overlap, canonical source owner, allowed\u002Fchanged paths, scope-changing discoveries, worker dispatch authorization\u002Fcapability\u002Fisolation, and separate mutation\u002Fcommit\u002Flanding authorization. Branch or worktree mutation requires explicit authority; never pull\u002Fswitch\u002Fcreate\u002Frename merely because a plan exists. Default-branch commit still requires explicit confirmation.\n\n   A necessary discovered file may join the changed set only when direct evidence shows it completes existing scope. Acceptance\u002Fpublic-contract\u002Farchitecture\u002Fprovider\u002Frepo\u002Fsource-owner expansion returns to `spec-plan` or task regeneration. Unknown isolation follows shared-directory rules; missing dispatch authorization\u002Fcapability runs inline. Workers never commit.\n\n3. **Create Task List** _(skip if Phase 0 already built one, or if Phase 0 routed as Trivial)_\n\n   - Validated task packs use only pinned `Task Pack Contract.tasks` and `execution_waves`; preserve `task_id`, dependencies, source refs, declared files, `stop_if`, and review intent.\n   - Direct plans use implementation units\u002FU-IDs, dependencies, files, scenarios, verification, execution notes, and patterns; do not invent code-level micro-steps or a parallel private plan.\n   - Use the current host tracker when available; otherwise keep a run-local list. Track blockers and evidence, not commit existence.\n\n4. **Choose Execution Engine, then Strategy**\n\n   Read [Execution engines](references\u002Fexecution-engines.md) only when plan shape or explicit direction makes a non-default engine relevant. Inline is the portable default. A non-default engine needs explicit authorization and current-session semantic capability, preserves task-pack checkpoints\u002Fstructured returns, and never changes tail ownership.\n\n   Before worker dispatch, inherit the full boundary from `references\u002Fexecution-strategy.md` and record `worker_dispatch_authorization`, `capability_probe`, `worker_dispatch_capability`, `worker_context_isolation`, `worker_model_override`, and `worker_bounded_parallelism`, then normalize the path as `worker_dispatch_outcome`. Missing authorization forbids discovery and fixes `capability_probe: not_applicable` plus capability unknown. Only after authorization may the current-session registry\u002Fschema be consumed as `provider_untrusted` evidence. Use serial execution for dependencies, overlapping files\u002Fcontracts\u002Fschema\u002Fconfig\u002Flockfiles\u002Fgenerated outputs, shared environment singletons, or unknown bounded parallelism. Stop parallelizing after broad unplanned edits, repeated conflicts, or out-of-scope failures.\n\n   Give each worker a bounded unit packet rather than the whole plan: Goal Capsule\u002FDoD, active unit, relevant R\u002FF\u002FAE\u002FKTD and Verification excerpts, files\u002Fpatterns\u002Fscenarios\u002Fexecution note, plus the triggered feedback\u002Fimplementation-quality rules. Require changed paths and evidence fields in the return. The orchestrator verifies the actual tree, detects collisions\u002Foverwrites, integrates in dependency order, reruns authoritative checks, updates task state, and records one of `dispatch_authorization_missing`, `subagent_capability_missing`, or `worker_capability_unproven`, plus any isolation limitations.\n\n## Anti-Rationalization Red Flags\n\n| 红旗念头 | 停下来做什么 |\n| --- | --- |\n| 「测试大概会过，先声明完成」 | 跑匹配当前 slice 的真实验证，读取 exit\u002Flog，再声明 passed 或记录 not-run reason。 |\n| 「计划写了 new wrapper，照着建就行」 | 读 current source，按 `reuse \u002F extend \u002F compose \u002F new` 重查 owner；无 translation\u002Fsequencing\u002Fsafety\u002Fevidence 边界的 wrapper 不创建。 |\n| 「相邻代码顺手一起清理」 | 回到 active plan\u002Ftask 与实际 changed set；非必要 debt 进入既有 residual\u002Fdefer sink。 |\n| 「临时文件或 orphan 留着不影响」 | 清理本次 run 造成的 orphaned source、test、reference、log 或 runtime artifact，并复跑对应 feedback loop。 |\n\n这是注意力提醒,不是 gate,也不替代 LLM 判断;最终是否停下、如何处理仍由你按当前证据决定。\n\n### Phase 2: Execute\n\n1. **Task Execution Loop**\n\n   Execute one dependency-ready unit\u002Ftask at a time, or one bounded disjoint wave when dispatch\u002Fisolation facts allow it:\n\n   1. Recheck task-pack\u002Fsource-plan pins and `stop_if` when applicable; drift or stop conditions halt this task and dependents before mutation.\n   2. Capture pre-task dirty\u002Funtracked\u002Ffile facts, read the active unit packet and current source, and verify whether the work already exists before reimplementing.\n   3. For behavior-bearing work, apply [Feedback and tests](references\u002Ffeedback-and-tests.md): establish the smallest loop, choose proof\u002Fcharacterization\u002Freplacement evidence, and keep the slice vertical.\n   4. Before durable-surface mutation, apply [Implementation quality](references\u002Fimplementation-quality.md): inventory current owners, recheck `reuse \u002F extend \u002F compose \u002F new`, and stop back on unapproved architecture\u002Fscope.\n   5. Implement only the current slice in canonical source, update the correct existing\u002Fnew tests, rerun the same loop, then run applicable system-wide\u002Fintegration checks.\n   6. Inspect the actual changed tree against declared scope; record behavior\u002Ftest\u002Fred-or-characterization\u002Fcommand\u002Fresult\u002Fexception evidence. Do not reconstruct worker-only pre-implementation observations from the diff.\n   7. For task packs, compute attributed task delta facts and close any `review_gate: required` with bounded `spec-code-review mode:agent` before dependent waves. Caller-owned fixes rerun affected verification; at most one follow-up review is allowed. Blocking\u002Fdegraded round two stops; non-blocking P2\u002FP3 remains run-local residual work.\n   8. Mark complete only after scope, evidence, required review, and blockers close. Record a logical commit candidate; create it only with `commit_authorization: authorized`.\n\n   Execution notes are intent, not enums. Proof-first requires observing the expected failure before production change; characterization records existing behavior without declaring it correct. Trivial rename\u002Fconfig\u002Fstyle\u002Fgenerated\u002Fmanual-only work may use an explicit replacement check. Never add duplicate tests merely to demonstrate ceremony, over-implement beyond the active slice, or claim coverage for a check that did not run.\n2. **Commit Checkpoint**\n\n   Follow `references\u002Fexecution-strategy.md` § Commit Authorization. Local implementation and green tests do not authorize a commit. Workers never commit. Without explicit commit authorization, keep verified changes uncommitted and report coherent commit candidates; with authorization, the orchestrator stages only run-owned files and commits only a verified logical unit.\n\n3. **Follow Existing Patterns**\n\n   - The plan should reference similar code - read those files first\n   - Match naming conventions exactly\n   - Reuse existing components where possible\n   - Follow the project's coding standards already in your context\n   - When in doubt, grep for similar implementations\n\n4. **Test Continuously**\n\n   - Run relevant tests after each significant change\n   - Don't wait until the end to test\n   - Fix failures immediately\n   - Add new tests for new behavior, update tests for changed behavior, remove tests for deleted behavior\n   - **Unit tests with mocks prove logic in isolation. Integration tests with real objects prove the layers work together.** If your change touches callbacks, middleware, or error handling — you need both.\n\n5. **Simplify as You Go**\n\n   At a behavior-cluster\u002Fdependency-wave boundary, read `references\u002Fimplementation-quality.md` § Simplification At Phase Boundaries. Classify findings as `remove-now`, `minimality-debt`, `protected`, or `architecture-mismatch`; do not default to extract-helper, delete security\u002Fdata-integrity\u002Fa11y\u002Fobservability\u002Frequired-verification code for lower LOC, or widen scope to pay unrelated debt.\n\n   If **`spec-simplify-code`** is available, invoke it at phase boundaries (especially before Phase 3 when the diff is >=30 lines) with the same classification and protected-surface constraints. Otherwise, perform the bounded pass inline. Rerun the same feedback loop for every `remove-now` or authorized architecture correction.\n\n6. **Figma Design Sync** (if applicable)\n\n   For UI work with Figma designs:\n\n   - Implement components following design specs\n   - Read `references\u002Fagents\u002Ffigma-design-sync.md` and dispatch a generic subagent seeded with that local prompt to compare implementation against the Figma design. Do not dispatch a standalone agent by type\u002Fname.\n   - Fix visual differences identified\n   - Repeat until implementation matches design\n\n7. **Frontend Design Guidance** (if applicable)\n\n   For UI tasks without a Figma design -- where the implementation touches view, template, component, layout, or page files, creates user-visible routes, or the plan contains explicit UI\u002Ffrontend\u002Fdesign language:\n\n   - Apply the frontend guidance embedded in this skill and the active repo instructions: preserve existing design-system conventions, use real UI controls and states, keep layouts responsive, and verify text does not overflow or overlap.\n   - When browser tooling is available, inspect the changed UI at desktop and mobile widths before final validation. If no browser access is available, do a code-level responsive\u002Flayout review and record that browser verification was unavailable.\n   - Phase 4's screenshot capture still applies when the change is user-visible.\n\n8. **Track Progress**\n   - Keep the task list updated as you complete tasks\n   - Note any blockers or unexpected discoveries\n   - Do not create replacement tasks when scope expands; for task-pack input honor `stop_if` and return to `spec-write-tasks`\u002F`spec-plan`, and for direct-plan input return to the plan owner when acceptance, architecture, ownership, or verification scope changes\n   - Keep user informed of major milestones\n   - When the plan defines U-IDs for Implementation Units, or the plan or origin document carries stable R-IDs (and optionally A\u002FF\u002FAE IDs), reference them in blockers, deferred-work notes, task summaries, and final verification — not routine status updates. U-IDs anchor units across plan edits; R\u002FA\u002FF\u002FAE anchor product intent across the brainstorm-plan handoff. Use the IDs the plan supplies and do not invent ones it does not. This preserves traceability without burying signal under noise.\n\n### Phase 3-4: Quality Check and Finishing Work\n\nWhen all Phase 2 tasks are complete and execution transitions to quality check, you must read `references\u002Fshipping-workflow.md` for the full shipping workflow. Do not skip this.\n\n**Code review: one portable path.** Review with `spec-code-review`, which self-sizes (lite roster for small low-risk code-only diffs, full roster otherwise). No harness-native review detection and no escalation tiers — the size\u002Fsensitive-surface judgment lives inside `spec-code-review`. Skip dedicated review only for a purely mechanical diff (formatting, dep-bumps, lint-only, generated). Full rules (autonomous Residual Gate, infra fallback) in `shipping-workflow.md`.\n\n**Review is two steps — review, then fix.** spec-work's `mode:agent` invocation is report-only: it returns JSON findings and does not edit the checkout, commit, or apply fixes. This statement is scoped to the orchestrated invocation below; other explicit `spec-code-review` entry modes retain their own contract.\n\n1. **Review** — Invoke the `spec-code-review` skill (invocation command in `references\u002Freview-findings-followup.md` § Fallback). Use `mode:agent` in orchestrated workflows; pass `plan:\u003Cpath>` when you have a plan, `base:\u003Cref>` when the merge base is known, and `depth:full` when a deep\u002Fthorough review was explicitly requested.\n2. **Apply fixes** — Load `references\u002Freview-findings-followup.md`. Filter eligibility on JSON only and batch by file. Use authorized fix workers or inline fallback; the orchestrator integrates and tests. Commit only with `commit_authorization: authorized`.\n3. **Residual Work Gate** — Only after followup; unresolved actionable findings go through the gate in `shipping-workflow.md` (autonomous sessions auto-accept + record residuals; interactive sessions ask).\n\n## Return-to-Caller Mode\n\n`mode:return-to-caller \u003Cplan-path>` (legacy alias: `mode:caller-owned-tail`) is\nreserved for orchestrators such as `lfg` that own simplification, code review,\nPR creation, and CI watching after implementation. In this mode `spec-work`\nperforms implementation and local verification only, then returns a structured\nsummary instead of running the standalone shipping tail.\n\nReturn:\n\n- `status`: `complete`, `blocked`, or `failed`\n- `plan_path`: direct plan path, or the validated task pack's authoritative `source_plan`\n- `task_pack_path` and pinned `task_pack_digest` when task-pack intake was used; otherwise `null`\n- `changed_files`\n- `u_ids_attempted`\n- `u_ids_completed`\n- `task_ids_attempted` and `task_ids_completed` when Task Cards drove execution\n- `verification_results`\n- `verification_evidence`: one entry per attempted behavior-bearing unit, plus any non-behavioral unit where tests were intentionally skipped. Each entry states the unit\u002Ftask, `behavior_changed`, `existing_tests_inspected`, `tests_added_or_changed`, tests used unchanged, red failure or characterization observed when applicable, verification commands\u002Fresults, and any exception reason. For units executed by subagents, this entry is assembled from each worker's returned evidence (Phase 1 Step 4), not reconstructed from the diff — the red-before-implementation observation exists only in the worker's report.\n- `verification_run_summary_ref`: repo-relative `verification-run-summary.v1` ref produced from the commands this work run actually executed, or `null` with an explicit limitation when no structured summary could be written\n- `verified_worktree_fingerprint`: the complete `spec-work-working-tree-fingerprint\u002Fv1` object produced by `scripts\u002Fworking-tree-fingerprint.cjs` (resolved from this skill's own `SKILL_DIR`) after this invocation's final required verification and immediately before return. It covers HEAD, tracked\u002Fstaged\u002Funstaged diff, untracked paths, and untracked bytes. A behavior-bearing `status: complete` return requires it; non-behavior returns still include it whenever the helper can run, so callers can apply freshness gates uniformly, and may omit it only together with the documented deliberate non-behavior exception. If the helper cannot run (missing runtime asset, no git, no Node), record a `fingerprint-helper-unavailable` blocker naming the concrete cause — never fabricate the object or omit it silently.\n- `honest_closeout_verdict`: `verified`, `degraded`, or `unsupported`, together with the validator `overall_reason_code`\n- `run_artifact_path`: repo-relative `spec-work-run-artifact\u002Fv2` path when a durable trigger wrote one; otherwise `null`\n- `run_artifact_reason_code`: the matched durable trigger, `no-trigger-matched`, or the producer's concrete `not-written` reason\n- `claim_limitations`: structured limitations for not-run checks, unsupported claim refs, review-evidence materialization failure, provider-bounded evidence, or other claim ceilings\n- `blockers`\n- `behavior_change`: whether behavior-bearing code changed\n- `commit_authorization: missing` and `landing_authorization: missing` for this mode; Return-to-Caller does not consume either exit\n- `plan_status_completion_candidate`: the repo-relative direct `docs\u002Fplans\u002F*.md` source plan that the caller may complete after its own shipping gates, or `null` when lifecycle mutation is not applicable\n- `plan_status_completion_degraded_reason`: `null` when a candidate is present; otherwise one of `html-plan-lifecycle-degraded`, `legacy-plan-lifecycle-degraded`, `read-compatible-status-unmanaged`, or `source-plan-path-lifecycle-degraded`. Duplicate, malformed, or invalid lifecycle metadata is a blocker, not a degraded result.\n- `standalone_shipping_skipped: true`\n\nReturn `status: complete` only when every in-scope unit\u002Ftask is accounted for and completed, task-pack pins still match when applicable, every required task review is closed, `blockers` is empty, and every required verification result is passed or explicitly not applicable with a reason. Behavior-bearing work also requires the verification evidence and `verified_worktree_fingerprint` above or a deliberate non-behavior exception. Failed, degraded, not-run, vague, stale, or missing required verification\u002Freview cannot return complete.\n\nIf a previous return-to-caller run implemented code but omitted evidence, or the caller re-enters after caller-owned simplification\u002Freview fixes, the later same-plan invocation must use the idempotency path instead of reimplementing. Re-read the current plan and tree, rerun the complete applicable Verification Contract against the current working tree, create a fresh verification-run-summary ref for commands executed by this invocation, and capture a new `verified_worktree_fingerprint` only after those checks finish. Never reuse the earlier run summary or fingerprint as final-tree evidence.\n\n`standalone_shipping_skipped: true` 只表示 caller owns simplify、full review、plan lifecycle 与 landing tail；它不跳过本次 work 已执行命令的 structured closeout。按照 `references\u002Fshipping-workflow.md` 的 Step 5.1 记录 run summary、校验 honest closeout，并按 durable trigger 返回 run artifact path\u002Freason。不得把 plan 中列出的候选命令、worker 的自然语言“tests pass”或 session-temp review path 当成这些字段的 confirmed evidence。\n\nEngine selection (`references\u002Fexecution-engines.md`) still applies in this mode,\nbut only for implementation. In return-to-caller mode do not emit a copyable\ngoal\u002Fworkflow prompt — a manual paste step strands the caller; run\ninline\u002Fauthorized workers or return a blocker instead. Any goal\u002Fworkflow engine used here\nmust not commit, push, open a PR, run the owner workflow tail, or bypass the caller-owned\ngates. Return-to-Caller never invokes `plan-status complete`; it returns only the\ncompletion candidate, and the caller owns the eventual shipping closeout.\n\n## Compact Principles And Pitfalls\n\n- Execute settled scope from current source; ask once only when repo\u002Fdocs cannot resolve a material ambiguity.\n- Reuse the correct owner and keep slices observable. Do not trade evidence, safety, accessibility, observability, or required verification for speed or lower LOC.\n- Track actual task\u002Funit evidence and blockers; commits and plan status are not progress proof.\n- Finish every in-scope unit and required review\u002Fverification before a completion claim. Keep failed\u002Fnot-run\u002Fdegraded limitations explicit.\n- Do not widen work into adjacent cleanup, imagined future abstractions, human-time “session phases,” or a new private decomposition. Return scope-changing discoveries to the plan\u002Ftask owner.\n- Review every non-mechanical diff through the portable review path or record the honest unavailable\u002Fmanual fallback. Commit and landing remain separately authorized.\n",{"name":5,"description":7,"argument-hint":44},"[Plan doc path or description of work. Blank to auto use latest plan doc]","master","74655dc86b1270bb52239e0f8bc9517de7a7071c","skills\u002Fspec-work",13,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first","http:\u002F\u002Fspec-first.cn\u002F","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai","作为一个初学者或者进阶者，这并没有什么错。当一个有能力的程序员而不是领导者，这也没有什么错。真正的错误是，当你知道应该如何去提高时仍然选择做一名初学者。","2026-11-13 19:40:36",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add leo-kuang-ai\u002Fspec-first --skill spec-work",{"tool":60,"command":61},"bunx","bunx skills add leo-kuang-ai\u002Fspec-first --skill spec-work",{"tool":63,"command":64},"pnpm","pnpm dlx skills add leo-kuang-ai\u002Fspec-first --skill spec-work","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002FSKILL.md",true,[68,74,78,82,86,90,94,98,102,106,110,114,118,124,128,131,134,137,141,144,147,151,155,158,161,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Feval.yaml","REFERENCE","参考文档",645,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Feval.yaml",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fexamples.json",10522,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fexamples.json",{"path":79,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fskillup\u002Fcases\u002Fdrifted-pack-rejects.yaml",683,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Fcases\u002Fdrifted-pack-rejects.yaml",{"path":83,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fskillup\u002Fcases\u002Fnon-active-rejects.yaml",737,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Fcases\u002Fnon-active-rejects.yaml",{"path":87,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fskillup\u002Fcases\u002Fopen-ended-routes-debug.yaml",664,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Fcases\u002Fopen-ended-routes-debug.yaml",{"path":91,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Fskillup\u002Fcases\u002Fr2-open-ended-500.yaml",648,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Fcases\u002Fr2-open-ended-500.yaml",{"path":95,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fskillup\u002Fcases\u002Fr2-reverse-mismatch.yaml",903,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Fcases\u002Fr2-reverse-mismatch.yaml",{"path":99,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fskillup\u002Fcases\u002Frequirements-only-stops.yaml",802,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Fcases\u002Frequirements-only-stops.yaml",{"path":103,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fskillup\u002Fcases\u002Ftrivial-bare-prompt-executes.yaml",717,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Fcases\u002Ftrivial-bare-prompt-executes.yaml",{"path":107,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdone-plan\u002Fdocs\u002Fplans\u002F2026-09-01-001-feat-month-filter-plan.md",317,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdone-plan\u002Fdocs\u002Fplans\u002F2026-09-01-001-feat-month-filter-plan.md",{"path":111,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdone-plan\u002Fpackage.json",96,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdone-plan\u002Fpackage.json",{"path":115,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdone-plan\u002FREADME.md",365,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdone-plan\u002FREADME.md",{"path":119,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":122,"sourceHtmlUrl":123},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdone-plan\u002Fsrc\u002Fserver.js","SCRIPT","脚本",665,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdone-plan\u002Fsrc\u002Fserver.js",{"path":125,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":126,"sourceHtmlUrl":127},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdrifted-pack\u002Fdocs\u002Fplans\u002F2026-09-01-001-feat-month-filter-tasks.md",382,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdrifted-pack\u002Fdocs\u002Fplans\u002F2026-09-01-001-feat-month-filter-tasks.md",{"path":129,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":112,"sourceHtmlUrl":130},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdrifted-pack\u002Fpackage.json","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdrifted-pack\u002Fpackage.json",{"path":132,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":116,"sourceHtmlUrl":133},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdrifted-pack\u002FREADME.md","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdrifted-pack\u002FREADME.md",{"path":135,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":122,"sourceHtmlUrl":136},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdrifted-pack\u002Fsrc\u002Fserver.js","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fdrifted-pack\u002Fsrc\u002Fserver.js",{"path":138,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":139,"sourceHtmlUrl":140},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fmini-ledger-guarded2\u002Fdocs\u002Fplans\u002F2026-09-01-001-feat-month-filter-plan.md",355,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fmini-ledger-guarded2\u002Fdocs\u002Fplans\u002F2026-09-01-001-feat-month-filter-plan.md",{"path":142,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":112,"sourceHtmlUrl":143},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fmini-ledger-guarded2\u002Fpackage.json","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fmini-ledger-guarded2\u002Fpackage.json",{"path":145,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":116,"sourceHtmlUrl":146},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fmini-ledger-guarded2\u002FREADME.md","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fmini-ledger-guarded2\u002FREADME.md",{"path":148,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":149,"sourceHtmlUrl":150},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fmini-ledger-guarded2\u002Fsrc\u002Fserver.js",1003,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Fmini-ledger-guarded2\u002Fsrc\u002Fserver.js",{"path":152,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":153,"sourceHtmlUrl":154},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Freqonly-plan\u002Fdocs\u002Fplans\u002F2026-09-01-001-feat-month-filter-plan.md",311,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Freqonly-plan\u002Fdocs\u002Fplans\u002F2026-09-01-001-feat-month-filter-plan.md",{"path":156,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":112,"sourceHtmlUrl":157},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Freqonly-plan\u002Fpackage.json","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Freqonly-plan\u002Fpackage.json",{"path":159,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":116,"sourceHtmlUrl":160},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Freqonly-plan\u002FREADME.md","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Freqonly-plan\u002FREADME.md",{"path":162,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":122,"sourceHtmlUrl":163},"evals\u002Fskillup\u002Ffixtures\u002Frepos\u002Freqonly-plan\u002Fsrc\u002Fserver.js","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Frepos\u002Freqonly-plan\u002Fsrc\u002Fserver.js",{"path":165,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":166,"sourceHtmlUrl":167},"evals\u002Fskillup\u002Ffixtures\u002Fscripts\u002Fasks-a-question.sh",1232,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Fscripts\u002Fasks-a-question.sh",{"path":169,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":170,"sourceHtmlUrl":171},"evals\u002Fskillup\u002Ffixtures\u002Fscripts\u002Fcheck-no-implementation.sh",682,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Fscripts\u002Fcheck-no-implementation.sh",{"path":173,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":174,"sourceHtmlUrl":175},"evals\u002Fskillup\u002Ffixtures\u002Fscripts\u002Fcheck-r2-reverse-mismatch.sh",594,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Fscripts\u002Fcheck-r2-reverse-mismatch.sh",{"path":177,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":178,"sourceHtmlUrl":179},"evals\u002Fskillup\u002Ffixtures\u002Fscripts\u002Fcheck-readme-fixed.sh",466,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fevals\u002Fskillup\u002Ffixtures\u002Fscripts\u002Fcheck-readme-fixed.sh",{"path":181,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":182,"sourceHtmlUrl":183},"references\u002Fagents\u002Ffigma-design-sync.md",9895,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Fagents\u002Ffigma-design-sync.md",{"path":185,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":186,"sourceHtmlUrl":187},"references\u002Fexecution-engines.md",11798,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Fexecution-engines.md",{"path":189,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":190,"sourceHtmlUrl":191},"references\u002Fexecution-strategy.md",18918,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Fexecution-strategy.md",{"path":193,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":194,"sourceHtmlUrl":195},"references\u002Ffeedback-and-tests.md",11779,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Ffeedback-and-tests.md",{"path":197,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":198,"sourceHtmlUrl":199},"references\u002Fimplementation-quality.md",8279,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Fimplementation-quality.md",{"path":201,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":202,"sourceHtmlUrl":203},"references\u002Fnon-code-execution.md",3145,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Fnon-code-execution.md",{"path":205,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":206,"sourceHtmlUrl":207},"references\u002Freview-findings-followup.md",11672,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Freview-findings-followup.md",{"path":209,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":210,"sourceHtmlUrl":211},"references\u002Fshipping-workflow.md",30468,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Fshipping-workflow.md",{"path":213,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":214,"sourceHtmlUrl":215},"references\u002Ftracker-defer.md",15989,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Ftracker-defer.md",{"path":217,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":218,"sourceHtmlUrl":219},"references\u002Fwork-intake-and-task-pack.md",13793,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Freferences\u002Fwork-intake-and-task-pack.md",{"path":221,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":222,"sourceHtmlUrl":223},"scripts\u002Fsource-plan-file-hash.cjs",2120,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fscripts\u002Fsource-plan-file-hash.cjs",{"path":225,"resourceType":120,"resourceTypeDesc":121,"sizeBytes":226,"sourceHtmlUrl":227},"scripts\u002Fworking-tree-fingerprint.cjs",4091,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002Fscripts\u002Fworking-tree-fingerprint.cjs",[229,252,270,282,296,311],{"skillNo":230,"name":231,"nameZh":6,"description":232,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":233,"categories":234,"keywords":235,"publishedAt":39},"01M6CWKQCYJXDCW4MEF3FSJE26","using-spec-first","Standalone entry governor for spec-first. Use before substantial work in a spec-first repo or when the user asks what to run next; choose one public `spec-*` workflow, standalone skill, terminal command, or Direct Lane. Do not use to reroute active public workflows or bounded workers, or for lightweight facts, current-context explanations, narrow lookups, user-supplied single-document cleanup, or clearly scoped low-risk edits.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fusing-spec-first\u002FSKILL.md",[],[21,236,237,238,239,240,19,241,242,243,29,244,245,22,246,247,248,249,250,251],"first","using spec first","workflow","terminal","cleanup","active","next","do","context","command","workflows","choose","direct","risk","lane","run",{"skillNo":253,"name":254,"nameZh":6,"description":255,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":256,"categories":257,"keywords":258,"publishedAt":39},"01M6CWKK43ZJKQXKVJB3BWWPR1","spec-write-tasks","Public workflow entrypoint (spec-write-tasks): compile a settled local spec-plan into an optional derived task pack for spec-work, or validate an existing local task pack before execution. Use for explicit plan-splitting\u002Ftask-doc requests or high-complexity work suitability; do not use for plan authoring, implementation execution, unresolved scope, small low-risk plans, progress\u002Fapproval state, remote\u002Fgeneric task lists, or generated runtime mirror edits. Keep the plan as single source of truth; tasks are derived and optional.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-write-tasks\u002FSKILL.md",[],[21,259,260,261,262,263,24,243,264,29,265,19,33,35,266,249,238,267,268,269],"tasks","write","spec write tasks","complexity","local","plan authoring","generated","compile","validate","state","execution",{"skillNo":271,"name":272,"nameZh":6,"description":273,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":274,"categories":275,"keywords":276,"publishedAt":39},"01M6CWKEK6CVPQW8EMCNSDPHBJ","spec-write-skill","公开 workflow：创建、修改或迁移项目拥有的 Agent Skill package，或对现有\u002F外部 package 做用户明确要求、零执行的只读验证与 readiness 报告时使用；也用于按已接受的 audit finding 修复 source skill。不要用于一次性回答、解释\u002F总结\u002F翻译、普通代码 review、第三方 Skill 纯安装或导入、跨仓批量修改，或直接修补 generated runtime mirrors。","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-write-skill\u002FSKILL.md",[],[277,21,278,260,31,238,279,280,281,265],"spec write skill","write skill","package","audit","翻译",{"skillNo":283,"name":284,"nameZh":6,"description":285,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":286,"categories":287,"keywords":288,"publishedAt":39},"01M6CWKBDEZ7QFF1ZH3DP52SHA","spec-worktree","Internal helper for caller-owned git worktree isolation. Governed callers are spec-dogfood and spec-work; every caller must provide the forward invocation and intake contract.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-worktree\u002FSKILL.md",[],[21,289,290,291,19,292,293,294,295],"worktree","spec worktree","dogfood","git worktree","Bash","intake","git",{"skillNo":297,"name":298,"nameZh":6,"description":299,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":300,"categories":301,"keywords":302,"publishedAt":39},"01M6CWK1MFTSNV9MYD4C8WGB8B","spec-test-xcode","Build and test iOS apps on simulator using XcodeBuildMCP. Use after making iOS code changes, before creating a PR, or when verifying app behavior and checking for crashes on simulator.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-test-xcode\u002FSKILL.md",[],[303,304,21,305,306,29,307,308,309,36,310],"test","spec test xcode","build","default","behavior","ios","code","build and test",{"skillNo":312,"name":313,"nameZh":6,"description":314,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":315,"categories":316,"keywords":317,"publishedAt":39},"01M6CWJXMAXKVRW5MA4E9EJJQW","spec-test-browser","Run browser tests on pages affected by current PR or branch. Use after code changes when browser verification is requested before review or merge. Not for diagnosing failures those runs uncover — route defects to spec-debug.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-test-browser\u002FSKILL.md",[],[21,318,303,319,320,321,37,31,38,29,23,322,323,324,309,251,36],"spec test browser","browser","test browser","merge","branch","pipeline","verification"]