# Create Gitlab CI

> Generates GitLab CI configurations for PHP projects. Creates pipelines with stages, caching, artifacts, parallel jobs, and deployment environments.

- Skill: `tomevault-io/create-gitlab-ci` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/create-gitlab-ci`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/create-gitlab-ci/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/create-gitlab-ci

---


# GitLab CI Configuration Generator

Generates optimized GitLab CI pipelines for PHP projects.

## Generated Files

```
.gitlab-ci.yml           # Main pipeline configuration
.gitlab/
├── ci/
│   ├── templates.yml    # Reusable templates
│   ├── lint.yml         # Linting jobs
│   ├── test.yml         # Testing jobs
│   └── deploy.yml       # Deployment jobs
```

## References

- `references/templates.md` — Complete YAML templates: main pipeline, base templates, lint, test, deploy, security scanning, scheduled pipelines

## Generation Instructions

1. **Analyze project:**
   - Check `composer.json` for tools
   - Check existing `.gitlab-ci.yml`
   - Identify required services
   - Check for Dockerfile

2. **Generate configuration:**
   - Main `.gitlab-ci.yml` with includes
   - Modular files in `.gitlab/ci/`
   - Templates for reuse

3. **Customize based on:**
   - PHP version from `composer.json`
   - Required services
   - Deployment targets
   - Branch strategy

## Usage

Provide:
- Project path or composer.json
- Deployment targets (staging, production)
- Required services (MySQL, Redis, etc.)

The generator will:
1. Analyze project structure
2. Generate optimized pipeline
3. Include proper caching
4. Set up parallel jobs
5. Configure deployments

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/dykyi-roman) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

