6.7 KiB
name, description, argument-hint
| name | description | argument-hint |
|---|---|---|
| zensical-docs | Plan, write, and improve high-quality documentation with Zensical. Use for information architecture, progressive discoverability, writing standards, navigation/search tuning, and feature-driven docs site configuration. | What are you documenting, who is the audience, and what Zensical features are in scope? |
Zensical Documentation Authoring
Create documentation that is easy to discover, easy to scan, and easy to trust, then configure Zensical so the site reinforces those outcomes.
When to Use
- You are creating or restructuring docs in a Zensical project.
- You need a repeatable workflow for docs quality and discoverability.
- You want guidance that combines writing best practices with Zensical feature choices.
- You need a checklist-driven review before publishing.
Progressive Loading References
Load only the references required for the current task:
- Source map for official docs and APIs: ./references/index.md
- Zensical features and configuration links: ./references/zensical-features.md
- Docs writing quality and style guidance: ./references/documentation-quality.md
- Information architecture and discoverability patterns: ./references/discoverability-and-ia.md
Inputs To Collect
Collect these before writing. If missing, make explicit assumptions.
- Audience: beginner, intermediate, advanced, or mixed.
- User goals: top tasks users come to complete.
- Product scope: features, versions, and deployment context.
- Content constraints: release deadlines, localization, legal/compliance needs.
- Navigation constraints: explicit
navvs implicit structure. - Site-level expectations: search quality, code example depth, diagrams, API docs.
Procedure
Step 0: Audit Current Documentation
Build a quick baseline of what exists now.
- List docs sections and current nav structure.
- Identify orphan pages (not in nav, weak internal linking, or no inbound links).
- Identify stale sections (version drift, missing prerequisites, broken commands).
- Capture recurring support questions and map each to a missing or weak doc page.
Completion check: you can name the top 5 current documentation gaps.
Step 1: Define Outcomes and Page Taxonomy
Organize content by user intent, not by internal team boundaries.
- Split content into at least four buckets:
- Learn (concepts and mental models)
- Do (task/how-to guides)
- Reference (API, config, CLI, schemas)
- Troubleshoot (symptoms, diagnostics, fixes)
- For each bucket, define success criteria and expected time-to-answer.
- Add clear page entry criteria (what belongs here, what does not).
Completion check: every planned page maps to one primary user intent.
Step 2: Design Progressive Discoverability
Make docs progressively discoverable from overview to detail.
- Start each section with an index/overview page that answers:
- who this section is for
- what problems it solves
- where to go next
- Keep page openings front-loaded:
- first paragraph states purpose and outcome
- first heading after intro is usually prerequisites or quickstart path
- Add consistent wayfinding on every page:
- links to prerequisite concepts
- links to next steps
- links to relevant reference sections
- Prefer short sections, descriptive headings, and stable anchor names.
Completion check: users can navigate from high-level overview to exact procedure in 3 clicks or fewer.
Step 3: Author High-Trust Content
Use writing patterns that reduce ambiguity and failure.
- Use imperative, task-oriented titles (for example: "Configure SSO with OIDC").
- State assumptions and prerequisites before commands.
- Provide copy-paste-safe examples and expected outputs.
- Include rollback or recovery steps for risky operations.
- Separate normative guidance (must/should) from optional patterns.
- Call out version-specific behavior explicitly.
Completion check: each task page includes prerequisites, steps, expected result, and failure recovery.
Step 4: Apply Zensical Features Intentionally
Load ./references/zensical-features.md and choose features based on content needs.
Decision matrix:
- If docs are deep and section-heavy: enable
navigation.indexes,navigation.path, andnavigation.sections. - If speed and perceived responsiveness matter: enable
navigation.instantandnavigation.instant.prefetch. - If code-heavy content exists: enable
content.code.copy,content.code.select, andcontent.code.annotate. - If users rely on search often: enable
search.highlightand improve heading quality for better snippets. - If many pages share tab labels (for example Python/JS): enable
content.tabs.link.
Completion check: each enabled feature has a documented rationale tied to a user outcome.
Step 5: Standardize Navigation and Search Quality
- Use explicit nav for critical docs journeys and release-stable ordering.
- Keep page titles and H1 aligned with search intent language users actually type.
- Avoid duplicate page titles across sections.
- Use concise first paragraphs because search snippets often rely on early content.
- Add cross-links between concept, task, and reference pages.
Completion check: top support queries return a correct page within first search results.
Step 6: Publish and Validate
- Build the site:
uv run zensical build - Validate links, code blocks, and navigation paths.
- Review on desktop and mobile for scanability and heading rhythm.
- Check that key journeys (new user setup, common task, troubleshooting flow) are uninterrupted.
Completion check: no broken links, no dead-end pages, and all critical journeys are complete.
Completion Checks
- Page taxonomy is intent-based: Learn, Do, Reference, Troubleshoot.
- Every major section has an overview page and next-step links.
- Task docs contain prerequisites, steps, expected results, and recovery guidance.
- Enabled Zensical features are justified and aligned to user needs.
- Navigation and search behavior are verified with real user tasks.
- Site builds cleanly with
uv run zensical build.
Output Contract
Return:
- Proposed docs architecture and navigation map.
- Zensical feature configuration recommendations with rationale.
- A prioritized writing backlog (must-have, should-have, nice-to-have).
- A quality-gate checklist for pre-publish review.
Guardrails
- Do not produce architecture-only docs without concrete task pages.
- Do not bury prerequisites or version constraints below the fold.
- Do not rely only on search; preserve strong navigational paths.
- Do not enable features without documenting the expected user benefit.