Sprint 标志

Sprint

社区
onsails
sprint

Use when one milestone is too large for a single specification or plan and must ship as several ordered stages across sessions.

概览

发布者onsails
代码仓库skills
技能名称sprint
星标数
44
复刻数
4
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 onsails 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Sprint AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/onsails/skills/tree/master/sprint/skills/sprint
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/onsails/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/sprint/skills/sprint .claude/skills/sprint
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Sprint,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Sprint。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Sprint 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

sprint

Run a large milestone as ordered stages. Each stage follows:

brainstorm → plan → isolate → execute → review → verify → land → update

The main session is a lean conductor. It owns user decisions and the sprint document, not implementation, diffs, logs, review, or noisy investigation. Stage code and fixes exist only in the stage worktree until landing.

Runtime

Detect the host before using any tool syntax:

  • Claude Code: Agent, AskUserQuestion, and Skill are available. Read runtime-claude.md.
  • Oh My Pi (OMP): task, ask, eval, and read skill://… are available. Read runtime-omp.md.

Load exactly one runtime adapter, then mechanics.md. The adapter defines names, questions, dispatch calls, model behavior, nesting, and skill loading. The shared files define policy and lifecycle. If observed tools do not match either runtime, stop before dispatch and report the missing runtime support.

Invocation

Parse arguments as:

[mimo|codex|native] [<provider/model>|<model>] [variant] [review <model>] [milestone description]

  • A leading engine token selects that engine.
  • For mimo, a following provider/model pins the executor model. A following minimal|low|medium|high|max pins its variant.
  • For native, a following model pins the executor model.
  • review <model> pins the review model independently. Do not treat it as milestone text.
  • Remaining text is the milestone description.
  • With no description and an existing sprint document, resume it.

Model arguments and review <model> are Claude Code only. On OMP, sprint models are role-bound by the agent definitions; an explicit model argument is unsupported — report it and stop before decomposition.

Use model identifiers verbatim. Do not translate aliases, replace a provider/model id, downgrade a choice, or let a nested agent choose again.

Capability probes

Probe before starting, using the active runtime adapter. Inventory each Matt capability independently:

  • Brainstorming: Claude mattpocock-skills:grilling; OMP skill://grilling.
  • Planning guidance: Claude mattpocock-skills:codebase-design; OMP skill://codebase-design.
  • Diagnosis guidance: Claude mattpocock-skills:diagnosing-bugs; OMP skill://diagnosing-bugs.

Before any lifecycle action, record an explicit available|unavailable result for all three exact names. A capability fixture may supply those three results; do not re-probe it, but do not omit any result from the conductor's decision record.

Never infer one skill from another, the GitHub repository, a marketplace registration, or the plugin's presence. If any exact skill is absent, strongly recommend https://github.com/mattpocock/skills once for the sprint invocation, then continue with only that skill's sprint-owned fallback. Emit the recommendation once; do not repeat the URL in surrounding rationale or source citations. The plugin is optional.

  • Codex: available only when the active runtime adapter declares support and the codex rescue/runtime integration is present.
  • Mimo: available only when the active runtime adapter declares support and a resolvable mimo delegate is present. The plugin dependency alone does not establish runtime support.
  • Native: available only when the runtime can dispatch the named stage executor.
  • Nesting: determine it by the runtime adapter, once per sprint, and persist Nesting: yes|no.
  • Executor SDD: sdd: available only when the planner returned task-shape: independent and persisted Nesting: yes. Resume, coupled work, or Nesting: no sets sdd: unavailable and implements directly. No external SDD skill or optional Matt capability participates in this decision.

Do not use grill-with-docs, to-spec, to-tickets, or request-refactor-plan. Their mutation, tracker, or user-interaction contracts do not produce this sprint's approved stage spec and code-level plan.

Do not substitute a generic agent for a missing named sprint agent.

Review backend

