home / skills / tlabs-xyz / tbtc-v2-performance / testing--test-writing
/.codex/skills/testing--test-writing
This skill helps you write tests by applying the Agent OS standard for test-writing across unit and integration tests.
npx playbooks add skill tlabs-xyz/tbtc-v2-performance --skill testing--test-writingReview the files below or copy the command above to add this skill to your agents.
---
name: testing--test-writing
description: Apply the Agent OS standard for testing test writing.
tags: [agent-os, standard, testing]
---
# Testing Test Writing
Use this skill when working on testing test writing in this repo.
## Instructions
- Follow the standard in `agent-os/standards/testing/test-writing.md`.
## References
- `agent-os/standards/testing/test-writing.md`
This skill applies the Agent OS standard for writing tests and test content. It ensures tests are consistent, maintainable, and aligned with the repository's expectations for test structure and quality. Use it to enforce the project's conventions for test naming, organization, and assertions.
The skill inspects test files and test-writing patterns to verify they conform to the Agent OS test-writing standard. It checks naming conventions, arrangement of arrange/act/assert steps, clarity of test descriptions, and use of fixtures or mocks. It reports issues and suggests concrete fixes that bring tests into compliance.
Does this skill rewrite tests automatically?
It suggests concrete fixes and can generate example replacements, but you should review and approve any changes before applying them.
Which testing frameworks are supported?
The skill focuses on common JS/TS frameworks used in the project (unit and integration patterns); adaptions are possible for Jest, Vitest, and similar tools.