dsh-plugin-nexus-sdlc: Integrating Claude and Codex in DSH with Spec-Driven

Preface

When doing multi-model collaboration in DeepSeek Harness (DSH), a common practice is to manually switch presets and write your own prompts to define “who plans, who codes, and who reviews.” As steps increase, specifications tend to drift, and review conclusions may not align with testable acceptance criteria. The community plugin dsh-plugin-nexus-sdlc (Nexus SDLC / Nexus Spec-Driven Development) codifies the process of “Clarify Spec → Plan → Implement & Test → Review → Distill Knowledge” into a set of declarative agent presets. It divides labor between Claude Code and Codex via four static delegation tools, while the main session retains shell, file system, search, job, /goal, and official isolated planning controller capabilities. The following introduces what it is, how to install it, and the boundaries you need to accept when using it.

What is this

dsh-plugin-nexus-sdlc is a spec-driven development preset package for DSH: the package name is dsh-plugin-nexus-sdlc, the Preset ID is nexus-sdlc, and it displays as Nexus Spec-Driven Development in the client. The maintainer is Fnckerpoi; source code and documentation are available in the GitHub repository, and the community directory page is the SkillHub entry. It is categorized as a workflow; the current npm version is 1.0.0, and the license is MIT. The README explicitly states: this is an independently written configuration combination, not an official DeepSeek product; it also does not include custom Host code or browser UI.

Compared to “temporary verbal division of labor in conversation,” this plugin uses Chinese personas and fixed delegation tools to write role boundaries into the preset. It also uses independent lines and permission modes for Codex / Claude at the Provider layer, aiming to complete the spec-driven development closed loop without bypassing DSH approval and sandboxing.

Compatibility and Prerequisites

Please check the README and peerDependencies in package.json before installing:

  • The current documentation states that checks have been performed on DSH core 0.2.0-rc.2; the Desktop shell version number is not the same as the DSH core version, and other core versions are not declared compatible.
  • The target Profile must have official filesystem, subprocess, job, command, agent, and preset services; the Shell tool is designed for macOS/Linux, and Windows is unverified.
  • The target Profile must have both official provider packages installed, and local Claude Code / Codex configuration and authentication must be available:
  • @deepseek-ai/dsh-subagent-codex@0.2.0-rc.2
  • @deepseek-ai/dsh-subagent-claude-code@0.2.0-rc.2
  • Node engine requirement: >=22.19.0.
  • If dsh-taskboard exists in the environment, the preset will provide kanban-related guidance; this package does not install the kanban, does not enable its auto-sync, and does not change its settings. If there is no kanban, it should truthfully report the absence rather than fabricate task operations.

Peer dependencies are marked as optional in npm resolution merely to prevent automatically reinstalling a harness/runtime; running this combination still requires these capabilities, and DSH will still validate the declared versions.

Core Functionality and Workflow

The README defines collaboration as prompt-guided coordination, not an automatic finite state machine: there is no real-time execution board, no guarantee that reviewers cannot write code, no guarantee that external model calls will succeed, nor does it treat review rhetoric as test evidence. Delegation only occurs when authorized by the user; if a required provider is unavailable, it should report failure rather than pretend a role has been executed.

The recommended flow is as follows:

  1. Clarify the Spec and testable acceptance criteria.
  2. Call subagent_claude_plan: Claude Code performs planning.
  3. Call subagent_codex_dev: Codex performs implementation, testing, and targeted fixes.
  4. Call subagent_claude_review: Evidence-based review; review again if necessary.
  5. Call subagent_claude_distill: Only after the review passes and the user accepts, distill knowledge that can be retained long-term.

In addition to the four static delegation tools mentioned above, the main session can also use shell / file system / search / job, /goal, the goal tool, and the official isolated planning controller. /feedback belongs to the Host and is not duplicated by this bundle.

Providers and Security Baseline

This plugin registers independent Provider lines:

Purpose Provider Line ID Registered Name permissionMode
Codex nexus-sdlc-provider-codex nexus-sdlc-codex never
Claude nexus-sdlc-provider-claude-code nexus-sdlc-claude-code plan

