원클릭으로
regle-typescript
// TypeScript support for type-safe Regle form validation, rules, and component props.
// TypeScript support for type-safe Regle form validation, rules, and component props.
Measure and compare TypeScript memory usage for @regle/core and test typechecks. Use when checking TS server pressure, type-level perf regressions, or before/after heavy generic typing changes.
Vite+ unified toolchain (vp CLI) usage for this project, wrapping Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Use when running install/build/test/check/format/lint, working with the `vp` CLI, or validating changes in this repo.
Core skills for using Regle form validation in Vue.js. Provides setup, validation rules, and usage patterns.
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.
VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.
Advanced patterns for Regle form validation, including arrays, async, server errors, global config, variants, scoped validation, and schema integration.
| name | regle-typescript |
| description | TypeScript support for type-safe Regle form validation, rules, and component props. |
Regle provides first-class TypeScript support with full type inference. This skill covers type-safe validation output, typing rules schemas, and typing component props.
| Export | Package | Purpose |
|---|---|---|
InferInput | @regle/core | Infer state type from rules |
InferSafeOutput | @regle/core | Infer validated output type from r$ |
inferRules | @regle/core | Preserve autocompletion in computed rules |
RegleComputedRules | @regle/core | Type helper for explicit rule typing |
InferRegleRoot | @regle/core | Extract r$ type from a composable |
RegleFieldStatus | @regle/core | Type for a single field status prop |
| Topic | Description | Reference |
|---|---|---|
| Type Safe Output | $validate return types, InferSafeOutput | typescript-type-safe-output |
| Typing Rules | inferRules, RegleComputedRules, nested properties | typescript-typing-rules |
| Typing Props | InferRegleRoot, RegleFieldStatus, typing component props | typescript-typing-props |