一键导入
project-claude-md
Generate a CLAUDE.md for a project with build commands, hardware constraints, architecture, and development tasks
菜单
Generate a CLAUDE.md for a project with build commands, hardware constraints, architecture, and development tasks
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)
Generate a standardized README.md for an ESP32 project by analyzing source code, justfile, and hardware configuration
Register a project in the monorepo — justfile mod, CI matrix, standard file inventory
Audit sdkconfig.defaults by inferring needed settings from source code analysis
| 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.>