write-tests

Generate unit tests for existing code

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "write-tests" with this command: npx skills add cowork-os/cowork-os/cowork-os-cowork-os-write-tests

Write Tests

Purpose

Generate unit tests for existing code

Routing

  • Use when: Use when the user requests missing test coverage for a specific file or module.

  • Do not use when: Don't use for snapshot tests or manual QA-only validation.

  • Outputs: Prioritized test plan and test cases with clear coverage mapping.

  • Success criteria: Includes positive/negative cases and test setup assumptions.

Trigger Examples

Positive

  • Use the write-tests skill for this request.

  • Help me with write tests.

  • Use when the user requests missing test coverage for a specific file or module.

  • Write Tests: provide an actionable result.

Negative

  • Don't use for snapshot tests or manual QA-only validation.

  • Do not use write-tests for unrelated requests.

  • This request is outside write tests scope.

  • This is conceptual discussion only; no tool workflow is needed.

Parameters

Name Type Required Description

path string Yes Path to the file to test

framework select Yes Testing framework to use

Runtime Prompt

  • Current runtime prompt length: 339 characters.

  • Runtime prompt is defined directly in ../write-tests.json .

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

unity-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

sonoscli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

ios-development

No summary provided by upstream source.

Repository SourceNeeds Review