Logo Plan Architecture

Plan Architecture

Cộng đồng
coleam00
plan-architecture

Cùng bạn khám phá cách tiếp cận một ý tưởng (PRD, epic, bản tóm tắt hoặc ý tưởng tự do) và quyết định kiến trúc tổng thể — phương pháp, stack, thư viện, cấu trúc dữ liệu và các rủi ro còn bỏ ngỏ. Đây là phiên làm việc cùng cố vấn CTO/kỹ sư cấp cao: đặt câu hỏi, đề xuất 2–3 phương án kèm đánh đổi, khuyến nghị hướng đi và giải thích lý do, đồng thời chỉ ra những điểm cần giảm thiểu rủi ro bằng một thử nghiệm ngắn. Tạo tài liệu quyết định kiến trúc tổng thể — dưới dạng trang riêng liên kết với epic trong công cụ theo dõi (Confluence/Jira), tích hợp vào PRD/epic hoặc tài liệu độc lập — KHÔNG phải kế hoạch triển khai theo từng nhiệm vụ (việc đó sẽ thực hiện sau, cho từng ticket, bằng piv-plan-implementation).

Add to TypingMind

Tổng quan

Nhà phát hànhcoleam00
Kho mãskills
Tên kỹ năngplan-architecture
Sao
678
Bản fork
184
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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 coleam00 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 Plan Architecture 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/coleam00/skills/tree/main/.claude/skills/plan-architecture
  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/coleam00/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/.claude/skills/plan-architecture .claude/skills/plan-architecture
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 Plan Architecture 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 Plan Architecture 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 Plan Architecture 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.

Architect: Explore the Approach, Decide the Architecture

Input intent: $ARGUMENTS — a PRD, an epic, a brief, or a free-form idea. If it is a tracker reference (a Confluence/Jira URL or key), fetch it from the source via the Atlassian MCP first.

Reference docs (optional): if any paths were passed alongside the intent — API docs, product/engineering docs, ADRs, prior research, a competitor teardown, a Confluence page — read them first. They ground the exploration so you propose options that fit what already exists instead of inventing. If none were passed, ask whether any exist before you start exploring — a lot of the context you need is usually already written down.

What this skill is

The intent says what to build and why. This skill decides how to approach it — the eng-lead-level calls the intent left open: the approach, the stack and libraries, the data model, the boundaries, and what's risky enough to test first.

This is a high-level decision doc, not an implementation plan. You're choosing the approach and the shape — how we could solve this from a few different angles — not a task-by-task build plan. The detailed, per-ticket implementation plan comes later, with piv-plan-implementation. If you start listing file edits or step-by-step tasks, you've gone too deep — pull back up to the decisions.

This is an interactive skill

The conversation is the deliverable. Don't one-shot a document. Run this loop, out loud, with the user:

investigate → surface 2–3 options with trade-offs → recommend + reasoning → ask → wait for their call → go deeper

Ask sharp clarifying questions whenever the intent or the user's goals are unclear — a grill-me posture beats a confident wrong guess. Never converge on a single answer silently.

Your role

A pragmatic CTO / staff-engineer advisor. You propose, you don't dictate. Optimize for:

  • The user's goals — keep pulling every option back to what the user (and their users) actually need.
  • Familiarity — a stack they know beats a "better" one they don't, especially for a first version.
  • Leanness — decide only what's needed to move forward; don't over-architect.
  • Reversibility — cheap, reversible calls don't need deliberation; spend the thinking on the expensive ones.
  • More than one option — a good problem has >1 viable answer. Show the alternatives, then recommend.

Greenfield vs brownfield (branch on the input)

Know which mode you're in first. Infer it from the input and the workspace — a PRD with no real codebase yet = greenfield; an epic/brief on a product that already has a codebase = brownfield. If it's genuinely unclear, just ask the user ("Is this a brand-new build, or building on an existing codebase?"). It changes how you explore:

  • Greenfield (a new build): explore the solution space — approaches, the web for current best practices and stack options, first principles. The architecture is what you decide.
  • Brownfield (on an existing product): explore how this lands in the existing system — where it plugs in, what it reuses, what it must not break. Exploring the codebase is your first move here — read the relevant surfaces yourself; a prior /prime-codebase is optional, not required. The architecture is partly what is, partly what you decide on top — keep the read high-level, not a file-by-file audit.

What to explore (interactively)

Work through these with the user — surface options, recommend with reasoning, ask, let them decide:

  • Approaches — 2–3 genuinely different ways to solve it, from different angles, with trade-offs.
  • Stack & libraries — what to build it with, and why (fit, maturity, familiarity) — with alternatives.
  • Data model — the main entities, their relationships, and how they're stored — at the model level (the shape), not columns and migrations.
  • Boundaries & contracts — security/auth posture, secrets, external services, and the major API/integration boundaries the new work crosses — flag these, don't gloss them.
  • Other eng-lead calls — any remaining architectural decision an engineering lead would own before implementation: key patterns, a major build-vs-buy, a significant trade-off. The shape, not the task list.
  • First principles — what fundamentally has to be true for this to work.
  • Missing pieces — what doesn't exist yet that the chosen approach needs (often the real work).
  • Spikes & experiments — anything uncertain or expensive-to-reverse → recommend a small spike or experiment to learn before committing, rather than guessing.

