mirror of
https://github.com/semgrep/skills.git
synced 2026-09-20 14:21:26 +08:00
Add pre-commit instruction to always run make
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -109,6 +109,17 @@ make build-skill SKILL=llm-security
|
||||
- **Skills with `rules/`**: Runs validation, builds `AGENTS.md`, extracts test cases, creates zip
|
||||
- **Skills without `rules/`**: Only creates zip (no validation/build needed)
|
||||
|
||||
### Before Committing
|
||||
|
||||
**Always run `make` before committing and pushing changes.** This ensures:
|
||||
- All skills are validated
|
||||
- Generated files (AGENTS.md, zip packages) are up to date
|
||||
- Tests pass
|
||||
|
||||
```bash
|
||||
make && git add -A && git commit -m "message" && git push
|
||||
```
|
||||
|
||||
## End-User Installation
|
||||
|
||||
Document this installation method for users:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user