Deepchat Sdd 标志

Deepchat Sdd

组织热门
ThinkInAIXYZ
deepchat-sdd

在进行影响较大的 DeepChat 代码、配置、文档、测试、构建、功能、问题修复、重构或架构变更前使用,尤其是需要编写长期有效的 RFC 并明确执行路径时。琐碎的样式修复、小范围逻辑调整、常规文档编辑和简单错误可跳过,除非开发者要求使用 SDD。必要时仅使用 plan.md 作为独立跟踪文件;默认先实现再验证。除非开发者明确要求同步,否则在同步 GitHub issue 前先征求同意。

Add to TypingMind

概览

发布者ThinkInAIXYZ
代码仓库deepchat
技能名称deepchat-sdd
星标数
6.4K
复刻数
756
附带文件
1
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ThinkInAIXYZ 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Deepchat Sdd AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ThinkInAIXYZ/deepchat/tree/dev/.agents/skills/deepchat-sdd
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ThinkInAIXYZ/deepchat.git /tmp/deepchat
mkdir -p .claude/skills
cp -r /tmp/deepchat/.agents/skills/deepchat-sdd .claude/skills/deepchat-sdd
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Deepchat Sdd,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Deepchat Sdd。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Deepchat Sdd 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

DeepChat SDD

When To Use

Use this skill before substantial DeepChat source code, configuration, tests, docs, build scripts, release workflows, or project structure changes that need shared context or a durable decision record.

Skip SDD for trivial or tightly localized work unless the developer explicitly asks for it:

  • visual/style fixes, copy changes, and small UI layout adjustments
  • simple localized logic changes with a clear owner module
  • routine docs edits that do not change project direction
  • release metadata already covered by the release flow

If the scope is unclear, inspect first and then ask whether SDD is wanted instead of creating artifacts by default.

Classify The Goal

Create one kebab-case folder per goal:

  • New capability, user-visible behavior, integration, or tool large enough to need a shared plan: docs/features/<goal>/
  • Complex bug, regression, failing test, CI failure, reliability problem, or prompt/runtime issue: docs/issues/<goal>/
  • Refactor, migration, dependency boundary, shared contract, runtime architecture, or cross-module design: docs/architecture/<goal>/

If one request contains multiple independent goals, split them into separate folders. Keep current architecture reference docs such as docs/architecture/agent-system.md in place; use subfolders for new architecture targets.

