Gdd Explore 标志

Gdd Explore

社区
hegemonart
gdd-explore

5 个阶段中的第 2 阶段——整合清单 grep 和设计访谈的统一探索阶段。探查 6 个关联项,扫描代码库,进行 AskUserQuestion 访谈,并生成 .design/DESIGN.md、DESIGN-DEBT.md 和 DESIGN-CONTEXT.md。在 {{command_prefix}}brief 之后使用,以梳理现有系统并在制定计划前敲定决策。用户提出研究设计方向、收集参考资料或探索视觉方案相关请求时触发。

Add to TypingMind

概览

发布者hegemonart
代码仓库get-design-done
技能名称gdd-explore
星标数
3
复刻数
1
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hegemonart/get-design-done.git /tmp/get-design-done
mkdir -p .claude/skills
cp -r /tmp/get-design-done/scripts/skill-templates/explore .claude/skills/gdd-explore
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Get Design Done - Explore

Role: You are the Explore stage. Stage 2 of 5 in the get-design-done pipeline.

Purpose: Unified exploration merging the former scan (inventory grep) and discover (context interview) stages. Produces .design/DESIGN.md, .design/DESIGN-DEBT.md, and .design/DESIGN-CONTEXT.md.

Full procedure detail: ./explore-procedure.md.


Stage entry

All STATE.md persistence goes through gdd-state MCP tools - no direct edits. Plain design docs (DESIGN.md / DESIGN-DEBT.md / DESIGN-CONTEXT.md) use Write.

  1. mcp__gdd_state__transition_stage with to: "explore". On gate failure: print blockers from error.context.blockers verbatim, do not advance.
  2. mcp__gdd_state__get (no args) -> snapshot state for downstream steps.

Step 1 - Connection probe

Probe six connections, then batch-write results via ONE mcp__gdd_state__probe_connections call (unspecified connections keep their existing value):

  • A - Figma (variant-agnostic): ToolSearch + regex parse of get_metadata / use_figma prefixes -> tiebreaker selection (both-sets > reads-only, figma > others, non-figma-desktop, alphabetical) -> live {prefix}get_metadata call -> available / unavailable / not_configured (with prefix= + writes=).
  • B - Refero: ToolSearch presence sufficient.
  • C - 21st.dev: ToolSearch mcp__21st presence.
  • D - Magic Patterns: ToolSearch mcp__magic_patterns presence.
  • E - paper.design: ToolSearch mcp__paper + live get_selection call.
  • F - pencil.dev: find . -name "*.pen" file-presence.

Full probe specs + commit-results JSON shape: ./explore-procedure.md §Step 1.

Step 1.5 - 21st.dev Prior-Art Check (when 21st-dev: available)

For each greenfield component in scope: 21st_magic_component_search(component_name, limit: 3). Fit >= 80% -> add <prior-art> block to DESIGN.md recommending adoption; fit < 80% -> note as reference, build custom. If svgl_get_brand_logo available and brand assets are in scope, call per logo and save SVGs to .design/assets/. Skip entirely if no greenfield components in scope. Detail: ./explore-procedure.md §Step 1.5.


Step 2 - Inventory scan (unless --skip-scan)

Map pre-check: if .design/map/ exists with all 5 files (tokens.md, components.md, visual-hierarchy.md, a11y.md, motion.md) fresher than src/, consume them and skip the grep pass. Otherwise grep and, after Step 4, suggest {{command_prefix}}map for the next cycle.

Parallelism decision: read .design/config.json + reference/parallelism-rules.md. Record verdict via mcp__gdd_state__set_status ("explore_parallel" / "explore_serial"). Parallel -> multiple Task() in one response; serial -> sequential.

Incremental batching (Phase 53, default): --incremental (default; --full opts out) runs the change classifier first via the fingerprint store, groups the DesignContext graph into Louvain community batches, and dispatches mappers per the verdict (SKIP=0, PARTIAL=affected batches only, FULL=all). Engine: scripts/lib/explore-parallel-runner + scripts/lib/mappers/incremental-discover.cjs; dispatch concurrency comes from concurrency-tuner.cjs. Detail: ./explore-procedure.md §Incremental Batching.

