3 Commits (bac6696c4bebfbbe736b1e694046680d41d41b96)

Author SHA1 Message Date
Elijah Voigt 00f144bb33 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 <noreply@anthropic.com>
3 months ago
Elijah Voigt 52f6961e3e docs(nbd): default to --ftype md when creating tickets
Update CLAUDE.md workflow guidance and the claude_md_snippet to always
use --ftype md on nbd create, so ticket bodies are stored as
human-readable markdown files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 months ago
Elijah Voigt ba0efeb622 feat(nbd): add claude-md command [fc444f]
Adds `nbd claude-md` subcommand that prints a ready-to-paste CLAUDE.md
snippet for adopting nbd in any project. The snippet is embedded at
compile time via `include_str!` from `src/claude_md_snippet.md`, so it
stays in sync with the installed binary automatically.

- `nbd claude-md` prints raw markdown (suitable for `>> CLAUDE.md`)
- `nbd claude-md --json` outputs `{"snippet": "..."}` for programmatic use
- Works without a `.nbd/` store present (no find_nbd_root call)
- 4 new integration tests covering all specified behaviours

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 months ago