Recipe Design 标志

Recipe Design

社区
shinpr
recipe-design

从限定于代码库的分析开始,按需做出 ADR 决策,直至完成设计文档审批

Add to TypingMind

概览

发布者shinpr
代码仓库claude-code-workflows
技能名称recipe-design
星标数
682
复刻数
103
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/shinpr/claude-code-workflows.git /tmp/claude-code-workflows
mkdir -p .claude/skills
cp -r /tmp/claude-code-workflows/dev-workflows-fullstack/skills/recipe-design .claude/skills/recipe-design
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Explicit User Instruction: The user explicitly instructs and authorizes every subagent call named in this recipe. Execute each applicable call when its prerequisites are met.

Execute Skill: documentation-criteria before document routing or creation. Execute Skill: llm-friendly-context before writing Agent prompts, handoffs, or generated artifacts. Execute Skill: subagents-orchestration-guide before invoking agents or resolving findings. Before the first finding disposition, read references/review-resolution.md from the loaded subagents-orchestration-guide skill.

Outcome and Ownership

Coordinate the design phase from repository evidence to an approved Design Doc. The user owns product requirements and exclusions; the orchestrator owns convergence readiness, Structural Scale, ADR qualification, evidence selection, and Review Resolution. Named specialists own semantic investigation and artifact authorship.

The Design Doc is always the complete implementation design for Medium/Large work. A qualifying ADR batch narrows technical choices before the Design Doc, which retains the complete flow and implementation boundary.

Requirements: $ARGUMENTS

Flow

text
requirement source -> codebase-analyzer -> scope/decision confirmation [Stop]
                                             |
                               optional ADR batch -> batch review [Stop]
                                             |
                 Design Doc -> code-verifier -> Review Resolution
                                             |
                     document-reviewer -> design-sync -> approval [Stop]

Execute each dependent step after its prerequisite evidence exists. Use Review Resolution for every actionable verifier, reviewer, or design-sync finding. Wait at each [Stop] for explicit user confirmation.

At each Invoke below, build the Agent prompt as a mechanical extraction: copy the named source values into the exact fields, apply only the declared serialization, then invoke immediately.

Step 1: Select the Governing Requirement Source

Use the approved PRD path when one exists. Otherwise use the confirmed requirements verbatim.

Set confirmed_requirement_context to the approved PRD path exactly. Only when no approved PRD exists, use the orchestrator-confirmed convergence record unchanged.

Step 2: Collect Decision Material

Invoke dev-workflows-fullstack:codebase-analyzer:

text
prd_path: [approved PRD path]

or, when no approved PRD exists:

text
requirements: [confirmed requirements verbatim]

Invoke once for the complete confirmed scope. Require one valid JSON result and let the analyzer discover affected paths, responsibility boundaries, and cross-layer contracts. Treat its focus areas as existing-behavior safeguards, not as new requirements.

This independent discovery keeps scope and option convergence grounded in repository evidence rather than the orchestrator's unverified implementation hypothesis.

Step 3: Confirm Scope and ADR Decisions

Execute Skill: requirement-convergence. The orchestrator builds and judges the convergence record from the user request and Step 2 evidence.

Judge all four convergence fields. Assign cost from Step 2 structural evidence and record its unknowns; run the hearing only for fields below ready.

Determine Structural Scale from outcomes and responsibility boundaries. File count is supporting evidence only.

Resolve decisionMaterials.candidateDecisionPoints against the governing requirement source, applicable simplifications, reuse, and invalidations. Remove a point when that evidence already converges on one sufficient approach. For each remaining item, apply documentation-criteria filters in order:

  1. Choice requires judgment between at least two credible, materially distinct options inside confirmed scope.
  2. The selection has durable material impact.

Record every passing item as adrDecisionPoints; an empty list routes directly to the Design Doc. ADR creation is limited to items that pass both filters.

Present the requirement-convergence Scope Confirmation. Place target responsibilities with their strongest file evidence, applicable simplifications with their conditions, and each qualifying ADR decision point with its filter evidence or none under Decision evidence; place Structural Scale with its boundary rationale and the recommended document route under Workflow.

Offer proceed, or correct scope and re-run analysis. Ask a question only when its answer can change a convergence field, the confirmed outcome, or scope. Continue only when every convergence field is ready or weak-but-explicit. [Stop: Scope confirmation].

