Skip to content

Add pre-commit hook, GitHub Actions workflow, and community templates#73

Open
ckdash-git wants to merge 1 commit into
NVIDIA:mainfrom
ckdash-git:72-ci-integration-precommit-github-actions
Open

Add pre-commit hook, GitHub Actions workflow, and community templates#73
ckdash-git wants to merge 1 commit into
NVIDIA:mainfrom
ckdash-git:72-ci-integration-precommit-github-actions

Conversation

@ckdash-git

Copy link
Copy Markdown

Closes #72

Summary

Adds CI/CD integration support: a pre-commit hook definition and a GitHub
Actions workflow, so downstream projects can scan AI agent skills automatically
before commits and on every PR — without needing an LLM API key.

Changes

  • .pre-commit-hooks.yaml: pre-commit hook definition (static scan, no API key)
  • .github/workflows/skillspector.yml: GitHub Actions workflow with SARIF upload
  • .github/PULL_REQUEST_TEMPLATE.md: contributor checklist for all future PRs
  • .github/ISSUE_TEMPLATE/: structured bug and feature templates
  • README.md: new CI/CD Integration section with usage examples

Testing

  • make test passes (no Python changes, no tests affected)
  • make lint passes
  • Workflow YAML validated with actionlint (or GitHub's built-in check)

Checklist

  • SPDX license comment added to workflow YAML header
  • Commits signed off (git commit -s)

…mplates

- Add .pre-commit-hooks.yaml so downstream projects can run SkillSpector
  as a pre-commit hook (static-only by default, no API key required)
- Add .github/workflows/skillspector.yml: scans on push/PR and uploads
  SARIF results to GitHub Code Scanning for inline PR annotations
- Add .github/PULL_REQUEST_TEMPLATE.md with contributor checklist
- Add .github/ISSUE_TEMPLATE/bug_report.md and feature_request.md
- Update README with new CI/CD Integration section covering the GitHub
  Actions workflow and pre-commit hook with usage examples

Signed-off-by: Chandan Kumar Dash <mail.ckdash@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pre-commit hook support and GitHub Actions CI workflow

1 participant