To Slices 标志

To Slices

社区
enemigos
to-slices

Turns the current conversation into a plan file of vertical slices that agents can build in parallel. Use when asked to plan, lay down or write up a plan before code is written.

概览

发布者enemigos
代码仓库skills
技能名称to-slices
星标数
21
复刻数
0
附带文件
仅含指令
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Turn what the conversation already decided into a plan file that a person skims and an agent builds from. Synthesize. Don't interview the user.

A plan says what to build and what was decided. It leaves how to the agent that builds each slice, because building turns up things no plan predicts.

Steps

  1. Gather. Pull the decisions, rules and open questions from the conversation and the issue. Explore the code only far enough to know which layers the change crosses. When the code contradicts a decision, keep the decision and mark it NEEDS CLARIFICATION with what you found. Done when every claim in the plan traces to a source.
  2. Size it. When the change is one slice with an obvious approach, say so and stop. It doesn't need a plan.
  3. Slice the work by the rules in Slices.
  4. Draft into the template below. Only the intro and Slices are in every plan. Rabbit holes, No-gos and Flow stay only when they pass their test in Cut.
  5. Cut. Go through the draft line by line with the tests in Cut and delete what fails. Done when no line fails.
  6. Check the draft against Voice and rewrite every line that breaks a rule. When a humanize skill is loaded, run it on the intro and the rabbit holes, the parts a person reads. It may reword or delete, but it adds nothing, uses no idioms and leaves headings, labels and markers alone. When a skill for writing to agents is loaded, run it on the slices. When neither is loaded, the Cut and Voice rules are the whole check.
  7. Self-review. Fix what fails and check again until all of these hold.
    • No section is there because the template has it.
    • A slice's name, text and checks each say something the other two don't.
    • Every slice ends in a check someone can run or see.
    • Every slice could go to an agent that has read only this file.
    • No slice stops partway through its behavior, like an endpoint whose screen is in another slice.
    • No file paths or code names beyond the exception in Detail.
    • No "TBD", "handle edge cases" or "etc.".
    • Skim test. Reading only the title and the Start with line tells a person what gets built and what to do next.
    • Every sentence has one idea and reads smoothly out loud.
    • No "as mentioned", "see below" or "above". Each slice stands alone.
  8. Save to docs/<topic>-plan.md unless the user names a path, and add its row under "In-flight specs" in docs/README.md. Reply with the path and the slices that can start now.

Template

# <What the user will be able to do>

<Up to 3 short sentences. Say what the feature is, the way you would tell a teammate who hasn't heard of it. Cover who does what and what the user sees. Leave out why it's needed.>

## Slices

Start with: <the slices that have no blocker>.

Take any slice whose blockers are done. Check a box when its check passes. When building proves a decision here wrong, change this file.

<Mermaid flowchart of the slices, one arrow from each blocker to the slice it blocks. Only when the `Blocked by` lines don't make the order plain, like a chain or a diamond.>

### <What works when this slice is done>

Blocked by: <slice names, or "nothing">

<Up to 2 sentences on what the name leaves out. Skip them when the name says it all.>

- [ ] <check someone can run or see>

## Rabbit holes
- <the risk or question>. <the decision that closes it>.

## No-gos
- <what this doesn't do>. <where it lives instead, when it has a home>.

## Flow

<details>
<summary><the path from entry point to outcome></summary>

<Mermaid diagram of the user's path. Only when the change adds or changes one.>

</details>

Linear [<ID>](<url>)

Mark a point that is undecided, or decided too loosely to build from, inline as NEEDS CLARIFICATION (<who>) on the slice or rabbit hole it blocks.

The user is whoever the change is for. For internal work that's a teammate or an operator.

Rabbit holes and No-gos are Shape Up terms. Every rabbit hole names the risk first, so a reader sees why each decision exists. A decision with no risk behind it isn't a rabbit hole. Put it in the slice it shapes.

Flow sits in a collapsed <details> block, because the slices already say what gets built. Keep a blank line after <summary> and before </details>, or GitHub won't render the Mermaid.

Cut

