Skip to content

Commit b2f2f53

Browse files
committed
fix(skill): update learn guide URL format for clarity
1 parent 224d6dc commit b2f2f53

File tree

1 file changed

+1
-1
lines changed
  • .agents/skills/add-sensor-component-v1

1 file changed

+1
-1
lines changed

.agents/skills/add-sensor-component-v1/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Before writing any code, gather this information:
8383
| What | Where to look |
8484
|------|---------------|
8585
| Product page | Search the web for "adafruit <SENSOR>" to find the product page. The product page links to the learn guide. This is the fastest route to all other info. |
86-
| Learn guide | **Always read the learn guide before writing any code.** Fetch the `.md?view=all` version (e.g. `https://learn.adafruit.com/<guide-slug>.md?view=all`). The Arduino section names the exact library to use. Do NOT skip this step even if you think you recognise a sub-component (e.g. a board with an SHT41 onboard may have its own dedicated library like `Adafruit_STCC4` — you won't know without reading the guide). |
86+
| Learn guide | **Always read the learn guide before writing any code.** Fetch the `.md?view=all` version (e.g. `https://learn.adafruit.com/<guide-slug>/overview` goes to `https://learn.adafruit.com/<guide-slug>.md?view=all`). The Arduino section names the exact library to use. Do NOT skip this step even if you think you recognise a sub-component (e.g. a board with an SHT41 onboard may have its own dedicated library like `Adafruit_STCC4` — you won't know without reading the guide). |
8787
| Adafruit Arduino library | Named in the learn guide. Or: `gh search repos "<SENSOR>" --owner adafruit`. If no dedicated library, check related chips (e.g. TMP119 lives inside `Adafruit_TMP117`). Try partial matches like `TMP11` if exact fails. |
8888
| Library API | Read the library header on GitHub — find `begin()` signature and sensor read methods (`getEvent`, `readTempC`, etc.) |
8989
| I2C addresses | Sensor datasheet or Adafruit product page. Check https://learn.adafruit.com/i2c-addresses/the-list |

0 commit comments

Comments
 (0)