Blueprint 标志

Blueprint

社区
GadaaLabs
blueprint

Use when you have a spec or requirements for a multi-step task, before touching code

Add to TypingMind

概览

发布者GadaaLabs
代码仓库claude-code-on-steroids
技能名称blueprint
星标数
67
复刻数
10
附带文件
1
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Writing Plans

Overview

BLUEPRINT — A blueprint is the precise, buildable plan that follows the architect's vision. When invoked: translates an approved design spec into step-by-step implementation tasks — which files to touch, what code to write, how to test it, when to commit. Zero ambiguity for the engineer executing the plan.

Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.

Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.

Announce at start: "Running BLUEPRINT to create the implementation plan."

Context: This should be run in a dedicated worktree (created by architect skill).

Save plans to: docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md

  • (User preferences for plan location override this default)

Phase 0: Documentation Discovery (MANDATORY)

Before mapping files or writing a single task, verify that every API, library method, and framework feature referenced in the spec actually exists.

This is the most common source of plan failure: tasks that reference library.method() that doesn't exist, parameters that were deprecated, or internal utilities at wrong paths. A plan built on phantom APIs fails at execution time, not at review time.

Discovery Checklist

For each external dependency in the spec:

  • Confirm the package is in package.json / pyproject.toml / go.mod
  • Confirm the method/class name in docs or source (not assumed from memory)
  • Confirm the import path (barrel re-exports, named vs default, casing)

For each internal utility referenced:

  • Verify the file path exists
  • Verify the function/type is exported (grep the file)
  • Verify the parameter signature matches what the plan will use

Anti-Patterns — Stop Planning If You Encounter These

  • "We'll figure out the exact API when implementing" → find the API now
  • Referencing library.method() without verifying it in docs → look it up
  • Using an internal function without grepping for its actual name → grep first
  • Planning around a feature from memory without confirming it's in this version → check

If a Required API Doesn't Exist

Options in order:

  1. Find the correct API that does what the spec needs
  2. Plan an implementation of the missing utility as a prerequisite task
  3. Flag the spec gap to the user before writing the plan

Never plan around a phantom API and hope the implementer figures it out.


Scope Check

If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during brainstorming. If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own.

File Structure

Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.

  • Design units with clear boundaries and well-defined interfaces. Each file should have one clear responsibility.
  • You reason best about code you can hold in context at once, and your edits are more reliable when files are focused. Prefer smaller, focused files over large ones that do too much.
  • Files that change together should live together. Split by responsibility, not by technical layer.
  • In existing codebases, follow established patterns. If the codebase uses large files, don't unilaterally restructure - but if a file you're modifying has grown unwieldy, including a split in the plan is reasonable.

This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.

Bite-Sized Task Granularity

Each step is one action (2-5 minutes):

  • "Write the failing test" - step
  • "Run it to make sure it fails" - step
  • "Implement the minimal code to make the test pass" - step
  • "Run the tests and make sure they pass" - step
  • "Commit" - step

Plan Document Header

Every plan MUST start with this header:

markdown
# [Feature Name] Implementation Plan

> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:phantom (recommended) or superpowers:exodus to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.

**Goal:** [One sentence describing what this builds]

**Architecture:** [2-3 sentences about approach]

**Tech Stack:** [Key technologies/libraries]

---

Task Structure

markdown
### Task N: [Component Name]

**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`

- [ ] **Step 1: Write the failing test**

```python
def test_specific_behavior():
    result = function(input)
    assert result == expected
```

- [ ] **Step 2: Run test to verify it fails**

Run: `pytest tests/path/test.py::test_name -v`
Expected: FAIL with "function not defined"

- [ ] **Step 3: Write minimal implementation**

```python
def function(input):
    return expected
