contentbit 0.5.0 → 0.6.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 +13 -0
- package/dist/bin.js +4802 -501
- package/dist/commands/agents.d.ts +6 -1
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/agents.js +4 -13
- package/dist/commands/brief.d.ts +12 -0
- package/dist/commands/brief.d.ts.map +1 -0
- package/dist/commands/brief.js +52 -0
- package/dist/commands/docs.d.ts +6 -1
- package/dist/commands/docs.d.ts.map +1 -1
- package/dist/commands/docs.js +5 -14
- package/dist/commands/doctor.d.ts +13 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +58 -34
- package/dist/commands/init.d.ts +12 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +70 -31
- package/dist/commands/instructions.d.ts +8 -1
- package/dist/commands/instructions.d.ts.map +1 -1
- package/dist/commands/instructions.js +7 -18
- package/dist/commands/links.d.ts +7 -1
- package/dist/commands/links.d.ts.map +1 -1
- package/dist/commands/links.js +11 -28
- package/dist/commands/render.d.ts +8 -1
- package/dist/commands/render.d.ts.map +1 -1
- package/dist/commands/render.js +8 -20
- package/dist/commands/stats.d.ts +7 -1
- package/dist/commands/stats.d.ts.map +1 -1
- package/dist/commands/stats.js +7 -17
- package/dist/commands/studio.d.ts +13 -1
- package/dist/commands/studio.d.ts.map +1 -1
- package/dist/commands/studio.js +17 -30
- package/dist/commands/validate.d.ts +8 -1
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +6 -21
- package/dist/content-project.d.ts +2 -22
- package/dist/content-project.d.ts.map +1 -1
- package/dist/content-project.js +13 -22
- package/dist/link-options.d.ts +5 -0
- package/dist/link-options.d.ts.map +1 -1
- package/dist/link-options.js +5 -5
- package/dist/load-registry.d.ts +1 -6
- package/dist/load-registry.d.ts.map +1 -1
- package/dist/load-registry.js +1 -26
- package/dist/run.d.ts +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +4800 -499
- package/dist/seo-config.d.ts +12 -0
- package/dist/seo-config.d.ts.map +1 -0
- package/dist/seo-config.js +21 -0
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -20,6 +20,9 @@ pnpm run studio
|
|
|
20
20
|
# inspect validation, links, and content-quality suggestions together
|
|
21
21
|
pnpm run content:doctor
|
|
22
22
|
|
|
23
|
+
# optionally scaffold SEO contracts for brief + doctor checks
|
|
24
|
+
contentbit init --seo
|
|
25
|
+
|
|
23
26
|
# refresh AGENTS.md and Claude Code skills for LLM agents
|
|
24
27
|
contentbit agents
|
|
25
28
|
```
|
|
@@ -35,6 +38,12 @@ contentbit validate "content/**/*.md" --registry ./blocks/registry.ts --no-gener
|
|
|
35
38
|
# and missing image alt text; add --json for agents/CI
|
|
36
39
|
contentbit doctor "content/**/*.md" --registry ./blocks/registry.ts
|
|
37
40
|
contentbit doctor "content/**/*.md" --registry ./blocks/registry.ts --no-generic-blocks
|
|
41
|
+
contentbit doctor "content/**/*.md" --seo-config ./contentbit.seo.config.ts --strict-seo
|
|
42
|
+
contentbit doctor "content/**/*.md" --no-seo
|
|
43
|
+
|
|
44
|
+
# agent-ready SEO structure brief for an existing or planned page
|
|
45
|
+
contentbit brief ahrefs-alternatives "content/**/*.md"
|
|
46
|
+
contentbit brief ahrefs-alternatives --json
|
|
38
47
|
|
|
39
48
|
# local read-only web app for previews, stats, diagnostics, links, and keywords
|
|
40
49
|
contentbit studio "content/**/*.md" --registry ./blocks/registry.ts
|
|
@@ -59,6 +68,10 @@ contentbit render article.md
|
|
|
59
68
|
Point `--registry ./blocks/registry.ts` at a module to add custom blocks.
|
|
60
69
|
Pass `--no-generic-blocks` when that registry owns the full block set, including
|
|
61
70
|
names that overlap the generic pack.
|
|
71
|
+
Add `contentbit.seo.config.ts` with `defineSeoConfig(...)` to let `doctor`
|
|
72
|
+
include SEO contract findings and `contentbit brief <key-or-slug>` print an
|
|
73
|
+
agent-ready page brief. Use `--no-seo` to keep `doctor` to validation, links,
|
|
74
|
+
and stats only.
|
|
62
75
|
LLM agents should read the same registry with `contentbit instructions`, write
|
|
63
76
|
plain Markdown with registered blocks, then run `contentbit validate` until it
|
|
64
77
|
exits 0.
|