Skip to content

Commit e3818ed

Browse files
committed
Simplify
1 parent b43ffed commit e3818ed

5 files changed

Lines changed: 5 additions & 178 deletions

File tree

AUTHORING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Test the skill the way users will hit it:
155155
The structural rules from this guide — frontmatter shape, name format, description length, and `SKILL.md` body size — are enforced by `scripts/validate_skills.py` and run on every pull request. Run them locally before pushing:
156156
157157
```bash
158-
./scripts/check.sh # runs unit tests + validates every skill (same command CI runs)
158+
./scripts/check.sh # validates every skill (same command CI runs)
159159
```
160160

161161
The validator checks every skill under `skills/` for:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Best for cross-cutting skills that do not have a natural product home.
187187
4. Register the skill in `.claude-plugin/marketplace.json` with a human-readable description.
188188
5. Validate the skill locally before pushing:
189189
```bash
190-
./scripts/check.sh # runs unit tests and validates every SKILL.md
190+
./scripts/check.sh # validates every SKILL.md
191191
```
192192
6. Open a pull request. The `validate` GitHub Actions workflow runs `./scripts/check.sh` and must pass before merge. See [AUTHORING.md](AUTHORING.md#validating-locally) for the full set of enforced rules.
193193

scripts/check.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
2-
# Run unit tests and validate every SKILL.md in the catalog.
2+
# Validate every SKILL.md in the catalog.
33
#
44
# Usage:
5-
# ./scripts/check.sh Run tests + validate every skill.
5+
# ./scripts/check.sh Validate every skill.
66
# ./scripts/check.sh -h|--help Print this help.
77
#
88
# Requires `uv` (https://github.com/astral-sh/uv).
@@ -24,9 +24,7 @@ usage() {
2424

2525
case "${1:-}" in
2626
"")
27-
uv run scripts/test_validate_skills.py
2827
uv run scripts/validate_skills.py
29-
echo "All checks passed."
3028
;;
3129
-h|--help)
3230
usage

scripts/test_validate_skills.py

Lines changed: 0 additions & 171 deletions
This file was deleted.

scripts/validate_skills.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
Run from the repo root:
1818
19-
./scripts/check.sh # used by CI; runs tests + this
19+
./scripts/check.sh # used by CI; thin wrapper
2020
uv run scripts/validate_skills.py # ad-hoc
2121
uv run scripts/validate_skills.py --skills-dir skills
2222

0 commit comments

Comments
 (0)