From grimoire
Designs or improves a CI pipeline for fast feedback and trunk-based development. Covers stages, parallelism, flakiness elimination, and instrumentation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:design-ci-pipelineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Design a CI pipeline that gives fast, reliable feedback on every commit and enables trunk-based development at scale.
Design a CI pipeline that gives fast, reliable feedback on every commit and enables trunk-based development at scale.
Adopted by: Google, Netflix, Amazon, Etsy — all DORA elite performers with documented CI/CD practices Impact: DORA research (Accelerate, 2018) shows elite performers have 46× more frequent deployments and 2,555× faster lead time to change; fast CI (<10 min) is a key differentiator between elite and low performers.
Why best: A well-designed CI pipeline is the heartbeat of software delivery. It enforces quality gates, provides rapid feedback, and is the foundation that makes trunk-based development safe at scale. Slow or flaky CI is one of the highest-leverage engineering problems to fix.
GitHub Actions structure:
jobs:
lint: # 1 min
unit-test: # 3 min, parallel matrix [node18, node20]
build: # 2 min, depends on unit-test
security: # 2 min, parallel with build
integration: # 5 min, depends on build
Total wall time: ~8 minutes via parallelism.
npm install from scratch on every run adds 2-3 minutes; cache the node_modules layer.npx claudepluginhub jeffreytse/grimoire --plugin grimoireGuides CI/CD pipeline design, configuration, and optimization with DORA metrics, best practices, and platform-specific tips for GitHub Actions, GitLab CI, and Jenkins.
Designs and optimizes CI/CD pipelines: stage structure, test parallelization, artifact management, and performance tuning. Useful when building or improving a pipeline.