PrizmKit CI/CD Generator
Generate production-ready CI/CD pipeline configurations derived from your project's tech stack context.
Commands
prizmkit.ci-cd
Generate a CI/CD pipeline configuration for the project.
STEPS:
- Read
.prizm-docs/root.prizmfor tech stack context (LANG, FRAMEWORK, BUILD, TEST) - Ask user: target platform
- GitHub Actions
- GitLab CI
- Jenkins
- Other (specify)
- Ask user: environments to configure (dev, staging, production)
- Generate pipeline config with stages:
- Install dependencies: Use project's package manager (npm, pip, cargo, etc.)
- Lint/format check: Run linter and formatter configured in project
- Run tests: Execute test suite with coverage reporting
- Build artifact: Compile/bundle project output
- Deploy: Per-environment deployment steps
- Include in generated config:
- Dependency caching (language-appropriate cache keys)
- Artifact management (build outputs, test reports)
- Environment variable placeholders with descriptive comments
- Write config to standard location:
- GitHub Actions:
.github/workflows/ci.ymland.github/workflows/deploy.yml - GitLab CI:
.gitlab-ci.yml - Jenkins:
Jenkinsfile
- GitHub Actions:
- Add environment-specific secrets as placeholders with
# TODO: Configure in CI/CD settingscomments - Generate a README section documenting the CI/CD setup:
- Pipeline overview
- Required secrets and environment variables
- How to trigger deployments
- How to add new stages
Path References
All internal asset paths MUST use ${SKILL_DIR} placeholder for cross-IDE compatibility.
Output
- Pipeline configuration file(s) in the appropriate standard location
- README section or standalone CI/CD documentation
微信扫一扫