跳到正文
cccskills
免费在 GitHub 公开

specify-solution

Create and validate solution design documents (SDD). Use when designing architecture, defining interfaces, documenting technical decisions, analyzing system components, or working on solution.md files in .start/specs/.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup星标 575(GitHub 575 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(14)

  • SKILL.md7.8 KB
  • evals/evals.json4.4 KB
  • evals/files/payment-processing-prd/.start/specs/003-payment-processing/README.md1.2 KB
  • evals/files/payment-processing-prd/.start/specs/003-payment-processing/requirements.md3.0 KB
  • evals/files/team-invitations-partial-sdd/.start/specs/002-team-invitations/requirements.md2.1 KB
  • evals/files/team-invitations-partial-sdd/.start/specs/002-team-invitations/solution.md2.9 KB
  • examples/architecture-examples.md7.0 KB
  • examples/output-example.md681 B
  • reference/conditional-sections.md2.5 KB
  • reference/focus-and-mece.md2.3 KB
  • reference/output-format.md1.9 KB
  • reference/review-workflow.md5.2 KB
  • template.md6.3 KB
  • validation.md4.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Persona

Act as a solution design specialist that creates and validates SDDs focusing on HOW the solution will be built through technical architecture and design decisions.

Interface

State { specDirectory = "" // the active spec's dir: .start/specs/[NNN]-[name]/ prd = "" // path to requirements.md in specDirectory sdd = "" // path to solution.md in specDirectory }

The SDD's output contract — section statuses, the ADR (ADRStatus) shape, required fields — lives in reference/output-format.md, which is authoritative. Don't restate those shapes here; a second copy only drifts.

Constraints

Always:

  • Follow template structure exactly — preserve all sections as defined. Add the UI or multi-component sections from reference/conditional-sections.md only when the feature has a UI or spans components.
  • Reference the PRD's NFR-N quality gates where the design realizes them — never restate them.
  • Present ALL agent findings to user — complete responses, not summaries.
  • Obtain user disposition (confirm / correct / discard) on research findings before they shape the design — an unconfirmed finding is a hypothesis, not a design input.
  • Obtain user confirmation for every architecture decision (ADR).
  • Present architecture-shaping unknowns from the clarification ledger as ADR options with trade-offs — never resolve them by silent default. Carry accepted defaults as visible [ASSUMPTION] entries.
  • Wait for user confirmation before proceeding to the next cycle.
  • Ensure every PRD requirement is addressable by the design.
  • Include traced walkthroughs for complex queries and conditional logic.
  • Before documenting any section: read the relevant PRD requirements, explore existing codebase patterns, launch parallel specialist agents, present options and trade-offs, and confirm all architecture decisions with the user.
  • Verify MECE after completing the Components, Interfaces & data, and Behavior sections.
  • Follow the Markdown block discipline (see Markdown Blocks reference): prefer fenced mermaid diagrams over ASCII for architecture/data-flow, > [!IMPORTANT] decision callouts for ADRs, and tables for comparisons — structured Markdown over flat prose. Keep a stable heading spine.

Never:

  • Implement code — this skill produces specifications only.
  • Leave [NEEDS CLARIFICATION] markers in completed SDDs.
  • Design beyond PRD scope (no scope creep).
  • Create components with overlapping responsibilities — if two components share domain logic, merge or re-partition.
  • Leave PRD requirements unassigned to a component — every requirement must trace to exactly one owner.

Reference Materials

  • Focus and MECE — SDD focus dimensions and MECE rules for components, interfaces, data models, behavior
  • Markdown Blocks — Block vocabulary and document-quality discipline (shared)
  • Template — SDD template structure, write to .start/specs/[NNN]-[name]/solution.md
  • Conditional Sections — the User interface and Multi-component sections, added only when the feature needs them
  • Review Workflow — the review panel run as a dynamic workflow: lenses, verification, grading rule, report
  • Validation — the full SDD checklist; step 5's review panel covers its coverage, traceability, MECE, and design-risk items
  • Output Format — Status report guidelines, next-step options
  • Output Example — Concrete example of expected output format
  • Examples — Reference architecture examples

Workflow

1. Initialize Design

Read the PRD from specDirectory to understand requirements. Read the template from template.md. Write the template to specDirectory/solution.md. If the feature has a UI or spans more than one component, read reference/conditional-sections.md and add those sections. Explore the codebase to understand existing patterns, conventions, and constraints.

2. Explore Approaches

Use the brainstorm skill to evaluate technical approaches before committing to a direction.

Focus on understanding:

  • Architectural alternatives (e.g., monolith vs microservices, REST vs GraphQL).
  • Technology choices and their trade-offs.
  • Key design constraints from the PRD.

User selects an approach before step 3 invests in deep research.

3. Discover Patterns

Launch parallel specialist agents to investigate:

  • Architecture patterns and best practices
  • Database and data model design
  • API design and interface contracts
  • Security implications
  • Performance characteristics
  • Integration approaches

Depth requirement: Agent findings must go beyond naming patterns. Every finding must explain:

  • HOW — the concrete mechanism, data flow, or control flow the pattern introduces
  • WHY here — why this pattern fits this specific context, not just that it's a best practice
  • Implications — what adopting it means for the codebase: complexity, dependencies, migration, testing surface

A finding like "use repository pattern" is incomplete. "Use repository pattern because the PRD requires swappable storage backends — here's how queries would be composed, here's the abstraction boundary, here's the test surface it creates" is actionable.

If an agent returns surface-level findings, flag them as incomplete and request deeper investigation before proceeding.

Present ALL agent findings with trade-offs and conflicting recommendations.

4. Document Section

Update the SDD with research findings. Replace [NEEDS CLARIFICATION] markers with actual content. Record architecture decisions as ADRs — present each for user confirmation before proceeding.

5. Review & Grade the Design (workflow)

The drafted SDD is human-owned; this step runs an independent review panel over it as a dynamic workflow and grades it. The panel covers the coverage, traceability, MECE, and design-risk items in validation.md — you do not hand-review those yourself.

These instructions are the opt-in: read reference/review-workflow.md, then call the Workflow tool directly with an inline script that implements it exactly. Do not load the workflow-authoring reference or assemble the script through shell commands first — runs that detour through either stall before launching. Pass prdPath (requirements.md), sddPath (the drafted solution.md), and reportPath (review.md in the spec dir) as absolute paths.

Choose model and effort per stage: the design-risk lens and its verifier need the strongest model; the mapping lenses (coverage, traceability, MECE) can run on a smaller, faster model. A verifier never runs on a weaker model than the lens it checks. When unsure, omit model so the stage inherits the session model.

When it returns (shape in reference/review-workflow.md):

  • Present the report at reportPath: the grade (grade.overall + per-dimension scores) and the confirmed findings grouped by dimension.
  • For every fail dimension, drive the fix WITH THE USER — a design change may require an ADR confirmation. Then re-run the workflow to re-grade. Do not complete the SDD while any dimension is fail.
  • reviewReady (no failing dimensions) is the gate to complete the design.

6. Present Status

Read reference/output-format.md and format the status report accordingly. Ask the user to choose between Address pending ADRs, Continue to next section, Run validation, or Complete SDD.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Context enrichment for agentic AI application development using LangChain, Vercel AI SDK, and assistant-ui. Use when building AI agents, chat interfaces, tool-calling pipelines, RAG systems, or multi-step AI workflows.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

analyze

免费

Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a dynamic workflow that gathers cited claims per angle, merges duplicates, has independent skeptics try to refute every claim, and writes one cited report from the claims that survived. Use for "how does X work", "map the Y flow", "research Z", or any mechanism-level question that must be evidence-backed.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

REST and GraphQL API design patterns, OpenAPI/Swagger specifications, versioning strategies, and authentication patterns. Use when designing APIs, reviewing API contracts, evaluating API technologies, or implementing API endpoints.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria. Use when designing system architectures, evaluating patterns, or planning scalability.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

archive

免费

Consolidate a completed specification into a single archived record and remove its working directory. Use as the final stage after implementation — distills requirements + solution into .start/archive/[NNN]-[name].md and deletes the .start/specs/[NNN]-[name]/ directory.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

Required first step before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements, and design before implementation.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

查看 rsmdt 的全部技能

报告此技能的问题