Skip to main content

sdd-4b-didyouknow

Build shared understanding by surfacing non-obvious insights from SDD artifacts. Use when: before complex implementation, after creating a spec or plan, when feeling uncertain about assumptions, or between the Architect and Implement phases.

来源信息

仓库
willvelida/biotrackr
最近来源活动
2026年8月22日 06:02
检测到的 SKILL.md 语言
英语
星标
6
分支
3

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
sdd-4b-didyouknow
description
Build shared understanding by surfacing non-obvious insights from SDD artifacts. Use when: before complex implementation, after creating a spec or plan, when feeling uncertain about assumptions, or between the Architect and Implement phases.
argument-hint
[slug=...] [artifact=spec|plan|tasks]
# SDD Phase 4b: Did You Know? Surface non-obvious insights from SDD artifacts to build shared understanding before implementation. Presents insights one at a time and immediately updates the relevant artifact after each discussion. ## Inputs * **slug** (Optional): Slug from prior phases. Inferred from context if omitted. * **artifact** (Optional): Which artifact to analyze: `spec`, `plan`, or `tasks`. If omitted, auto-detect the most recent relevant artifact. ## When to Read References Load only the reference the current problem needs: * Conventions the plan may have silently violated: the matching file under `.github/instructions/` * Architectural coupling the plan treats as independent: `docs/architecture.md` * Ground already covered by an earlier decision: `docs/decision-records/` * Security controls the plan assumes but never states: `docs/security.md` ## Step 0: Doctrine Resolution Before starting, resolve project conventions: 1. Check for project doctrine files: * `docs/project-rules/` (constitution.md, rules.md, idioms.md, architecture.md) * `copilot-instructions.md`, `AGENTS.md`, `CONTRIBUTING.md`, `README.md` 2. If no doctrine found, scan the codebase for dependency manifests, build systems, and directory patterns. 3. Extract: build command, test command, coverage threshold, naming conventions, CI platform. 4. Unknown values become explicit `[TODO]` markers — never assume silently. ## Step 1: Load Artifact Context 1. Determine which artifact to analyze based on `{artifact}` or auto-detection: * `spec` → `.copilot-tracking/plans/{date}/{slug}/{slug}-spec.md` * `plan` → `.copilot-tracking/plans/{date}/{slug}/{slug}-plan.md` * `tasks` → Phase task tables within the plan file 2. Read the target artifact completely. 3. Read supporting artifacts (research dossier, clarifications, workshops, ADRs) for additional context. ## Step 2: Analyze from Multiple Perspectives Analyze the artifact from these perspectives: 1. **Assumption Auditor** — identify unstated assumptions that could cause surprises during implementation. 2. **Edge Case Scout** — find boundary conditions, error paths, or unusual states not explicitly covered. 3. **Dependency Detective** — surface hidden dependencies between tasks, modules, or external systems. 4. **Convention Compass** — flag areas where the plan diverges from established project patterns. 5. **Risk Radar** — identify risks that were downplayed or missing from the risk analysis. Select the **5 most impactful insights** from across all perspectives. ## Step 3: Present Insights One at a Time For each insight: 1. Present the insight with context and evidence. 2. Offer 2-4 response options: * "Good catch — update the artifact" * "Already considered — no change needed" * "Needs more research — mark as open question" * "Skip this one" 3. **Wait for the user's response before presenting the next insight.** 4. If the user chooses to update, **immediately apply the change** to the relevant artifact. Do not defer updates to the end. ### Insight Format ```markdown ### Did You Know? #{N} **Perspective:** {perspective name} **Artifact:** {file path} **Finding:** {the insight} **Why it matters:** {impact on implementation if not addressed} **Evidence:** {file:line reference or artifact section} **Options:** 1. Update the artifact with this insight 2. Already considered — no change 3. Needs more research 4. Skip ``` ## Step 4: Summary After all insights are presented (or the user stops early): 1. List which insights were accepted and which artifacts were updated. 2. List any insights marked for further research. 3. Note any new open questions added to the spec. --- > [!IMPORTANT] > **STOP** after presenting each insight. Wait for user response before continuing. Updates are applied immediately, not batched.
在 GitHub 查看