zfb-wisdom
Search and reference documentation from the zfb (zudo-front-builder) project. Use when answering questions about zfb features, CLI usage, configuration, content collections, routing, build pipeline, o...
zfb Documentation Reference
Look up documentation from the zfb (zudo-front-builder) project.
Documentation base path: docs/ (relative to repo root)
Mode Detection
Parse the argument string for flags:
- If args start with
-uor--update: enter Update mode (see below) - Otherwise: enter Lookup mode (default)
Strip the flag from the remaining argument to get the topic keyword.
Lookup Mode (default)
- Find the relevant article(s) from the
docs/directory based on the topic - Read ONLY the specific article(s) you need — do NOT load all articles at once
- Apply the information from the article when answering the user’s question
- Mention the source article path so the user can find it for further reading
Update Mode (-u / --update)
The user has new information and wants to add or update documentation in this repo.
Workflow
- Understand the new info: Ask the user what they learned or want to document. The topic keyword (if provided) hints at the subject area.
- Find existing docs: Search the
docs/directory for articles related to the topic. Read them to understand what is already covered. - Decide create vs update: If an existing article covers the topic, update
it. Otherwise, create a new
.mdxfile in the appropriate subdirectory. - Write the content: Follow the doc-authoring rules in
docs/:CLAUDE. md - Required frontmatter:
title(string). Always setsidebar_position. Optional:description,sidebar_label,tags, etc. - Do NOT use
# h1in content — the frontmattertitlerenders as h1. Start with## h2headings. - Use available MDX components (
<Note>,<Tip>,<Info>,<Warning>,<Danger>) where appropriate.
- Required frontmatter:
- Update Japanese docs: Create or update the corresponding file under
docs-ja/mirroring the English directory structure. Keep code blocks and diagrams identical — only translate surrounding prose. - Format: Run
pnpm format:mdinsidedocs/to format the changed files. - Verify: Run
pnpm buildinsidedocs/to confirm the site builds correctly.
Documentation Structure
The documentation is organized in MDX files under docs/:
- api/
- architecture/
- changelog/
- claude-md/
- claude-skills/
- claude/
- concepts/
- getting-started/
- guides/
Browse the docs/ directory to discover available articles. Each .mdx file
has YAML frontmatter with title and description fields that help identify
the right article to read.
Japanese Documentation
Japanese translations are available under docs-ja/. When the user is working
in Japanese or asks for Japanese content, prefer articles from docs-ja/.