contentbit 0.1.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # contentbit
2
2
 
3
- CLI for [Content Blocks](https://contentbit.dev): validate documents, render them, and generate LLM authoring instructions from your registry.
3
+ CLI for [Content Blocks](https://contentbit.dev): validate documents, build
4
+ internal-link indexes, render content, and generate LLM authoring instructions
5
+ from your registry.
4
6
 
5
7
  ```bash
6
8
  # scaffold Content Blocks into any project: deps, starter content,
@@ -10,6 +12,14 @@ pnpm dlx contentbit@latest init
10
12
  # validate — exits 1 with file:line:col diagnostics
11
13
  contentbit validate "content/**/*.md"
12
14
 
15
+ # structured JSON stats for one document: outline, word counts,
16
+ # block census, links, validation summary — quick context for LLMs
17
+ contentbit stats article.md
18
+
19
+ # internal-link graph from frontmatter slugs, aliases, and linksTo
20
+ contentbit links "content/**/*.md"
21
+ contentbit links "content/**/*.md" --fix
22
+
13
23
  # compact LLM context generated from the registry
14
24
  contentbit instructions --audience llm --out guide.md
15
25