task-template-builder
Installation
SKILL.md
Task Template Builder Pattern
This skill documents the architecture of the Task Template Builder in erify_studios.
Core Architecture
1. Schema Alignment (Single Source of Truth)
The Task Template Builder uses a Shared Zod Schema to ensure frontend and backend are always in sync.
- Source:
packages/api-types/src/task-management/template-definition.schema.ts - Frontend Usage:
import { FieldItemSchema } from '@eridu/api-types/task-management' - Backend Usage:
import { TemplateSchemaValidator } from '@eridu/api-types/task-management'
Crucial Rule: Never duplicate validation logic. If you need a new field or rule, update
api-typesfirst.