From 3ac5395b47c709c00f0072668dfdceb04f2d4974 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 5 Mar 2026 11:33:10 +0000 Subject: feat(label): add `ngit issue label` and `ngit pr label` commands Publishes a NIP-32 kind-1985 label event referencing the target issue or PR. Only the event author or a repository maintainer may apply labels. Duplicate labels (already present via t-tags or prior kind-1985 events) are silently skipped. The new event is saved to the local cache before broadcasting so subsequent reads reflect the change immediately. CLI: ngit issue label --label [--label ...] ngit pr label --label [--label ...] --- skills/ngit/SKILL.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'skills/ngit') diff --git a/skills/ngit/SKILL.md b/skills/ngit/SKILL.md index 7621086..1436452 100644 --- a/skills/ngit/SKILL.md +++ b/skills/ngit/SKILL.md @@ -122,6 +122,7 @@ git push origin main # push to nostr remote records the merge event ngit pr close ngit pr reopen ngit pr ready # mark draft as ready for review +ngit pr label --label bug --label enhancement ``` ## Issues @@ -138,6 +139,7 @@ ngit issue comment --body "Reproduced on v2.1" ngit issue comment --body "Thanks!" --reply-to ngit issue close ngit issue reopen +ngit issue label --label bug --label enhancement ``` ## Account management -- cgit v1.2.3