add-feature
Installation
SKILL.md
Add Feature End-to-End
Implement feature described in $ARGUMENTS across the full stack.
Step 0: Decide Scope
Before writing code, answer:
- CE, EE, or both? If both → use
hooksFactory(CE default + EE override inapp.ts) - Need a plan flag? → Add to
PlatformPlanentity +LicenseKeyEntitytype + plan constants in shared - Need a Permission? → Add to
Permissionenum in shared - Affects billing/quotas? → Add enforcement in controller
- Must work embedded? → Check
EmbeddingStatein frontend - Project-scoped or platform-scoped? → Filter queries accordingly
Step 1: Shared Types (packages/core/shared)
- Define Zod schemas +
z.infertypes insrc/lib/{domain}/ - Export from
src/index.tsbarrel - Bump version in
package.json(patch for fix, minor for new export)