A template invites filling, and a filled section reads as bloat. Never write a bullet to fill a section. Being true, or being in the conversation, doesn't earn a line its place. A section has to pass its own test first, and then each line in it gets this test. Delete it, then ask whether the agent that takes the slice would build something different, or a person skimming would come back with a question. When the answer is no, it stays deleted.

Two kinds of line fail most.

  • Redundant. The title, a slice name or another section already says it. The intro is exempt, because it describes the whole feature in one place.
  • Obvious. The builder would do it unprompted, like regenerating the API contracts, or the reader would assume it. What Slices and Checks ask for is never obvious, so a check that guards reused code stays.

Each optional section has its own test.

  • Rabbit holes stays for a spot where a builder could lose days or build the wrong thing, with the decision that stops it. A fact, a rule or a decision nobody would get wrong isn't one. A plan with none is fine.
  • No-gos stays for an option that was really on the table and turned down, like polling, and for work a builder would be tempted to do on the way. A scope edge listed for completeness isn't one, even when the conversation names it.
  • Flow stays when the change adds or changes a user's path and the slice graph doesn't already show it.

In every list, put first the bullet that would cost the most if it were missed. Cut whole lines. Never shorten a sentence by packing more into it, because a dense sentence is harder to read than a long one.

Slices

A slice is one behavior, built through every layer that behavior touches, like schema, API, web and mobile. Finishing one gives a person something to see or run. Finishing all of them is the feature.

  • Cut by behavior, not by layer. "A client removes an account from its page" is a slice. "Add the endpoint" isn't.
  • Size a slice for one agent in one session.
  • Slices aren't steps. Name each one in a few words for what works when it's done, and leave out numbers. Order comes only from Blocked by, so two slices that don't block each other can be built at the same time.
  • Add a blocker only when the slice can't be built or checked until the other one is done.
  • Slices are built apart, but they don't have to ship apart. When one would do harm live without another, like signing without its refusals, say so in that slice's text.
  • When the conversation settled on a change that clears the way for other slices, like splitting a function two paths will share, make it its own slice. It blocks the slices that need it.
  • One mechanical change across the whole codebase, like a rename, can't be cut thin. Plan it as three kinds of slice. Add the new form, move the callers over in batches, then remove the old form.
  • Read "Web/Mobile Parity" and the migration rules in CLAUDE.md each time instead of working from memory, because the rules change. A slice that changes a parity-tracked web screen includes its mobile twin or says why mobile isn't needed. A slice known to need a schema change says how it stays safe between rollout and migrate.

Checks

Give a slice the fewest checks that prove it. One is often enough.

  • When a slice adds logic with clear inputs and outputs, its check names the test written first and seen failing, like "Every refusal code has a test, written before the rule."
  • When a slice changes code that already has tests, its check is those tests passing unchanged.
  • When a slice is UI, its check is a screenshot plus one test that the screen opens.

Detail

Leave out file paths, function names and code. They go stale as soon as building starts, and the agent that takes a slice finds them faster than a plan can list them.

Name one only when it is the decision, like a route another team will call, a legal template the text must match or a table several slices share.

Voice

  • Join clauses with a word like "and", "so", "but" or "because", or start a new sentence. Keep colons for code, labels like Blocked by: and the line before a list.
  • Write slice names and checks as plain sentences. Leave out commit prefixes like feat: or refactor(api):.
  • Write rabbit holes as short bullets, one per risk. Leave out tables.
  • Use the word the user sees, not the internal one. Write "monthly deposit" even if the code calls it a draft.
  • Write for a teammate whose first language isn't English. Keep one idea in each sentence, and put the subject first.
  • Give a definition or a side note its own sentence. Don't tuck it into the middle of another one.
  • Use common words and say things literally. Leave out idioms.
  • Define a business word a teammate might not know, the first time it appears.
  • Give an example only when the idea fails without it.
  • Use only hyphens and straight quotes. Use checkboxes in Slices only.

常见问题

To Slices AI 技能有什么作用?

Turns the current conversation into a plan file of vertical slices that agents can build in parallel. Use when asked to plan, lay down or write up a plan before code is written.

为什么在 TypingMind 中使用 To Slices?

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

如何在 TypingMind 中安装 To Slices?

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

哪些 AI 模型可以使用 To Slices?

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

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

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

To Slices AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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