Skip to main content
Back to registry

test-writer

leonardomso/33-js-concepts

Use this skill to generate comprehensive Vitest tests for all code examples in a concept documentation page. Tests verify that code examples in the documentation are accurate and work as described.

Installs226
Install command
npx skills add https://github.com/leonardomso/33-js-concepts --skill test-writer
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Use this skill to generate comprehensive Vitest tests for all code examples in a concept documentation page. Tests verify that code examples in the documentation are accurate and work as described. Follow these four phases to create comprehensive tests for a concept page. Scan the concept page for all code examples and categorize them: File naming: For each testable code example: For DOM tests or tests needing mocks: Match the structure of the documentation: Always reference the documentation source: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test: Documentation: Test (in .dom.test.js file): Documentation: Test: Documentation: Test: Documentation: Test: Use this template to document test coverage for a concept page. Result: ✅ XX passing | ❌ X failing | ⏭️ X skipped [Any special considerations, mock requirements, or issues encountered] Problem: Async test never resolves Solution: Ensure all promises are awaited and async function is marked Problem: Missing jsdom environment Solution: Add environment directive at top of file Problem: Tests affect each other Solution: Use beforeEach/afterEach for cleanup When writing tests for a concept page: Remember: Tests serve two purposes:...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does test-writer do?

Use this skill to generate comprehensive Vitest tests for all code examples in a concept documentation page. Tests verify that code examples in the documentation are accurate and work as described.

Is test-writer good?

test-writer does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does test-writer work with?

test-writer currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to test-writer?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install test-writer?

npx skills add https://github.com/leonardomso/33-js-concepts --skill test-writer

Related skills

More from leonardomso/33-js-concepts

Related skills

Alternatives in Software Engineering