Skip to Content

framework_docs

The framework_docs tool returns the Manh framework docs to the agent by topic, from the spec process to file conventions, UI, backend and deploy, readable one section at a time.

These docs are short and written for agents. The page you are reading is the version for people.

framework_docs

  • Parameters:
    • topic (required): one of the topics below.
    • section: large topics return a numbered table of contents first. Pass section numbers ("2,5") or words from a title ("ProTable") to read only those parts; "all" reads the whole topic (topics over 60 KB still return the table of contents).
  • Returns: Markdown.
  • When the agent calls it: process and framework at the start of a session, pro once before the first page; the others when needed.
TopicContents
processSpec before code: PRD, roles, objects, permissions, data model, lifecycles, API, screens, build order
frameworkThe app/ contract (authoritative): .tsx / .ts split, routing, handlers, middleware, cron, database
frontendPages, layouts, useApiClient, antd-pro patterns
backendHono handlers, Zod schema, Drizzle, files, email, AI, upstream, secrets
proantd-pro like a senior: 12 short rules with before / after (ResourceList, tableRequest, submit, status tabs, errors shown by the frame), read before the UI phase
pro-fullThe full ProComponents playbook: app shell, lists, dashboards, forms, detail pages, sign-in
websiteA public website that reads as a real business
directionsDesign directions for a website (fonts that render Vietnamese, colours, spacing, photos); pick one before any public page
photosChecked stock photos by trade, each with what it shows
contentReal content: brand brief, names, phone numbers, prices, photos
telegramThe app’s own Telegram bot
supabaseData on the owner’s Supabase
typesApp types (stock and POS, CRM, approvals, training centre, repair, booking, QR ordering, AI documents): what real products do, with 5 acceptance tests each
handoverHanding the app to your client without the platform’s name
antdantd v6 and pro-components rules, crash-fatal mistakes
patternsCatalog of antd-pro page patterns
componentsWhat antd, pro-components, x and charts can do
codegenCode rules that keep apps deployable
examplesPage examples, one app/page.tsx each
deployDeploy: check, UI and API go live together, schema, secrets, npm packages, limits, cron, logs, rollback

Each topic is also an MCP resource, manh://docs/<topic>, for clients that read resources.

Next steps

Last updated