Skip to main content

Phonely Documentation Writing Guidelines

These guidelines apply to all pages at docs.phonely.ai. Read skill.md first for audience and tone.

Page Structure

Choose the depth of change before rewriting. Foundational pages should normally retain their established narrative and organization; platform-dependent task pages may need deeper revision to match the current product. A stale image alone is media debt, not evidence that the surrounding structure is wrong. Every indexed page needs frontmatter:
Use skill.md for the full source and claim-traceability contract. Refresh last-verified only after checking the page against its listed sources. Treat source paths as publishable metadata. Use the narrowest customer-safe source boundary and never list secret files, credential stores, billing-provider services, admin routes, or private authentication implementations in public page frontmatter. For the API Reference, openapi.json is the supported public API contract. Every operation in that schema must have one visible reference page. A route’s existence in the application does not make it a public API; do not document app-internal, billing, admin, cron, or Ask AI routes unless they are deliberately added to the supported schema.

Ordering Within a Page

  1. Value statement (1-2 sentences): what this feature does for the customer and why they’d use it.
  2. How to use it: numbered steps when order matters, bullets when it doesn’t.
  3. Expected result: tell the reader what changes or what they should see.
  4. What you can do with it: practical examples framed as customer goals (e.g., “Find out why calls are dropping off at the greeting step”).
  5. Reference details and troubleshooting: put options, settings, filters, and common recovery steps after the main task.
  6. Media decision: decide whether a current screenshot, GIF, video, or no media best supports the page. Media is optional, but the decision is not.

What Good Looks Like

What Bad Looks Like

  • “Selected calls are sent to the AI assistant as a visual attachment showing call type, phone number, sentiment, and duration.” (implementation detail, not customer value)
  • “Summarize common themes across the selected calls.” (generic, doesn’t help the customer imagine a real use case)
  • Leading with a feature table before explaining what the feature does.
  • Describing internal data structures or component names.

Visuals

  • Text is the record. A reader must be able to complete the task without viewing an image, GIF, or video.
  • Design content and media together during the documentation rebuild. Do not wait until the end of a page to decide what a visual should teach.
  • Use screenshots for static UI states and short videos or GIFs only when motion adds useful context.
  • Place media next to the text it illustrates; do not force it ahead of the instructions.
  • Never infer a product fact from media alone.
  • Do not reuse a generic product image on several pages unless it has a distinct, necessary purpose on each page.
  • If a high-value visual shapes comprehension or page structure, capture or replace it during Phase 2. If capture is blocked, leave a capture-spec TODO and keep the page in progress.
  • Phase 4 automates capture, freshness checks, replacement, and asset lifecycle; it does not make the initial page-level media decisions.
  • If current media is unavailable, leave a capture-spec TODO as defined in skill.md; do not invent an asset path.
  • Store new assets in /assets/ with descriptive kebab-case names.

Sections and Formatting

  • Keep sections short and scannable.
  • One concept per section.
  • Use exact UI labels and route names.
  • Use flow and flows in customer-facing prose. Capitalize Call Flows only as an exact UI label or title; reserve workflow for technical identifiers, source paths, legacy URLs, and API fields.
  • Use tables for options, filters, and comparisons.
  • Never use vague phrases like “click here.”
  • Mark legacy pages with noindex: true or add to .mintignore.

API and Webhook Pages

  • Show auth mechanism and required headers.
  • Show request and response shapes.
  • List common error responses.

Publication Boundary

  • Visible navigation is the authoritative, searchable documentation corpus.
  • Add a product page to the documentation repository only after its complete content is source-backed and its last-verified date is current.
Last modified on August 10, 2026