DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

AmethystLuna /

embedded-workbench

已验证

Embedded C/C++ AI engineering plugin — firmware skills (FreeRTOS, Keil, HardFault, state machines) + 1% Rule / Plan Verification Gate discipline | 嵌入式 C/C++ 工程 AI 插件:固件技能与 agent 纪律。 For Claude Code, Codex, Cursor, Kimi, OpenCode, ZCode and DeepSeek Harness (dsh)

★ 0 Stars1 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: master@250cdf96

中文


Embedded Workbench

HOL Guard Scanner

Embedded C/C++ firmware toolbox — 4 agents, 7 skills covering FreeRTOS, ISR, NVM storage, Keil MDK (AC5/AC6), ARMCLANG, HardFault triage, state machines, architecture principles, and LVGL patterns. v0.6.0.

Cross-platform — works with Claude Code, Codex CLI, Cursor, Kimi CLI, OpenCode, and ZCode. Built on the Agent Skills open standard.

Components

Agents (4)

Agent Model Description
architecture-steward opus / gpt-5.4 Read-only planning: design packages, module boundaries, slice breakdown
design-reviewer sonnet / gpt-5.3-codex Design doc fact-check: verifies claims against codebase
execution-worker sonnet / gpt-5.3-codex Plan → approve → implement cycle with build verification
quality-coordinator sonnet / gpt-5.3-codex Implementation review: bugs, compliance, closure

Skills (8)

Skill Description
embedded-workbench Bootstrap: workflows, policies, sub-agent mapping, proactive suggestions, platform tool mapping, document templates
debug-methodology 8 iron rules, fix principles, iterative debugging case study
embedded-firmware-dev FreeRTOS, ISR, NVM storage, async lifecycle, boundary analysis, architecture principles, LVGL pitfalls
keil-mdk-build UV4 CLI, ARM Compiler 5/6, .map analysis, merge/packaging, build diagnostics
c-cpp-dev Code generation, style, memory layout, refactoring for C/C++
state-machine-design State models, retries, timeouts, transition gates, implementation patterns
hardfault-triage Processor exception triage — fault registers, stack frames, PC-to-source, root-cause classification

logicprobe (design doc & plan claim verification, logic-primitive verification, adversarial probing) was split out into its own plugin in v0.6.0 — see Other Plugins Recommended.

Deep References

embedded-firmware-dev, debug-methodology, state-machine-design, and c-cpp-dev include in-depth reference material and code examples. Highlights: 12 architecture principles, embedded patterns (GIF timer safety, state latches, async lifecycle), LVGL pitfalls, 7-round iterative debugging case study, state machine implementation patterns, and embedded C specifics (volatile MMIO, linker sections, ISR wrappers).

Installation

Marketplace install (recommended)

Add the marketplace to ~/.claude/settings.json:

{
  "extraKnownMarketplaces": {
    "embedded-workbench": {
      "source": { "source": "github", "repo": "AmethystLuna/embedded-workbench" }
    }
  }
}

Then install from CLI:

claude plugin install embedded-workbench@embedded-workbench

Manual install

git clone https://github.com/AmethystLuna/embedded-workbench.git ~/.claude/plugins/dev/embedded-workbench

Then enable in ~/.claude/settings.json:

{
  "enabledPlugins": {
    "embedded-workbench@dev": true
  }
}

DeepSeek Harness (dsh)

Native dsh support ships as a cordis plugin bundle at the repository root (the root package.json declares dsh.bundle):

  • The skills are discovered as-is by dsh's skill-filesystem provider (Agent Skills open standard) — zero code.
  • The bundle injects the first-model-step gate (1% Rule / Red Flags / Plan Verification Gate) into the first model step of every agent session — the dsh-native counterpart of the Claude SessionStart hook. It also registers a model-visible catalog entry (cordis_inspect).
  • The 4 custom agents are intentionally not ported — dsh's native subagent tooling covers parallel multi-agent work.

Install: see .dsh/INSTALL.md (four options, from plain skill copy to dsh plugin add).

DSH install note: the package name is scoped as @amethystluna/embedded-workbench. In the web profile's package.json, both the dependency key and the dsh.profile.bundles entry must use the scoped name; the old unscoped name causes the dsh loader to fail with ERR_MODULE_NOT_FOUND.

Usage

