From 00f144bb33cbb4488fc23fb6728cc721a50ec312 Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Mon, 23 Feb 2026 13:14:20 -0800 Subject: [PATCH] chore(nbd): add --json to all claude-md snippet examples [9344a5] Ensures every command in the embedded snippet uses --json for structured output, consistent with the guideline at the bottom of the snippet. Also adds --json to nbd ready and nbd next, and --ftype md to the create workflow step. Co-Authored-By: Claude Sonnet 4.6 --- nbd/src/claude_md_snippet.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/nbd/src/claude_md_snippet.md b/nbd/src/claude_md_snippet.md index 7e6b31a..61b4765 100644 --- a/nbd/src/claude_md_snippet.md +++ b/nbd/src/claude_md_snippet.md @@ -14,34 +14,34 @@ Run once in the project root. Creates `.nbd/tickets/`. Safe to run multiple time ```sh # Create a new ticket (use --ftype md for a human-readable body) -nbd create --title "Add OAuth login" --type feature --priority 7 --ftype md +nbd create --title "Add OAuth login" --type feature --priority 7 --ftype md --json # List all open tickets (sorted by priority) -nbd list +nbd list --json # Read a specific ticket -nbd read +nbd read --json # Update a ticket -nbd update --status in_progress -nbd update --status done +nbd update --status in_progress --json +nbd update --status done --json ``` ### Finding what to work on ```sh # All tickets that are unblocked and ready to start -nbd ready +nbd ready --json # The single highest-priority unblocked ticket -nbd next +nbd next --json ``` ### Workflow -1. **Before starting** — create a ticket: `nbd create --title "..." --json` -2. **When starting** — mark it in progress: `nbd update --status in_progress` -3. **When done** — mark it complete: `nbd update --status done` +1. **Before starting** — create a ticket: `nbd create --title "..." --ftype md --json` +2. **When starting** — mark it in progress: `nbd update --status in_progress --json` +3. **When done** — mark it complete: `nbd update --status done --json` ### Guidelines