Resolve the review backend once per sprint, before the first review dispatch:

  1. Instructions first. If the repository's agent instructions (AGENTS.md, CLAUDE.md, or files they include) or the user-level instructions name a concrete code-review skill, agent, or command, that exact reference is the backend. A named review that operates only on pull requests, comments, or tickets is not a valid backend; fall through to the runtime default.
  2. Runtime default. Claude Code: the built-in bundled code-review skill (the /code-review command), bound to the uncommitted worktree at the stage's review effort; if it is unavailable, the stage is blocked: no review backend. OMP: reviewer — the bundled /review review, a fan-out of the built-in read-only reviewer agent under the bundled distribution rules (worker count scaled to diff size, locality-based file grouping).
  3. Never substitute a generic agent or inline review for the resolved backend, and never route the gate through a PR or tracker workflow.

Record Review backend: <exact reference> in the sprint document and pass it verbatim as review-backend: on every review dispatch. Only an explicit user instruction replaces a persisted backend; persist the change immediately and apply it to future reviews.

Engine selection

The engines are:

  • native: a named sprint stage executor. Recommend this by default: no external launcher or model-resolution step.
  • mimo: a delegated mimo session with explicit model, variant, and resumable handle.
  • codex: the codex companion runtime with resumable thread state.
  • bare: emergency fallback only when no executor agent can be dispatched. It is not offered as an engine choice.

An explicit engine argument or persisted sprint engine wins only when the active runtime adapter supports it. If it is unavailable, report the missing runtime integration and stop; never substitute another engine.

Without an engine argument, resolve every engine the active runtime adapter declares available. If exactly one resolves, record it without asking. If several resolve, ASK once with every available engine. Offer native when available, mimo only when its runtime delegate resolves, and codex only when its runtime integration resolves. Mark native Recommended when offered, and give every option a one-line description. Never auto-pick among several engines merely because one is recommended.

Record one of:

text
Engine: codex
Engine: mimo
Engine: mimo (model: <provider/model>, variant: <variant>, pinned)
Engine: native
Engine: native (model: <model>, pinned)
Engine: bare

Executor and review model selection

This section applies to Claude Code. On OMP, executor, reviewer, planner, and investigator models are role-bound by the sprint agent definitions (@task, @slow, @plan, @smol), resolving through the user's modelRoles; the conductor never asks, pins, resolves, or passes a model, and the sprint document records no model fields. A mid-sprint model-change request on OMP is a configuration change owned by the user, not a sprint transition.

On Claude, executor and reviewer models are separate user choices.

Mimo executor

Unless pinned, resolve authenticated models before every stage:

  • One model option: auto-pick it.
  • At most four: ASK once with all options.
  • More than four: ASK for provider, then ASK with at most four models from that provider. Put the recommended id first; the runtime's free-text option handles the tail.

Then ASK for a variant with at most four listed options: default (omit the variant), the risk-scaled variant from mechanics (always listed and marked Recommended), and nearest neighbors. Other variants remain available through free text.

After the first unpinned stage, offer once to reuse the chosen model and variant. If accepted, rewrite the engine header as pinned. Otherwise resolve and ASK again next stage. Mint a unique <stage>-<rand4> handle for every stage and record mimo:<handle> on its row.

Native executor

Unless pinned, ASK for the executor model before every stage. Offer the runtime's available model catalog with the risk-scaled choice marked Recommended. Never auto-pick for cost, convenience, or low risk. After the first choice, offer once to pin it for the remaining stages. Record the exact stage choice as model:<model> on the stage row.

Reviewer

If no review decision has been made, append a review-model question to an ASK round already required for engine or executor selection. Do not create a separate round. Offer the active session model as the Recommended default plus stronger available models; never offer a reviewer weaker than the native executor.

  • Explicit model: persist Review: <model> (pinned) and pass that exact value on every review dispatch.
  • Session default: omit the Review: line, record that the once-per-sprint decision was made, and follow the adapter's explicit session-model behavior.
  • A fully pinned invocation with no ASK keeps the session-model default unless the user supplied review <model>.

