dsh-plugin-dev-skill
llms.txt5 starsChanged 57 days agoMITView on GitHub
An agent skill that teaches any AI coding agent how to develop DeepSeek Harness (DSH) plugins correctly, efficiently, and in line with the official conventions. Repository: https://github.com/green-dalii/dsh-plugin-dev-skill (skill id dsh-plugin-dev-skill, MIT). DeepSeek Harness is an agent harness SDK in which every capability — tools, LLM adapters, filesystem access, sandboxing, persistence, and the agent loop itself — is a plugin attached to a shared context, built on the Cordis framework. This repository is a documentation-only skill pack (no runtime dependency) that…
In this repositoryOne other file it gives its agents.
- dsh-plugin-dev-skillSkill
The file
Files
# DeepSeek Harness (DSH) Plugin Development Skill > An agent skill that teaches any AI coding agent how to develop DeepSeek Harness (DSH) plugins correctly, efficiently, and in line with the official conventions. Repository: https://github.com/green-dalii/dsh-plugin-dev-skill (skill id `dsh-plugin-dev-skill`, MIT). DeepSeek Harness is an agent harness SDK in which every capability — tools, LLM adapters, filesystem access, sandboxing, persistence, and the agent loop itself — is a plugin attached to a shared context, built on the Cordis framework. This repository is a documentation-only skill pack (no runtime dependency) that is verified against `@deepseek-ai/*` 0.2.1-alpha.1 (cordis 4.0.5-alpha.1). The skill body and reference docs are written in Chinese, matching the official DSH documentation; code templates, API names and commands are language-neutral. Key entry points: `SKILL.md` is the operating manual an agent loads (mental model, `defineTool` contracts, code templates, workflow, verification checklist); `References/` holds condensed digests of the official docs plus the real SDK type definitions; `VERSION` is the skill version the agent compares against the published one on every load; `scripts/verify.sh` is the project's own baseline check (version consistency + frontmatter legality + upstream URL liveness), run by the project's CI on every push. > **Authoritative URLs for crawlers** (immune to raw.githubusercontent.com CDN cache lag on `main`): the tag-pinned form below points to the latest released tag and stays correct after every release. The latest released tag at the time of this file is **`v0.6.2`**; future releases will replace this line and the URLs in the section below. ## Skill - [SKILL.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/SKILL.md): the operating manual — mental model and hard rules, plugin shapes, `defineTool` contract, configuration (Schemastery), services and dependencies, event system and scoped dispatch, LLM adapters (`LlmAdapter.stream()` / `StreamChunk`), capability layering, packaging and install, development workflow, common mistakes, reference index. - [VERSION](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/VERSION): single-line skill version used by the load-time update check (SKILL.md section 0.1). - [CHANGELOG.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/CHANGELOG.md): version history, including upstream vocabulary renames (Code Mode → PTC mode, `CallId` → `ToolCallId`). ## Reference docs - [References/00-INDEX.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/00-INDEX.md): index, SDK baseline, and a rename glossary mapping old upstream vocabulary to current terms. - [References/01-dsh-architecture.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/01-dsh-architecture.md): DSH architecture — CLI, profiles, bundles, patch layers, plugin loading, event domains. - [References/02-plugin-basics.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/02-plugin-basics.md): minimal plugin, three plugin shapes, `Config` validation, `inject`, effects, fiber lifecycle, HMR. - [References/03-tools.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/03-tools.md): tool development with `defineTool` — parameter/output schema DSL, execution pipeline, runtime metadata, background jobs, PTC mode, UI cards. - [References/04-config.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/04-config.md): plugin configuration and Schemastery, `!!js` expressions, validation failures, settings pages. - [References/05-llm-adapter.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/05-llm-adapter.md): LLM adapter guide — `LlmAdapter.stream()`, the `StreamChunk` protocol, `GenerateOptions`, provider metadata, errors and retry policy. - [References/06-framework-services-events.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/06-framework-services-events.md): services and dependencies, the five event dispatch modes, scoped dispatch, event producer contract, common harness events. - [References/07-publish.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/07-publish.md): packaging and install — `dsh.bundle` / `dsh.profile`, profile templates, `dsh plugin add`, config layer order, git install caveats. - [References/08-capability-layering.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/08-capability-layering.md): three-role capability design (service definition / provider / consumer) and the seam catalog of `ctx.*` services. - [References/09-cordis-primer.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/09-cordis-primer.md): Cordis primer — context, fiber, effects, registry, `ctx` API cheat sheet. - [References/10-spatiotemporal.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/10-spatiotemporal.md): summary of the paper "A Programming Paradigm for Spatiotemporal Composability", the formal foundation of Cordis. - [References/11-cookbook.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/References/11-cookbook.md): extension patterns — permission gate hooks, UI plugins, protocol drivers, feature-to-mechanism map. ## Upstream sources - [DeepSeek Harness repository](https://github.com/deepseek-ai/deepseek-harness): the SDK this skill targets. - [DeepSeek Harness documentation](https://deepseek-harness.github.io/deepseek-harness/develop/basic/): official developer documentation. - [A Programming Paradigm for Spatiotemporal Composability](https://arxiv.org/abs/2608.25512): the paper behind Cordis, the framework DSH is built on (arXiv:2608.25512; the earlier `cordiverse/paper` PDF link is retired). ## Optional - [README.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/README.md): install instructions for DSH, Claude Code, Codex CLI and other Agent Skills hosts, plus a FAQ. - [CONTRIBUTING.md](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/main/CONTRIBUTING.md): contribution guide, verification commands and the release/sync checklist. ## Latest tag (pinned, CDN-safe) These are the **same** files as above, pinned to the latest released tag so crawlers and answer engines get the published version regardless of branch-level CDN caching: - [SKILL.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/SKILL.md) - [VERSION @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/VERSION) - [CHANGELOG.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/CHANGELOG.md) - [References/00-INDEX.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/00-INDEX.md) - [References/01-dsh-architecture.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/01-dsh-architecture.md) - [References/02-plugin-basics.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/02-plugin-basics.md) - [References/03-tools.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/03-tools.md) - [References/04-config.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/04-config.md) - [References/05-llm-adapter.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/05-llm-adapter.md) - [References/06-framework-services-events.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/06-framework-services-events.md) - [References/07-publish.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/07-publish.md) - [References/08-capability-layering.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/08-capability-layering.md) - [References/09-cordis-primer.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/09-cordis-primer.md) - [References/10-spatiotemporal.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/10-spatiotemporal.md) - [References/11-cookbook.md @ v0.6.2](https://raw.githubusercontent.com/green-dalii/dsh-plugin-dev-skill/v0.6.2/References/11-cookbook.md)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

