Token导航 LogoToken导航

Agent Skill · 研究检索

software-design-doc(软件设计文档)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

software-design-doc 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 63,725。

总安装 312周安装 13GitHub Stars 公开资料未说明下载 104核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rjtpp/agent-software-doc-skills --skill software-design-doc

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写,适合提炼结构或补齐章节。它能统一术语或检查链接,使用时需保留项目已有事实、命令和路径。避免把未确认的信息写成确定结论,涉及对外文案时还需控制语气。

通过 npx skills add https://github.com/rjtpp/agent-software-doc-skills --skill software-design-doc 安装。适用于文档编写类任务,需确保内容准确。

来源仓库内路径:skills/software-design-doc

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rjtpp/agent-software-doc-skills --skill softwa…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

software-design-doc 怎么安装?

在终端执行 npx skills add https://github.com/rjtpp/agent-software-doc-skills --skill software-design-…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

software-design-doc 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

software-design-doc 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/rjtpp/agent-software-doc-skills --skill software-design-doc 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

software-design-doc 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

software-design-doc 用的人多吗?

公开数据是累计安装 312 次,近一周安装 13 次,下载 104 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

software-design-doc 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
software-design-doc

软件设计文档 · 本页

312—执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Software Design Description

Create or review an SDD using an IEEE 1016-inspired structure while staying pragmatic for project context.

Resources

Mandatory preflight sequence:

  1. Read available context first (PRD/SDD/repo docs relevant to the request).
  2. Optionally run a size check for large doc sets: python3 scripts/count_text_size.py --glob "<sdd-root>/**/*.md" --by-heading.
  3. Recommend mode, detail profile, and output root from that context.
  4. Ask for user confirmation before drafting.

Do not start drafting until preflight confirmation is received, unless user explicitly uses /fast or /assume.

Copyright and Standards Safety (Mandatory)

  • Treat IEEE 1016-2009 as a conceptual reference only.
  • Use original wording in all generated outputs.
  • Do not reproduce or closely paraphrase any copyrighted standard text, tables, or figures.
  • Do not provide clause text on request; provide section-alignment guidance and ask the user to consult their licensed standard copy for normative wording.
  • When referring to IEEE structure, cite section identifiers only (for example Clause 4), not normative text.
  • If a disclaimer is needed, include one concise line only (for example, IEEE 1016-inspired internal guidance, unofficial.).

Defaults

  • Mode: draft+review.
  • Completeness strictness: pragmatic.
  • Detail profile: ieee-pragmatic.
  • Codebase inspection: enabled when repository context is available.
  • Canonical output root: docs/sdd/
  • Artifact root: .agent-doc-skills/
  • Canonical output files:

- docs/sdd/index.md - docs/sdd/01-introduction.md - docs/sdd/02-03-system-context-and-concerns.md - docs/sdd/04-architecture-overview.md - docs/sdd/05-viewpoints-and-views.md - docs/sdd/06-design-elements-and-constraints.md - docs/sdd/07-08-traceability-and-rationale.md - docs/sdd/09-10-risks-and-summary.md

  • Review artifact files:

- .agent-doc-skills/sdd/gaps/YYYY-MM-DD.md - .agent-doc-skills/sdd/drift/YYYY-MM-DD.md

If the user specifies a different mode, follow the user preference. If the user specifies a different canonical output root or artifact root, only accept a safe relative directory inside the project folder.

Mode shortcuts accepted in user prompts:

  • /de or /draft+review -> draft+review
  • /d or /draft-only -> draft-only
  • /r or /review-only -> review-only
  • /dc or /drift-check -> drift-check

Mode resolution precedence:

  1. Explicit shortcut token in the prompt (/de, /d, /r, /dc, or long form)
  2. Clear natural-language intent (for example review only)
  3. Default to draft+review

Interaction options:

  • /ask (default): confirm scope/mode/inputs before drafting and request missing critical info.
  • /fast: proceed immediately with reasonable assumptions, then list assumptions in the output.
  • /assume: proceed with assumptions even if inputs are incomplete, and clearly mark assumption-based sections.

Detail profile options:

  • ieee-pragmatic (default): strict base structure with concise implementation guidance.
  • implementation-deep: keep all base sections and add deeper implementation files.

If user asks for detailed, implementation handoff, architecture deep dive, ERD/data dictionary, or full design package, use implementation-deep.

Output Root Safety (Mandatory)

  • Only write outputs within the repository root (project folder).
  • Allow custom canonical roots or artifact parent roots when they remain inside the repository (for example docs/architecture/sdd/ or .agent-doc-artifacts/).
  • Reject absolute paths and any path containing parent traversal (..).
  • Never write to sensitive paths (for example .git/, .github/workflows/, /etc/, home directories).
  • Never build shell commands by interpolating user-provided paths.

Input Contract

Expect at least one of:

  • project requirements/PRD context, or
  • an existing SDD document set root or index.md to review/update, or
  • a legacy single-file SDD to convert into the canonical document set.

