بنقرة واحدة
create-data-source
Scaffold a new signal-based reactive data source with optional migrations, tests, and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new signal-based reactive data source with optional migrations, tests, and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a changeset entry describing changes to workspace packages
Scaffold a new UI component with the correct folder structure, styles, tests, and docblocks
Scaffold a new class with the correct file structure, naming, tests, and docblocks
Scaffold a new runtime type guard with the correct naming and docblocks
Scaffold a new utility function with the correct naming, tests, and docblocks
Write tests following this project's testing conventions, file patterns, and placement rules
| name | create-data-source |
| description | Scaffold a new signal-based reactive data source with optional migrations, tests, and docblocks |
| user-invocable | false |
When creating a new data source in this project, follow these conventions exactly.
Data sources are signal-based reactive stores. They are the single source of truth for application state within a domain.
src/data-sources/
├── ThingDataSource.ts
└── specs/
└── ThingDataSource.unit.ts
src/data-sources/
├── ComplexDataSource/
│ ├── index.ts
│ └── migrations/
│ ├── v1-initial.ts
│ └── v2-add-field.ts
└── specs/
└── ComplexDataSource.unit.ts
DataSource suffix.migrations/ subfolder. Named with version prefix (v1-, v2-, etc.).*.unit.ts file.src/data-sources/specs/<DataSourceName>.unit.ts with unit testssrc/index.ts if the data source is part of the public APIsrc/register.d.ts if applicablepnpm run check to verify