buchylx/create-dsh-content-plugin ↗★ 1
create-dsh-content
Scaffold a content-automation DSH plugin in seconds — content publishing adapters (Dev.to / Bluesky / Mastodon / GitHub / LinkedIn), credential management, cross-platform formatting, and built-in release pipeline. 适合想要快速开发并发布多平台内容发布自动化插件的开发者。
같은 패키지 이름의 다른 저장소
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
create-dsh-content
Scaffold a content-automation DeepSeek Harness (DSH) plugin in seconds. 一键生成面向「内容自动化」的 DeepSeek Harness 插件。
Zero dependencies, pure ESM, Node ^22.19 || >=24. Dual mode: non-interactive flags or an interactive wizard (bilingual prompts).
Built on the conventions proven by create-dsh-plugin — same next-tag version pinning, same --verify smoke test — and extended with a content-publishing domain layer: platform adapters, credential management (BYOK), cross-platform formatting, and a release pipeline that gets your plugin indexed by the ecosystem.
Quick Start
# Non-interactive
npx create-dsh-content my-crosspost --platforms devto,bluesky
# Interactive wizard
npx create-dsh-content
Options
| Flag | Description |
|---|---|
-t, --template | Template variant (default content) |
| `-n, --name | |
| ` | npm package name (derived from dir) |
--plugin-id | cordis patch row id + plugin name export |
--tool-name | Tool name (default derived from package name) |
--platforms | Comma-separated platforms: devto,bluesky,mastodon,github,linkedin |
-y, --yes | Skip prompts, use defaults |
--verify | After generation: build + install into temp profile + dump-config |
--skip-install | Skip pnpm install inside the generated project |
--with-ci | Include GitHub Actions release pipeline (default: on) |
-h, --help | Show help |
-v, --version | Print version |
What you get
Every generated project ships with:
- Platform adapter layer —
PlatformAdapterinterface + working adapters for Dev.to / GitHub / Bluesky / Mastodon / LinkedIn (BYOK, no platform approval needed from the plugin author; LinkedIn is marked experimental due to OAuth review) - Credential management — typed credential service with validation (missing / invalid / disabled states)
- Cross-platform formatters — Markdown normalization, auto-split for long posts, result card rendering
- Version pinning —
@deepseek-ai/dsh-toolspinned to thenext-tag version (npmlatestis a stale0.0.1-rc.1) - Release pipeline —
--with-ci(default on) drops a GitHub Actions workflow into the generated project: type-check → build → publish to npm on av*tag - Pitfall guardrails — the 10 real-world pitfalls from the verified spike, baked into the generated README
Why a domain scaffold?
create-dsh-plugin gives you a standard empty kitchen — appliances work, but you cook from scratch. create-dsh-content gives you a ready-to-run content operation kitchen: adapters wired, credential drawers labeled, format rules in place, plating pre-designed. You focus on what makes your plugin unique.
Read the full design rationale in docs/DESIGN.md.
Development
node src/cli.js --help
node --test test/
# After a @deepseek-ai/dsh-* release: is it just a version refresh, or do we
# need to adapt the template? Compile-checks the current template against the
# current `next` DSH packages.
node scripts/dsh-compat.mjs # or: pnpm run compat
License
MIT