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
-
Analyze project:
- Check
composer.jsonfor tools - Check existing
.gitlab-ci.yml - Identify required services
- Check for Dockerfile
- Check
-
Generate configuration:
- Main
.gitlab-ci.ymlwith includes - Modular files in
.gitlab/ci/ - Templates for reuse
- Main
-
Customize based on:
- PHP version from
composer.json - Required services
- Deployment targets
- Branch strategy
- PHP version from
Usage
Provide:
- Project path or composer.json
- Deployment targets (staging, production)
- Required services (MySQL, Redis, etc.)
The generator will:
- Analyze project structure
- Generate optimized pipeline
- Include proper caching
- Set up parallel jobs
- Configure deployments
More from dykyi-roman/awesome-claude-code
psr-overview-knowledge
PHP Standards Recommendations (PSR) overview knowledge base. Provides comprehensive reference for all accepted PSRs including PSR-1,3,4,6,7,11,12,13,14,15,16,17,18,20. Use for PSR selection decisions and compliance audits.
22detect-code-smells
Detects code smells in PHP codebases. Identifies God Class, Feature Envy, Data Clumps, Long Parameter List, Long Method, Primitive Obsession, Message Chains, Inappropriate Intimacy. Generates actionable reports with refactoring recommendations.
15clean-arch-knowledge
Clean Architecture knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for Clean Architecture and Hexagonal Architecture audits.
15ddd-knowledge
DDD architecture knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for Domain-Driven Design audits.
14testing-knowledge
Testing knowledge base for PHP 8.4 projects. Provides testing pyramid, AAA pattern, naming conventions, isolation principles, DDD testing guidelines, and PHPUnit patterns.
12bug-root-cause-finder
Root cause analysis methods for PHP bugs. Provides 5 Whys technique, fault tree analysis, git bisect guidance, and stack trace parsing.
12