repo_scout
Skill79 starsChanged 8 months agoMITView on GitHub
Scan and understand an ESP-IDF project structure, identifying components, dependencies, and architecture patterns.
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- esp32_arch_reviewSkill
- esp32_crash_reviewSkill
- esp32_log_triageSkill
- esp32_pin_auditSkill
- esp32_test_planSkill
- feature_contractSkill
- esp32_hardware_checkSkill
- pr_prepareSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Before writing an implementation contract.
- Distinctive: line 14
When you need to understand dependencies between components.
- Very specific: line 21
Check for CMakeLists.txt at root → ESP-IDF CMake project
- Very specific: line 22
Check for platformio.ini → PlatformIO project
- Very specific: line 23
Check for Makefile with PROJECT_NAME → Legacy ESP-IDF Make project
- Distinctive: line 48
Search for FreeRTOS task creation:
- Distinctive: line 80
Write the scout report to the active mission file or print it in a structured markdown block.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repo Scout
Scan an ESP-IDF project to understand its structure, components, and patterns before making changes.
When to Use
- Starting work on an unfamiliar project.
- Before writing an implementation contract.
- When you need to understand dependencies between components.
Steps
1. Identify Project Type
Determine the build system:
- Check for
CMakeLists.txtat root → ESP-IDF CMake project - Check for
platformio.ini→ PlatformIO project - Check for
MakefilewithPROJECT_NAME→ Legacy ESP-IDF Make project
2. Map the Component Structure
find . -name "CMakeLists.txt" -not -path "./build/*" | head -20
find . -name "component.mk" -not -path "./build/*" | head -20For each component directory, note:
- Component name
- Public headers (in
include/) - Dependencies (from
CMakeLists.txtREQUIRESandPRIV_REQUIRES) - Whether it has tests (check for
test/subdirectory)
3. Identify Hardware Configuration
Look for:
sdkconfig.defaults— default Kconfig settingssdkconfig— current build configuration- Pin definitions — search for
GPIO_NUM_,#define.*PIN,#define.*GPIO - Peripheral usage — search for
i2c_,spi_,uart_,ledc_,adc_,wifi_,ble_
4. Map Task Architecture
Search for FreeRTOS task creation:
grep -rn "xTaskCreate\|xTaskCreatePinnedToCore" --include="*.c" --include="*.h"Document:
- Task names
- Stack sizes
- Priorities
- Core affinity (if pinned)
5. Identify External Dependencies
Check:
idf_component.yml— ESP Component Registry dependenciesmanaged_components/— downloaded components- Git submodules —
.gitmodules - Direct source vendoring —
third_party/orlib/
6. Generate Scout Report
Produce a summary with:
- Project type: ESP-IDF version, build system
- Components: list with brief purpose
- Hardware dependencies: pins, peripherals, communication protocols
- Task map: FreeRTOS tasks with parameters
- External dependencies: libraries and components
- Test coverage: which components have tests
- Risks: anything unusual or potentially problematic
Output Format
Write the scout report to the active mission file or print it in a structured markdown block.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

