What problem does it solve?
Initializes AgentPit new feature modules by collecting the feature name, route group, and permission requirements, and by generating the .agentpit/state.json to drive subsequent development steps.
Core Features & Use Cases
- Environment validation ensures you are at the AgentPit project root by checking for prisma/schema.prisma, lib/auth.ts, app/ directory, and package.json.
- Interactive data collection uses AskUserQuestion to gather a kebab-case feature name and a concise description.
- Automatic classification of feature type (user page, marketing page, API, or admin) with appropriate default permissions and routing setup, plus optional Prisma model definitions.
- Generates a ready-to-use .agentpit/state.json containing the feature configuration, routing group, authentication requirements, and planned API routes.
Quick Start
Run the initialization flow to collect the feature details and generate the .agentpit/state.json.