Step 4: Create and Approve an ADR Batch When Needed

When adrDecisionPoints is non-empty:

  1. Invoke dev-workflows-fullstack:technical-designer once with exact inputs: document_to_create: ADRBatch; confirmed_requirement_context; decision_points as the ordered adrDecisionPoints confirmed in Step 3, unchanged; and decision_materials as the corresponding objects from Step 2 decisionMaterials.candidateDecisionPoints, copied unchanged in that order.
  2. Invoke dev-workflows-fullstack:document-reviewer once with exact inputs: doc_type: ADRBatch, targets: [all returned paths], and confirmed_requirement_context.
  3. Route the reviewer verdict first: pass proceeds with issues: []; needs_revision applies Review Resolution, updates one ADR per path serially, and re-reviews the complete batch; rejected resolves the governing-source conflict before another review.
  4. Present one batch decision only after a pass review. [Stop: ADR batch approval].
  5. After user approval, update each ADR status to Accepted and verify the changed status.

Step 5: Create the Design Doc

Create the complete MVP implementation design from reviewed artifacts and unchanged repository evidence; this keeps the Design Doc traceable to approved sources instead of an orchestrator-authored shadow design.

Invoke dev-workflows-fullstack:technical-designer with exactly:

  • document_to_create: DesignDoc;
  • confirmed_requirement_context;
  • structural_scale;
  • adr_paths: [accepted paths or []];
  • codebase_analysis: [complete Step 2 JSON unchanged].

The Design Doc owns the full end-to-end design and retains all applicable downstream safeguards in the documentation-criteria template.

Step 6: Verify and Resolve Repository Claims

Keep verifier observations unchanged so corrections remain traceable to observed repository evidence instead of becoming orchestrator-authored design instructions.

Invoke dev-workflows-fullstack:code-verifier with doc_type: design-doc and the Design Doc path to verify current premises and feasibility while treating planned behavior as intent.

Apply Review Resolution to every discrepancy before document review. Send only apply findings to a fresh technical-designer update invocation with Operation Mode: update, Existing Document: [Design Doc path], and correction_findings: [complete findings unchanged except for their dispositions]. The designer applies its review-triggered bounded self-verification gate when a finding names an unverified decision-changing premise; this fresh designer is the sole correction specialist and selects the evidence route. Rerun code-verifier after a correction with the previous complete result, dispositions, and correction diff or paths as prior_feedback. Build the single verification_evidence object defined by Review Resolution from the latest result and continue at its convergence condition.

Step 7: Review and Approve

Invoke dev-workflows-fullstack:document-reviewer with exact inputs: doc_type: DesignDoc, target, review_context: creation, the original user requirements verbatim as requirements_verbatim, confirmed_requirement_context, codebase_analysis, and verification_evidence from Step 6.

  • pass: continue.
  • needs_revision: apply Review Resolution, update through a fresh technical-designer invocation using the existing path and complete applied findings, then rerun Steps 6-7 for the affected boundary.
  • rejected: resolve technical governing-source conflicts through Review Resolution; ask the user only when confirmed outcome, desired-future requirements, and non-goals cannot all remain true and the user must choose which changes.

Invoke dev-workflows-fullstack:design-sync for consistency with other Design Docs and apply Review Resolution to actionable conflicts. Report SKIPPED distinctly when only one Design Doc exists.

Present the Design Doc, accepted ADR paths, resolved limitations/declines, and design-sync result. [Stop: Design approval].

Completion Criteria

  • Scope and Structural Scale were confirmed from outcomes and responsibility boundaries.
  • ADRs exist only for decision points passing both filters, and the complete batch received one review and approval.
  • A Design Doc exists regardless of whether ADRs were needed.
  • Applicable existing-behavior, contract, assumption, equivalence, and verification safeguards reached the Design Doc.
  • Review Resolution routed only needs_revision issues into correction work.
  • All stop points received explicit user confirmation.

常见问题

Recipe Design AI 技能有什么作用?

从限定于代码库的分析开始,按需做出 ADR 决策,直至完成设计文档审批

为什么在 TypingMind 中使用 Recipe Design?

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

如何在 TypingMind 中安装 Recipe Design?

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

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

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

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

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

Recipe Design AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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