build-table
Installation
SKILL.md
Build Table: $ARGUMENTS
If $ARGUMENTS is empty, ask: (1) what data the table displays, (2) which features are needed.
Phase 1: Determine Scope
Parse from $ARGUMENTS or ask:
- Table name (PascalCase, e.g.,
Users,Orders) - Data model: field names + TypeScript types (used for column definitions and the data interface). If not provided in
$ARGUMENTS, ask explicitly: "What columns should the table have? Please list field name and type, e.g.:id:number, customerName:string, status:string" - Base component:
fdp-table(platform, feature-rich — default) |fd-table(core, markup-level, use only for purely presentational tables) - Features (check all that apply):
sort— sortable column headersfilter— per-column or global search filterpaginate— page size picker + page navigationselect— row selection (single|multiple)toolbar— title bar with action buttons
- Data source: static array | observable | HTTP service (lazy)