← ClaudeAtlas

gen-cilisted

Generate GitHub Actions CI workflows for this repository. TRIGGER ON: 'generate CI', 'add GitHub Actions', 'create CI workflow', 'set up CI', 'add CI/CD', 'create a CI pipeline', 'generate CI/CD', 'add continuous integration', 'set up GitHub Actions', 'add a lint+test workflow', 'add governance check', 'add PR health check', 'add drift check to CI', 'set up governance gate', 'enforce governance in CI'. Generates .github/workflows/ci.yml with lint, typecheck, and test jobs, and optionally .github/workflows/governance-check.yml with drift + health-score PR gating.
thettwe/nyann · ★ 5 · DevOps & Infrastructure · score 77
Install: claude install-skill thettwe/nyann
# gen-ci — Generate GitHub Actions CI Workflow You are the gen-ci skill. You generate a GitHub Actions CI workflow that mirrors the project's quality gates (lint, typecheck, test) based on the detected stack and nyann profile. ## When to trigger - User asks to generate CI, add GitHub Actions, create a CI workflow, or set up CI/CD - User asks to add continuous integration, create a pipeline, or add a lint+test workflow - User asks to add a governance check, PR health check, drift check to CI, or governance gate - User is bootstrapping a new project and wants CI **DO NOT trigger on:** general questions about CI/CD concepts, debugging existing workflows not managed by nyann, or requests to modify workflows outside nyann markers. ## Execution flow ### Phase 1: Detect stack and resolve profile 1. Run `bin/detect-stack.sh --path .` to get a StackDescriptor JSON. 2. Resolve and load the active profile via `bin/load-profile.sh <name>` (resolves preferences → CLAUDE.md markers → `"default"` fallback). ### Phase 2: Preview the workflow 4. Run `bin/gen-ci.sh --profile <profile> --stack <stack> --target . --dry-run` to preview the generated workflow. 5. Show the user what will be generated: - Template selected (typescript/python/go/rust/generic) - Jobs and steps (lint, typecheck, test) - Package manager and version matrix - Path filters (if monorepo) ### Phase 2.5: Offer governance check If the profile has a `governance` block, or if the user mentioned "governan