:::contentbit

Programmatic SEO for codebases

Turn your search strategy into a repeatable content system.

Model page families, brief agents, validate every draft, and keep internal links intact as your content library grows.

page family · alternativeactive

contract applied to

48 pages

Required sections3
Required blocks2
Minimum links3
Planned, not written11
stored with the code, reviewed in git

01·Page families

Encode what should repeat without letting it drift

A page family is a reusable writing and review contract. Start with the search formats that already matter to your business.

Alternative pages

/alternatives/[product]

comparison · pros-cons · FAQ

Glossary libraries

/glossary/[term]

definition · examples · related terms

Location pages

/locations/[city]

local facts · services · nearby pages

Integration directories

/integrations/[tool]

use cases · setup · related integrations

02·The operating loop

Plan before writing. Check before publishing.

The contract is not a template that gets forgotten after generation. It participates in every stage of the page lifecycle.

contentbit project4 page families128 planned pagescontracts loaded
contentbit.seo.config.ts
pageTypes: {  alternative: {    requiredSections: [      'overview',      'comparison',      'faq',    ],    minOutgoingLinks: 3  }}
one contract for every alternative page
contentbit brief semrush-alternatives

target

Semrush alternatives

commercial comparison · planned

writing contract

  • Target “semrush alternatives”
  • Include comparison + FAQ
  • Link to seo-tools-comparison
ready for an agent or writer
contentbit doctor --strict-seo
semrush.mdready
frontmattercomplete
required sections3 / 3
structured blocks2 / 2
internal links4 resolved
0 errors · safe to publish
plan
write
validate
publish

03·Controlled AI output

Give the agent a contract, not a vague prompt

Contentbit combines the page plan with the live project inventory. The resulting brief tells an agent what this page needs and how it connects to everything around it.

target intent and keywords
sections and acceptance checks
required and related links
live block authoring rules
$ contentbit doctor --strict-seoexit 1
CB_SEO_SECTION_MISSING

alternatives/notion.md is missing “Feature comparison”

CB_SEO_LINK_REQUIRED

expected a link to seo-tools-comparison

repair plan

2 required fixes · 1 suggestion

the same gate checks

  • Page-family requirements
  • Block schemas
  • Link targets and backlinks
  • Thin sections and image alt text
local · agent loop · CI
content graph12 links resolved
Internal linking graph for an SEO page familyA comparison hub connects to product alternatives, guides, and glossary pages with resolved outgoing links and backlinks.alternativeNotion alternativesalternativeSemrush alternativesguideChoose an SEO toolglossarySEO content auditcomparison hubBest SEO toolsbacklinksrequired link
stable keys
locale-aware
alias-safe

04·Internal linking

Grow a graph, not a folder of orphans

Required links live alongside page plans. Contentbit resolves the project graph, reports missing destinations and backlinks, and keeps renamed slugs connected through aliases.

Designed for localized page libraries

Share stable keys while keeping slugs, keywords, and link neighborhoods local.

05·Fits the codebase

A local content system your team can inspect

No opaque generation queue and no hosted editor required. Contracts and Markdown stay versioned alongside the application that publishes them.

01

Configuration

Page families, content paths, registries, and link rules live in typed project files.

02

Studio

Preview pages, briefs, keywords, diagnostics, links, backlinks, and content health locally.

03

Automation

Use stable JSON and strict exit codes in coding agents, scripts, and continuous integration.

06·Questions

Where Contentbit fits

Contentbit focuses on the contract between search planning, content creation, and the code that publishes it.

Does Contentbit generate the pages?+

Contentbit governs page creation rather than inventing it. Your writers, scripts, or coding agents create the Markdown; Contentbit supplies the brief, content rules, validation, and rendering pipeline.

Does it replace a CMS?+

Not necessarily. Contentbit is file-first and works especially well when Markdown lives in a codebase, but its parser, validation, and rendering packages can sit inside a broader publishing stack.

Can every page family use different requirements?+

Yes. Each family can require different frontmatter, sections, structured blocks, and internal links. Defaults can classify existing folders, while explicit plans cover pages that do not exist yet.

Does it support multilingual content?+

Yes. Stable page keys can resolve locale-specific slugs, links, and aliases without sending French, Spanish, and English pages into the wrong clusters.

One command, one page family

Put a contract around your next SEO page.

Start with the scaffold, then adapt the page types and block registry to your own search program.

$ pnpm dlx contentbit@latest init --seo

open source · portable Markdown · no hosted account