agentleFS
lhbsaalhbsaa/apex-unified/skills/sdk-scan/SKILL.md

sdk-scan

Skill0 starsChanged 4 months agoMITView on GitHub

Scan vendor SDK examples and GitHub for reference code matching a hardware/peripheral query. Triggers on: find example, 找示例, SDK example, reference code, 参考代码, show me how to, demo.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search GitHub for matching projects

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

sdk-scan — SDK Example Scanner

Scan vendor SDK examples and GitHub for reference code patterns.

Workflow

  1. Detect project framework (ESP-IDF / PlatformIO / Arduino)
  2. Scan local SDK examples directories:
    • ESP-IDF: $IDF_PATH/examples/peripherals/
    • Arduino: Arduino library examples
    • PlatformIO: registry examples
  3. Search GitHub for matching projects
  4. Extract relevant code patterns
  5. Adapt to project hardware config (hardware.json)

Commands

TriggerAction
"find example for I2C SSD1306"Scan SDK + GitHub, return top 3 references
"show me how to use MQTT"Find ESP-MQTT examples + adapt to project
"reference code for BLE"Find NimBLE/Bluedroid examples

Output Format

Found 3 references for "i2c ssd1306":
1. ESP-IDF examples/peripherals/i2c/i2c_simple
   → I2C master init + write pattern
2. GitHub espressif/esp-idf-ssd1306
   → SSD1306 driver with framebuffer
3. Component: ssd1306 (in lib/)
   → Already in project, ready to use

Recommended: Adapt example #1 → use project pins from hardware.json
- SDA: 1, SCL: 2 (vs example's defaults)
- Clock: 400kHz (standard I2C)
- No pull-up needed (built-in on board)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.