props-schema-validation-guard
/props-schema-validation-guard
Enforce schema-based runtime/load validation with valid-write and invalid-fallback semantics for props data. Use when requests mention invalid property values, schema typing, or load safety.
- Author
- karote00 ↗
- Repository
- asyra ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Enforce schema-based runtime/load validation with valid-write and invalid-fallback semantics for props data. Use when requests mention invalid property values, schema typing, or load safety.
Original author description
Enforce schema-based runtime/load validation with valid-write and invalid-fallback semantics for props data. Use when requests mention invalid property values, schema typing, or load safety.
How it works
- Trigger Signals
- Do Not Use When
- Required Inputs
- Preflight
- Deterministic Procedure
- Validation Matrix
- Required Output Format
- Guardrails
- Failure Policy
SKILL.md preview
--- name: props-schema-validation-guard description: Enforce schema-based runtime/load validation with valid-write and invalid-fallback semantics for props data. Use when requests mention invalid property values, schema typing, or load safety. --- # Skill: props-schema-validation-guard ## Trigger Signals Use this skill when requests include: - "property validation" - "invalid input accepted" - "load fallback" - "schema register" ## Do Not Use When - Request is only UI formatting/placeholder updates. - No props/property schema changes are involved. ## Required Inputs - Target property/component definitions. - Invalid value examples (if bugfix). - Rules: - `docs/ai/framework/design-principles/validation-and-fallback-semantics.md` ## Preflight 1. Identify set/update/load entry points. 2. Identify current property type contracts. 3. Capture existing fallback/default behavior. ## Deterministic Procedure 1. Define/confirm type contract for each property. 2. Implement runtime write guard: - valid -> write - invalid -> reject/fallback 3. Implement load guard: - invalid persisted value -> fallback initialized/default value 4. Keep UI parser/formatter optional; system remains final validator. 5. Update docs when schema rules or fallback semantics change. ## Validation Matrix - Invalid input cannot corrupt persisted runtime state. - Loading bad data results in deterministic fallback. - Valid input path remains unchanged. ## Required Output Format 1. `Schema/Type Changes` 2. `Runtime Validation Changes` 3. `Load Fallback Changes` 4. `Validation` ## Guardrails - Do not rely only on UI validation. - Do not silently coerce invalid values without contract note. - Local commits may close completed, validated steps/stages; never push unless the user explicitly requests the remote operation. Follow `docs/ai/workflows/git-commit-push-policy.md`. ## Failure Policy If migration is required but out of scope: - keep backward-compatible loader - add explicit migration follow-up note
Versions
The database has no other skills named props-schema-validation-guard.
Database snapshot: 13.11.2026 · package version 6b8eab9002ec (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 95effect-schema
Use when @effect/schema patterns including schema definition, validation, parsing, encoding, and transformations. Use for type-safe data validation in Effect applications. - 95typebox
TypeBox patterns for runtime schema validation and JSON Schema generation. Use when mentioning TypeBox, Standard Schema, or schema-based validation. - 100supabase-schema-from-requirements
Execute Supabase primary workflow: Schema from Requirements. Use when Starting a new project with defined data requirements, Refactoring an existing schema based on new features, or Creating migrations from specification documents. Trigger with phrases like "supabase schema from… - 100typescript-type-safety
Use when changing TypeScript types, parsing input that enters typed code, or removing unsafe casts. Also use it when the user says "fix the types", "remove the as casts", or "make invalid states impossible". Models each valid state with types, so that invalid combinations fail… - 100mcp-json-schema-validation-design
Use this skill when defining strict input parameter validation for MCP tools using Zod, Pydantic, and JSON Schema Draft-07. - 100schema-migrate
Use for Salesforce schema changes — object/field/relationship migrations w/ deploy plan, sandbox validation, rollback strategy. Different from /migrate (data) — schema-migrate handles metadata.