> ## Documentation Index
> Fetch the complete documentation index at: https://fliqr.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AGENTS

# Fliqr AI documentation instructions

This is the Fliqr AI docs site built with [Mintlify](https://mintlify.com).
Product: **Fliqr AI** — [https://fliqr.ai](https://fliqr.ai) · App: [https://app.fliqr.ai](https://app.fliqr.ai)

For Mintlify product knowledge (components, configuration, writing standards),
use the installed Mintlify skill and MCP servers. Prefer Mintlify docs MCP over guesswork.

## About this project

* Pages are MDX (`.mdx`) with YAML frontmatter
* Site config lives in `docs.json`
* Scraped source KB lives in `sources/raw-kb/` (Chatrace-origin content — rewrite, do not publish raw)
* Rewrite tracking: `sources/site/kb-index.json` + `sources/site/rewrite-progress.json`
* `sources/` is mintignored and must not appear in the published site

## Terminology

| Use                                          | Avoid                                                           |
| -------------------------------------------- | --------------------------------------------------------------- |
| Fliqr AI                                     | Chatrace, Chatbot Builder, CBB                                  |
| workspace / account                          | "bot" as the product name (bot is OK for the automation itself) |
| contact                                      | subscriber (unless describing Meta/API subscriber state)        |
| flow                                         | chatbot script, scenario                                        |
| AI Agent                                     | GPT bot (unless referring to a specific provider)               |
| inbox                                        | live chat module                                                |
| [https://app.fliqr.ai](https://app.fliqr.ai) | chatrace.com app URLs                                           |
| Instagram Professional account               | Instagram personal account (unsupported)                        |

Always rebrand source material: replace Chatrace product names, domains, signup links, and community links with Fliqr AI equivalents.

## Style preferences

* Active voice, second person ("you")
* Concise sentences — one idea per sentence
* Sentence case for headings
* Bold UI labels: Click **Settings → Channels → Instagram**
* Code formatting for paths, commands, file names, and API fields
* No marketing filler, emoji, or hype
* Prefer practical steps a user can complete in the product today

## Mintlify usage

When creating or editing pages:

1. Read `docs.json` before changing navigation
2. Use Mintlify components where they improve clarity: `<Steps>`, `<Step>`, `<Note>`, `<Tip>`, `<Warning>`, `<Info>`, `<Card>`, `<CardGroup>`, `<Accordion>`, `<AccordionGroup>`, `<Tabs>`, `<Tab>`, `<CodeGroup>`
3. Every page needs `title` and usually `description` + `sidebarTitle`
4. Internal links are root-relative without extensions: `/channels/instagram/story-replies`
5. Add new pages to `docs.json` or they will not appear
6. Run `mint validate` / `mint broken-links` when changing structure
7. Do not invent screenshots; omit or leave a clear `[SCREENSHOT: …]` placeholder only when necessary

## Content boundaries

* Document customer-facing product features in Fliqr AI
* Do not publish scraped Chatrace pages as-is
* Do not document internal admin-only tooling unless explicitly requested
* Skip Whitelabel entirely — Fliqr AI does not offer or document whitelabel; mark those KB articles `skipped` and do not publish pages
* Defer cross-category topics (e.g. Ads conversion events) to the correct category instead of forcing them into the current channel

## KB rewrite workflow

Work **category by category**. For each source article in `sources/site/kb-index.json`:

1. Read the scraped markdown at `rawPath`
2. Decide docs placement under the Fliqr IA (`channels/`, `core-concepts/`, etc.)
3. Create or update MDX pages in Fliqr voice with Mintlify components
4. Wire navigation in `docs.json` (use nested groups when a topic needs subpages)
5. Update tracking fields on the article:
   * `rewriteStatus`: `pending` | `done` | `deferred` | `skipped`
   * `docsPath`: published docs path (no leading slash, no `.mdx`)
   * `rewrittenAt`: ISO-8601 timestamp
   * `rewriteNotes`: short note if deferred/skipped or partially mapped
6. Refresh rollups in `sources/site/rewrite-progress.json`

### When to add subpages

Add a nested group when a topic has multiple distinct tasks (setup, story replies, comments, menus, etc.). Keep a short hub/overview page plus one page per task. Prefer depth over stuffing multiple unrelated procedures into one page.

### Quality bar for rewrites

* Teach the Fliqr workflow, not a literal Chatrace UI clone
* Keep Meta/platform constraints accurate (24h window, Professional account, etc.)
* Link to related Fliqr concepts (`/core-concepts/flows`, `/core-concepts/ai-agents`, etc.)
* Mark duplicate source articles carefully — one Fliqr page can cover multiple source URLs if they are the same feature

## Agent skills in this repo

* `.cursor/rules/fliqr-docs.mdc` — always-on writing/navigation rules
* `.mintlify/skills/fliqr-docs-writer/SKILL.md` — rewrite + Mintlify authoring skill
* Root `skill.md` — product capability summary for external agents
