# CI/CD

Integrate SkillKit into CI/CD pipelines

# [CI/CD Integration](/content/docs/cicd#cicd-integration/index.html)

Generate templates for automated skill management.

## [Generate Templates](/content/docs/cicd#generate-templates/index.html)

```
skillkit cicd init --provider github
skillkit cicd init --provider gitlab
skillkit cicd init --provider circleci
```

## [GitHub Actions](/content/docs/cicd#github-actions/index.html)

```
name: SkillKit
on: [push, pull_request]

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
      - run: npm install -g skillkit
      - run: skillkit validate
      - run: skillkit test --json > results.json
```

## [GitLab CI](/content/docs/cicd#gitlab-ci/index.html)

```
validate-skills:
  image: node:20
  script:
    - npm install -g skillkit
    - skillkit validate
    - skillkit test
```

## [Pre-commit](/content/docs/cicd#pre-commit/index.html)

```
repos:
  - repo: local
    hooks:
      - id: skillkit-validate
        name: Validate Skills
        entry: skillkit validate
        language: system
```

## [Best Practices](/content/docs/cicd#best-practices/index.html)

- Validate on PR
- Test in CI with `--json`
- Sync only on main branch
- Cache npm packages

[Python Client\
\
Async Python SDK for skill discovery](/content/docs/python-client/index.html) [Team Collaboration\
\
Share skills and maintain consistency across your development team](/content/docs/teams/index.html)
