New Feature 标志

New Feature

社区
dan-the-dev
new-feature

Slice a whole capability into ordered releasable increments (increment backlog in increments/<stem>.md). Delegate each slice to skills/new-increment, review via skills/increment-review — do not implement slices or review them yourself. Confirms the plan before executing (wait in step mode, ~2min pause in automatic). Default step mode stops after each increment for feedback; automatic mode (explicit opt-in) continues until the backlog is done, then can open the feature PR from the increments' mini-journals. Use for an entire feature or epic (e.g. full FizzBuzz), not for implementing one increment.

概览

发布者dan-the-dev
代码仓库xp-developer-skills
技能名称new-feature
星标数
33
复刻数
1
附带文件
5
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 5 个附带文件

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

  • 开源

    由 dan-the-dev 发布于 GitHub。请在安装前查看技能的源文件。

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dan-the-dev/xp-developer-skills.git /tmp/xp-developer-skills
mkdir -p .claude/skills
cp -r /tmp/xp-developer-skills/skills/new-feature .claude/skills/new-feature
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

New feature (increment planning + orchestration)

Mission

Plan a whole feature as ordered, releasable increments. Do not implement slices in this skill — each open line is delivered by skills/new-increment (or the new-increment subagent) in a separate invocation.

First step: create increments/<feature-stem>.md (see references/increment-backlog.md).

Feature complete when every in-scope increment is [x] on that backlog — each line completed via new-increment, not by implementing in this session.


Orchestration modes

ModeActivationAfter each increment
Step (default)Assumed unless the user explicitly opts into automaticincrement-review runs once → stop, present the verdict + next open line, wait for the user (including whether to dispatch a changes-requested fix)
AutomaticExplicit only — e.g. “modalità automatica”, “automatic mode”, “implement the whole feature”, “run until the backlog is done”increment-review runs once → approved: continue immediately, no user action. changes-requested: dispatch refactoring with the review's brief automatically, commit, continue. bug-found: always stop for the user regardless of mode — a correctness bug is not an automatic-refactor fix. If no open [ ] remain, go to the PR step.

Invariants (both modes):

  1. new-increment always implements one line, runs full verification (all green), commits (squashed to one) on the feature branch, returns a mini-journal, and stops. It never starts the next backlog line or merges to main between increments.
  2. This skill decides whether to continue or pause — only continues in automatic mode, and only on an approved or resolved changes-requested verdict.
  3. After every successful increment, run skills/increment-review (not refactoring directly) before stopping or continuing — it is a single fast pass, not a variable-depth review.
  4. A bug-found verdict always stops, in both modes — it needs bugfix, not an automatic refactor.

Also confirm the plan itself before any increment starts (see below), and offer to open the PR once the backlog is done (see below).

If the user does not name automatic mode, stay in step.


Workflow

Shared delivery rules: docs/delivery-process.md (orchestration — §1, §1a feature branch, §10).

  1. Clarify capability and whole-feature definition of done.
  2. Resolve orchestration mode (step vs automatic) from the user request; state it in the return payload.
  3. If feasibility unknown → skills/spike on spike/… branch; promote before slicing.
  4. Write ordered increment lines in increments/<stem>.md (all [ ] initially). Optionally note expected test layers per line (see test-strategy-selection.md §2) — e.g. “mutation likely”, “ATDD at API”, “property-based”.
  5. Ensure a single feature branch exists and is the working branch: feat/<feature-stem> (create from the default base if missing). Pass this branch name when handing off to new-increment. Do not ask for a new branch per increment or merge to main between increments (§1a) — goal is one PR for the feature.
  6. Confirm the plan (see gate below) before handing off the first increment.
  7. Loop (one open line at a time):
    1. Hand off the next open line to new-increment with a minimal prompt (template in references/handoff-prompts.md: stem, exact line text, branch, backlog path — nothing it can already read itself). Do not implement it here.
    2. Wait for return payload: backlog [x], verification all green, single squashed commit, and the mini-journal (recap + review-focus).
    3. Hand off to skills/increment-review with a minimal prompt: stem, increment slug, commit SHA, and the mini-journal verbatim (template in references/handoff-prompts.md).
    4. Record the increment's mini-journal (you need it for the PR later — see below).
    5. Act on the verdict per the orchestration modes table above.
    6. If step mode → stop after presenting the verdict + next open line; wait for the user.
    7. If automatic mode and open [ ] remain → go to step 7.1.
    8. If automatic mode and all [x] → go to the PR step below.

Optional: create test-lists/<feature-stem>.md with empty ## <increment-slug> headings as a skeleton — no behavior lines or [x] until new-increment runs.

See examples/fizzbuzz-increments.md.


Plan confirmation gate (after the backlog, before the first increment)

Once increments/<feature-stem>.md is written, present it in full and ask "is this plan correct?" — never cascade straight from "here is the plan" into the first new-increment handoff in the same turn.

