本文へ移動
cccskills
無料GitHub で公開

forms-and-input-validation

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

インストール方法を見る

含まれるファイル(3)

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

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月11日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月11日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月11日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月11日 更新

atmos

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月11日 更新

audio

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月11日 更新

ArcaneSS14 のスキルをすべて見る

このスキルの問題を報告する