create_feature
Scaffold a new feature directory with Atomic Design layers and barrel index.ts files, so Next.js or Expo projects start with an organized, reusable structure.
Instructions
Create a new feature directory with Atomic Design structure (atoms/, molecules/, organisms/, templates/, hooks/, api/, types/). Each layer gets a barrel index.ts.
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": {
"cwd": "<cwd>",
"featureName": "<featureName>"
},
"name": "create_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Project root directory path | |
| layers | No | Which subdirectories to create | |
| featureName | Yes | Feature name in PascalCase (e.g., "Landing", "Dashboard", "Profile") |