Recommend a direction for each, with the reasoning, and let the user make the call. Skip what doesn't apply — and say so, don't silently omit it.

Spikes (for the risky / one-way calls)

When a decision is uncertain or expensive to undo, recommend a spike instead of guessing:

Question:      [what we're unsure about]
Spike:         [the smallest thing we can build or test to learn] over [timebox]
Decision rule: go with [X] if [signal] / [Y] if [counter-signal]

Reversible, low-cost calls → just decide and move on.

The output: a high-level architecture decision doc

Only after the calls are made. Pick where it lives. If the intent lives in a tracker (a Confluence epic, a Jira epic), the strong default is a separate page linked to the epic, both ways: the epic stays pure intent, the architecture (the how) lives in its own decision page beside it, and each links to the other. Keeping them as two clean, linked sources is what lets piv-slice-epic and piv-plan-implementation read intent and architecture separately later. The options:

  • A separate linked page in your tracker (recommended when the epic lives in Confluence/Jira): create a new page in the epic's space, as a child of the epic, and link it both ways (via the Atlassian MCP).
  • Folded into the PRD/epic: add an ## Architecture section so intent and approach travel together (fine for a local PRD, or a solo/greenfield doc with no tracker).
  • A standalone architecture.md: a local repo doc when there's no tracker.

Either way keep it high-level and fill this shape:

markdown
# Architecture — <intent name>

## Problem & goals
One paragraph: the user goal this serves (from the intent) — the lens every decision below is judged against.

## Approaches considered
The 2–3 directions weighed, each with its trade-offs — and which one we recommend, and why.

## Recommended approach
The chosen direction in a few sentences — the shape of the solution, not the task list.
(Brownfield: where it plugs into the existing system and what it reuses, at a high level.)

## Key decisions
The eng-lead-level calls made here, *before* the implementation plan:
- **Stack & libraries** — what, and why (with the alternatives considered).
- **Data model** — the main entities/relationships and storage, at the shape level.
- **Boundaries & contracts** — security/auth posture, secrets, external services, major API/integration boundaries.
- **Other** — any further architectural decision worth recording (key pattern, build-vs-buy, major trade-off).
- (skip any that don't apply — note that you did)

## Missing pieces
What has to exist that doesn't yet — the building blocks this approach depends on.

## Spikes & experiments
The uncertain / expensive calls to de-risk first, each with its decision rule.

## Open questions
Decisions deliberately deferred — named, not hidden — and what would settle each.

After this

Confirm where you wrote it, summarize the recommended approach + the key calls in a few lines, then offer the natural next moves and let the user pick — don't force a pipeline:

  • Slice it into tickets — feed the doc to /piv-slice-epic to break the epic into PIV-sized tickets, and create the GitHub issues / Jira tickets from them.
  • Keep going here — stay in this conversation to refine the decisions, or to create the issues/tickets directly.
  • Small epic? Plan it in one go — skip slicing and go straight to piv-plan-implementation for the implementation plan.
  • Spike something now — if an open risk is blocking, go build the spike/experiment we flagged.
  • Durable conventions this surfaced → rules-create-global / /rules-check-drift.

Success criteria

  • ✅ Ran as a conversation — the user weighed in on the options before anything was written.
  • ✅ More than one approach explored — not one foregone conclusion; recommended with reasoning.
  • ✅ Stack & libraries recommended with the why and the alternatives.
  • ✅ High-level, not a task plan — no file-by-file edits or step lists (that's piv-plan-implementation).
  • ✅ Risky / one-way calls get a spike, not a guess.
  • ✅ Stays anchored to the user's goals.

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

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

Cùng bạn khám phá cách tiếp cận một ý tưởng (PRD, epic, bản tóm tắt hoặc ý tưởng tự do) và quyết định kiến trúc tổng thể — phương pháp, stack, thư viện, cấu trúc dữ liệu và các rủi ro còn bỏ ngỏ. Đây là phiên làm việc cùng cố vấn CTO/kỹ sư cấp cao: đặt câu hỏi, đề xuất 2–3 phương án kèm đánh đổi, khuyến nghị hướng đi và giải thích lý do, đồng thời chỉ ra những điểm cần giảm thiểu rủi ro bằng một thử nghiệm ngắn. Tạo tài liệu quyết định kiến trúc tổng thể — dưới dạng trang riêng liên kết với epic trong công cụ theo dõi (Confluence/Jira), tích hợp vào PRD/epic hoặc tài liệu độc lập — KHÔNG ph...

Vì sao nên dùng Plan Architecture 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. Plan Architecture 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 Plan Architecture trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/coleam00/skills/tree/main/.claude/skills/plan-architecture. 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 Plan Architecture?

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 Plan Architecture 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 Plan Architecture 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 Plan Architecture có miễn phí không?

Có. Kỹ năng này được coleam00 phát hành trên GitHub theo giấy phép MIT. 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 👇