If neither is available, stop and ask for missing inputs before drafting. Do not invent project-specific architecture details.

Useful optional inputs:

  • architecture constraints,
  • technology stack constraints,
  • required viewpoints,
  • completeness strictness override,
  • explicit output root inside the project folder.
  • explicit artifact root inside the project folder.

Before drafting, perform an intake check:

  1. Confirm mode, detail profile, and output root.
  2. Confirm whether repository inspection should be used.
  3. Identify missing critical inputs (PRD context, existing SDD input, key constraints).

If critical inputs are missing, ask concise clarification questions first. Only skip clarification when user explicitly uses /fast or /assume.

Modes

draft+review (default)

  1. Draft or update the canonical document set under docs/sdd/.
  2. Run completeness/gap analysis.
  3. Write the SDD files under docs/sdd/ and a dated gap report under .agent-doc-skills/sdd/gaps/.

draft-only

  1. Draft or update the canonical document set under docs/sdd/.
  2. Skip gap report unless requested.

review-only

  1. Accept an existing document-set SDD root or index.md as input.
  2. Do not rewrite source files unless user asks.
  3. Produce a dated gap report under .agent-doc-skills/sdd/gaps/ with concrete remediation actions for the document set.

drift-check

  1. Accept an existing document-set SDD root or index.md plus repository context.
  2. Read Doc Baseline Commit from the input SDD entrypoint index.md and compare <baseline>..HEAD using git history and diff summaries.
  3. Produce a dated drift report under .agent-doc-skills/sdd/drift/ with changed areas, likely affected SDD files/sections, and suggested next action.
  4. Do not rewrite source SDD files in this mode unless user explicitly asks after reviewing the drift report.

Required Workflow

  1. Discover context
  • Inspect repository docs and key code structure by default.
  • Identify available artifacts: PRD, existing document-set SDD files, legacy single-file SDDs, architecture notes, APIs, schemas.
  1. Identify stakeholders and concerns
  • Extract explicit and implied design stakeholders.
  • Convert requirements/risks/NFRs into design concerns.
  1. Select viewpoints
  • Choose only viewpoints that address identified concerns.
  • Mark omitted viewpoints as Not Applicable with justification.
  1. Draft or update the SDD document set
  • Use references/document-set/ as the canonical template library.
  • When the source is a legacy single-file SDD, redistribute its validated content into the canonical document set instead of preserving the old layout.
  • index.md is the document entrypoint and must contain document control metadata plus links to every generated section file in canonical order.
  • Store document-set drift metadata only in index.md; do not duplicate it across section files.
  • Include Doc Baseline Commit and Last Reviewed On in ## Document Control when repository context is available.
  • Use original wording; do not quote or mirror copyrighted standards text.
  • Preserve required section ownership by file.
  • Keep core architecture sections at the architectural abstraction level (layers/components/responsibilities), not file-by-file implementation listings.
  • Put concrete file/module paths in implementation-oriented files or appendices when needed.
  • Include Mermaid diagrams when they improve clarity.
  • Always include the core-3 formal artifacts:

- ## 4. Architecture Overview in 04-architecture-overview.md - ### 5.1 Viewpoint-to-View Mapping in 05-viewpoints-and-views.md - ### 6.1 Design Element Catalog (Formal Definitions) in 06-design-elements-and-constraints.md with fields: Component, Responsibility, Inputs, Outputs, Dependencies, Public Functions

  • Optional enhancements:

- Include quality-attribute scenarios using Stimulus, Environment, Response, Measurement when quality concerns are material. - Include a short future-evolution note in 06-design-elements-and-constraints.md and/or 11-data-design.md when persistent data is currently absent/static. - If optional enhancements are omitted, add a concise N/A rationale.

  • If detail profile is implementation-deep, include extension files:

- 11-data-design.md - 12-component-design.md - 13-human-interface-design.md - 14-requirements-traceability-matrix.md - 15-appendices.md - 16-design-decisions-locked.md

  1. Run pragmatic completeness pass
  • Check coverage against core IEEE-inspired structure themes without reproducing standard text.
  • Check concern-to-view coverage and missing decisions.
  • Ensure architecture/viewpoint/element formalization is explicit and reviewable across files.
  • Check consistency of terminology, component names, version references, and cited artifacts across the document set.
  • Check that index.md links to every generated section file.
  • Allow justified simplification for project scale.
  1. Run drift assessment when mode is drift-check
  • Read Doc Baseline Commit from index.md.
  • If the baseline is missing, invalid, or not reachable in git history, stop and ask the user to confirm how to establish a new baseline instead of fabricating one.
  • Compare <baseline>..HEAD with git log and git diff --stat style summaries.
  • Map changed areas to likely affected SDD files/sections.
  • Keep the output advisory; do not update canonical SDD files automatically.
  1. Write outputs
  • Ensure parent directory exists.
  • Resolve canonical output root and artifact parent root safely inside repository root only.
  • For draft+review or draft-only, write the canonical section files under docs/sdd/ or the approved custom canonical root.
  • For draft+review or review-only, write a dated gap report under .agent-doc-skills/sdd/gaps/ or the approved custom artifact parent root.
  • For drift-check, write a dated drift report under .agent-doc-skills/sdd/drift/ or the approved custom artifact parent root.
  • In review-only and drift-check, do not modify source SDD files unless explicitly requested.
  1. Validate canonical outputs
  • Run python3 scripts/check_sdd_structure.py --mode <draft+review|draft-only|review-only|drift-check> --docs-dir <canonical-output-root> --profile <ieee-pragmatic|implementation-deep>.
  • For evals/CI strictness, run with --require-all-subsections.
  • Section completeness is strict by default; use --allow-soft-sections only when section checks should be advisory.
  • In review-only or drift-check, add --strict-review-input when CI/evals should fail on missing canonical input files, missing document-map links, or missing required headings in the reviewed SDD set.
  • The checker validates only the canonical SDD document set. It does not validate gap or drift artifact files.
  • Treat checker hard-fail results as blockers and revise outputs before finalizing.
  1. Validate dated artifact outputs
  • For draft+review or review-only, run python3 scripts/check_doc_artifacts.py --artifact-root <artifact-root> --doc-kind sdd --artifact-kind gaps.
  • For drift-check, run python3 scripts/check_doc_artifacts.py --artifact-root <artifact-root> --doc-kind sdd --artifact-kind drift only when drift-check completed with a valid reachable baseline and produced a drift report.
  • The artifact checker enforces that dated markdown files exist and use YYYY-MM-DD.md naming.
  • Treat missing required artifact history as a blocker in evals/CI when that artifact type is expected for the exercised branch.

Canonical Base File Set

Use these files as the default document sequence:

  1. index.md
  2. 01-introduction.md
  3. 02-03-system-context-and-concerns.md
  4. 04-architecture-overview.md
  5. 05-viewpoints-and-views.md
  6. 06-design-elements-and-constraints.md
  7. 07-08-traceability-and-rationale.md
  8. 09-10-risks-and-summary.md

Gap Report Format

Use these headings in order:

  1. # SDD Gap Report
  2. ## Scope and Inputs
  3. ## Missing Required Content
  4. ## Weak or Implicit Rationale
  5. ## Traceability Gaps
  6. ## Recommended Fixes (Priority Ordered)
  7. ## Coverage Summary

Write dated gap reports under .agent-doc-skills/sdd/gaps/YYYY-MM-DD.md.

Drift Report Format

Use these headings in order:

  1. # SDD Drift Report — YYYY-MM-DD
  2. ## Scope and Baseline
  3. ## Changed Since Last Review
  4. ## Recommended SDD Files and Sections to Revisit
  5. ## Suggested Next Action

Include these metadata bullets near the top:

  • SDD Root:
  • Baseline Commit:
  • Current Commit:
  • Commits Since Baseline:
  • Checked On:

Write dated drift reports under .agent-doc-skills/sdd/drift/YYYY-MM-DD.md.

Pragmatic Completeness Rules

  • Treat mapped core content areas as required unless genuinely out of scope.
  • Treat core architecture/view/element formalization (04, 5.1, 6.1 with formal fields) as required.
  • Treat quality scenarios and future-evolution notes as recommended enhancements; allow omission with concise N/A rationale.
  • If an item is omitted, provide a short N/A rationale.
  • Favor correctness and implementability over ceremonial detail.
  • Keep terminology consistent with the project domain.
  • Prefer UX consistency / visual design constraints over vague labels such as aesthetics.
  • Prefer single consolidated stylesheet over monolithic stylesheet.
  • If the user asks for exact IEEE wording, decline and provide a non-verbatim summary.

Output Quality Bar

  • SDD sections are complete enough for implementation handoff.
  • index.md provides stable navigation and document control.
  • Architecture overview is explicit and includes logical plus deployment/runtime depiction.
  • Viewpoint choices are explicit with viewpoint-to-view mapping.
  • Design elements are formally defined with component fields.
  • Terminology, component names, and version/references are internally consistent across files.
  • Gap report recommendations are actionable and prioritized.
  • Drift reports clearly map code changes back to likely SDD updates without editing canonical docs automatically.
  • No machine-specific assumptions or absolute local-only dependencies in document content.

Example Requests That Should Trigger This Skill

  • "Write an SDD document set with an IEEE 1016-inspired structure from this PRD and repo structure."
  • "Review this multi-file SDD and list standards gaps with fixes."
  • "Check whether our SDD is outdated after these repo changes."
  • "What changed since the last SDD update?"
  • "Update our SDD docs after moving from monolith to microservices."
  • "Map PRD requirements to design sections and identify missing architecture details."

平台分布

Codex

35.41%
按下载量换算37

Claude

30.48%
按下载量换算32

Cursor

18.78%
按下载量换算20

Gemini CLI

9.82%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/rjtpp/agent-software-doc-skills --skill software-design-doc 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills