Design Session 标志

Design Session

社区
Dark-Alex-17
design-session

适用于任何项目、以 AI 为先的设计拆解方法。根据设计文档或主题,结合实际代码库,生成(或完善)PLAN 文件,其中包含问题、方案、备选方案、约束条件和任务拆分。每项任务的工作量约为 1 个工程师日,并附有可衡量的验收标准。计划应写成独立完整的「密封容器」,让不了解上下文的实现者也能据此开展工作。授予文件系统访问权限,以便了解实际情况并编写计划。

概览

发布者Dark-Alex-17
代码仓库coyote
技能名称design-session
星标数
56
复刻数
2
附带文件
仅含指令
许可协议AGPL-3.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

    由 Dark-Alex-17 发布于 GitHub。请在安装前查看技能的源文件。

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dark-Alex-17/coyote.git /tmp/coyote
mkdir -p .claude/skills
cp -r /tmp/coyote/assets/skills/design-session .claude/skills/design-session
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

You are decomposing a design doc (or topic) into an executable plan. The output is ONE plan file plus a task breakdown that context-free LLM implementers will execute later with zero access to this conversation. Everything they need must be on the page or pointed to — see the "sealed container" standard below.

Inputs

  • A design doc (path or pasted), or a one-line problem statement.
  • The target project directory (ground truth for all claims).
  • The plans directory where the PLAN file lands.

Step 1 — Ground before proposing

Plans written from memory rot on contact with the code. Before writing anything:

  • Read the project's own orientation docs (CLAUDE.md, AGENTS.md, CONTRIBUTING.md, README.md at the project root) — conventions constrain the design.
  • Read the code the design touches: entry points, the modules to be changed, neighboring examples of the patterns to follow, existing tests.
  • fs_grep every symbol the design doc references — confirm it exists and is spelled right. Note explicitly: what already exists, what would be added, what would change.
  • Verify build/test commands actually exist (Makefile, justfile, package.json scripts, CI config).

Step 2 — The proposal

Produce a structured proposal (iterate with the user when interactive — load the grilling skill and work the open decisions as frontier rounds, each question carrying a recommended answer; in autonomous runs, resolve what the doc + code answer and flag the rest as open questions):

  • Problem — one paragraph; state assumptions explicitly.
  • Scope — In / Out. Call out tempting adjacent work being deferred.
  • Approach — concrete: name files, symbols, data flow, migrations. Reference existing patterns by path.
  • Alternatives considered — table of alternative → why rejected. Settled decisions carry their one-line reason (an unrecorded decision WILL be re-litigated by an implementer).
  • Constraints and risks — conventions the design must respect; ordering dependencies; things you're uncertain about, flagged clearly.
  • Open questions — ONLY questions the codebase cannot answer (business rules, priority calls). If none, say "No open questions."
  • Task breakdown — see below.

Quality bar round (closes Step 2)

The last round of Step 2 sets the plan's quality bar. It is grilling-compatible — run it as numbered questions, each carrying a recommended answer, like any other frontier round:

  1. Propose rigor — one of poc | prototype | production (default production). Infer the recommended value from the design doc's own language: "spike"/"demo" → poc; "iterate"/"internal" → prototype; otherwise production. Rigor calibrates which review-finding severities BLOCK downstream work: 🔴-critical findings block at EVERY rigor; at poc, suggestion/nitpick-level (🟢/💡) convention findings may be dropped from reports entirely. Anything a lower rigor defers is tracked as a follow-up — never silently dropped.
  2. Propose surfaces — zero or more of the closed enum: rest-api, cli, library, worker, iac, db-migration, frontend, ci-cd (grpc/graphql are aliases for rest-api), plus the escape hatch other:<label> for anything outside it. Infer from the approach: an HTTP handler → rest-api, a schema change → db-migration, and so on.
  3. Per-surface confirm/drop — for each accepted surface, present the headline best practices its reviewers will enforce and let the user confirm or drop each one. Every drop demands a one-line reason and lands in the plan's ## Quality bar section — a dropped practice without a recorded reason WILL be re-litigated by a reviewer.

For an other:<label> surface no reviewer checklist exists, so the lane is: a librarian lookup distills an authoritative best-practice checklist for the label; the user confirms or drops each item; accepted items become task acceptance criteria where possible, otherwise they live under ## Quality bar → Long-tail criteria. (The architect drives the lookup; this skill documents the shape the results take in the plan.)

Autonomous runs (no user to grill): take the inferred values, drop nothing, and note "quality bar inferred, not user-confirmed" in the plan.

Task breakdown rules

RuleWhy
One task ≈ one engineer-dayVariable task sizes destroy progress signal; anything larger gets decomposed NOW, not mid-run
Each task independently implementable and verifiableIt builds and its tests pass without later tasks existing
Explicit, acyclic dependencies (blocked_by)Execution order must be derivable from the breakdown alone
Each task states WHERE (files/packages) and WHAT (observable outcome)"Implement service layer" is not a task; "internal/foo/service.go: add Create/Get with validation — returns 400 on missing name" is
Measurable acceptance criteria per taskCriteria become the tests; "works correctly" is unmeasurable
Flag ⚠️ low-confidence sizing with the reasonHonest sizing beats optimistic sizing

Step 3 — Write the PLAN file

Write PLAN-<slug>.md (kebab-case slug from the topic; verify no collision) to the plans directory:

markdown
---
slug: <slug>
status: draft        # draft | active | implemented
created: YYYY-MM-DD
rigor: production    # poc | prototype | production; omitted = production
surfaces: []         # from the closed enum and/or other:<label>; omitted = []
---

# <Title>

## Problem
## Scope (In / Out)
## Approach
## Alternatives considered
## Constraints and risks
## Quality bar
## Open questions
## Task breakdown

| # | Task | Size | blocked_by | Notes |
|---|------|------|-----------|-------|

## Added artefacts

| Artefact | Lifetime | Removed by |
|---|---|---|

## Quality bar records the quality-bar round in human-readable form: the rigor line with its one-line reason, the surfaces line, the dropped-practices list (each entry with its one-line reason and the date it was decided), and the long-tail criteria block (none, or the distilled checklist for each other:<label> surface). This section is the home for recorded decisions and evidence of what was checked (alongside ## Alternatives considered and the task logs); never CONTRIBUTING, README or code comments.

## Added artefacts is the lifetime table from plan-authoring (| Artefact | Lifetime | Removed by |): every document, directory, example target, dependency added ahead of use or smoke test the plan introduces, each marked permanent or replaced by <X> at <milestone> with the task that removes it.

The plan is the implementers' entire context. Write for the "sealed container" standard: every question an implementer will hit is either answered inline or delegated via a pointer to the exact file/doc that answers it (where infra code goes, what DB tech, which layout to mirror, exact test commands). Paste short code snippets for load-bearing patterns — a path alone forces re-exploration; a stale claim fails the executor mid-implementation.

Anti-patterns

  • Proposing before reading the code — a design ungrounded in the actual codebase is fiction.
  • "As discussed" / "per our conversation" — the implementer has no conversation.
  • Tasks larger than a day hiding an "and then also…".
  • Acceptance criteria describing implementation ("uses a for loop") instead of behavior.
  • Open questions the code could have answered — grep first, ask last.
  • Unrecorded decisions — every settled fork carries its reason.
  • Declaring rigor: poc to dodge review findings the user never agreed to drop.

常见问题

Design Session AI 技能有什么作用?

适用于任何项目、以 AI 为先的设计拆解方法。根据设计文档或主题,结合实际代码库,生成(或完善)PLAN 文件,其中包含问题、方案、备选方案、约束条件和任务拆分。每项任务的工作量约为 1 个工程师日,并附有可衡量的验收标准。计划应写成独立完整的「密封容器」,让不了解上下文的实现者也能据此开展工作。授予文件系统访问权限,以便了解实际情况并编写计划。

为什么在 TypingMind 中使用 Design Session?

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

如何在 TypingMind 中安装 Design Session?

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

哪些 AI 模型可以使用 Design Session?

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

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

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

Design Session AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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