upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/skills
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-03-05 11:33:10 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-03-05 11:41:09 +0000
commit3ac5395b47c709c00f0072668dfdceb04f2d4974 (patch)
tree79508c5dbdf92590c667fcc407a464f1e0118e92 /skills
parent0e493c455a0345c206dd1c5b0dfb5322b8a4e3e9 (diff)
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 <id> --label <L> [--label <L>...] ngit pr label <id> --label <L> [--label <L>...]
Diffstat (limited to 'skills')
-rw-r--r--skills/ngit/SKILL.md2
1 files changed, 2 insertions, 0 deletions
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
122ngit pr close <ID|nevent> 122ngit pr close <ID|nevent>
123ngit pr reopen <ID|nevent> 123ngit pr reopen <ID|nevent>
124ngit pr ready <ID|nevent> # mark draft as ready for review 124ngit pr ready <ID|nevent> # mark draft as ready for review
125ngit pr label <ID|nevent> --label bug --label enhancement
125``` 126```
126 127
127## Issues 128## Issues
@@ -138,6 +139,7 @@ ngit issue comment <ID|nevent> --body "Reproduced on v2.1"
138ngit issue comment <ID|nevent> --body "Thanks!" --reply-to <comment-ID|nevent> 139ngit issue comment <ID|nevent> --body "Thanks!" --reply-to <comment-ID|nevent>
139ngit issue close <ID|nevent> 140ngit issue close <ID|nevent>
140ngit issue reopen <ID|nevent> 141ngit issue reopen <ID|nevent>
142ngit issue label <ID|nevent> --label bug --label enhancement
141``` 143```
142 144
143## Account management 145## Account management