ModeGate
Step (manual)Stop and wait. Do not hand off the first increment until the user explicitly confirms the plan (or an edited version of it).
AutomaticState you will start the first increment in about 2 minutes unless the user redirects, then actually hold that pause — use the host tool's timed-wait/schedule primitive if one is available; otherwise end your turn after presenting the plan so the user has a real chance to reply before you act. If ~2 minutes pass (or, absent a timer, the user's next message doesn't redirect you) with no objection, proceed automatically with the first new-increment handoff. Any user message that arrives first overrides the timer — address it before proceeding.

This gate applies once, right after planning — not before every later increment (step mode already stops after each one; automatic mode's per-increment continuation is governed by the increment-review verdict, not a second timer).


Post-increment review (mandatory when orchestrating)

After each committed increment, invoke skills/increment-review (prefer its subagent) — a fast, single-pass review, not refactoring directly.

  • Scope: only the commits from that increment; the review reads the mini-journal, not a cold diff.
  • Verdict handling: approved → continue (light nits noted, not applied); changes-requested → dispatch refactoring with the review's ready-made brief (automatic: right away; step: ask the user first) and, once it commits the fix, move on without a second review round; bug-found → stop for the user in both modes — point to bugfix, not refactoring.
  • Forbidden: rewrite the feature, expand to future increments, large redesigns, re-reviewing after the fix commit, or dispatching refactoring for a bug-found verdict.

Pending: mark review pending only when the user must run /increment-review manually or the agent is missing until ./scripts/install-cursor.sh and/or ./scripts/install-claude.sh is re-run after pull.

Details: skills/increment-review/SKILL.md.


Opening the feature PR

When every backlog line is [x] (or the user asks to ship a partial slice as its own PR):

  1. Ensure the feature branch is pushed (git push -u origin feat/<stem> if not already tracking a remote).
  2. Draft the title from the backlog's feature title, and the description as one bullet per increment built from that increment's mini-journal recap (not the raw commit list), plus a Test plan section assembled from each increment's verification table, plus a Follow-ups section for any non-blocking review nits that were deferred.
  3. Automatic mode: push and open/update the PR (gh pr create / gh pr edit) without asking.
  4. Step mode: show the drafted title + description and ask for confirmation before pushing or opening/updating the PR.
  5. Never force-push or rewrite branch history "to clean up" for the PR — the stacked per-increment commits are the intended history.

What this skill may edit

AllowedForbidden
increments/<stem>.mdsrc/, test/, tests/
Optional skeleton test-lists/<feature-stem>.md (headings only)acceptance-examples/ (created per increment in new-increment)
Docs clarifying scopeProduction or test code

Orchestration may invoke subagents that edit code; this skill’s own edits stay planning-only.


Composition

NeedSkill / agent
One slice deliveryskills/new-increment / new-increment
Post-increment reviewskills/increment-review / increment-review — fast single pass
Execute a requested fixskills/refactoring / refactoring with the review's brief
Small follow-up tweak after the feature shipsskills/tweak (not this skill — no branch/backlog ceremony)
Untested areaskills/legacy-testing (before or per increment)
Green prepskills/refactoring (dedicated session)
Unknown techskills/spike

This skill does not run ATDD/TDD or mark increments [x] from implementation work.


Anti-patterns

  • One backlog line for the entire feature
  • Implementing code or tests in the new-feature session
  • Marking multiple [ ] → [x] without a new-increment pass each
  • Skipping new-increment (no scoped TDD per slice)
  • Assuming automatic mode without explicit user opt-in
  • Continuing to the next increment in step mode without user go-ahead
  • Skipping increment-review between increments, or calling refactoring directly for the review
  • Continuing automatic on a bug-found verdict instead of stopping for the user
  • Dispatching refactoring to fix a bug-found verdict (wrong hat — that's bugfix)
  • A second review round on the same increment after refactoring applies the brief
  • Asking new-increment to “do the rest of the backlog”
  • Cascading from "here is the plan" straight into the first new-increment handoff without the confirmation gate
  • Padded handoff prompts that restate the subagent's own skill or the whole backlog instead of the minimal template
  • Opening/pushing the PR in step mode without showing the draft and asking first
  • No on-disk increments/ file
  • Creating many per-increment markdown files during planning
  • Per-increment branches / merges — one branch (and ideally one PR) per feature, not per backlog line (delivery-process.md §1a)

See references/anti-patterns.md.


Additional resources

附带文件

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

常见问题

New Feature AI 技能有什么作用?

Slice a whole capability into ordered releasable increments (increment backlog in increments/<stem>.md). Delegate each slice to skills/new-increment, review via skills/increment-review — do not implement slices or review them yourself. Confirms the plan before executing (wait in step mode, ~2min pause in automatic). Default step mode stops after each increment for feedback; automatic mode (explicit opt-in) continues until the backlog is done, then can open the feature PR from the increments' mini-journals. Use for an entire feature or epic (e.g. full FizzBuzz), not for implementing one incr...

为什么在 TypingMind 中使用 New Feature?

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

如何在 TypingMind 中安装 New Feature?

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

哪些 AI 模型可以使用 New Feature?

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

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

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

New Feature AI 技能免费吗?

dan-the-dev 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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