home / skills / tlabs-xyz / tbtc-v2-performance / global--validation
/.codex/skills/global--validation
This skill enforces the agent-os global validation standard across codebases, ensuring consistent validation practices and reliable data integrity.
npx playbooks add skill tlabs-xyz/tbtc-v2-performance --skill global--validationReview the files below or copy the command above to add this skill to your agents.
---
name: global--validation
description: Apply the Agent OS standard for global validation.
tags: [agent-os, standard, global]
---
# Global Validation
Use this skill when working on global validation in this repo.
## Instructions
- Follow the standard in `agent-os/standards/global/validation.md`.
## References
- `agent-os/standards/global/validation.md`
This skill applies the Agent OS standard for global validation across projects. It standardizes how inputs, configurations, and inter-module contracts are validated to ensure consistent behavior and error handling. Use it to enforce a single source of truth for validation logic and reduce runtime surprises.
The skill inspects validation rules, schemas, and validation entry points across the codebase and aligns them to the Agent OS global validation convention. It enforces consistent validators, error formats, and integration points so modules validate inputs uniformly. The skill also highlights mismatches and recommends refactors to centralize validation logic.
What does “global validation” mean here?
It means a consistent, centralized approach to validating inputs and configuration across modules so behavior and errors are predictable.
How do I handle backward compatibility when tightening rules?
Introduce stricter validation behind feature flags or new API versions, add migration guidance, and include tests that cover old and new formats.