omdsh-dev/plugin-template
A plugin template warehouse created based on the original turtle ui official warehouse
DeepSeek Harness Plugin Template (omdsh-dev) is a self-contained standalone repository template for an ESM Cordis plugin: a complete layout with source owners (index.ts loader-facing function-plugin namespace, config.ts serializable schema and resolved defaults, runtime.ts fakeable host boundary and Cordis activation, invariant.ts package-owned invariant companion), a real-Cordis test harness (tests/harness.ts) with loader/activation tests and snapshot conventions, repository-local agent skills for plugin development (dsh-plugin-development coordinator plus plan/scaffold/implement/compose/test/release skills), a shared local contract (docs/dsh-plugin-contracts.md), idempotent host patch application (scripts/patch.sh, extract-patch.mjs), and config-driven patch regeneration. A package may be host-only, client-only, or split across host and browser faces.
Install
N/A — repository template, not a plugin. Use as the starting point for a new plugin.This is a self-contained standalone repository template for an ESM Cordis plugin — every source file, compiler setting, test fixture, contributor instruction, skill, and build helper used by the repository is inside this directory. Create your plugin by replacing package identity, then follow the README's repository layout (src/index.ts, src/config.ts, src/runtime.ts, src/invariant.ts, tests/harness.ts, tests/plugin.spec.ts, cordis.patch.yml, package.json with dsh.bundle.patch). Normal npm dependencies resolve from the package registry; a DSH host is a runtime consumer of the finished package, not a source or build input.
Compatibility
Targets DeepSeek Harness plugin development: ESM Cordis plugin, host and/or browser faces, optional patches/ contract for dependency and DSH-host patches, tsdown direct source-to-runtime/declaration build, vitest + type-aware Oxlint, pnpm workspace. The template does not require every plugin to copy one fixed directory layout.
Details
- Repo: omdsh-dev/plugin-template
- Category: Web UI Enhancements
- Stars: 11
- Version: Repository template; template LICENSE; ESM Cordis plugin structure
- Last push: 2026-09-16
- First seen: 2026-08-11
Recent updates
The current README documents the repository layout tree, the scalable source/test structure guidance, the create-your-plugin steps, and the agent-skill workflow included in the template.
FAQ
- Is this an installable plugin?
- No — it is a repository template for building new ESM Cordis plugins; you replace package identity and develop your own plugin from the skeleton.
- What does it include?
- Source and test skeletons, tsdown build, vitest + Oxlint config, pnpm workspace, cordis.patch.yml bundle contribution, repository-local agent skills, and a shared plugin-contracts doc.
- Does it require a fixed layout?
- No — the template's sample skeleton keeps src/index.ts, config.ts, runtime.ts, invariant.ts and tests/harness.ts, plugin.spec.ts, but the README says it does not require every plugin to copy one fixed directory layout.
Alternatives
omdsh-dev/dsh-plugin-skills · w2112515/dsh-plugin-development · PerryLink/dsh-plugin-guide