Skip to content

Commit 3e96525

Browse files
committed
fix(skill): Optional env checks for add_sensor_component_v1
1 parent a5ef050 commit 3e96525

File tree

1 file changed

+7
-7
lines changed
  • .agents/skills/add_sensor_component_v1

1 file changed

+7
-7
lines changed

.agents/skills/add_sensor_component_v1/SKILL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,25 @@ Wippersnapper_Components repo setup, image requirements, and testing in Adafruit
4141

4242
This skill accepts a sensor name as its argument (e.g. `/add_sensor_component_v1 TMP119`).
4343

44-
## Environment Check
44+
## Environment Check (optional, do not block on this)
4545

46-
Before starting, determine connectivity level — this affects whether you can use `gh` commands
47-
or must fall back to plain `git`:
46+
If Bash is available, quickly check connectivity to adapt your approach. **If Bash is not
47+
available or these commands fail, skip this section and proceed — use WebFetch/WebSearch for
48+
research, and do the code changes with the file tools you have. The user can handle git/PRs.**
4849

4950
```bash
5051
curl -s -o /dev/null -w "%{http_code}" https://www.bbc.com # general web access
5152
curl -s -o /dev/null -w "%{http_code}" https://api.github.com # GitHub API (needed for gh)
5253
git ls-remote https://github.com/adafruit/Wippersnapper_Components HEAD # git clone access
5354
gh auth status # see if cli/token/login present
54-
5555
```
5656

5757
| Result | Capability |
5858
|--------|-----------|
59-
| All 3 succeed | Full access — use `gh` for forking, PRs, API queries |
59+
| All succeed | Full access — use `gh` for forking, PRs, API queries |
6060
| BBC fails, GitHub API works | Restricted web but `gh` works — skip web fetches for product pages |
61-
| BBC + API fail, git works | Git-only — use `git clone`/`git push` instead of `gh`, create PRs manually via browser |
62-
| All fail | Offline — can only write code, user must handle git/PRs |
61+
| BBC + API fail, git works | Git-only — use `git clone`/`git push`, create PRs manually |
62+
| All fail / no Bash | Offline — write code with file tools, user handles git/PRs |
6363

6464
## CI Checks
6565

0 commit comments

Comments
 (0)