Dashboard › cli › Distillation
78495918-39e5-4317-ab8a-ec3c50019382["lore_tm_v1_mulDN70k_ghPyatnL9bpfAKb18FdgdtmNUp5UVdcrrA"]
packages/cli/script/check-fragments.ts now skips fragment subcommand-coverage validation for any command where cmd.examples.length > 0; commands with canonical examples in metadata no longer need a matching heading or CLI reference in the hand-written route fragment.packages/cli/script/generate-command-docs.ts imports formatCommandExamples from ./generate-skill-markdown.js.generateCommandSection(cmd) in packages/cli/script/generate-command-docs.ts now formats cmd.examples via formatCommandExamples(cmd.examples) and appends the resulting Markdown after the command’s arguments/options tables when non-empty.packages/cli/script/generate-skill-markdown.ts added exported formatCommandExamples(examples: readonly string[]): string; it returns "" for an empty array, otherwise emits an **Examples:** section containing one bash fenced block with examples separated by a blank line using examples.join("\n\n").packages/cli/script/generate-skill.ts now imports formatCommandExamples alongside extractCommandPathFromHeading and matchExampleToCommand from ./generate-skill-markdown.js.generateFullCommandDoc(cmd) in packages/cli/script/generate-skill.ts replaced its inline examples renderer with the shared formatCommandExamples(cmd.examples) helper and appends the resulting section only when it is non-empty, preserving the prior **Examples:** heading, bash fence, and blank-line separation between examples.formatCommandExamples(), preventing the two generators from maintaining separate formatting implementations.