[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73S9VBRSA2YFBXPVTQGYCM6":3,"skill-same:01M73S9VBRSA2YFBXPVTQGYCM6":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M73S9VBRSA2YFBXPVTQGYCM6","delon-form-dynamic-schema-forms",null,"Create dynamic schema-based forms using @delon\u002Fform (SF component). Use this skill when building complex forms with validation, conditional rendering, async data loading, custom widgets, and multi-step workflows. Ensures forms follow JSON Schema standards, integrate with Angular reactive forms, support internationalization, and maintain consistent validation patterns across the application.","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fdelon-form-dynamic-schema-forms\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: delon-form-dynamic-schema-forms\ndescription: \"Create dynamic schema-based forms using @delon\u002Fform (SF component). Use this skill when building complex forms with validation, conditional rendering, async data loading, custom widgets, and multi-step workflows. Ensures forms follow JSON Schema standards, integrate with Angular reactive forms, support internationalization, and maintain consistent validation patterns across the application.\"\nlicense: \"MIT\"\n---\n\n# @delon\u002Fform Dynamic Schema Forms Skill\n\nThis skill helps create dynamic forms using @delon\u002Fform's SF (Schema Form) component.\n\n## Core Principles\n\n### Schema-Driven Forms\n- **JSON Schema**: Define forms declaratively with JSON Schema\n- **Type Safety**: Full TypeScript support for schema definitions\n- **Validation**: Built-in validation with custom validators\n- **Dynamic Rendering**: Conditional fields based on form state\n\n### Key Features\n- Automatic form generation from schema\n- Custom widgets for specialized inputs\n- Async data loading (dropdowns, autocomplete)\n- Multi-step forms (wizards)\n- Responsive grid layouts\n- Internationalization support\n\n## Basic Schema Form\n\n```typescript\nimport { Component, signal, output } from '@angular\u002Fcore';\nimport { SFSchema, SFComponent, SFUISchema } from '@delon\u002Fform';\nimport { SHARED_IMPORTS } from '@shared';\n\n@Component({\n  selector: 'app-user-form',\n  standalone: true,\n  imports: [SHARED_IMPORTS, SFComponent],\n  template: `\n    \u003Csf \n      [schema]=\"schema\"\n      [ui]=\"ui\"\n      [formData]=\"initialData()\"\n      [loading]=\"loading()\"\n      (formSubmit)=\"handleSubmit($event)\"\n      (formChange)=\"handleChange($event)\"\n      (formError)=\"handleError($event)\"\n    \u002F>\n  `\n})\nexport class UserFormComponent {\n  loading = signal(false);\n  initialData = signal\u003Cany>({});\n  formSubmit = output\u003Cany>();\n  \n  schema: SFSchema = {\n    properties: {\n      name: {\n        type: 'string',\n        title: 'Full Name',\n        maxLength: 100\n      },\n      email: {\n        type: 'string',\n        title: 'Email',\n        format: 'email'\n      },\n      age: {\n        type: 'number',\n        title: 'Age',\n        minimum: 18,\n        maximum: 120\n      },\n      role: {\n        type: 'string',\n        title: 'Role',\n        enum: ['admin', 'member', 'viewer'],\n        default: 'member'\n      }\n    },\n    required: ['name', 'email', 'role']\n  };\n  \n  ui: SFUISchema = {\n    '*': {\n      spanLabel: 6,\n      spanControl: 18,\n      grid: { span: 24 }\n    },\n    $name: {\n      placeholder: 'Enter full name',\n      widget: 'string'\n    },\n    $email: {\n      placeholder: 'user@example.com',\n      widget: 'string'\n    },\n    $age: {\n      widget: 'number'\n    },\n    $role: {\n      widget: 'select',\n      placeholder: 'Select role'\n    }\n  };\n  \n  handleSubmit(value: any): void {\n    console.log('Form submitted:', value);\n    this.formSubmit.emit(value);\n  }\n  \n  handleChange(value: any): void {\n    console.log('Form changed:', value);\n  }\n  \n  handleError(errors: any): void {\n    console.error('Form errors:', errors);\n  }\n}\n```\n\n## Common Widgets\n\n### String Input\n```typescript\n{\n  name: {\n    type: 'string',\n    title: 'Name',\n    ui: {\n      widget: 'string',\n      placeholder: 'Enter name',\n      prefix: 'User',\n      suffix: '@',\n      maxLength: 100\n    }\n  }\n}\n```\n\n### Textarea\n```typescript\n{\n  description: {\n    type: 'string',\n    title: 'Description',\n    ui: {\n      widget: 'textarea',\n      autosize: { minRows: 3, maxRows: 6 },\n      placeholder: 'Enter description'\n    }\n  }\n}\n```\n\n### Number Input\n```typescript\n{\n  amount: {\n    type: 'number',\n    title: 'Amount',\n    minimum: 0,\n    maximum: 1000000,\n    ui: {\n      widget: 'number',\n      precision: 2,\n      prefix: '$',\n      formatter: (value: number) => `$ ${value}`.replace(\u002F\\B(?=(\\d{3})+(?!\\d))\u002Fg, ',')\n    }\n  }\n}\n```\n\n### Date Picker\n```typescript\n{\n  birthDate: {\n    type: 'string',\n    title: 'Birth Date',\n    format: 'date',\n    ui: {\n      widget: 'date',\n      mode: 'date',\n      displayFormat: 'yyyy-MM-dd',\n      end: 'today' \u002F\u002F Can't select future dates\n    }\n  }\n}\n```\n\n### Date Range\n```typescript\n{\n  dateRange: {\n    type: 'string',\n    title: 'Date Range',\n    ui: {\n      widget: 'date',\n      mode: 'range',\n      displayFormat: 'yyyy-MM-dd'\n    }\n  }\n}\n```\n\n### Select Dropdown\n```typescript\n{\n  category: {\n    type: 'string',\n    title: 'Category',\n    enum: [\n      { label: 'Technology', value: 'tech' },\n      { label: 'Business', value: 'business' },\n      { label: 'Science', value: 'science' }\n    ],\n    ui: {\n      widget: 'select',\n      placeholder: 'Select category',\n      allowClear: true,\n      showSearch: true\n    }\n  }\n}\n```\n\n### Multi-Select\n```typescript\n{\n  tags: {\n    type: 'array',\n    title: 'Tags',\n    items: {\n      type: 'string',\n      enum: ['angular', 'react', 'vue', 'typescript']\n    },\n    ui: {\n      widget: 'select',\n      mode: 'multiple',\n      placeholder: 'Select tags'\n    }\n  }\n}\n```\n\n### Autocomplete\n```typescript\n{\n  city: {\n    type: 'string',\n    title: 'City',\n    ui: {\n      widget: 'autocomplete',\n      asyncData: () => this.loadCities(),\n      debounceTime: 300,\n      placeholder: 'Search city'\n    }\n  }\n}\n\nprivate async loadCities(): Promise\u003Cany[]> {\n  return [\n    { label: 'New York', value: 'ny' },\n    { label: 'Los Angeles', value: 'la' },\n    { label: 'Chicago', value: 'chi' }\n  ];\n}\n```\n\n### Radio Buttons\n```typescript\n{\n  priority: {\n    type: 'string',\n    title: 'Priority',\n    enum: [\n      { label: 'Low', value: 'low' },\n      { label: 'Medium', value: 'medium' },\n      { label: 'High', value: 'high' }\n    ],\n    default: 'medium',\n    ui: {\n      widget: 'radio',\n      styleType: 'button' \u002F\u002F or 'default'\n    }\n  }\n}\n```\n\n### Checkbox\n```typescript\n{\n  agree: {\n    type: 'boolean',\n    title: 'Agree to terms',\n    ui: {\n      widget: 'checkbox'\n    }\n  }\n}\n```\n\n### Switch\n```typescript\n{\n  isActive: {\n    type: 'boolean',\n    title: 'Active Status',\n    ui: {\n      widget: 'switch',\n      checkedChildren: 'On',\n      unCheckedChildren: 'Off'\n    }\n  }\n}\n```\n\n### Slider\n```typescript\n{\n  rating: {\n    type: 'number',\n    title: 'Rating',\n    minimum: 0,\n    maximum: 100,\n    ui: {\n      widget: 'slider',\n      marks: {\n        0: '0',\n        50: '50',\n        100: '100'\n      }\n    }\n  }\n}\n```\n\n### File Upload\n```typescript\n{\n  avatar: {\n    type: 'string',\n    title: 'Avatar',\n    ui: {\n      widget: 'upload',\n      action: '\u002Fapi\u002Fupload',\n      accept: 'image\u002F*',\n      limit: 1,\n      listType: 'picture-card'\n    }\n  }\n}\n```\n\n## Async Data Loading\n\n### Dynamic Dropdown Options\n```typescript\n{\n  assignee: {\n    type: 'string',\n    title: 'Assignee',\n    ui: {\n      widget: 'select',\n      asyncData: () => this.loadUsers(),\n      placeholder: 'Select user'\n    }\n  }\n}\n\nprivate async loadUsers(): Promise\u003Cany[]> {\n  const users = await this.userService.getUsers();\n  return users.map(u => ({\n    label: u.name,\n    value: u.id\n  }));\n}\n```\n\n### Cascading Selects\n```typescript\n{\n  country: {\n    type: 'string',\n    title: 'Country',\n    ui: {\n      widget: 'select',\n      asyncData: () => this.loadCountries(),\n      change: (value: string) => this.onCountryChange(value)\n    }\n  },\n  city: {\n    type: 'string',\n    title: 'City',\n    ui: {\n      widget: 'select',\n      asyncData: () => this.loadCities(this.selectedCountry())\n    }\n  }\n}\n\nprivate selectedCountry = signal\u003Cstring>('');\n\nonCountryChange(value: string): void {\n  this.selectedCountry.set(value);\n}\n```\n\n## Conditional Fields\n\n### Show\u002FHide Based on Value\n```typescript\nschema: SFSchema = {\n  properties: {\n    userType: {\n      type: 'string',\n      title: 'User Type',\n      enum: ['individual', 'company']\n    },\n    \u002F\u002F Show only for companies\n    companyName: {\n      type: 'string',\n      title: 'Company Name',\n      ui: {\n        visibleIf: {\n          userType: ['company']\n        }\n      }\n    },\n    \u002F\u002F Show only for individuals\n    firstName: {\n      type: 'string',\n      title: 'First Name',\n      ui: {\n        visibleIf: {\n          userType: ['individual']\n        }\n      }\n    }\n  }\n};\n```\n\n## Custom Validators\n\n```typescript\nimport { SFSchema } from '@delon\u002Fform';\n\nschema: SFSchema = {\n  properties: {\n    password: {\n      type: 'string',\n      title: 'Password',\n      ui: {\n        type: 'password',\n        validator: (value: string, formProperty: any, form: any) => {\n          if (value.length \u003C 8) {\n            return [{ keyword: 'minLength', message: 'Password must be at least 8 characters' }];\n          }\n          if (!\u002F[A-Z]\u002F.test(value)) {\n            return [{ keyword: 'uppercase', message: 'Password must contain uppercase letter' }];\n          }\n          return [];\n        }\n      }\n    },\n    confirmPassword: {\n      type: 'string',\n      title: 'Confirm Password',\n      ui: {\n        type: 'password',\n        validator: (value: string, formProperty: any, form: any) => {\n          if (value !== form.value.password) {\n            return [{ keyword: 'match', message: 'Passwords must match' }];\n          }\n          return [];\n        }\n      }\n    }\n  }\n};\n```\n\n## Multi-Step Forms (Wizards)\n\n```typescript\nimport { Component, signal } from '@angular\u002Fcore';\nimport { SFSchema } from '@delon\u002Fform';\n\n@Component({\n  selector: 'app-wizard-form',\n  template: `\n    \u003Cnz-steps [nzCurrent]=\"currentStep()\">\n      \u003Cnz-step nzTitle=\"Basic Info\" \u002F>\n      \u003Cnz-step nzTitle=\"Address\" \u002F>\n      \u003Cnz-step nzTitle=\"Confirmation\" \u002F>\n    \u003C\u002Fnz-steps>\n    \n    @switch (currentStep()) {\n      @case (0) {\n        \u003Csf [schema]=\"basicInfoSchema\" (formSubmit)=\"nextStep($event)\" \u002F>\n      }\n      @case (1) {\n        \u003Csf [schema]=\"addressSchema\" (formSubmit)=\"nextStep($event)\" \u002F>\n      }\n      @case (2) {\n        \u003Cdiv class=\"confirmation\">\n          \u003Ch3>Review Your Information\u003C\u002Fh3>\n          \u003Cpre>{{ formData() | json }}\u003C\u002Fpre>\n          \u003Cbutton nz-button nzType=\"primary\" (click)=\"submit()\">Submit\u003C\u002Fbutton>\n        \u003C\u002Fdiv>\n      }\n    }\n  `\n})\nexport class WizardFormComponent {\n  currentStep = signal(0);\n  formData = signal\u003Cany>({});\n  \n  basicInfoSchema: SFSchema = {\n    properties: {\n      name: { type: 'string', title: 'Name' },\n      email: { type: 'string', title: 'Email', format: 'email' }\n    },\n    required: ['name', 'email']\n  };\n  \n  addressSchema: SFSchema = {\n    properties: {\n      street: { type: 'string', title: 'Street' },\n      city: { type: 'string', title: 'City' },\n      zipCode: { type: 'string', title: 'Zip Code' }\n    },\n    required: ['street', 'city']\n  };\n  \n  nextStep(value: any): void {\n    this.formData.update(data => ({ ...data, ...value }));\n    this.currentStep.update(step => step + 1);\n  }\n  \n  submit(): void {\n    console.log('Final data:', this.formData());\n  }\n}\n```\n\n## Grid Layout\n\n```typescript\nui: SFUISchema = {\n  '*': {\n    spanLabel: 4,\n    spanControl: 20,\n    grid: { span: 12 } \u002F\u002F 2 columns (24 \u002F 12 = 2)\n  },\n  $description: {\n    grid: { span: 24 } \u002F\u002F Full width\n  }\n};\n```\n\n## Responsive Layout\n\n```typescript\nui: SFUISchema = {\n  '*': {\n    grid: {\n      xs: 24,  \u002F\u002F Mobile: full width\n      sm: 12,  \u002F\u002F Tablet: 2 columns\n      md: 8,   \u002F\u002F Desktop: 3 columns\n      lg: 6    \u002F\u002F Large: 4 columns\n    }\n  }\n};\n```\n\n## Form Actions\n\n```typescript\n@Component({\n  template: `\n    \u003Csf [schema]=\"schema\" [button]=\"button\">\n      \u003Cng-template sf-template=\"button\" let-btn>\n        \u003Cbutton \n          nz-button \n          [nzType]=\"btn.submit ? 'primary' : 'default'\"\n          (click)=\"btn.submit ? handleSubmit() : handleReset()\"\n        >\n          {{ btn.submit ? 'Submit' : 'Reset' }}\n        \u003C\u002Fbutton>\n      \u003C\u002Fng-template>\n    \u003C\u002Fsf>\n  `\n})\nexport class CustomButtonFormComponent {\n  button = {\n    submit_text: 'Submit',\n    reset_text: 'Reset',\n    submit_type: 'primary' as const,\n    reset_type: 'default' as const\n  };\n}\n```\n\n## Checklist\n\nWhen creating SF forms:\n\n- [ ] Use proper JSON Schema types\n- [ ] Define required fields\n- [ ] Set validation rules (min\u002Fmax, format, pattern)\n- [ ] Use appropriate widgets for data types\n- [ ] Handle async data loading\n- [ ] Implement conditional field visibility\n- [ ] Add custom validators when needed\n- [ ] Configure responsive grid layout\n- [ ] Handle form submission and errors\n- [ ] Provide loading states\n- [ ] Test form validation\n- [ ] Ensure accessibility (labels, ARIA)\n\n## References\n\n- [@delon\u002Fform Documentation](https:\u002F\u002Fng-alain.com\u002Fform)\n- [JSON Schema Specification](https:\u002F\u002Fjson-schema.org\u002F)\n- [SF Component API](https:\u002F\u002Fng-alain.com\u002Fcomponents\u002Fsf)\n- [ng-alain Component Skill](.\u002Fng-alain-component\u002FSKILL.md)\n","# @delon\u002Fform Dynamic Schema Forms Skill\n\nThis skill helps create dynamic forms using @delon\u002Fform's SF (Schema Form) component.\n\n## Core Principles\n\n### Schema-Driven Forms\n- **JSON Schema**: Define forms declaratively with JSON Schema\n- **Type Safety**: Full TypeScript support for schema definitions\n- **Validation**: Built-in validation with custom validators\n- **Dynamic Rendering**: Conditional fields based on form state\n\n### Key Features\n- Automatic form generation from schema\n- Custom widgets for specialized inputs\n- Async data loading (dropdowns, autocomplete)\n- Multi-step forms (wizards)\n- Responsive grid layouts\n- Internationalization support\n\n## Basic Schema Form\n\n```typescript\nimport { Component, signal, output } from '@angular\u002Fcore';\nimport { SFSchema, SFComponent, SFUISchema } from '@delon\u002Fform';\nimport { SHARED_IMPORTS } from '@shared';\n\n@Component({\n  selector: 'app-user-form',\n  standalone: true,\n  imports: [SHARED_IMPORTS, SFComponent],\n  template: `\n    \u003Csf \n      [schema]=\"schema\"\n      [ui]=\"ui\"\n      [formData]=\"initialData()\"\n      [loading]=\"loading()\"\n      (formSubmit)=\"handleSubmit($event)\"\n      (formChange)=\"handleChange($event)\"\n      (formError)=\"handleError($event)\"\n    \u002F>\n  `\n})\nexport class UserFormComponent {\n  loading = signal(false);\n  initialData = signal\u003Cany>({});\n  formSubmit = output\u003Cany>();\n  \n  schema: SFSchema = {\n    properties: {\n      name: {\n        type: 'string',\n        title: 'Full Name',\n        maxLength: 100\n      },\n      email: {\n        type: 'string',\n        title: 'Email',\n        format: 'email'\n      },\n      age: {\n        type: 'number',\n        title: 'Age',\n        minimum: 18,\n        maximum: 120\n      },\n      role: {\n        type: 'string',\n        title: 'Role',\n        enum: ['admin', 'member', 'viewer'],\n        default: 'member'\n      }\n    },\n    required: ['name', 'email', 'role']\n  };\n  \n  ui: SFUISchema = {\n    '*': {\n      spanLabel: 6,\n      spanControl: 18,\n      grid: { span: 24 }\n    },\n    $name: {\n      placeholder: 'Enter full name',\n      widget: 'string'\n    },\n    $email: {\n      placeholder: 'user@example.com',\n      widget: 'string'\n    },\n    $age: {\n      widget: 'number'\n    },\n    $role: {\n      widget: 'select',\n      placeholder: 'Select role'\n    }\n  };\n  \n  handleSubmit(value: any): void {\n    console.log('Form submitted:', value);\n    this.formSubmit.emit(value);\n  }\n  \n  handleChange(value: any): void {\n    console.log('Form changed:', value);\n  }\n  \n  handleError(errors: any): void {\n    console.error('Form errors:', errors);\n  }\n}\n```\n\n## Common Widgets\n\n### String Input\n```typescript\n{\n  name: {\n    type: 'string',\n    title: 'Name',\n    ui: {\n      widget: 'string',\n      placeholder: 'Enter name',\n      prefix: 'User',\n      suffix: '@',\n      maxLength: 100\n    }\n  }\n}\n```\n\n### Textarea\n```typescript\n{\n  description: {\n    type: 'string',\n    title: 'Description',\n    ui: {\n      widget: 'textarea',\n      autosize: { minRows: 3, maxRows: 6 },\n      placeholder: 'Enter description'\n    }\n  }\n}\n```\n\n### Number Input\n```typescript\n{\n  amount: {\n    type: 'number',\n    title: 'Amount',\n    minimum: 0,\n    maximum: 1000000,\n    ui: {\n      widget: 'number',\n      precision: 2,\n      prefix: '$',\n      formatter: (value: number) => `$ ${value}`.replace(\u002F\\B(?=(\\d{3})+(?!\\d))\u002Fg, ',')\n    }\n  }\n}\n```\n\n### Date Picker\n```typescript\n{\n  birthDate: {\n    type: 'string',\n    title: 'Birth Date',\n    format: 'date',\n    ui: {\n      widget: 'date',\n      mode: 'date',\n      displayFormat: 'yyyy-MM-dd',\n      end: 'today' \u002F\u002F Can't select future dates\n    }\n  }\n}\n```\n\n### Date Range\n```typescript\n{\n  dateRange: {\n    type: 'string',\n    title: 'Date Range',\n    ui: {\n      widget: 'date',\n      mode: 'range',\n      displayFormat: 'yyyy-MM-dd'\n    }\n  }\n}\n```\n\n### Select Dropdown\n```typescript\n{\n  category: {\n    type: 'string',\n    title: 'Category',\n    enum: [\n      { label: 'Technology', value: 'tech' },\n      { label: 'Business', value: 'business' },\n      { label: 'Science', value: 'science' }\n    ],\n    ui: {\n      widget: 'select',\n      placeholder: 'Select category',\n      allowClear: true,\n      showSearch: true\n    }\n  }\n}\n```\n\n### Multi-Select\n```typescript\n{\n  tags: {\n    type: 'array',\n    title: 'Tags',\n    items: {\n      type: 'string',\n      enum: ['angular', 'react', 'vue', 'typescript']\n    },\n    ui: {\n      widget: 'select',\n      mode: 'multiple',\n      placeholder: 'Select tags'\n    }\n  }\n}\n```\n\n### Autocomplete\n```typescript\n{\n  city: {\n    type: 'string',\n    title: 'City',\n    ui: {\n      widget: 'autocomplete',\n      asyncData: () => this.loadCities(),\n      debounceTime: 300,\n      placeholder: 'Search city'\n    }\n  }\n}\n\nprivate async loadCities(): Promise\u003Cany[]> {\n  return [\n    { label: 'New York', value: 'ny' },\n    { label: 'Los Angeles', value: 'la' },\n    { label: 'Chicago', value: 'chi' }\n  ];\n}\n```\n\n### Radio Buttons\n```typescript\n{\n  priority: {\n    type: 'string',\n    title: 'Priority',\n    enum: [\n      { label: 'Low', value: 'low' },\n      { label: 'Medium', value: 'medium' },\n      { label: 'High', value: 'high' }\n    ],\n    default: 'medium',\n    ui: {\n      widget: 'radio',\n      styleType: 'button' \u002F\u002F or 'default'\n    }\n  }\n}\n```\n\n### Checkbox\n```typescript\n{\n  agree: {\n    type: 'boolean',\n    title: 'Agree to terms',\n    ui: {\n      widget: 'checkbox'\n    }\n  }\n}\n```\n\n### Switch\n```typescript\n{\n  isActive: {\n    type: 'boolean',\n    title: 'Active Status',\n    ui: {\n      widget: 'switch',\n      checkedChildren: 'On',\n      unCheckedChildren: 'Off'\n    }\n  }\n}\n```\n\n### Slider\n```typescript\n{\n  rating: {\n    type: 'number',\n    title: 'Rating',\n    minimum: 0,\n    maximum: 100,\n    ui: {\n      widget: 'slider',\n      marks: {\n        0: '0',\n        50: '50',\n        100: '100'\n      }\n    }\n  }\n}\n```\n\n### File Upload\n```typescript\n{\n  avatar: {\n    type: 'string',\n    title: 'Avatar',\n    ui: {\n      widget: 'upload',\n      action: '\u002Fapi\u002Fupload',\n      accept: 'image\u002F*',\n      limit: 1,\n      listType: 'picture-card'\n    }\n  }\n}\n```\n\n## Async Data Loading\n\n### Dynamic Dropdown Options\n```typescript\n{\n  assignee: {\n    type: 'string',\n    title: 'Assignee',\n    ui: {\n      widget: 'select',\n      asyncData: () => this.loadUsers(),\n      placeholder: 'Select user'\n    }\n  }\n}\n\nprivate async loadUsers(): Promise\u003Cany[]> {\n  const users = await this.userService.getUsers();\n  return users.map(u => ({\n    label: u.name,\n    value: u.id\n  }));\n}\n```\n\n### Cascading Selects\n```typescript\n{\n  country: {\n    type: 'string',\n    title: 'Country',\n    ui: {\n      widget: 'select',\n      asyncData: () => this.loadCountries(),\n      change: (value: string) => this.onCountryChange(value)\n    }\n  },\n  city: {\n    type: 'string',\n    title: 'City',\n    ui: {\n      widget: 'select',\n      asyncData: () => this.loadCities(this.selectedCountry())\n    }\n  }\n}\n\nprivate selectedCountry = signal\u003Cstring>('');\n\nonCountryChange(value: string): void {\n  this.selectedCountry.set(value);\n}\n```\n\n## Conditional Fields\n\n### Show\u002FHide Based on Value\n```typescript\nschema: SFSchema = {\n  properties: {\n    userType: {\n      type: 'string',\n      title: 'User Type',\n      enum: ['individual', 'company']\n    },\n    \u002F\u002F Show only for companies\n    companyName: {\n      type: 'string',\n      title: 'Company Name',\n      ui: {\n        visibleIf: {\n          userType: ['company']\n        }\n      }\n    },\n    \u002F\u002F Show only for individuals\n    firstName: {\n      type: 'string',\n      title: 'First Name',\n      ui: {\n        visibleIf: {\n          userType: ['individual']\n        }\n      }\n    }\n  }\n};\n```\n\n## Custom Validators\n\n```typescript\nimport { SFSchema } from '@delon\u002Fform';\n\nschema: SFSchema = {\n  properties: {\n    password: {\n      type: 'string',\n      title: 'Password',\n      ui: {\n        type: 'password',\n        validator: (value: string, formProperty: any, form: any) => {\n          if (value.length \u003C 8) {\n            return [{ keyword: 'minLength', message: 'Password must be at least 8 characters' }];\n          }\n          if (!\u002F[A-Z]\u002F.test(value)) {\n            return [{ keyword: 'uppercase', message: 'Password must contain uppercase letter' }];\n          }\n          return [];\n        }\n      }\n    },\n    confirmPassword: {\n      type: 'string',\n      title: 'Confirm Password',\n      ui: {\n        type: 'password',\n        validator: (value: string, formProperty: any, form: any) => {\n          if (value !== form.value.password) {\n            return [{ keyword: 'match', message: 'Passwords must match' }];\n          }\n          return [];\n        }\n      }\n    }\n  }\n};\n```\n\n## Multi-Step Forms (Wizards)\n\n```typescript\nimport { Component, signal } from '@angular\u002Fcore';\nimport { SFSchema } from '@delon\u002Fform';\n\n@Component({\n  selector: 'app-wizard-form',\n  template: `\n    \u003Cnz-steps [nzCurrent]=\"currentStep()\">\n      \u003Cnz-step nzTitle=\"Basic Info\" \u002F>\n      \u003Cnz-step nzTitle=\"Address\" \u002F>\n      \u003Cnz-step nzTitle=\"Confirmation\" \u002F>\n    \u003C\u002Fnz-steps>\n    \n    @switch (currentStep()) {\n      @case (0) {\n        \u003Csf [schema]=\"basicInfoSchema\" (formSubmit)=\"nextStep($event)\" \u002F>\n      }\n      @case (1) {\n        \u003Csf [schema]=\"addressSchema\" (formSubmit)=\"nextStep($event)\" \u002F>\n      }\n      @case (2) {\n        \u003Cdiv class=\"confirmation\">\n          \u003Ch3>Review Your Information\u003C\u002Fh3>\n          \u003Cpre>{{ formData() | json }}\u003C\u002Fpre>\n          \u003Cbutton nz-button nzType=\"primary\" (click)=\"submit()\">Submit\u003C\u002Fbutton>\n        \u003C\u002Fdiv>\n      }\n    }\n  `\n})\nexport class WizardFormComponent {\n  currentStep = signal(0);\n  formData = signal\u003Cany>({});\n  \n  basicInfoSchema: SFSchema = {\n    properties: {\n      name: { type: 'string', title: 'Name' },\n      email: { type: 'string', title: 'Email', format: 'email' }\n    },\n    required: ['name', 'email']\n  };\n  \n  addressSchema: SFSchema = {\n    properties: {\n      street: { type: 'string', title: 'Street' },\n      city: { type: 'string', title: 'City' },\n      zipCode: { type: 'string', title: 'Zip Code' }\n    },\n    required: ['street', 'city']\n  };\n  \n  nextStep(value: any): void {\n    this.formData.update(data => ({ ...data, ...value }));\n    this.currentStep.update(step => step + 1);\n  }\n  \n  submit(): void {\n    console.log('Final data:', this.formData());\n  }\n}\n```\n\n## Grid Layout\n\n```typescript\nui: SFUISchema = {\n  '*': {\n    spanLabel: 4,\n    spanControl: 20,\n    grid: { span: 12 } \u002F\u002F 2 columns (24 \u002F 12 = 2)\n  },\n  $description: {\n    grid: { span: 24 } \u002F\u002F Full width\n  }\n};\n```\n\n## Responsive Layout\n\n```typescript\nui: SFUISchema = {\n  '*': {\n    grid: {\n      xs: 24,  \u002F\u002F Mobile: full width\n      sm: 12,  \u002F\u002F Tablet: 2 columns\n      md: 8,   \u002F\u002F Desktop: 3 columns\n      lg: 6    \u002F\u002F Large: 4 columns\n    }\n  }\n};\n```\n\n## Form Actions\n\n```typescript\n@Component({\n  template: `\n    \u003Csf [schema]=\"schema\" [button]=\"button\">\n      \u003Cng-template sf-template=\"button\" let-btn>\n        \u003Cbutton \n          nz-button \n          [nzType]=\"btn.submit ? 'primary' : 'default'\"\n          (click)=\"btn.submit ? handleSubmit() : handleReset()\"\n        >\n          {{ btn.submit ? 'Submit' : 'Reset' }}\n        \u003C\u002Fbutton>\n      \u003C\u002Fng-template>\n    \u003C\u002Fsf>\n  `\n})\nexport class CustomButtonFormComponent {\n  button = {\n    submit_text: 'Submit',\n    reset_text: 'Reset',\n    submit_type: 'primary' as const,\n    reset_type: 'default' as const\n  };\n}\n```\n\n## Checklist\n\nWhen creating SF forms:\n\n- [ ] Use proper JSON Schema types\n- [ ] Define required fields\n- [ ] Set validation rules (min\u002Fmax, format, pattern)\n- [ ] Use appropriate widgets for data types\n- [ ] Handle async data loading\n- [ ] Implement conditional field visibility\n- [ ] Add custom validators when needed\n- [ ] Configure responsive grid layout\n- [ ] Handle form submission and errors\n- [ ] Provide loading states\n- [ ] Test form validation\n- [ ] Ensure accessibility (labels, ARIA)\n\n## References\n\n- [@delon\u002Fform Documentation](https:\u002F\u002Fng-alain.com\u002Fform)\n- [JSON Schema Specification](https:\u002F\u002Fjson-schema.org\u002F)\n- [SF Component API](https:\u002F\u002Fng-alain.com\u002Fcomponents\u002Fsf)\n- [ng-alain Component Skill](.\u002Fng-alain-component\u002FSKILL.md)\n",{"name":5,"license":15,"description":7},"master","63f17866001c5ca854bf2fa0b678ce277133de5b","skills\u002Fmarketplace\u002Fdelon-form-dynamic-schema-forms",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill delon-form-dynamic-schema-forms",{"tool":40,"command":41},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill delon-form-dynamic-schema-forms",{"tool":43,"command":44},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill delon-form-dynamic-schema-forms","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fdelon-form-dynamic-schema-forms\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"skill-report.json","REFERENCE","参考文档",54649,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fdelon-form-dynamic-schema-forms\u002Fskill-report.json",[55,63,70,77,84,91],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":62},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":62},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":62},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":62},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":62},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":62},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]