Logo To Slices

To Slices

Cộng đồng
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.

Tổng quan

Nhà phát hànhenemigos
Kho mãskills
Tên kỹ năngto-slices
Sao
21
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được enemigos công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI To Slices trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/enemigos/skills/tree/main/skills/to-slices
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật To Slices trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp To Slices ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng To Slices với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI To Slices làm được gì?

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.

Vì sao nên dùng To Slices trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. To Slices là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài To Slices trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/enemigos/skills/tree/main/skills/to-slices. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng To Slices?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng To Slices với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng To Slices với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI To Slices có miễn phí không?

Kỹ năng này được enemigos phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