Treat a bug as SDD-worthy only when the root cause, blast radius, or fix path is complex enough that future developers benefit from the written record. For simple style defects or obvious local logic fixes, skip docs/issues/* and implement directly.

If a bug fix introduces a new user-visible capability, data migration, public contract, or cross-module redesign, classify the work as feature or architecture instead.

Required Artifacts

Feature and architecture goals use two artifacts:

  • spec.md: the normative RFC covering context, goals, non-goals, design, ownership, interfaces, data flow, invariants, compatibility, acceptance criteria, and open questions
  • plan.md: ordered implementation steps and live completion state, followed by whole-change review, validation selection, cleanup, and quality gates

Do not create tasks.md. The plan is the only execution tracker.

Complex bug goals normally use one file:

  • spec.md: issue description, impact, root cause or suspected location, fix design, concise implementation checklist, validation outcome, and linked GitHub issue if one exists

Add plan.md only when a complex bug has multiple independently trackable implementation slices. Never add tasks.md.

Resolve every [NEEDS CLARIFICATION] marker before implementation. If the requested change is tiny, prefer skipping SDD over creating a token artifact.

Artifact Boundaries

Write spec.md as an RFC. It must explain enough implementation direction to constrain local code decisions without becoming a file-by-file task list. Acceptance criteria describe observable outcomes or independently verifiable contracts, not a test inventory.

Use plan.md as both plan and task tracker. Organize it into ordered checkbox sections whose steps are coherent, reviewable implementation slices. Include the objective, ownership boundary, essential guidance, dependencies when any, and completion condition. Reference the spec instead of repeating its design.

GitHub Issue Sync

Do not sync GitHub issues by default. Issue sync is a follow-up record, not a gate for local SDD or implementation.

Only create or link a GitHub issue when the developer explicitly asks, or after asking and getting approval once the SDD artifacts are written or the implementation is complete.

Eligible work:

  • Complex bugs only; simple style defects and obvious local logic fixes should not get issues.
  • Whole new features or major feature rewrites only; single actions, small behavior tweaks, and ordinary adjustments should not get issues.

If eligibility is unclear, ask the developer after the work is understood. Never self-authorize issue creation just because local gh is installed and authenticated.

When approved:

  • Feature issues use the [feature] label.
  • Bug issues use the [bug] label.
  • Create the label first if it is missing and gh has permission.
  • Record the issue URL or number in the SDD artifact.
  • If gh is unavailable or unauthorized, continue local-only and note that no GitHub issue was created only when sync was requested or approved.

When creating a PR for linked work, include Closes #NNN in the PR body so GitHub closes the issue automatically after merge.

Workflow

  1. Inspect the current code and docs first.
  2. Decide whether the work is substantial enough for SDD; skip artifacts for trivial/local changes.
  3. Pick the target folder from the classification rules when SDD is needed.
  4. Write or update the RFC and resolve every question that could change the implementation.
  5. For feature, architecture, or multi-slice bug work, write one ordered implementation plan without a separate task list or upfront test matrix.
  6. Keep the implementation aligned with existing DeepChat patterns:
    • main process Presenter boundaries
    • typed shared/contracts/*
    • renderer api/*Client
    • Vue 3 Composition API and i18n for UI strings
  7. For architecture work that changes or replaces a historical feature, update that feature's retained spec.md if it is still a maintained contract.
  8. Complete the planned implementation before deciding whether to author new test code. Existing checks may run at any time.
  9. Review the whole change against the spec for hidden side effects, compatibility, failure behavior, performance, security, naming, and maintenance cost.
  10. Select the smallest useful validation, remove temporary verification, and add durable tests only for qualifying behavior or contracts.
  11. Update plan.md or the complex-bug spec checklist as coherent implementation slices land.
  12. Ask whether to sync an eligible GitHub issue only after the docs or implementation clarify the scope, unless the developer already requested issue sync.
  13. Run pnpm run format, pnpm run i18n, pnpm run lint, and pnpm run typecheck before handoff when app code, tests, i18n, or project docs changed.

Implementation-First Validation

Implementation-first means finishing the planned implementation before deciding whether to author new tests. It does not prohibit running existing tests, type checking, linting, builds, or manual checks during development.

New test code before implementation is exceptional. Use it only when the developer requests TDD, a minimal executable reproduction is required to understand a complex failure, or migration, concurrency, recovery, or protocol compatibility needs characterization of current behavior. Record the reason in one sentence in plan.md or the complex-bug spec.

After implementation, choose among:

  • existing tests and static or build checks;
  • temporary probes, scripts, or tests that must be removed before handoff; and
  • the smallest durable regression tests for user-visible behavior, documented cross-module contracts, persistence or migration, lifecycle or concurrency, recovery, security boundaries, or proven regressions.

Do not retain tests that mirror private control flow, assert incidental call order, duplicate the implementation through mocks, or exist only to increase coverage. Prefer no new test to a low-value implementation-coupled test.

Documentation Hygiene

  • Do not perform broad SDD cleanup during ordinary feature, bug, or architecture work.
  • Use the separate deepchat-sdd-cleanup skill only when the developer explicitly asks to clean or organize SDD documentation.
  • Treat existing tasks.md files as legacy and migrate them only when that goal is actively updated. Merge remaining work into an existing plan.md; without one, keep a single-slice complex bug checklist in spec.md and create plan.md for feature, architecture, or multi-slice bug work. Do not perform a repository-wide migration during unrelated work.
  • During the current goal, update directly affected historical specs when they remain active contracts.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Deepchat Sdd AI 技能有什么作用?

在进行影响较大的 DeepChat 代码、配置、文档、测试、构建、功能、问题修复、重构或架构变更前使用,尤其是需要编写长期有效的 RFC 并明确执行路径时。琐碎的样式修复、小范围逻辑调整、常规文档编辑和简单错误可跳过,除非开发者要求使用 SDD。必要时仅使用 plan.md 作为独立跟踪文件;默认先实现再验证。除非开发者明确要求同步,否则在同步 GitHub issue 前先征求同意。

为什么在 TypingMind 中使用 Deepchat Sdd?

因为您只需安装一次,就能搭配任何模型使用。Deepchat Sdd 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Deepchat Sdd?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ThinkInAIXYZ/deepchat/tree/dev/.agents/skills/deepchat-sdd。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Deepchat Sdd?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Deepchat Sdd 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Deepchat Sdd 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Deepchat Sdd AI 技能免费吗?

是的。ThinkInAIXYZ 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