npx skills add smithery/erraggy --skill gen-test
neonwatty/linkparty · Archived
gen-test
Generate Vitest tests for a file following project conventions. Use when asked to create tests for a source file.
Installation
npx skills add neonwatty/linkparty --skill gen-test
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Check CI, merge PR, pull main, and verify deployment. Use when ready to ship the current branch.
1 installsMonitor CI status for the current branch, diagnose failures, and summarize results.
1 installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsProvision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agen…
288.9K installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe …
568.9K installsPre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure…
567.7K installsConfigure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: sem…
566.3K installsAzure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compar…
510K installsPostgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill …
391.6K installsCreate new skills, modify and improve existing skills, and measure skill performance. Use when …
375.6K installsAlso in this package
Other skills from neonwatty/linkparty.
npx skills add neonwatty/linkparty
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md1,399 B -
docs
SUMMARY.md129 B
History
- First seen on skills.sh
- First recorded snapshot · 1 installs
SKILL.md
Generate tests for: $ARGUMENTS
Test Stack
- Runner: Vitest (
vitest run) - React:
@testing-library/reactwith@testing-library/user-event - Assertions:
@testing-library/jest-domfor DOM matchers, Vitestexpectfor everything else - Mocking:
vi.mock()for modules,vi.fn()for functions
Conventions
- Read the existing test at
app/api/queue/items/route.test.tsfor the project's testing patterns - Read the source file specified in
$ARGUMENTS - Place the test file adjacent to the source:
<filename>.test.tsor<filename>.test.tsx - Use
describeblocks grouped by function/component, withitfor individual cases - Mock Supabase client when testing code that uses
@supabase/supabase-jsor@supabase/ssr - Mock
process.envinbeforeEach, restore inafterEach - For React components: test user interactions, rendered output, and edge cases
- For API routes: test request validation, success paths, and error handling
- For utility functions: test happy paths, edge cases, and error conditions
After Generation
Run the tests to verify they pass:
npx vitest run --reporter=verbose <test-file-path>
Fix any failures before finishing.