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…
Append a new Architecture Decision Record (ADR) to the repo with an auto-incremented number and the MADR template. TRIGGER when the user says "record this decision", "log this decision", "add an ADR for X", "create an ADR about Y", "record the choice to use Postgres", "write up
$ npx -y skills add thettwe/nyann --skill record-decision --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/record-decisionContext preview
The summary Claude sees to decide when to auto-load this skill.
Append a new Architecture Decision Record (ADR) to the repo with an auto-incremented number and the MADR template. TRIGGER when the user says "record this decision", "log this decision", "add an ADR for X", "create an ADR about Y", "record the choice to use Postgres", "write up
name: record-decision description: > Append a new Architecture Decision Record (ADR) to the repo with an auto-incremented number and the MADR template. TRIGGER when the user says "record this decision", "log this decision", "add an ADR for X", "create an ADR about Y", "record the choice to use Postgres", "write up this decision", "document this as an ADR", "/nyann:record-decision". Do NOT trigger on "write a doc" / "add documentation" (those are broader — route to the appropriate doc skill). Do NOT trigger on "record a bug" / "open an issue" (those are GitHub concerns). Do NOT trigger on "what decisions have we made" (that's reading existing ADRs, not creating one).
Wraps `bin/record-decision.sh`. Creates one ADR file per invocation under `docs/decisions/` (or the profile's configured location). Only MADR format is supported in v1.
for the primary datastore"*, *"Adopt pnpm over npm"*. If the user's phrasing is long and prose-y ("I think we should probably go with Postgres because…"), propose a crisp title and confirm.
for review; `accepted` when the user says "we've already decided" or similar. Never default to `accepted` silently — when unclear, **you MUST call the `AskUserQuestion` tool** (not plain text):
{
"questions": [
{
"question": "What is the status of this decision?",
"header": "Status",
"multiSelect": false,
"options": [
{ "label": "Proposed (Default)", "description": "Decision is open for review" },
{ "label": "Accepted", "description": "Decision has already been agreed upon" }
]
}
]
}a different location (check the profile's `documentation.scaffold_types` if uncertain).
with the user when the title contains non-ASCII or unusual punctuation.
`record-decision` creates the directory if missing, but doesn't scaffold a `README.md` or `ADR-000`. If the directory is empty (no prior ADRs), mention that `bootstrap-project` scaffolds an introductory `ADR-000` and offer to run it first — but proceed with the new ADR either way if the user insists.
Run `bin/record-decision.sh --dry-run` and read back:
Confirm before the real run. Single-line "record that we chose X" phrasings can skip confirmation when the title is already explicit.
bin/record-decision.sh --target <cwd> \ --title "<imperative headline>" \ [--status proposed|accepted] \ [--dir <path>] \ [--slug <slug>] \ [--date YYYY-MM-DD] \ [--dry-run]
The output JSON gives you the relative path. Offer to:
Decision drivers, Considered options, Decision outcome, Consequences, Validation).
like `docs(adr): ADR-NNN — <title>`).
Do NOT auto-fill the body from the user's conversation. An ADR's value comes from the writer thinking through the structure; filling it with Claude-generated prose dilutes that.
Numbers come from scanning `ADR-<NNN>-*.md` files in the target directory. When the user has a non-conventional ADR naming scheme (e.g. `0001-foo.md` without the `ADR-` prefix), the detector will miss them and start at 000. If the user reports this, offer to rename existing files or accept a manual `--dir` pointing at a separate location.
listing; outside this skill.
is represented as a new ADR pointing at the old one (MADR convention).
handles CHANGELOG; ADRs and CHANGELOG are separate stores.
ငြမ်း 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…