add-team-source
Sync interval in hours. Default 24.
GitHub repo name. Auto-resolved from `git remote get-url origin` when omitted.
> /plugin marketplace add thettwe/nyann > /plugin install nyann@nyann-plugins
How it fires
How this command gets triggered: by you, by Claude, or both.
/gh-protectContext preview
What this command does when you run it.
GitHub repo name. Auto-resolved from `git remote get-url origin` when omitted.
name: nyann:gh-protect
description: >
Audit or apply GitHub branch protection, tag rulesets, signing
requirements, and repo settings based on the active profile.
arguments:
- name: profile
description: Override the active profile name. Defaults to the profile resolved from preferences or CLAUDE.md markers.
optional: true
- name: check
description: Audit-only mode (read-only). Shows drift between profile expectations and GitHub state. This is always run first even when applying.
optional: true
- name: owner
description: GitHub owner. Auto-resolved from `git remote get-url origin` when omitted.
optional: true
- name: repo
description: GitHub repo name. Auto-resolved from `git remote get-url origin` when omitted.
optional: true**Plugin root:** This is a Claude Code plugin, NOT a CLI tool. Do NOT search via `which`, `npm list`, `pip list`, or `brew list`. This file is at `<plugin_root>/commands/`. All scripts: `<plugin_root>/bin/`. Read the matching `skills/*/SKILL.md` for the full flow.
Wraps `bin/gh-integration.sh`. Two modes:
| Mode | What happens | |---|---| | `--check` (default) | Read-only audit. Emits a ProtectionAudit JSON showing drift between profile expectations and GitHub state. | | apply (on confirmation after audit) | Tightens branch protection, tag rulesets, and repo settings to match the profile. Never downgrades stricter remote rules. |
at bootstrap time) → apply now.
with per-branch, per-rule drift classification (critical / warn / ok).
(`schemas/gh-integration-result.schema.json`) with `applied[]`, `noop[]`, `errors[]`.
See also:
ငြမ်း 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
Sync interval in hours. Default 24.
Path to an IacPlan JSON from a prior /nyann:plan run, to apply the exact previewed plan.
Optional profile name to apply. If provided, skip stack detection's recommendation step and load this profile via bin/load-profile.sh. Fall back to the skill's…
The branch slug (feature/bugfix/hotfix) or version string (release).
If passed, emit the probe results as JSON instead of the human table.
Branch to use as the merge target. Defaults to the profile's primary base branch (auto-resolved through `origin/HEAD`, `main`, or `master`).