This is a division of labor based on the local preset security baseline; it does not bypass approval or sandboxing; native restrictions may still prevent implementation or distillation steps. The package does not carry personal paths, gateways, model aliases, credentials, or CLI state; the only explicit environment variable is ELECTRON_RUN_AS_NODE=1 for Electron startup (not a credential). Models and authentication are still determined by your local configuration or Profile overrides.

When customization is needed, only override supported fields like config.model or config.env for the independent Provider lines mentioned above; do not modify the shared codex / claude-code Providers to avoid inadvertently affecting permissions in other sessions. Plugin installation applies to the entire Profile, so it is recommended to verify in an isolated Profile first.

Installation and Activation

Replace desktop in the command below with your Profile name. If the CLI is not in your PATH, you can use the plugin manager in Desktop. First install the missing prerequisite plugins, then install this package:

dsh plugin --profile desktop add @deepseek-ai/dsh-subagent-codex@0.2.0-rc.2
dsh plugin --profile desktop add @deepseek-ai/dsh-subagent-claude-code@0.2.0-rc.2
dsh plugin --profile desktop add dsh-plugin-nexus-sdlc

After refreshing or restarting as required by the client, select Nexus Spec-Driven Development (nexus-sdlc) in a new conversation. Installation will not change your default preset.

If the old directory package nexus-sdlc-0-1-7-rc-2 is still retained locally, it can coexist with this public package: the new package uses a stable ID and independent Provider names, and does not overwrite the old version or PTC; old sessions will not automatically migrate, please select the new version in new sessions and uninstall the old version as needed after confirmation. Do not install both a local copy and an npm copy of this package simultaneously.

Typical Usage Description

This plugin does not provide a separate executable demo repository; “Typical Usage” means selecting the preset in a new session and advancing tasks according to the workflow steps:

  1. Work with the user to write requirements into a Spec and verifiable acceptance criteria.
  2. After user consent to delegate, use the four subagent_* tools in sequence to complete planning, development, review, and distillation.
  3. The implementation and review phases should retain real tests and command output as evidence; the review step cannot replace running tests.
  4. If the main session needs to break down goals or do long-range planning, it can be combined with /goal and the official plan mode, used in parallel with delegation steps.

The maintainer provides schema and compatibility-related self-test commands in the repository (for developers to verify package content, not a mandatory step for end-users):

npm ci
npm test
# Optional: Run compatibility gating against the locally installed DSH schema
DSH_APP_DIR="/path/to/dsh/installation" DSH_PROFILE_DIR="/path/to/profile" npm run test:host
npm pack --dry-run

Unit tests cover stable identifiers, absence of personal data, role bindings, permission defaults, peer version boundaries, and file scope; the host checker uses the installed schema for official compatibility matching, does not initiate model calls, and does not modify the Profile. Full external provider execution and GUI behavior are not within the scope of schema checking. See the repository’s verification notes for details.

Applicable Scenarios and Notes

Who it is for: Developers already using Claude Code and Codex in the DSH 0.2.0-rc.2 ecosystem, who want to do spec-driven development with a fixed workflow and are willing to authorize delegation step-by-step in the main session.

What it is not suitable for: It is not a one-click fully automated SDLC platform; it cannot replace local testing and CI; it cannot guarantee the success of every external call; community directories like SkillHub have no official affiliation with DeepSeek / High-Flyer, and you should still read the source code and the MIT license yourself before installing.

Permissions and Security: The plugin runs with the permissions of the current DSH process and Profile; installation immediately affects sessions under the same Profile. Do not submit keys in public packages or repositories; if the backend requires env overrides, please configure them in a private Profile.

Conclusion

dsh-plugin-nexus-sdlc converges the Nexus Spec-Driven Development process into an optional DSH preset: four delegation tools correspond to planning, implementation, review, and knowledge distillation, and Provider permissions align with official subagent packages, facilitating spec-driven collaboration in a single Chinese main session. Before choosing, confirm the versions of the core and the two subagent plugins, and simply select Nexus Spec-Driven Development in a new conversation to begin.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye