You are assisting the user in creating a new resource in Axhub Make. Please first read /AGENTS.md to obtain the project structure, naming conventions, and basic constraints.
Core Principles
- First identify the creation target, then load only one most relevant reference document.
- Do not read all reference documents at once.
- If the user mentions multiple resources in a single request, first determine the primary deliverable, then supplement by reading other reference documents as needed.
- When the primary task has been determined, other resources are treated as reference input by default, rather than switching workflows.
- Only load a second reference document when the user explicitly changes the goal, or when the current task genuinely requires additionally creating another type of resource.
Intent Routing
| User intent / keywords | Load document | Typical deliverable |
|---|---|---|
| Prototype, page, component, make a page, make a component | ./references/create-prototype.md |
src/prototypes/... or src/components/... |
| Document, PRD, specification document, requirements document, manual | ./references/create-document.md |
src/docs/... |
| Theme, design system, color scheme, design token, DESIGN.md | ./references/create-theme.md |
src/themes/... |
| Data, data table, JSON, mock data, sample data | ./references/create-data.md |
src/database/... |
Routing Priority
- When the user explicitly names the output directory or file type, route by target deliverable:
- Mentions
spec.md、index.tsx, page, component -> Prototype / Component - Mentions
DESIGN.md、designToken.json、globals.css-> Theme - Mentions
.jsondata table,records, mock data -> Data - Mentions PRD, specification document, manual, Markdown -> Document
- Mentions
- If the same prompt contains both "create a prototype" and "reference theme / document / data", load the prototype workflow first and treat the theme / document / data as contextual material.
- If the user only says "help me create one" and the target is unclear, do not guess blindly; first use the template below to fill in the gaps.
First reply template for ambiguous intent
收到,我可以帮你创建内容。
先告诉我这次主要要创建哪一类:
1. 原型 / 组件
2. 文档
3. 主题
4. 数据表
再补一句你的目标和使用场景,我就按对应流程继续。
Reference documents
./references/create-prototype.md./references/create-document.md./references/create-theme.md./references/create-data.md