Plan Architecture 标志

Plan Architecture

社区
coleam00
plan-architecture

通过交互方式探索如何实现某个意图(PRD、史诗级需求、简报或自由构思),并确定高层架构,包括实现方案、技术栈、库、数据结构,以及意图中尚未明确的风险。这是一场与 CTO/资深工程师顾问的协作讨论:顾问会提出问题,给出 2–3 个有利弊权衡的选项,说明理由并建议方向,同时指出哪些事项需要通过试验来降低风险。最终产出一份高层架构决策文档:可以是跟踪工具(Confluence/Jira)中关联到史诗级需求的独立页面、并入 PRD/史诗级需求的内容,或单独的文档。它不是逐项任务的实施计划(后续会通过 piv-plan-implementation 为每张工单制定)。

Add to TypingMind

概览

发布者coleam00
代码仓库skills
技能名称plan-architecture
星标数
678
复刻数
184
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

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.

常见问题

Plan Architecture AI 技能有什么作用?

通过交互方式探索如何实现某个意图(PRD、史诗级需求、简报或自由构思),并确定高层架构,包括实现方案、技术栈、库、数据结构,以及意图中尚未明确的风险。这是一场与 CTO/资深工程师顾问的协作讨论:顾问会提出问题,给出 2–3 个有利弊权衡的选项,说明理由并建议方向,同时指出哪些事项需要通过试验来降低风险。最终产出一份高层架构决策文档:可以是跟踪工具(Confluence/Jira)中关联到史诗级需求的独立页面、并入 PRD/史诗级需求的内容,或单独的文档。它不是逐项任务的实施计划(后续会通过 piv-plan-implementation 为每张工单制定)。

为什么在 TypingMind 中使用 Plan Architecture?

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

如何在 TypingMind 中安装 Plan Architecture?

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

哪些 AI 模型可以使用 Plan Architecture?

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

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

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

Plan Architecture AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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