Rules for AI agents contributing to this Alter documentation repository.
- This is a documentation site built on Mintlify
- Pages are MDX files with YAML frontmatter
- Configuration lives in
docs.json - Run
mint devto preview locally - Run
mint validatefor local checks - Do not run
mint broken-linkson every local edit; broken link checks run in GitHub Actions CI
- Follow progressive disclosure.
- Keep
SKILL.mdshort and routing-focused. - Put detailed content in
workflows/,apps-tools/,how-to/,references/,common-issues/, and onboarding content ingetting-started/. - Do not invent product facts. If unsure, mark as needing verification.
getting-started/: onboarding-first pages for new users ("normie" friendly).workflows/: primary walkthroughs organized by user outcomes and jobs to be done.apps-tools/: app integrations, tool capabilities, and integration troubleshooting.how-to/: short configuration and quick-task instructions.common-issues/: symptoms, causes, fixes, and verification steps.references/: stable canonical information, FAQs, and docs map content.api-router/: API Router setup, operations, and integration guides.
When adding a new file, update the relevant INDEX.md.
- Keep top-level tab content unique in
docs.json. Do not duplicate the same page in multiple tabs. - If similar content is needed in multiple places, create dedicated pages for each section and cross-link them.
Getting Startedshould contain only onboarding-specific pages undergetting-started/plusindexandquickstart.Workflowsshould contain deeper product walkthroughs underworkflows/.Apps & Toolsshould contain integration and capability docs underapps-tools/.How toshould contain short setup/configuration tasks underhow-to/.Troubleshootingshould contain issue-resolution content undercommon-issues/.Referenceshould contain FAQs and canonical references underreferences/.API Routerowns API-router-specific docs (for exampleapi-router/api-gateway,api-router/development,api-router/operations,references/api-router-overview,references/api-model-names).- Prefer an onboarding flow: basics first, then best practices, then advanced workflows and settings.
- The docs now support multi-language navigation using
navigation.languagesindocs.json. - English uses
language: "en"and remains the canonical source language. - French uses
language: "fr"with files underfr/. - Keep mirrored paths when possible (for example
quickstart.mdx->fr/quickstart.mdx). - If a page is not translated yet, do not add it to French navigation until the file exists.
- Keep top-level tab entries unique per language configuration to avoid Mintlify routing conflicts.
- Translate frontmatter (
title,description) and user-facing labels in tabs/groups/cards.
- Bundle media under
images/directory. - In docs, reference media with relative paths (e.g.,
/images/getting-started/open-notch.gif). - Use local asset paths, not external URLs.
- Use active voice and second person ("you")
- Keep sentences concise — one idea per sentence
- Use sentence case for headings
- Bold for UI elements: Click Settings
- Code formatting for file names, commands, paths, and code references
- AI-assisted content is welcome, but must be fact-checked.
- Avoid low-signal filler or repetitive "AI slop".
- Keep answers digestible and useful for the community.
- External resources (social posts, YouTube, personal blogs) are allowed when clearly relevant.
- Use folder templates prefixed with
_, for example_TEMPLATE.md. - Keep filenames descriptive and kebab-case.
Use Conventional Commits.
Examples:
docs(guides): add callback integration examplesfix(common-issues): clarify device-limit troubleshootingchore(assets): add callback screenshot to manifest
- Use "workspace" not "project"
- Use "action" for AI-powered tasks
- Use "context" for files/app data sent to AI
- Keep command-line/tool names untranslated across all languages (for example:
cURL,OpenAI,GitHub Actions,Tools Manager,URL Callbacks).
- Document user-facing features only
- Don't document internal admin features
- Keep troubleshooting focused on common user issues