From b0ad2fd720d0cd335c07f22767844f571e3306ff Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 5 Mar 2026 12:02:09 +0000 Subject: feat(status): add pr draft, issue resolved, and --reason for issue close MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `ngit pr draft ` to convert a PR back to draft (kind-1632). Add `ngit issue resolved [--reason ]` to mark an issue as fixed (kind-1631 GitStatusApplied), distinct from close which signals wontfix/duplicate/invalid. Add `--reason ` to `ngit issue close` — stored in event content. Also fix success/error message wording in pr_status and issue_status to use consistent past-tense action strings. --- skills/ngit/SKILL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'skills') diff --git a/skills/ngit/SKILL.md b/skills/ngit/SKILL.md index 1436452..b097cdf 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 draft # convert back to draft ngit pr label --label bug --label enhancement ``` @@ -137,7 +138,8 @@ ngit issue view --json ngit issue view --json --comments ngit issue comment --body "Reproduced on v2.1" ngit issue comment --body "Thanks!" --reply-to -ngit issue close +ngit issue close --reason "wontfix" # closed without resolution +ngit issue resolved --reason "fixed in abc123" ngit issue reopen ngit issue label --label bug --label enhancement ``` -- cgit v1.2.3