Run the canonical scan grep/glob inventory (POSIX ERE, preserving PLAT-01/02): component detection (Glob **/*.{tsx,jsx,vue,svelte}), color extraction (hex / rgb / hsl / Tailwind arbitrary), typography scan (font-family / Tailwind font-* / text-*), motion scan (transition / animate- / @keyframes / framer-motion), token detection (tailwind.config / CSS custom properties / token JSON), layout detection (ordered fallback src/ -> app/ -> pages/ -> lib/ -> unknown). Write .design/DESIGN.md + .design/DESIGN-DEBT.md. Then mcp__gdd_state__update_progress for scan progress. Detail: ./explore-procedure.md §Step 2.

Step 2.x - i18n readiness probe (informational, per D-04): check package.json deps against {react-intl, next-intl, i18next, vue-i18n, formatjs, lingui} -> framework-managed; else grep Intl.(DateTimeFormat|NumberFormat|...) in src/ -> partial; else none. Emit single line Localization readiness: <state> in the report. NO gate, NO blocking - surface signal only (D-07). Detail: ./explore-procedure.md §Step 2.x.

Step 2.5 - Detect prior sketches and project-local conventions

  • Sketches: list .design/sketches/* slugs, group by WINNER.md present (completed) vs absent (pending). Record via mcp__gdd_state__set_status: "explore_sketches_present". Include in DESIGN.md "Prior Explorations" section.
  • Project-local skills: read ./.claude/skills/design-*-conventions.md -> include in DESIGN-CONTEXT.md <project_conventions> (these override defaults).
  • Global skills: ~/.claude/gdd/global-skills/*.md (other than README) -> prepend to <project_conventions> under <global_conventions> sub-block. Project-local D-XX wins on conflict.

Step 2.6 - Graph review (gate then reviewer)

Runs only when Step 2's mapper batch + synthesizer produced .design/context-graph.json. Skip the whole step if the file is absent (pre-Phase-52 project, or --skip-scan).

  1. Gate first (cheap Haiku check). Spawn design-context-reviewer-gate via Task() with the classifier signal from Step 2's incremental batching pass: change_pct (fingerprint classifier pct), classifier_action (SKIP / PARTIAL_UPDATE / ARCHITECTURE_UPDATE / FULL_UPDATE), and graph_path: ".design/context-graph.json". Gate emits a single-line {spawn, rationale} JSON decision then ## GATE COMPLETE.
  2. If spawn: false: record mcp__gdd_state__set_status: "explore_graph_review_skipped", log the gate rationale (e.g., "project change 3% < 5% threshold"), set telemetry lazy_skipped: true. Done - proceed to Step 3.
  3. If spawn: true: spawn design-context-reviewer via Task() with <required_reading> pointing at .design/STATE.md, .design/context-graph.json, reference/design-context-schema.md, reference/design-context-tag-vocab.md. The reviewer runs scripts/validate-design-context.cjs --json as the deterministic floor (checks 1/2/3/5) then layers the semantic checks (4/6/7/8/9) and returns the 9-check verdict inline (APPROVED or REJECT).
  4. Capture verdict (read-only contract). The reviewer does NOT write .design/DESIGN-CONTEXT-REVIEW.md - it is reads-only: true, writes: []. WARN findings surface through scripts/lib/health-mirror#getHealthChecks as status: 'warn'; a hard-reject maps to status: 'fail'. Record the overall verdict via mcp__gdd_state__set_status: "explore_graph_review_approved" (or "_rejected").
  5. On REJECT: record mcp__gdd_state__add_blocker with the reviewer's blocking-issues list verbatim. Do not advance to Step 3 until the synthesizer or the implicated mapper is re-run. On APPROVED (with or without WARNs): proceed.

Step 3 - Design interview (unless --skip-interview)

Run inline - NEVER spawn design-discussant as a subagent. AskUserQuestion only renders the native picker from the top-level skill context; spawning degrades to plain markdown (broken in Claude Desktop).

  • 3.a Pre-load context: state.decisions snapshot -> BRIEF.md -> DESIGN.md -> DESIGN-CONTEXT.md <gray_areas> -> project conventions. If figma: available, call {prefix}get_variable_defs and draft tentative D-XX entries.
  • 3.b Identify question set: skip areas already covered by D-XX or project convention. Default coverage: cycle goal, audience, brand direction (if no tokens), color/typography/spacing primitives (if undetected), motion preferences, gray areas from DESIGN-CONTEXT.md.
  • 3.c Ask one at a time: AskUserQuestion with 4 concrete options + "Other" / "Skip". Reject generic answers ("modern", "clean") with one follow-up.
  • 3.d Record after each answer: mcp__gdd_state__add_decision (atomic, auto-assigns D-NN); append a quality-classified JSON line to .design/learnings/question-quality.jsonl.
  • 3.e Produce DESIGN-CONTEXT.md: summarize locked decisions, remaining gray areas, Figma tentatives. Frontmatter status: complete.

Full interview protocol + JSON line schema: ./explore-procedure.md §Step 3.


Step 4 - Close out explore

  • If the synthesizer / mapper batch ran in Step 2: mcp__gdd_state__update_progress with task_progress: "<done>/<total>", status: "explore_mappers_done".
  • If Step 2.6 ran the graph review: ensure the verdict status is recorded (explore_graph_review_approved / _rejected / _skipped); on _rejected do NOT checkpoint until re-run.
  • mcp__gdd_state__checkpoint - bumps last_checkpoint.
  • Stage advance to plan happens at the next stage's entry (plan owns its own transition_stage); do not edit frontmatter directly.

After Writing

Print: "=== Explore complete ===\nSaved: .design/DESIGN.md, .design/DESIGN-DEBT.md, .design/DESIGN-CONTEXT.md\nNext: @get-design-done plan".

Rationalizations - Thought to Reality

The shortcut excuses an agent reaches for during explore, and the drift each one introduces:

ThoughtReality
"I already know this codebase, I can skip the inventory scan."An unscanned codebase hides the tokens/components you'll duplicate - the grep pass exists to stop you reinventing what's there.
"The six connection probes are noise, I'll assume Figma is off."A skipped probe means a wrong connection assumption silently breaks the design stage's tool dispatch.
"--skip-interview is fine, the brief covered it."The interview locks the gray areas the brief left fuzzy; skipping it ships undecided D-XX into planning.
"I'll batch all the interview questions to save round-trips."Batched questions overwhelm the user and smuggle in coupled assumptions - one-at-a-time keeps each decision clean.
"DESIGN-DEBT.md is optional, the scan was clean enough."Unrecorded debt resurfaces as an unexplained constraint three stages later with no provenance.
"Prior sketches and project conventions don't apply this cycle."Ignored conventions get overridden by defaults, producing inconsistency the audit will flag against the rest of the system.

EXPLORE COMPLETE

附带文件

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

常见问题

Gdd Explore AI 技能有什么作用?

5 个阶段中的第 2 阶段——整合清单 grep 和设计访谈的统一探索阶段。探查 6 个关联项,扫描代码库,进行 AskUserQuestion 访谈,并生成 .design/DESIGN.md、DESIGN-DEBT.md 和 DESIGN-CONTEXT.md。在 {{command_prefix}}brief 之后使用,以梳理现有系统并在制定计划前敲定决策。用户提出研究设计方向、收集参考资料或探索视觉方案相关请求时触发。

为什么在 TypingMind 中使用 Gdd Explore?

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

如何在 TypingMind 中安装 Gdd Explore?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/explore。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Gdd Explore?

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

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

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

Gdd Explore AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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