embedded-driver-design

Creates detailed embedded driver implementation plans with bite-sized tasks and complete code steps.

Updated Sep 3, 2024
One-click install
npx skills add https://github.com/eminboydak/duckTerm --skill embedded-driver-design-eminboydak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: embedded-driver-design
Source: https://github.com/eminboydak/duckTerm/tree/main/.agents/skills/embedded-dev/skills/embedded-driver-design
Command: npx skills add https://github.com/eminboydak/duckTerm --skill embedded-driver-design-eminboydak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Embedded driver development often fails when plans are vague, contain placeholders, or skip verification steps. This Skill converts an approved hardware design spec into a complete implementation plan with exact file paths, full code blocks, and build/commit verification steps, so execution requires zero guesswork. ## Core Features & Use Cases - Bite-Sized Task Breakdown: Splits driver work into 2-5 minute steps, each with complete code, a build command, and a git commit. - Reference-Driven Design: Loads domain references (chips, protocols, hardware interfaces, debugging) based on the task type before planning. - Placeholder Enforcement: Rejects plans containing TBD, TODO, or incomplete code, and runs a self-review for spec coverage and type consistency. - Use Case: After approving a brainstorming spec for an ST7789 LCD driver, generate a plan defining include/lcd_st7789.h and src/lcd_st7789.c with DMA-chunked write logic, then hand it to the implementation phase. ## Quick Start Create an implementation plan for the LCD driver based on the approved spec in docs/embedded/specs.

Frequently Asked Questions about embedded-driver-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an embedded driver implementation plan?

Start from an approved design spec, load the relevant reference files for your task type, define the file structure first, then break work into bite-sized tasks. Each task needs complete code, a build verification command, and a git commit step.

What should an embedded driver plan document include?

A driver plan should include a goal statement, architecture summary, hardware constraints such as DMA buffer limits, exact file paths for headers and source files, and tasks with complete code blocks. It must avoid placeholders like TBD or TODO.

Does this skill generate driver code directly?

No, this skill only creates the implementation plan and enforces a hard gate against writing production code during the design phase. Code execution happens in the separate embedded-implementation phase that consumes the saved plan.

Why do embedded driver plans fail during implementation?

Plans fail when they contain placeholders, skip file structure definitions, omit verification steps, or have inconsistent function names across tasks. A self-review pass checking spec coverage and type consistency catches these issues before execution.

When should I run the driver design phase?

Run it after the brainstorming spec has been approved and hardware configuration is confirmed. Running it without an approved spec is flagged as a red flag, since the plan depends on confirmed requirements.