The plugin auto-injects a capability notification into the first model step with a skill table, 1% Rule, and Red Flags reinforcement. Skills are loaded on demand:

  • Say "use Multi-Agent Workflow" or invoke Skill("embedded-workbench") for the full workflow system
  • Domain skills activate automatically when their Use when description matches your task — NOT clauses prevent false triggers (e.g., formatting-only won't load c-cpp-dev)
  • The agent proactively suggests verification, adversarial probing, and parallel subagents when it detects state machines, behavioral claims, or multi-module tasks
  • No manual CLAUDE.md configuration required

Codex CLI

This plugin also supports OpenAI Codex CLI. Skills follow the Agent Skills standard and work identically across both platforms. Agents are provided in Codex TOML format under .codex/agents/.

Codex install

# Add as a marketplace
codex plugin marketplace add AmethystLuna/embedded-workbench

# Install
codex plugin install embedded-workbench

Or manually:

git clone https://github.com/AmethystLuna/embedded-workbench.git ~/.codex/plugins/embedded-workbench

Skills are invoked with $skill-name (e.g. $debug-methodology) or auto-selected by Codex based on task context.

Cursor

Cursor 2.5+ has built-in plugin support. Agents in agents/ are auto-discovered.

Cursor install

# Clone to Cursor plugins directory
git clone https://github.com/AmethystLuna/embedded-workbench.git ~/.cursor/plugins/embedded-workbench

Or install from the Cursor plugin marketplace UI: /add-plugin AmethystLuna/embedded-workbench

Kimi CLI

Kimi CLI discovers skills from .claude/skills/ paths automatically. The .kimi-plugin/plugin.json manifest registers the plugin for Kimi's plugin manager.

Kimi install

# Via Kimi plugin manager
/plugins install https://github.com/AmethystLuna/embedded-workbench.git

# Or clone manually
git clone https://github.com/AmethystLuna/embedded-workbench.git ~/.kimi/plugins/embedded-workbench

Skills are invoked with /skill:<name> (e.g. /skill:debug-methodology).

OpenCode

Skills are auto-discovered from .claude/skills/ and .codex/skills/ paths. Add to your opencode.json:

{
  "plugin": ["embedded-workbench@git+https://github.com/AmethystLuna/embedded-workbench.git"]
}

Or install via skop which consumes the Claude marketplace manifest. See .opencode/INSTALL.md for detailed instructions.

ZCode (Z.AI)

ZCode 3.0+ follows the Agent Skills standard. No plugin marketplace — manually copy skills to .zcode/skills/:

git clone https://github.com/AmethystLuna/embedded-workbench.git
cp -r embedded-workbench/skills/* .zcode/skills/

Skills are invoked with $skill-name. ZCode also auto-discovers from .claude/skills/ and .codex/skills/. See .zcode/INSTALL.md for details.

Requirements

  • Claude Code v2.1+ / Codex CLI latest / Cursor 2.5+ / Kimi CLI latest / OpenCode latest / ZCode 3.0+
  • DeepSeek Harness (dsh): dev preview — verified on mainline 2026-08-14 (gate bundle loaded and injected in-session)
  • No external dependencies

Configuration

In DeepSeek Harness, the bundle accepts a small configuration object:

Key Type Default Description
enabled boolean true Set to false to disable the session-start gate injection.
gateContent string built-in gate text Override the text injected into the first model step.

To change it, override the row by id in your profile's cordis.patch.yml:

- insert:
    - id: embedded-workbench
      name: '@amethystluna/embedded-workbench'
      config:
        enabled: true
        gateContent: |
          ...

Uninstall

  • If you installed through the DSH plugin manager, remove the embedded-workbench plugin from the target profile using the same manager you used to install it.
  • If you copied skills/* manually, delete the copied skill directories from ~/.agents/skills/ or the project .dsh/skills/.
  • If you added the bundle as a cordis.patch.yml row, remove the row with id: embedded-workbench from the profile patch and restart DSH.

Permissions & Data

  • The plugin runtime reads only the skills/ directory shipped inside the package, in order to register skills through DSH's standard filesystem skill provider.
  • It injects the configured gate text into the first model step of a session.
  • It does not read credentials, open network connections, or access user data outside the DSH session context.
  • When the skills are actually used, the model may read project files as directed by the user, just like any other coding skill.

Troubleshooting

  • Skills not visible in DSH: confirm you are on a DSH version that supports ctx.skills/Agent Skills discovery, and restart the profile after install.
  • Gate not injected: check that enabled is not false and that the row id embedded-workbench is present in the active profile patch.
  • Plugin manager rejects installation: make sure @deepseek-ai/* packages are declared as peerDependencies, not regular dependencies.
  • After manual copy, DSH still doesn't see the skills: use the native bundle install (dsh plugin add "github:AmethystLuna/embedded-workbench") instead of copying.

Development

npm install
npm run typecheck
npm run build

Run the DSH skills registration test and trigger tests:

node tests/dsh-skills-registration.test.mjs
bash tests/skill-triggering/run-all.sh

License & Security

Licensed under MIT. See LICENSE.

To report a security vulnerability, do not open a public issue. Use the private Security Advisory path or the contact method in SECURITY.md.

Other Plugins Recommended

Plugin Description
logicprobe Design doc & plan claim verification — logic-primitive verification (7 structural + 7 adversarial probes), refactoring regression detection. Split out of this plugin in v0.6.0; the Plan Verification Gate requires it.
superpowers The original agent discipline engine — skill loading enforcement, Red Flags, subagent-driven development. Many of this plugin's agent-compliance patterns (1% Rule, Red Flags, <SUBAGENT-STOP>, instruction priority) were adapted from Superpowers.

Acknowledgments

This plugin's agent-compliance architecture is adapted from Superpowers by Jesse Vincent (MIT License). Specific patterns adapted with gratitude:

  • 1% Rule — the insight that agents resist loading skills and need extreme language to overcome that bias
  • Red Flags table — enumerating agent rationalizations to short-circuit them
  • <SUBAGENT-STOP> — preventing subagents from re-loading bootstrap context
  • Instruction Priority — user > skills > system prompt hierarchy
  • Skill Types — Rigid vs Flexible classification
  • Session-start hook injection pattern — injecting capability context at session start
  • Trigger test framework — tests/skill-triggering/ structure and methodology

Superpowers is a general-purpose development plugin. Embedded Workbench applies the same discipline patterns to the embedded C/C++ domain.

—/ 5

暂无评分

已验证 DSH bundle

Commit 250cdf968df5

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于