add-team-source
Register a git URL as a team-profile source so nyann can periodically sync and expose its profiles under a namespace. TRIGGER when the user says "add a team…
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',
$ npx -y skills add thettwe/nyann --skill gen-ci --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gen-ciContext preview
The summary Claude sees to decide when to auto-load this skill.
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',
name: gen-ci description: "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."
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.
**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.
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).
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:
If the profile has a `governance` block, or if the user mentioned "governance", "health check", or "drift check", offer to also generate the governance-check workflow:
> "Also generate a governance check that runs doctor on every PR > and posts a health report comment? (adds `governance-check.yml`)"
If the user accepts (or originally asked for it), add `--governance` to the gen-ci.sh invocation.
6. Ask the user: "Write this CI workflow to `.github/workflows/ci.yml`?" 7. On confirmation, run:
bin/gen-ci.sh --profile <profile> --stack <stack> --target . [--governance]
8. Report what was written (ci.yml, and governance-check.yml if `--governance`).
9. Suggest:
profile to customize threshold and severity"
The `--governance` flag generates `.github/workflows/governance-check.yml`:
Profile governance configuration (optional — all fields have defaults):
{
"governance": {
"enabled": true,
"threshold": 70,
"severity": "block",
"ignore": ["orphans", "stale"]
}
}| Field | Default | Effect | |---|---|---| | `enabled` | `true` | Set `false` to disable governance check generation | | `threshold` | `70` | Minimum health score (0-100) to pass the gate | | `severity` | `"block"` | `block` = fail check; `warn` = annotate only; `off` = skip | | `ignore` | `[]` | Categories excluded from score (e.g. `orphans`, `stale`) |
ငြမ်း is Burmese for scaffolding. Nyann is the Claude Code plugin that picks expert git defaults for your stack — branching, working hooks (Husky / pre-commit.com / lefthook), commits, releases, CI, docs — then keeps the repo on those rails through every PR
Repo: thettwe/nyann
Register a git URL as a team-profile source so nyann can periodically sync and expose its profiles under a namespace. TRIGGER when the user says "add a team…
Bootstrap a fresh or existing repo with nyann. TRIGGER when the user says "set up this project", "initialize git workflow", "bootstrap this repo", "scaffold…
Survey the machine and report which nyann features are usable right now. TRIGGER when the user says "is my machine ready for nyann", "what do I need to…
Prune local branches whose work is already merged into the base. TRIGGER when the user says "clean up branches", "delete merged branches", "prune local…
Generate a Conventional Commits message from the staged diff and create the commit after user confirmation. TRIGGER when the user says "commit these changes",…
Bundle a redacted, support-grade snapshot of the current nyann state for inclusion in a bug report or support request. Combines explain-state + doctor + git…