Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 3.59 KB

AGENTS.md

File metadata and controls

53 lines (42 loc) · 3.59 KB

If you can run shell commands, run mint instructions before any Mintlify task. It prints current guidance for this CLI version. Check it before:

  • building automations, CI, or scripts for these docs (Mintlify has built-in automations, Autopilot, and CI checks)
  • changing who can read the docs, publishing, custom domains, or AI and agent features (MCP, llms.txt, skill.md, assistant)

If mint is not installed or says "Unknown command", run npx mint@latest instructions. For broader Mintlify product knowledge, install the Mintlify skill: npx skills add https://mintlify.com/docs

Documentation project instructions

About this project

  • This is the developer documentation for DeckFlow, built on Mintlify
  • Pages are MDX files with YAML frontmatter, written in English
  • Configuration lives in docs.json; site-wide styling lives in style.css
  • README.md describes the structure, the open launch items, and how to preview
  • Use the Mintlify MCP server, https://mcp.mintlify.com, to edit content and settings via MCP
  • Use the Mintlify docs MCP server, https://www.mintlify.com/docs/mcp, to query information about using Mintlify via MCP

Terminology

  • The product is DeckFlow. Never write "DeckBase" in prose. The name appears only inside real identifiers: the package @deckflow/deckbase-sdk and the key prefix dbk_.
  • Use "library" for the place where documents live, "space" for the tenant container, "folder", "file", and "revision" (not "version" when you mean the resource).
  • Use "exact search" for search.find, "semantic search" for search.query, and "answers" for search.answer.
  • Use "share page" and "album" (lowercase in prose).
  • Use "API key" (not "token" or "secret key"), with scopes "read-only" and "write".
  • Write method names as resource.action (file.add) and routes with braces (POST /spaces/{spaceId}/files).
  • Related tools keep their names: DeckOps, DeckUse, DeckProbe, DeckRender.

Style preferences

  • 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
  • Icons come from Lucide (icons.library in docs.json)
  • Start each product section with an overview page that links to its guides
  • Show HTTP examples as cURL first and the TypeScript SDK second, inside <CodeGroup>
  • Never hard-code the API or docs address. Use {{apiBaseUrl}}, {{docsUrl}}, and {{appUrl}}, defined under variables in docs.json

Stub pages

  • A page that is not finished starts with <Stub /> (imported from /snippets/stub.mdx) and lists what is missing in {/* TODO: ... */} comments.
  • TODO comments are public: they appear in the Markdown version of each page that agents read. Write them as content gaps ("add a response example"). Keep decisions, launch status, and anything internal out of this repository.
  • Remove <Stub /> and its import when the page has complete examples and no open TODO.
  • State only what the product does today. If a fact is missing, leave a TODO instead of guessing.

Content boundaries

  • Document what an API key or a signed-in user can call. Do not document admin, billing, payment-callback, or sign-in endpoints.
  • Every route and method name must exist in the API contract of the DeckFlow service. Check before adding one.
  • Do not publish internal host names, environment variable names, or deployment details.
  • This repository is public. Keep decisions, launch status, and anything internal out of pages, comments, and commit messages.