跳到正文
cccskills
免费在 GitHub 公开

external-spec-integration

Process external specifications through transformation, classification, gap analysis, component discovery, and decomposition. Creates workflow items with classified context.

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

查看安装方法

包含的文件(5)

  • SKILL.md5.7 KB
  • resources/transformation.md3.8 KB
  • resources/workflow-steps.md8.7 KB
  • schemas/input.schema.json836 B
  • schemas/output.schema.json1.8 KB

SKILL.md(原文)

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

External Spec Integration Skill

Processes external specification files into the SDD workflow structure. Transforms product specs into classified tech spec context - specs are created interactively one at a time.

Purpose

When a user provides an external specification via /sdd I want to import an external spec:

  • Archive the external spec to sdd/archive/external-specs/ (single copy, yyyymmdd-HHmm-filename format)
  • TRANSFORM the spec: classify information, identify gaps, ask clarifying questions
  • DISCOVER required components through targeted questions
  • DECOMPOSE into workflow items with classified context
  • Create workflow items with context in sdd/workflows/<id>-<name>/
  • DO NOT create SPEC.md or PLAN.md files - those are created interactively

CRITICAL: External specs are product specs (WHAT/WHY). This skill transforms them into tech spec context (HOW) before decomposition.

Key Insight: External Specs Are Inherently Incomplete

Always assume external specs are lacking:

  • Details not thought through by product people
  • Technical implications not considered by non-engineers
  • Missing edge cases, error handling, and non-functional requirements
  • Implicit assumptions never made explicit

Critical asymmetry:

AreaTypical Detail LevelAction Required
User-Facing InterfaceHighExtract and classify
UX/DesignHighExtract and classify
Integration ContractsLowMust be DERIVED from interface
Business LogicVery LowMust be extracted through questions
Persistence/DataVery LowMust be discovered from interface + actions
Non-FunctionalAbsentMust be explicitly asked

When to Use

  • During /sdd I want to import an external spec when external spec is provided

Input

Schema: schemas/input.schema.json

Accepts path to external spec file, target directory, workflow ID, and optional domain.

Output

Schema: schemas/output.schema.json

Returns archived spec path, workflow ID, hierarchical flag, and list of created workflow items.

Workflow Overview

  1. Archive external spec to sdd/archive/external-specs/ via system CLI
  2. Detect large specs (>15K tokens) and chunk if needed
  3. Transform product spec: classify information, identify gaps, ask clarifying questions
  4. Discover components via component-discovery skill (once for entire spec)
  5. Present outline to user with hierarchical decomposition if applicable
  6. Thinking step — domain analysis, specs impact, gap analysis, API-first ordering
  7. Display thinking output for user review
  8. Create workflow items via workflow-state skill
  9. Create context files (context.md) for each leaf item
  10. Return summary with transformation, components, items, and thinking output

Resource Files

For detailed guidance, read these on-demand:

Key Differences from Previous Version

BeforeAfter
Created SPEC.md + PLAN.md immediatelyCreates workflow items with context only
Archived to archive/Archives to sdd/archive/external-specs/
No domain analysisComprehensive thinking step with domain extraction
No transformationNEW: Transformation classifies and identifies gaps
No component discoveryNEW: Component discovery before decomposition
Order in session onlyOrder persisted in workflow.yaml
All specs created upfrontSpecs created one at a time through solicitation
Modal dialogs for questionsNEW: Non-blocking conversational questions

Dependencies

This skill orchestrates:

  • workflow-state - Creates workflow and items
  • component-discovery - Identifies needed components (NEW)
  • spec-decomposition - Analyzes spec structure with thinking step

Trigger: /sdd I want to import an external spec command.

Workflow Steps Summary

StepActionOutput
1Archive External Specsdd/archive/external-specs/...
2Detect Large SpecsSize estimation, chunking plan
3TransformationClassification, gaps, clarifications
4Component DiscoveryComponents list (not applied)
5Present OutlineUser reviews structure
6Thinking StepDomain analysis, dependencies
7Display ThinkingUser confirms analysis
8Create Workflow ItemsItems in workflow.yaml
9Create Context Filescontext.md for each item
10Return SummaryComplete output

Notes

  • External specs are product specs - they are transformed, not copied
  • Transformation happens BEFORE decomposition
  • Component discovery runs ONCE for entire spec (not per-item)
  • Questions are non-blocking and conversational (no modal dialogs)
  • All Q&A is preserved and flows into SPEC.md Requirements Discovery section
  • Context files contain classified content for use during solicitation
  • Items are processed one at a time - user reviews each spec before moving to next
  • Hierarchical decomposition is mandatory for specs meeting criteria (2+ H1 with H2+)
  • Numbers indicate implementation order based on API-first dependency sort
  • Large specs (>15K tokens) use chunked processing with per-section progress

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.

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

LiorCohen/sdd432026年2月24日 更新

Scaffolds Node.js/TypeScript backend components with CMDO architecture, driven by component settings.

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

LiorCohen/sdd432026年2月24日 更新

CMDO architecture standards for Node.js/TypeScript backends with strict layer separation.

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

LiorCohen/sdd432026年2月24日 更新

Intent-to-command mappings for fullstack-typescript tech pack features.

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

LiorCohen/sdd432026年2月24日 更新

Create change specification and implementation plan with dynamic phase generation. Supports feature, bugfix, refactor, and epic types.

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

LiorCohen/sdd432026年2月24日 更新

Orchestrates the full change lifecycle — routes actions to phase-specific sub-files.

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

LiorCohen/sdd432026年2月24日 更新

查看 LiorCohen 的全部技能

报告此技能的问题