mcpbeat Sign in

Embedded Project Governance Agent Skill

A lightweight, risk-scaled workflow for AI-assisted embedded firmware development. Use when onboarding an embedded project, investigating or implementing firmware changes, working around generated code, handling shared interfaces, protocols, Flash/NVM, boot, DMA, ISR/RTOS concurrency, hardware bring-up, recovery, or target verification. Supports minimal user input and structured Issue-style tasks.

8k tokens
context cost
the whole folder, loaded on every use
12
files
instructions only
0
copies elsewhere
how many repositories repackaged it
100
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/crichars/embedded-project-governance --skill embedded-project-governance

The instruction itself

5 sections, as written by the author

Embedded Project Governance

Use this skill to keep embedded firmware changes minimal, authorized, and

verifiable. It complements the project's AGENTS.md; it does not replace chip

specifications, project facts, hardware judgment, IDE operation, flashing, or

target-board testing.

Start With The Smallest Useful Input

Accept either:

Project path: <path>
Goal or observed problem: <one or two sentences>
Please investigate first; do not edit code yet.

or the structured form:

Goal: <observable result>
Scope: <files, modules, or boundaries>
Problem: <current symptom or reason>
Reference: <existing implementation or document>
Constraints: <must-not-change, resource, safety, or compatibility limits>
Acceptance: <how success will be observed>

Do not ask the user to provide facts that can be discovered from the repository

or authoritative documents. Mark unresolved information as UNKNOWN and ask

only questions that can change the design, risk, or acceptance result.

Treat fields in the current user request as the active task. Restate the parsed

fields before investigation; an unfilled project template must not erase them.

Do not ask again for a field the user already provided.

Initialize A Project When Requested

When the user explicitly asks to add the governance files to a project, run:

.\scripts\init-project.ps1 -ProjectPath <project-path>

Run the script from this skill's directory. By default it preserves existing

files. Never use -Force unless the user explicitly approves overwriting the

listed target files. Do not initialize a project merely because this skill was

invoked; the workflow can inspect an existing project without copying files.

After initialization, read the created AGENTS.md, PROJECT.md, and capability

map before proposing changes. Treat project-template/ as output material, not

as additional skill instructions to load into every task.

Workflow

  • Read the project's AGENTS.md, PROJECT.md, capability map when present,

active task, build files, and affected code.

  • Report confirmed facts, assumptions, conflicts, unknowns, existing reusable

capabilities, generated-code boundaries, and risk.

  • Choose the lightest process that protects the task. Use the project's task,

requirement, design, and verification templates only as needed.

  • Propose the smallest change and observable acceptance conditions. Do not edit

source, configuration, or build files until the approved scope is explicit.

  • Implement only the approved scope, reusing existing drivers, BSP, SDK, HAL,

RTOS, utilities, and supported generated-code extension points.

  • Ask the maintainer to build, flash, and observe the target when required.
  • Record actual evidence, skipped checks, open items, and residual risk. Do not

call a build or a single successful transaction hardware acceptance.

  • Run a correctness review and a minimality review for unnecessary complexity.

Risk Gates

Treat startup/reset, Flash/NVM/OTA, watchdog, DMA ownership, security, safety,

power/actuator output, and irreversible operations as high risk. Before such an

operation, confirm the target and range, bound the action, define timeout and

recovery, and obtain explicit approval. After important failures, verify the

system is retryable, safe, or explicitly terminal.

For Flash/NVM work, confirm the storage type and layout, target range, erase and

write granularity and alignment, endurance, integrity or atomicity, power-loss

recovery, ownership, and target verification method before implementation.

Use the project status ladder:

Planned -> Implemented -> Build Passed -> Host Verified -> HW Verified -> Accepted

Keep project-specific facts in project files and keep this workflow reusable.

How to use it

Copy the folder

Take crichars/embedded-project-governance from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.