Skip to content

Commit 25840a9

Browse files
Add the vercel-labs/skills/skills/find-skills skill (#1569)
1 parent 7affbc8 commit 25840a9

4 files changed

Lines changed: 18 additions & 7 deletions

File tree

.agents/skills/usethis-qa-static-checks/SKILL.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Perform static code checks
44
compatibility: usethis, Python, prek, basedpyright
55
license: MIT
66
metadata:
7-
version: "1.4"
7+
version: "1.5"
88
---
99

1010
# Static Checks
@@ -21,3 +21,7 @@ Note that we are interested in both errors and warnings from these tools - we sh
2121
## When to run these checks
2222

2323
Before submitting changes for review, **always** run these static checks. This should be done every time, even for small changes, to avoid slowing down the code review process unnecessarily.
24+
25+
## What to do when prek checks fail
26+
27+
It's quite common for minor cosmetic changes to be made automatically when running the prek checks, even by linters such as Ruff and mkdownlint-cli2. Since auto-fixes may have been applied during the first run, if checks fail, you should re-run a second time to see if any issues remain. Only then should you proceed to fix any remaining issues manually.

.agents/skills/usethis-skills-external-add/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Add an external (community) skill to the project from a third-party
44
compatibility: usethis, agent skills, npx, markdown
55
license: MIT
66
metadata:
7-
version: "1.1"
7+
version: "1.2"
88
---
99

1010
# Adding External Skills
@@ -17,7 +17,7 @@ External skills are sourced from third-party repositories rather than written lo
1717
2. Install the skills using `npx skills add <source> --skill '*' --agent github-copilot --yes` (e.g. `npx skills add CodSpeedHQ/codspeed --skill '*' --agent github-copilot --yes`).
1818
3. Note the skill name(s) added to `skills-lock.json`.
1919
4. Add each new skill to the external skills registry in `AGENTS.md`.
20-
5. Verify the hook passes: `python hooks/check-skills-documented.py`.
20+
5. Verify the hook passes: `uv run prek check-skills-documented`.
2121

2222
## Line endings and reproducible hashes
2323

AGENTS.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,16 @@ The `.agents/skills` directory contains agent skills.
4343

4444
External skills can be installed if they are not present — see the `usethis-skills-external-install` skill.
4545

46-
| Skill | Source | Description |
47-
| ------------------------ | --------------------- | ----------------------------------------------------------------------- |
48-
| `codspeed-optimize` | `CodSpeedHQ/codspeed` | Optimize code for performance using CodSpeed benchmarks and flamegraphs |
49-
| `codspeed-setup-harness` | `CodSpeedHQ/codspeed` | Set up performance benchmarks and the CodSpeed harness for a project |
46+
| Skill | Source | Description |
47+
| ------------------------ | --------------------- | ------------------------------------------------------------------------------------- |
48+
| `codspeed-optimize` | `CodSpeedHQ/codspeed` | Optimize code for performance using CodSpeed benchmarks and flamegraphs |
49+
| `codspeed-setup-harness` | `CodSpeedHQ/codspeed` | Set up performance benchmarks and the CodSpeed harness for a project |
50+
| `find-skills` | `vercel-labs/skills` | Discover and install agent skills from the open skills ecosystem for new capabilities |
5051

5152
### Important Instructions about Skills usage
5253

5354
- ALWAYS use possibly relevant agent skills when they are available. Eagerly use skills, if in doubt, assume a skill is relevant.
55+
- ALWAYS use `find-skills` to research new skill capabilities if there are difficult tasks, tasks in an unfamiliar domain, if you believe there is a lack of clarity or direction around precisely how to proceed, or if you get stuck or find something surprisingly challenging. When using this skill, please be sure to use the `usethis-skills-external-install` skill when deciding to install a new external skill.
5456
- ALWAYS consider the `usethis-qa-static-checks` to be relevant: if you think your task
5557
is complete, always run this skill to check for any issues before finishing.
5658
- ALWAYS mention which skills you've used after completing any task, in PR descriptions, and comments.

skills-lock.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
"source": "CodSpeedHQ/codspeed",
1111
"sourceType": "github",
1212
"computedHash": "587a58bc7498635347ee7a7eba66ac17c75430db7543be4af7eaab74533a6714"
13+
},
14+
"find-skills": {
15+
"source": "vercel-labs/skills",
16+
"sourceType": "github",
17+
"computedHash": "d31e234f0c90694a670222cdd1dafa853e051d7066beda389f1097c22dadd461"
1318
}
1419
}
1520
}

0 commit comments

Comments
 (0)