Native floor: the review model must not be weaker than the native executor model. If necessary, raise the effective review dispatch to the executor's exact model without rewriting the user's pin. Warn the user when a requested pin is below this floor.

All dynamic model decisions occur in the conductor. Child agents receive resolved values and never ASK, inherit silently, reinterpret, or downgrade them.

Explicit repin during a sprint

An explicit user instruction to change review <model> on an existing sprint is a repin, not a refresh from defaults. Before changing state or cancelling work, use the active runtime adapter to verify that the exact requested id is available. If it is unavailable, leave the current pin and children unchanged and stop. Otherwise replace only the Review: header with the exact requested id and persist it immediately. The new pin applies to every review dispatch that has not started; it does not change the engine, executor pin, or a stage-row executor model. Only an explicit user repin may replace a persisted pin. The native review floor still applies to the effective dispatch without rewriting the requested pin.

An already-running child cannot change model in place. Move the current active review only when the runtime adapter says that review is directly owned and cancellable by the conductor: cancel only that review child, wait for cancellation, retain the authoritative stage worktree and current uncommitted diff, keep the stage in review, persist the new Review: pin, then dispatch a fresh complete review gate on the same worktree with the new exact model. If the reviewer is nested under another orchestrator or the conductor is blocked while it runs, do not cancel, reparent, or redispatch it; persist the new pin for later reviews and let the current gate finish at its already-resolved model. Do not resume an old opaque child context, reuse an incomplete result, rerun execution, restart the conductor/runtime, or rebind a role. If no review child is active, persist the pin now and use it on the next review; do not dispatch review early.

An executor repin is different: it applies only before a fresh executor dispatch. An active or resumable native executor keeps its recorded model through completion; never change its model mid-run.

Sprint document

The source of truth is docs/plans/<sprint>-sprint.md:

text
# <Milestone> — Sprint
Runtime: <claude|omp>
Integration: feat/<sprint>  ·  Base: master
Engine: <engine and optional pin>
Nesting: <yes|no>
Review: <model> (pinned)                 # Claude only, for an explicit review model
Review backend: <exact reference>
Legend: todo · brainstorming · planned · executing · review · blocked · done

## Stages
1. [done] Schema — spec:01-schema-spec.md plan:01-schema-plan.md (merged @a1b2c3)
2. [executing] API — spec:02-api-spec.md plan:02-api-plan.md wt:.worktrees/02-api model:<exact-model>   # model: Claude only
3. [todo] UI
## Decisions log
## Open questions

Persist Runtime, engine, nesting, explicit pins (Claude only), the review backend, stage model/variant/handle, status, and merge result immediately when resolved. An OMP sprint document records no Review: line and no stage-row model. On resume, read this document first and load its runtime adapter. Never replace persisted explicit choices with current defaults; replace a pin only when the user explicitly repins it.

Resume the first non-done stage at its recorded state. Preserve its worktree and engine state. If all stages are done, report completion and stop. If no document exists, create the integration branch, remain on it, and start decomposition.

