diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-05 12:02:09 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-05 12:08:56 +0000 |
| commit | b0ad2fd720d0cd335c07f22767844f571e3306ff (patch) | |
| tree | daed4f00be5edb09ba108dc40d66555053a39a73 /skills | |
| parent | 3ac5395b47c709c00f0072668dfdceb04f2d4974 (diff) | |
feat(status): add pr draft, issue resolved, and --reason for issue close
Add `ngit pr draft <id>` to convert a PR back to draft (kind-1632).
Add `ngit issue resolved <id> [--reason <text>]` to mark an issue as
fixed (kind-1631 GitStatusApplied), distinct from close which signals
wontfix/duplicate/invalid.
Add `--reason <text>` 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.
Diffstat (limited to 'skills')
| -rw-r--r-- | skills/ngit/SKILL.md | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
| 122 | ngit pr close <ID|nevent> | 122 | ngit pr close <ID|nevent> |
| 123 | ngit pr reopen <ID|nevent> | 123 | ngit pr reopen <ID|nevent> |
| 124 | ngit pr ready <ID|nevent> # mark draft as ready for review | 124 | ngit pr ready <ID|nevent> # mark draft as ready for review |
| 125 | ngit pr draft <ID|nevent> # convert back to draft | ||
| 125 | ngit pr label <ID|nevent> --label bug --label enhancement | 126 | ngit pr label <ID|nevent> --label bug --label enhancement |
| 126 | ``` | 127 | ``` |
| 127 | 128 | ||
| @@ -137,7 +138,8 @@ ngit issue view <ID|nevent> --json | |||
| 137 | ngit issue view <ID|nevent> --json --comments | 138 | ngit issue view <ID|nevent> --json --comments |
| 138 | ngit issue comment <ID|nevent> --body "Reproduced on v2.1" | 139 | ngit issue comment <ID|nevent> --body "Reproduced on v2.1" |
| 139 | ngit issue comment <ID|nevent> --body "Thanks!" --reply-to <comment-ID|nevent> | 140 | ngit issue comment <ID|nevent> --body "Thanks!" --reply-to <comment-ID|nevent> |
| 140 | ngit issue close <ID|nevent> | 141 | ngit issue close <ID|nevent> --reason "wontfix" # closed without resolution |
| 142 | ngit issue resolved <ID|nevent> --reason "fixed in abc123" | ||
| 141 | ngit issue reopen <ID|nevent> | 143 | ngit issue reopen <ID|nevent> |
| 142 | ngit issue label <ID|nevent> --label bug --label enhancement | 144 | ngit issue label <ID|nevent> --label bug --label enhancement |
| 143 | ``` | 145 | ``` |