Skip to content

chopinfeng/awesome-hardware-skills / template

esp32-ble-gatt

Verified

Build ESP-IDF 5.x firmware for ESP32-C3/S3 that exposes BLE GATT services with NimBLE — advertising, characteristic read/write/notify, MTU and connection parameter tuning. Use when the user asks for a BLE peripheral, GATT server, or "make the ESP32 show up in nRF Connect", including sensor-over-BLE and phone-app pairing flows.

evals/tasks/01-blink.yaml

View on GitHub
# One task = one prompt the agent receives + the physical side effects that prove it worked.
id: 01-blink
level: easy                      # easy | medium | hard
timeout_s: 600

prompt: |
  Create a new ESP-IDF project for the esp32-c3-devkitm-1 that toggles GPIO5 every 500 ms
  and prints "tick" over UART0 at 115200 baud on every toggle.

# What the runner does after the agent says it's done.
build:
  cmd: idf.py build
  cwd: .                         # relative to the agent's working directory

# How the tester flashes the frozen build. {port} is replaced with the board's port.
flash:
  cmd: idf.py -p {port} flash

# Observable assertions. Each must pass. Avoid LLM-judged assertions; prefer things a script can check.
assertions:
  - type: compile_only
  - type: serial_match
    baud: 115200
    pattern: '^tick$'
    min_matches: 4
    max_matches: 10                # upper bounds catch output or edges far faster than asked
    within_s: 3
  - type: gpio_state
    pin: 5
    expect: toggles
    min_edges: 4
    max_edges: 10
    within_s: 3

# Optional: a known-good reference the A/B runner can diff against for regression hunting.
fixtures:
  serial_expected: fixtures/01-blink.serial.txt
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall