Skip to content
cccskills
FreePublished on GitHub

forms-and-input-validation

Validate UI, command, text, numeric, entity, and configuration input with localized feedback and server authority.

The English summary is being prepared. Showing the original description.

See how to install

Files included (3)

  • SKILL.md1.9 KB
  • agents/openai.yaml242 B
  • references/numeric-and-text-input.md407 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Validation has two layers: client feedback and authoritative server enforcement.

Parsing

Trim deliberately. Parse numbers with an explicit culture and format policy. Reject ambiguous forms such as integer fields supplied as 1.0 unless the domain permits them. Check length before expensive processing.

Domain validation

Validate ranges, overflow, whitelists, prototype IDs, entity existence, ownership, access, cooldowns, and cross-field constraints. Normalize case and whitespace only when the domain defines them as insignificant.

Use one authoritative validation source where possible. Do not allow UI and server rules to drift.

Feedback

Return specific player-safe errors in en-US; add ru-RU only when explicitly requested. Do not expose hidden state, internal exceptions, raw IDs, or server-only reasons.

Variable names and values passed into validation messages must match en-US; match Russian too only when Russian is in scope.

Security failures

Treat rich text, markup, paths, URLs, and command fragments as hostile. Use structured APIs instead of concatenating shell, SQL, markup, or resource paths.

Verification commands

Build only the affected project. When verification is requested, choose focused tests for the changed validation boundary (such as BUI, command authority, stale entities, or client/server behavior). Do not restore dependencies or run complete test suites by default. Relevant cases include empty and whitespace input, boundaries, overflow, locale variants when in scope, malformed markup, unauthorized actors, and conflicting fields. Test empty, whitespace, boundaries, overflow, locale variants, malformed markup, unauthorized actors, and conflicting fields.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

atmos

Free

Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

audio

Free

Add data-driven audio with correct prediction, audience, resources, attribution, and verification.

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

See all skills by ArcaneSS14

Report a problem with this skill