一键导入
project-claude-md
Generate a CLAUDE.md for a project with build commands, hardware constraints, architecture, and development tasks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a CLAUDE.md for a project with build commands, hardware constraints, architecture, and development tasks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Debug static, hiss, or noise on embedded I2S audio (ESP32 + MAX98357A / PCM DACs), especially streamed PCM. Measure the signal at each pipeline stage instead of guessing at the amp. Use when audio plays but sounds wrong.
Generate a printable Typst build guide (source + PDF) for an ESP32/MCU project by analyzing its docs, source, and schematic
Register a project in the monorepo — justfile mod, CI matrix, standard file inventory
Standardize credential handling for an ESP32 project (credentials.h.example, .gitignore, pre-commit protection)
Set up ESP-IDF development environment, create new projects, and verify configuration
Audit project completeness against the monorepo standard checklist (docs, config, registration)
| name | project-claude-md |
| description | Generate a CLAUDE.md for a project with build commands, hardware constraints, architecture, and development tasks |
| argument-hint | <project-path> |
| user-invocable | true |
| allowed-tools | Read, Write, Edit, Grep, Glob, Agent |
Generate or update a CLAUDE.md for the project at $1 (relative path under packages/<domain>/).
Read the project source to understand its internals:
main/*.c, main/*.h — all source files, pin defines, task structuremain/CMakeLists.txt — REQUIRES listsdkconfig.defaults — target, features, stack sizesjustfile — build/flash/monitor recipes and their exact namesREADME.md — existing descriptionWIRING.md — hardware detailsKconfig.projbuild — configurable optionscomponents/ — local componentsidf_component.yml or managed_components/ — external dependenciesGenerate CLAUDE.md following the template below
Model after the best existing examples: audiobook-player/CLAUDE.md (181 lines) and xbox-switch-bridge/CLAUDE.md (125 lines).
# CLAUDE.md
This file provides guidance to Claude Code when working with this project.
## Project Overview
<What this project does, target hardware, current status.>
## Build Commands
### Using justfile
```bash
just build # Build firmware (containerized)
just flash # Flash to device
just monitor # Serial monitor
just develop # Build + flash + monitor
just clean # Remove build artifacts
<Include ALL recipes from the project's justfile with descriptions.>
<Board-specific pin reservations, strapping pins, bus contention issues.> <Only include if there ARE constraints — omit for simple projects.>
<Only if non-trivial: battery, deep sleep, current requirements.>
<How the firmware is structured: main loop vs FreeRTOS tasks, state machine, communication flow.> <Include component/module descriptions for multi-file projects.>