ワンクリックで
feature-contract
Generate a structured implementation contract before making any code changes to an ESP32 project.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate a structured implementation contract before making any code changes to an ESP32 project.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Verifies user's board configuration against known hardware limitations like strapping pins, ADC/Wi-Fi conflicts, and input-only pins.
Review ESP32 firmware architecture for RTOS safety, memory management, error handling, and embedded best practices.
Analyze ESP32 Guru Meditation errors and crash dumps to identify root cause and recommend fixes.
Parse and classify ESP32 serial log output to identify errors, warnings, boot issues, and failure patterns.
Audit ESP32 GPIO usage for conflicts, reserved pin violations, and documentation drift.
Generate a structured test plan for ESP32 firmware changes across all testing layers.
| name | feature_contract |
| description | Generate a structured implementation contract before making any code changes to an ESP32 project. |
Generate an implementation contract that must be reviewed and approved before any code changes begin.
Ask or determine:
Document:
Evaluate:
Specify:
Document:
Write the contract to the active mission file or as a standalone document using the template at missions/templates/implementation_contract.md.
# Implementation Contract
## Change Summary
[One-paragraph description]
## Non-Goals
- [What this does NOT include]
## Affected Files
| File | Action | Description |
|------|--------|-------------|
| path/to/file.c | MODIFY | [What changes] |
| path/to/new.h | CREATE | [Purpose] |
## APIs Touched
- `function_name()` — [How it changes]
## Risk Assessment
### Concurrency: [LOW/MED/HIGH]
[Details]
### Peripheral: [LOW/MED/HIGH]
[Details]
### Memory: [LOW/MED/HIGH]
[Details]
## Test Plan
- [ ] [Test case description]
## Rollback Strategy
[Steps to revert]
## Acceptance Criteria
- [ ] [Criterion]