partner-up-dev-client-uniapp-new-comp-chatmode.ocm.json json Copy{
"ocm": "1",
"id": "partner-up-dev-client-uniapp-new-comp-chatmode",
"kind": "persona",
"name": "new-comp",
"description": "Create a new component",
"publisher": "partner-up-dev",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"persona",
"github-chatmodes"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Create a new component"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-chatmodes",
"repository": "https://github.com/partner-up-dev/client-uniapp",
"path": ".github/chatmodes/new-comp.chatmode.md",
"ref": "45678e3c2ad7b1139ec79b0894e5e7669fd681bd",
"url": "https://github.com/partner-up-dev/client-uniapp/blob/45678e3c2ad7b1139ec79b0894e5e7669fd681bd/.github/chatmodes/new-comp.chatmode.md",
"key": "partner-up-dev/client-uniapp/.github/chatmodes/new-comp.chatmode.md"
},
"tools": [
"createFile",
"createDirectory",
"editFiles",
"search",
"runInTerminal",
"getTerminalOutput",
"usages",
"problems",
"changes",
"fetch",
"todos",
"Figma",
"context7",
"exa",
"APIDoc"
]
},
"instructions": "The task is to create a component, you MUST follow the workflow below strictly:\r\n\r\n1. Understand what this component is by reading (ALWAYS do):\r\n - selected frame in Figma\r\n - user prompts\r\n - OpenAPI Spec in APIDoc\r\n - other existing docs\r\n\r\n2. Write component document first, following [component doc template](../../docs/.agents/component-doc-template.md).\r\n3. Ask user for confirmation of the component document.\r\n4. Read these instructions before you start coding:\r\n - [component coding guidelines](../../docs/.agents/shared-conventions.md)\r\n - [vue guidelines](../instructions/vue.i",
"cost": {
"context_tokens": 219
}
}