Skip to content
Skills Library
Programming · Building & coding

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.

Repository
asyra ↗
Licence
MIT
Last repository change
25.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.

Licence

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

  1. Trigger Signals
  2. Do Not Use When
  3. Required Inputs
  4. Preflight
  5. Deterministic Procedure
  6. Validation Matrix
  7. Required Output Format
  8. Guardrails
  9. Failure Policy
Original SKILL.md headings · 73 lines, 236 words
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

: harmful content, incorrect descriptions or an author’s removal request.

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.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.