home / skills / tlabs-xyz / tbtc-v2-performance / backend--models
/.codex/skills/backend--models
This skill helps implement backend models following the Agent OS standard, ensuring consistency and quality across TypeScript backend components.
npx playbooks add skill tlabs-xyz/tbtc-v2-performance --skill backend--modelsReview the files below or copy the command above to add this skill to your agents.
---
name: backend--models
description: Apply the Agent OS standard for backend models.
tags: [agent-os, standard, backend]
---
# Backend Models
Use this skill when working on backend models in this repo.
## Instructions
- Follow the standard in `agent-os/standards/backend/models.md`.
## References
- `agent-os/standards/backend/models.md`
This skill applies the Agent OS standard for backend models to TypeScript projects. It enforces consistent model shape, typing, and lifecycle rules so backend code is predictable and maintainable. Use it to align new or existing models with the Agent OS conventions.
The skill inspects model definitions, TypeScript types/interfaces, and related serialization/parsing logic to detect deviations from the Agent OS standard. It highlights missing fields, inconsistent types, naming mismatches, and lifecycle hooks that don't follow the convention. It can guide corrections and suggest code snippets that bring models into compliance.
Does this skill modify code automatically?
It can suggest fixes and example patches; apply changes manually or with your preferred code-modification toolchain.
Will adopting the standard break existing APIs?
The skill highlights breaking changes and recommends migration patterns; follow incremental migrations and compatibility shims to avoid outages.