I built a repo where a first PR is one folder, and a 144-line validator reviews the format
说明与用途
一段144行Python脚本自动验证西班牙语技能目录的PR格式,减轻维护者工作量,简化新人提交首个PR的流程。
问题
Maintainers spend time manually checking PR format; newcomers struggle with first PRs.
结果
A 144-line Python script validates skill PRs automatically, reducing maintainer effort and helping newcomers submit correct PRs in one round.
工作流
- Fork repository
- Create new branch
- Add skill folder with SKILL.md and example
- Run local validation or push to trigger CI
- Fix reported errors
- Submit PR
- Review passes automatically
证据
Instead of the maintainer checking the format by hand, a Python script (standard library only, 144 lines) runs in CI on every PR.
It returns all errors of a skill at once, not just the first, so a newcomer fixes everything in one round.
Adding a skill never touches code. That matters for people sending their first PR.
- 记录日期: 2026-11-03T15:14:06.127Z