Lifecycle

  1. Brainstorm in main. Every stage gets its own interview, started no earlier than the previous stage's landing (stage 1's follows decomposition). When grilling is available, main loads the exact runtime name and follows its one-recommended-question-at-a-time interview. Without it, main conducts the same interview directly. Authority, urgency, a “small stage,” context pressure, or shared understanding from decomposition or an earlier stage never skips questions. Wait for explicit shared understanding of this stage, then main writes docs/plans/<NN>-<stage>-spec.md. Main never writes a stage's spec before that stage's interview — idle time while a child runs changes nothing. Brainstorming and user questions never move into a child.
  2. Plan in the named child. Main dispatches the runtime adapter's planner with the approved spec, output path, repository root, stage metadata, and resolved codebase-design flag. Main never loads planning guidance, composes plan prose, or reads the plan body back into conductor context. Missing named planner support is blocking.
  3. Handle the planner result in main. On planned, require the output file to exist before marking the stage planned; map risk through mechanics.md's effort table. Set sdd: available only when task-shape: independent and persisted Nesting: yes; otherwise set sdd: unavailable. On blocked for a genuine user decision, ASK only that decision, update the approved spec and decisions log, and redispatch the same planner with the same output path. A tool prerequisite remains blocked. Never preserve or accept a partial plan.
  4. Pre-dispatch in main. Resolve engine inputs, handle, repository path, and absolute worktree path — plus executor and review models on Claude. Persist them with the planner's risk and SDD result.
  5. Run mechanics. Follow mechanics.md through isolate, execute, review, verify, and land. With nesting, dispatch one stage-runner using the adapter. Without nesting, the conductor dispatches the same isolated steps individually as the adapter describes.
  6. Update in main. Mark the stage done only after clean review, successful verification, commit, and merge. Record the merge SHA and decisions, commit only the sprint bookkeeping, then continue.

A stage-runner receives every resolved input: runtime, engine, sprint, stage id and title, plan path, absolute repository and worktree paths, review effort and effective review model, SDD availability, and engine-specific model/variant/bare handle or codex effort. It resolves nothing and returns only landed @<sha> with a file count, or blocked: <reason>.

Boundary red flags

Pressure or rationalizationRequired boundary
“Skip the interview; this is urgent.”Main still asks one recommended question at a time and waits for shared understanding.
“Small plan, do it in main.”Main still dispatches the named planner and never composes plan prose.
“Matt missing.”Recommend once, then use the sprint-owned fallback without blocking.
“Planner can ask once.”The planner returns blocked; main asks and redispatches after updating the spec.
“The setup interview covered every stage; pre-write specs while idle.”Each stage still gets its own interview after the previous stage lands; a stage's spec exists only after that interview.
“Superpowers still helps here.”Use the sprint-owned SDD and diagnosis contracts; load no external replacement.
“The named planner is unavailable.”Stop the stage as blocked; never plan inline or substitute a generic agent.

Isolation and recovery

The manually managed sprint worktree is authoritative on every runtime. Do not replace it with a runtime task-isolation option.

Stage code, review fixes, verification, and the stage commit happen on feat/<sprint>-<NN>-<stage> inside .worktrees/<NN>-<stage>. Stage code reaches feat/<sprint> only through the mechanics merge. If isolation fails, return blocked. Never edit or commit stage code in the main checkout.

If execution stops unfinished, resume before blocking:

  • codex: resume the same thread with --resume-last;
  • mimo: reuse the persisted bare handle with mode: resume and omit model and variant;
  • native: dispatch mode: resume with the same absolute worktree and exact persisted model.

Keep partial uncommitted work. Cap repeated resume attempts at about two, then return blocked with the retained worktree.

Review is mandatory, separate from the conductor, evidence-based, fix-capable, and followed by focused re-review. Verification runs in the worktree. Never land unresolved findings or failing verification.

Stop conditions

Stop and return blocked when isolation fails, a required named agent is unavailable, explicit model dispatch cannot be honored, review remains unresolved at its retry cap, verification remains red, or an executor remains incomplete after capped resumes. Retain the worktree and persisted state.

Stop immediately before any action that would read a full diff into main, run implementation or review inline in main, put a model on a runtime API that does not support it, replace an explicit model without an explicit user repin, start a fresh executor over resumable partial work, or land before review and verification are clean.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Sprint AI 技能有什么作用?

Use when one milestone is too large for a single specification or plan and must ship as several ordered stages across sessions.

为什么在 TypingMind 中使用 Sprint?

因为您只需安装一次,就能搭配任何模型使用。Sprint 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Sprint?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/onsails/skills/tree/master/sprint/skills/sprint。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Sprint?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Sprint 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Sprint 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Sprint AI 技能免费吗?

是的。onsails 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