gitlab-ci-templates

GitLab CI Templates

Content Preview
# GitLab CI Templates

## Node.js Baseline

```yaml
stages:
  - lint
  - test
  - build

node_lint:
  image: node:20
  stage: lint
  script:
    - npm ci
    - npm run lint

node_test:
  image: node:20
  stage: test
  script:
    - npm ci
    - npm test
```

## Python Baseline

```yaml
stages:
  - test

python_test:
  image: python:3.12
  stage: test
  script:
    - python3 -m pip install -U pip
    - python3 -m pip install -r requirements.txt
    - python3 -m pytest
```
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/gitlab-ci-templates.md \
  https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/engineering/ci-cd-pipeline-builder/references/gitlab-ci-templates.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/alirezarezvani/claude-skills

Then reference at engineering/ci-cd-pipeline-builder/references/gitlab-ci-templates.md

Related Skills