cosmix/loom/loom-ci-cd
Claude Code and agent skill by cosmix/loom
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Designs and implements CI/CD pipelines: testing, builds, deployment, security scanning. Not for: a loom stage/job.
Install
npx vskill@latest install cosmix/loom/loom-ci-cdSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as cosmix/loom/loom-ci-cd.
CI/CD
Overview
Pipeline design, security hardening, and optimization across GitHub Actions, GitLab CI, Jenkins, CircleCI, and cloud-native platforms. The load-bearing content is Expert Practices (bottom) — supply-chain, least-privilege, OIDC, cache trust boundaries, and platform gotchas. Read that section for any non-trivial pipeline.
Design Principles
- Fail fast, cheap-first: lint → typecheck → unit → integration → build → deploy. A stage should only run if everything cheaper passed.
- Parallelize independent work; shard slow test suites across runners; matrix multi-version/OS.
- Cache by lock-file hash, scoped by OS — never by branch (see cache gotcha). Cache deps, build output, Docker layers.
- Build once, promote by digest — never rebuild per environment (see Design Patterns). What you validated in staging must be the exact bytes that reach prod.
- Least privilege:
permissions: {}default, grant per-job; OIDC not stored cloud keys; pin actions by SHA. - Every deploy reversible; pipelines idempotent/re-runnable; manual approval gates for prod via environments.
- Shift security left: SAST/secret/dependency scans early; container scan pre-push; block on CRITICAL/HIGH.
Deployment strategies
| Strategy | Mechanism | Rollback | Use when | |
|---|---|---|---|---|
| Rolling | Replace pods incrementally | Roll forward/back | Default; backward-compat schema | |
| Blue-green | Two full envs, flip traffic | Flip back instant | Fast rollback, DB-compat needed | |
| Canary | Route N% to new version, ramp | Drop canary | Risk-averse, good metrics/SLOs | |
| Shadow | Mirror traffic, discard responses | N/A (no user impact) | Validate perf before real cutover |
Examples
Examples are trimmed skeletons — repeat checkout/setup-* steps per job (jobs don't share a workspace). Pin every action, including `actions/*`, to a reviewed full commit SHA in real use; retain the action major only as a comment for update tooling.
GitHub Actions: full pipeline
GitLab CI
Deploy via OIDC (no stored cloud keys)
Security scanning jobs
Tool map: SAST CodeQL / Semgrep / SonarQube (sonarqube-scan-action; sonarcloud-github-action archived 2025-10) · deps Trivy / Snyk / Dependabot · secrets TruffleHog / GitGuardian · container Trivy / Grype · DAST OWASP ZAP (against a deployed env).
Matrix + sharding
Monorepo path filtering
Alternatives to hand-rolled filtering: Turborepo/Nx affected graphs, Bazel — they compute the change-impact DAG and skip unaffected targets.
ML pipeline skeleton
ML specifics: validate data schema/quality before training; track experiments (MLflow/W&B); version models by SHA; gate deploy on metric thresholds; roll out via shadow → canary; auto-rollback on live perf degradation.
Caching & Parallelization
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/loom-ci-cd/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 3
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cosmix/loom/loom-ci-cd)