What problem does it solve?
It eliminates confusion and inconsistencies about where code and files should live in the TimeKast Starter Kit, so developers and AI agents refactor and add features without breaking conventions.
Core Features & Use Cases
- Shared vs Domain import rule: Enforces that Shared/Infra never imports Domain, preventing circular coupling and feature leakage.
- Feature slice extraction guidance: Defines when to keep code in the global layout versus when to create
src/features/{domain}/ for larger, cohesive domains.
- Deterministic “where does this file go?” decision table: Provides a consistent mapping for Next.js routes, Server Actions, DB schema, Zod validations, tests, tooling scripts, and runtime config.
- Path alias conventions: Standardizes
@/components/*, @/lib/*, and @/config/* so imports remain uniform across the codebase.
Quick Start
Ask an AI agent to audit a proposed refactor or new file change, and tell it to map each file to the correct target directory using the skill’s “where does this file go?” rules and naming conventions.