```

- [ ] **Step 4: Run test to verify it passes**

Run: `pytest tests/path/test.py::test_name -v`
Expected: PASS

- [ ] **Step 5: Commit**

```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
```

No Placeholders

Every step must contain the actual content an engineer needs. These are plan failures — never write them:

  • "TBD", "TODO", "implement later", "fill in details"
  • "Add appropriate error handling" / "add validation" / "handle edge cases"
  • "Write tests for the above" (without actual test code)
  • "Similar to Task N" (repeat the code — the engineer may be reading tasks out of order)
  • Steps that describe what to do without showing how (code blocks required for code steps)
  • References to types, functions, or methods not defined in any task

Remember

  • Exact file paths always
  • Complete code in every step — if a step changes code, show the code
  • Exact commands with expected output
  • DRY, YAGNI, TDD, frequent commits

Self-Review

After writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a checklist you run yourself — not a subagent dispatch.

1. Spec coverage: Skim each section/requirement in the spec. Can you point to a task that implements it? List any gaps.

2. Placeholder scan: Search your plan for red flags — any of the patterns from the "No Placeholders" section above. Fix them.

3. Type consistency: Do the types, method signatures, and property names you used in later tasks match what you defined in earlier tasks? A function called clearLayers() in Task 3 but clearFullLayers() in Task 7 is a bug.

If you find issues, fix them inline. No need to re-review — just fix and move on. If you find a spec requirement with no task, add the task.

SPARC Methodology (Required when complexity ≥ 8 or security/architecture tasks)

For complex implementations, structure the plan using SPARC phases — especially useful when requirements need clarification before coding starts.

SPARC = Specification → Pseudocode → Architecture → Refinement → Coding

SPARC is REQUIRED (not optional) when ANY of:

  • Task complexity score ≥ 8 (from oracle)
  • Security-critical code (auth, crypto, payments)
  • Architecture decisions (system design)
  • Cross-system integrations
  • Task has been attempted before and failed

SPARC is optional (skip to Phase 5) when:

  • Complexity ≤ 7
  • Clear requirements already exist
  • Similar task was done before (patterns found)

SPARC Plan Header:

markdown
# [Feature] Implementation Plan — SPARC Structure

## Phase 1: Specification
- [ ] Document exact inputs, outputs, constraints
- [ ] Define success criteria (measurable)
- [ ] List edge cases and failure modes
- [ ] Confirm with user before proceeding

## Phase 2: Pseudocode
- [ ] Write algorithm in plain language
- [ ] Identify data structures needed
- [ ] Mark decision points and conditionals
- [ ] Review for logical correctness (no code yet)

## Phase 3: Architecture
- [ ] Define file structure and module boundaries
- [ ] Define interfaces/types/contracts
- [ ] Choose libraries/patterns
- [ ] Note what changes existing files

## Phase 4: Refinement
- [ ] Add error handling to pseudocode
- [ ] Add performance considerations
- [ ] Add security review
- [ ] Finalize before coding

## Phase 5: Coding (Tasks)
[Standard task structure from here — TDD steps, exact code, commits]

Gate rule: Each SPARC phase is a checkpoint. Do not advance without completing the current phase. For simple plans (<3 files), skip directly to Phase 5 (standard task structure).


Execution Handoff

After saving the plan, offer execution choice:

"Plan complete and saved to docs/superpowers/plans/<filename>.md. Two execution options:

1. Subagent-Driven (recommended) - I dispatch a fresh subagent per task, review between tasks, fast iteration

2. Inline Execution - Execute tasks in this session using exodus, batch execution with checkpoints

Which approach?"

If Subagent-Driven chosen:

  • REQUIRED SUB-SKILL: Use superpowers:phantom
  • Fresh subagent per task + two-stage review

If Inline Execution chosen:

  • REQUIRED SUB-SKILL: Use superpowers:exodus
  • Batch execution with checkpoints for review

附带文件

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

常见问题

Blueprint AI 技能有什么作用?

Use when you have a spec or requirements for a multi-step task, before touching code

为什么在 TypingMind 中使用 Blueprint?

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

如何在 TypingMind 中安装 Blueprint?

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

哪些 AI 模型可以使用 Blueprint?

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

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

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

Blueprint AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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