Introduction¶
DeepSeek Harness (DSH) adopts a plugin-based approach using “presets + skills” to enable agents to directly invoke local toolchains and specifications. The BLE firmware development workflow for the TS8XXX series of chips often involves a multi-step closed loop: compilation, flashing, log analysis, code quality checks, and more. When these steps are scattered across multiple sessions or scripts, it is not only easy to overlook specifications, but also difficult to form a reusable evidence chain. This article introduces d-lobster/ts8xxx-dev-plugin, which encapsulates the entire workflow as a DSH plugin with 24 auto-routable skills built in.
What It Is¶
The TS8XXX series development plugin is a workflow plugin for DeepSeek Harness, maintained by D-Lobster. It currently supports TS800X / SDK V1.5–V1.6. The plugin standardizes the BLE firmware development process through a preset called “TS8XXX Series Development” and a set of skills: from the module closed loop (build → flash verify → log/hardware verification → code-quality → final review), to hard constraints (SDK read-only, no LOG/Flash in ISR, R27 BBTIME liveness detection, R28 RAM 24K, R29 -O1 compilation, etc.). After installation, when creating a new session, simply select “TS8XXX Series Development” from the preset selector, and the agent will execute according to the TS8XXX workflow.
Core Features¶
- Presets and Skills: Provides the “TS8XXX Series Development” preset containing 24 skills, such as coding conventions R01-R29, Keil build, JLink/UART/OTA flashing, log analysis, code quality, dependency analysis, final review, and more. Skills are auto-routable, matching the required steps based on input.
- Workflow Closed Loop: The module closed-loop process follows: build 0/0 → flash verify → log/hardware verification → code-quality → final review. L1 is for quick closed loops of daily modifications, compilation, and test flashing; L2 is for quality/dependency/regression checks after module completion; L3 is for customer delivery, executing item-by-item evidence for R01-R29 and an independent final review.
- Hard Constraints: Built-in non-negotiable checkpoints including SDK read-only, no LOG/Flash in ISR, R27 BBTIME liveness detection, R28 RAM 24K, R29 -O1 compilation, etc., ensuring firmware compliance with series specifications.
- Installation and Configuration: Offers four installation methods: ZIP download, DSH plugin manager (GitHub source), plugin marketplace (aggregated by topic), and local directory/Git clone. The install script merges the preset declaration into the managed block of the profile and links skills via Junction to
%USERPROFILE%\.agents\skills, while setting the environment variableTS800X_WORKFLOW_ROOTto point to the installation directory. - Verification and Maintenance: Provides commonly used parameters such as
-Check,-DryRun,-Profile,-Force,-NoCopy,-Uninstall. During maintenance, checks and audits can be performed vianpm run sync:rules,npm run check:plugin, andnpm run test:app-audit. - GPT Remote Development: Through Remote Desktop Commander, reads this package’s Skills and executes the same toolchain on Windows. Follow the instructions in the GPT_REMOTE.md document.
Installation and Activation¶
The plugin provides four installation methods:
Method 1: Download ZIP (Recommended, no pnpm required)¶
- On the repository page, click Code → Download ZIP and extract to any directory;
- Open PowerShell and run:
powershell -NoProfile -ExecutionPolicy Bypass -File .\ts8xxx-dev-plugin\install.ps1
- Restart DeepSeek Harness (refresh the page on the Web side), then create a new session and select the preset “TS8XXX Series Development”.
Method 2: DSH Plugin Manager (GitHub source)¶
Requires pnpm on the local machine and DSH with plugin installation permissions:
dsh plugin --profile desktop add github:D-Lobster/ts8xxx-dev-plugin
After installation, restart the host as prompted; subsequently use dsh plugin --profile desktop list to check.
Method 3: Plugin Marketplace¶
This repository has been tagged with the GitHub topic dsh-plugin, and will be automatically aggregated by the DSH plugin marketplace/index by topic. Marketplace installation is equivalent to the GitHub source installation above. If the client supports “Discover → Index Source”, you can also directly add this repository URL as a plugin source.
Method 4: Local Directory / Git Clone¶
git clone https://github.com/D-Lobster/ts8xxx-dev-plugin.git
# Directly run the install.ps1 in the repository root (this repo root IS the plugin package)
powershell -NoProfile -ExecutionPolicy Bypass -File .\ts8xxx-dev-plugin\install.ps1 -NoCopy
The install script performs the following:
- Installs this plugin to
%USERPROFILE%\.dsh\plugins\ts800x-workflow; - Merges the preset declaration from
cordis.patch.ymlinto the managed block of%USERPROFILE%\.dsh\profiles\<profile>\cordis.patch.yml(with markers, verifiable and uninstallable); - Links skills under
_hook_skillsvia Junction to%USERPROFILE%\.agents\skills(DSH’sdsh-skill-filesystemscans this directory by default; skill bodies are not copied); - Sets the user environment variable
TS800X_WORKFLOW_ROOTto point to the installation directory; - Validates the preset declaration using the installed DSH parser (
check_preset_patch.mjs); if validation fails, nothing is written.
Common Parameters¶
# Verify installation integrity
.\install.ps1 -Check
# Preview the plan without writing files
.\install.ps1 -DryRun
# Specify DSH profile (default reads from package config)
.\install.ps1 -Profile web
# Upgrade/replace existing same-name skill links
.\install.ps1 -Force
# Don't copy to installation directory, use current folder directly
.\install.ps1 -NoCopy
# Uninstall (remove managed block, skill links, installation directory)
.\install.ps1 -Uninstall
Verifying Installation¶
# Installation integrity check
powershell -NoProfile -ExecutionPolicy Bypass -File .\ts8xxx-dev-plugin\install.ps1 -Check
# Check if preset declaration appears in the combined config (adjust profile name as needed)
dsh --profile desktop --dump-config | Select-String preset-ts8xxx-dev
In DSH: New session → Select preset “TS8XXX Series Development” → Type “Compile firmware” or “Flash firmware”, and the agent should automatically load the ts800x-build / ts800x-flash skills.
Typical Usage¶
- L1: Daily modifications, compilation, and test flashing in a quick closed loop;
- L2: Quality/dependency/regression checks upon module completion;
- L3: Customer delivery with item-by-item evidence for R01-R29 and an independent final review.
See WORKFLOW.md for details.
Applicable Scenarios and Notes¶
- Suitable for teams or individuals who need to standardize and make reusable the BLE firmware development workflow for TS800X / SDK V1.5–V1.6.
- The plugin runs with the current dsh process permissions. Before installation, review the source code and license (this plugin is licensed under MIT).
- When using Method 1 or Method 4, the install script writes the managed block to the profile and creates Junction links, while also setting the environment variable. When using Method 2 or Method 3, aggregation is handled by the plugin manager or marketplace via topic.
Conclusion¶
The TS8XXX Series Development plugin standardizes the BLE firmware development process into a reusable closed-loop workflow through the combination of presets and skills. If you are developing firmware for the TS800X series with SDK V1.5–V1.6 using DeepSeek Harness, you can install and enable this plugin following the methods described above. The plugin directory and source code can be found at the links below:
- Directory page: https://www.skillhub.cn/plugins/D-Lobster/ts8xxx-dev-plugin
- GitHub: https://github.com/D-Lobster/ts8xxx-dev-plugin