The goal is to explain the real user scenario, the expected flow, and what must never happen when the feature changes.
Page Structure
Every portal feature page should use this order:Real-World Examples
Good examples should feel like this:ABC Collections imports 1,000 consumer accounts. Jane accepts an offer and makes a payment. The dashboard count changes, payment metrics update, and Jane eventually moves from open activity to completed activity.Avoid examples like this:
The dashboard updates when data changes.The second example is true, but it does not help a person understand the product.
Visual Flow Colors
Use the same color meaning everywhere. Keep the legend compact so it supports the page instead of taking over the page.Documentation Workflow
When product behavior changes, update the matching documentation page in the same work cycle.Naming Rules
- Mirror the app sidebar as folders and files.
- Use lowercase kebab-case file names.
- Use the readable product label as the page title.
- Prefer one page per menu item.
- Keep
index.mdpages for navigation and portal summaries.
Screenshots
Screenshots are useful only when a visual state helps product, QA, support, or implementation teams understand behavior that is hard to explain with text and Mermaid alone. Use screenshots for:- Dense list or dashboard pages where tabs, filters, badges, and row actions matter.
- Multi-step flows where the UI state affects the next system action.
- Detail pages where several backend resources appear in one screen.
Definition Of Done
A docs page is ready when:- A non-technical reader can understand the feature.
- A teammate can understand the behavior that must be preserved.
- The real-world example uses a concrete portal situation.
- The visual flow shows the main path and important risks.
- The should/should-not lists are specific enough to catch regressions.

