AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Workflow

skill-zhinkgit-embeddedskills-workflow · by zhinkgit

>-

No reviews yet
0 installs
3 views
0.0% view→install

Install

$ agentstack add skill-zhinkgit-embeddedskills-workflow

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-zhinkgit-embeddedskills-workflow)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Workflow? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Workflow 编排层

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

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

observe 阶段当前会给出 jlink:rttjlink:swoopenocd:semihostingopenocd:itmprobe-rs:rtt 这几类候选观测后端。

命令

python /scripts/workflow_plan.py --json
python /scripts/workflow_run.py plan --json
python /scripts/workflow_run.py build --json
python /scripts/workflow_run.py build-flash --json
python /scripts/workflow_run.py build-debug --json
python /scripts/workflow_run.py observe --json
python /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.projecteide.projecteide.configjlink.deviceprobe-rs.chip 等)。

参数解析顺序

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

  1. CLI 参数(优先级最高)
  • 条件:用户在命令行传入 --build-backend--flash-backend 等参数
  • 示例:workflow_run.py build-flash --build-backend=keil --flash-backend=jlink
  • --build-backend 可选值:auto / keil / gcc / eide
  • 行为:直接使用该参数指定的后端,跳过后续步骤
  1. 配置文件(次优先)
  • 条件:CLI 未指定,且 .embeddedskills/config.jsonworkflow 段中对应 preferred_* 字段不为 "auto"
  • 示例:"preferred_build": "keil" → 使用 keil 作为构建后端
  • 行为:读取配置值并使用,跳过自动发现
  1. 自动发现(兜底)
  • 条件:CLI 未指定,且配置中 preferred_*"auto" 或字段缺失
  • 示例:"preferred_flash": "auto" → 扫描 workspace 自动推断可用 flash 后端
  • 行为:枚举候选后端列表;若唯一则直接使用,若多个则返回列表请用户确认

成功执行后,实际使用的后端会自动写回 .embeddedskills/config.jsonworkflow 段。

规则

  • 发现多个工程或多个候选后端时,只返回候选列表,不自动猜测
  • 构建、烧录、调试、观测之间优先通过 .embeddedskills/state.json 串联
  • observe 只生成推荐命令,不在 workflow 内直接长时间占用观测通道
  • 失败时优先返回哪个阶段失败,以及底层脚本的结构化错误
  • workflow 与其他 Skill 的协同只通过 .embeddedskills/config.json.embeddedskills/state.json 和子进程调用底层 Skill

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.