This is an orchestration layer for embedded development that discovers projects in your workspace, picks build/flash/debug/observe backends, and chains them together through shared state files. Instead of reimplementing toolchain logic, it delegates to underlying skills like Keil, JLink, OpenOCD, or probe-rs based on what it finds or what you've configured. The decision tree is sensible: CLI args override config file preferences, which override auto-discovery. When it spots multiple candidates it hands you a list rather than guessing. Useful if you're juggling different embedded toolchains and want one command to handle build-flash-debug sequences without manually wiring up each step every time.

skills.sh installs
689
GitHub stars
791
last updated
Aug 21, 2026

Install

$ npx -y skills add zhinkgit/embeddedskills --skill workflow --agent claude-code

Installs into .claude/skills of the current project.

Files

Workflow 编排层

本 skill 不重复实现底层逻辑,只做发现、选择、串联和聚合。

支持 Keil / GCC / EIDE 三种构建后端,以及 jlink / openocd / probe-rs 三种 flash/debug/observe 后端。

observe 阶段当前会给出 jlink:rtt、jlink:swo、openocd:semihosting、openocd:itm、probe-rs:rtt 这几类候选观测后端。

命令

python <skill-dir>/scripts/workflow_plan.py --json
python <skill-dir>/scripts/workflow_run.py plan --json
python <skill-dir>/scripts/workflow_run.py build --json
python <skill-dir>/scripts/workflow_run.py build-flash --json
python <skill-dir>/scripts/workflow_run.py build-debug --json
python <skill-dir>/scripts/workflow_run.py observe --json
python <skill-dir>/scripts/workflow_run.py diagnose --json

配置说明

workflow 不再维护独立的工程配置结构,所有工程参数统一从 .embeddedskills/config.json 读取。

配置结构

.embeddedskills/config.json 中的 workflow 段仅包含首选后端配置:

{
  "workflow": {
    "preferred_build": "auto",
    "preferred_flash": "auto",
    "preferred_debug": "auto",
    "preferred_observe": "auto"
  }
}

workflow 通过读取 .embeddedskills/config.json 中其他 skill 的配置段来获取工程参数(如 keil.project、eide.project、eide.config、jlink.device、probe-rs.chip 等)。

参数解析顺序

按以下决策树依次判断,命中即停止:

Sponsors

Details

Repository
github.com/zhinkgit/embeddedskills
Categories
DevOps & CI/CD, Debugging, Automation & Workflows
First seen
Jun 3, 2026

More from zhinkgit/embeddedskills

All 9
1davila7 avatarai-agents-architectdavila7/claude-code-templatesExpert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration. Use when: build age688skills.sh installs
2mindrally avatarnetlify-developmentmindrally/skillsNetlify development best practices for serverless functions, edge functions, Blobs storage, build configuration, and deployment workflows.688skills.sh installs
3mukul975 avataracquiring-disk-image-with-dd-and-dcflddmukul975/anthropic-cybersecurity-skillsCreate forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification (MD688skills.sh installs
4alirezarezvani avatarplaywright-proalirezarezvani/claude-skillsProduction-grade Playwright testing toolkit. Use when the user mentions Playwright tests, end-to-end testing, browser automation, fixing flaky tests, test migra687skills.sh installs
5jezweb avatarux-extractjezweb/claude-skillsExhaustively extract UX patterns from a reference web app. Walks every screen, captures screenshots of every state, records interaction patterns, copy verbatim,687skills.sh installs
6joellewis avatarstp-automationjoellewis/finance_skillsMeasure and raise straight-through processing (STP) rates in securities operations through zero-touch, exception-based processing. Use when measuring STP rates 686skills.sh installs