.cursor/skills/ts-memory-baseline/SKILL.md
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.
npx skillsauth add victorgarciaesgi/regle ts-memory-baselineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill defines a reproducible process to measure TypeScript memory usage in this repository.
pnpm build before any test-related measurement.pnpm run test:typecheck should never fail. If it fails, treat the run as invalid for regression tracking.PATH="/Users/victorgarcia/.nvm/versions/node/v24.14.0/bin:$PATH"
node -v
pnpm -v
Expected:
v24.x10.33.0 (or project-compatible version)tests/TS_MEMORY_BASELINE_RESULTS.md.PATH="/Users/victorgarcia/.nvm/versions/node/v24.14.0/bin:$PATH" \
./node_modules/.bin/tsc -p "packages/core/tsconfig.json" --noEmit --extendedDiagnostics
Capture:
Memory usedInstantiationsCheck timeRun build first:
PATH="/Users/victorgarcia/.nvm/versions/node/v24.14.0/bin:$PATH" pnpm build
Then:
PATH="/Users/victorgarcia/.nvm/versions/node/v24.14.0/bin:$PATH" \
/usr/bin/time -l pnpm run test:typecheck
Capture:
0)maximum resident set sizepeak memory footprintreal/user/sysRecommended sequence:
# warm-up (discard)
PATH="/Users/victorgarcia/.nvm/versions/node/v24.14.0/bin:$PATH" \
/usr/bin/time -l corepack pnpm run test:typecheck
# measured runs (collect all 3)
PATH="/Users/victorgarcia/.nvm/versions/node/v24.14.0/bin:$PATH" \
/usr/bin/time -l corepack pnpm run test:typecheck
PATH="/Users/victorgarcia/.nvm/versions/node/v24.14.0/bin:$PATH" \
/usr/bin/time -l corepack pnpm run test:typecheck
PATH="/Users/victorgarcia/.nvm/versions/node/v24.14.0/bin:$PATH" \
/usr/bin/time -l corepack pnpm run test:typecheck
Use median deltas because absolute values can vary with machine/CPU load.
(new - old) / old * 100.±5% for memory metrics.>5% and <=10% increase.>10% increase.Check time and real time, treat as noisy:
>15% and reproducible across runs.pnpm run test:typecheck exit code is non-zero, invalidate the run (do not update baseline).Store only numeric outcomes in:
tests/TS_MEMORY_BASELINE_RESULTS.mdDo not put procedural instructions in the results file.
tools
Core skills for using Regle form validation in Vue.js. Provides setup, validation rules, and usage patterns.
development
TypeScript support for type-safe Regle form validation, rules, and component props.
databases
Advanced patterns for Regle form validation, including arrays, async, server errors, global config, variants, scoped validation, and schema integration.
development
Vue 3 Composition API, script setup macros, reactivity system, and built-in components. Use when writing Vue SFCs, defineProps/defineEmits/defineModel, watchers, or using Transition/Teleport/Suspense/KeepAlive.