Scaffold a component
scaffold_componentGenerates a paste-ready, method-compliant component skeleton from a contract, including ds-section HTML, scoped tokens-only CSS, delegated JS, and the four-cell register.
Instructions
Generate a paste-ready, method-compliant skeleton (ds-section HTML + scoped tokens-only CSS + delegated reduced-motion-safe JS + the four-cell register) from a component contract. The killer tool: the agent gets correct structure, not invented structure.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "scaffold_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |