Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

sddSDD 工具

Agent Skill

sdd 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

1

下载量

102
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sdd(SDD 工具)
来源仓库:https://github.com/tai-ch0802/skills-bundle
仓库路径:skills/sdd
安装命令:
npx skills add https://github.com/tai-ch0802/skills-bundle --skill sdd
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tai-ch0802/skills-bundle --skill sdd

简介

sdd 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • sdd 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Spec-Driven Development (SDD) Skill

This skill integrates PRD (Requirements) and SA (Analysis) knowledge, defining a standard development workflow. The core principle is "No Spec, No Code".

Core Principles

  1. Spec-First: Specs come before code
  2. Traceability: Every requirement can be traced to design and implementation
  3. Acceptance-Driven: Every requirement has verifiable acceptance criteria
  4. Version Control: Spec documents are version-controlled with change processes
  5. Living Documentation: Code changes must sync with spec updates to maintain consistency

Workflow Overview

flowchart LR
    A[User Request] --> B[PRD Phase]
    B --> C{Review}
    C -->|Approved| D[SA Phase]
    C -->|Rejected| B
    D --> E{Review}
    E -->|Approved| F[Implementation]
    E -->|Rejected| D
    F --> G[Verification]
    G -->|Pass| H[Done]
    G -->|Fail| F

Configuration

⚠️ Required: Before using this skill, customize the spec directory path to match your project structure.

By default, this skill references /docs/specs/ as the documentation location. Update paths in:

  • This file (sdd/SKILL.md)
  • sdd/references/tasks.md

Recommended Directory Structure

your-project/
├── docs/
│   └── specs/              ← Customize this path
│       ├── feature/
│       │   └── ISSUE-101_feature-name/
│       │       ├── PRD_spec.md
│       │       └── SA_spec.md
│       └── fix/
│           └── ISSUE-102_bug-name/
│               ├── PRD_spec.md
│               └── SA_spec.md

Core Workflow

This workflow uses a three-phase development model. All artifacts are stored in a configurable specs directory.

Phase 1: Product Requirement (PRD)

  • Goal: Define "What" and "Why".
  • File Location: {SPECS_DIR}/{type}/{ID-PREFIX}_{desc}/PRD_spec.md
  • Reference Skill: prd (See ../prd/SKILL.md)
  • Quick Guide: sdd/references/requirements.md
  • Key Content:

- User Stories (US-XX) - Functional Requirements (FR-XX, EARS syntax) - Acceptance Criteria (Given-When-Then) ⭐ Required - Success Metrics / Out of Scope

  • Version Control: Use Version field (e.g., v1.0)

Phase 2: System Analysis (SA)

  • Goal: Define "How". Transform business requirements into technical specs.
  • File Location: {SPECS_DIR}/{type}/{ID-PREFIX}_{desc}/SA_spec.md
  • Reference Skill: sa (See ../sa/SKILL.md)
  • Quick Guide: sdd/references/design.md
  • Key Content:

- Requirement Traceability Matrix ⭐ Required - System Architecture (Mermaid) - API Specifications / Data Models - Test Impact Analysis ⭐ Required

  • Version Control: Note the corresponding PRD version

Phase 3: Implementation

  • Goal: Execute tasks defined in the SA phase.
  • Reference Guide: sdd/references/tasks.md
  • Prerequisites: Both PRD and SA must be in Approved/Frozen status
  • Actions:

- Code based on SA_spec.md - Sync: If implementation reveals design adjustments needed, must update SA/PRD first - Verify against Acceptance Criteria from PRD_spec.md

Naming Convention

Directory name format: {ID_PREFIX}_{short-description}

ID_PREFIX has three types:

  1. ISSUE (Standard): Corresponds to GitHub Issue ID.

- Example: ISSUE-123_tab-groups - Use: General feature development and bug fixes.

  1. PR (External): Corresponds to Pull Request ID (if no Issue exists).

- Example: PR-456_typo-fix - Use: PRs submitted directly by external contributors.

  1. BASE (Baseline/Historical): Project initialization or retrospective specs.

- Example: BASE-001_initial-architecture - Use: Historical debt or foundational architecture documents without corresponding Issues.

Directory Structure Example

{SPECS_DIR}/
  ├── feature/
  │    └── ISSUE-101_tab-groups/   <-- Standard Flow
  │         ├── PRD_spec.md
  │         └── SA_spec.md
  └── fix/
       └── BASE-002_sync-bug/      <-- Legacy/Baseline
            ├── PRD_spec.md
            └── SA_spec.md

Agent Operation Guide

When receiving a user task:

  1. Check Requirements: Determine if the task warrants full SDD process.
  2. Scaffold: Use mkdir -p to create the correct folder path.
  3. Draft PRD: Write PRD_spec.md, must include Acceptance Criteria.
  4. Review Gate: Request User Review, wait for approval.
  5. Draft SA: Write SA_spec.md, must include Requirement Traceability.
  6. Review Gate: Request User Review, wait for approval.
  7. Code: After approval, begin implementation.
  8. Verify: Verify against Acceptance Criteria.

Spec Change Process

After a Spec enters Frozen status, any changes require:

  1. Create new version (e.g., v1.0 → v1.1)
  2. Record change reason in Revision History
  3. Re-obtain Reviewer approval
  4. Update related Traceability Matrix

Skill Contents

sdd/
├── SKILL.md                           # This file - Orchestration workflow
└── references/
    ├── requirements.md                # Quick PRD reference
    ├── design.md                      # Quick SA reference
    └── tasks.md                       # Implementation task template

References

PhaseQuick GuideFull Template
PRDsdd/references/requirements.mdprd/references/template_comprehensive.md
SAsdd/references/design.mdsa/references/system_design_doc.md
Taskssdd/references/tasks.md-

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.31%
按下载量换算35

Claude

29.64%
按下载量换算30

Cursor

18.76%
按下载量换算19

Gemini CLI

8.34%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills