{"id":"90a4aa07-3b07-4826-bd78-b4fb7d8561e9","shortId":"szs59g","kind":"skill","title":"test-implement","tagline":"Test implementation patterns and conventions. Use when implementing unit tests, integration tests, or E2E tests, including RTL+Vitest+MSW component testing and Playwright E2E testing.","description":"# Test Implementation Patterns\n\n## Reference Selection\n\n| Test Type | Reference | When to Use |\n|-----------|-----------|-------------|\n| **Unit / Integration** | [references/frontend.md](references/frontend.md) | Implementing React component tests with RTL + Vitest + MSW |\n| **E2E** | [references/e2e.md](references/e2e.md) | Implementing browser-level E2E tests with Playwright |\n\n## Common Principles\n\n### AAA Structure\nAll tests follow **Arrange-Act-Assert**:\n- **Arrange**: Set up preconditions and inputs\n- **Act**: Execute the behavior under test\n- **Assert**: Verify the expected outcome\n\n### Test Independence\n- Each test runs independently without depending on other tests\n- No shared mutable state between tests\n- Deterministic execution — no random or time dependencies without mocking\n\n### Naming\n- Test names describe expected behavior from user perspective\n- One test verifies one behavior","tags":["test","implement","claude","code","workflows","shinpr","agent-skills","agentic-ai","ai-agents","automation","claude-code","claude-code-plugin"],"capabilities":["skill","source-shinpr","skill-test-implement","topic-agent-skills","topic-agentic-ai","topic-ai-agents","topic-automation","topic-claude-code","topic-claude-code-plugin","topic-code-quality","topic-developer-tools","topic-development-workflow","topic-llm-orchestration","topic-productivity","topic-prompt-engineering"],"categories":["claude-code-workflows"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/shinpr/claude-code-workflows/test-implement","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add shinpr/claude-code-workflows","source_repo":"https://github.com/shinpr/claude-code-workflows","install_from":"skills.sh"}},"qualityScore":"0.613","qualityRationale":"deterministic score 0.61 from registry signals: · indexed on github topic:agent-skills · 327 github stars · SKILL.md body (905 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-02T18:53:53.522Z","embedding":null,"createdAt":"2026-04-18T22:03:19.965Z","updatedAt":"2026-05-02T18:53:53.522Z","lastSeenAt":"2026-05-02T18:53:53.522Z","tsv":"'aaa':65 'act':72,80 'arrang':71,74 'arrange-act-assert':70 'assert':73,86 'behavior':83,122,130 'browser':57 'browser-level':56 'common':63 'compon':23,46 'convent':8 'depend':98,114 'describ':120 'determinist':108 'e2e':17,27,52,59 'execut':81,109 'expect':89,121 'follow':69 'implement':3,5,11,30,44,55 'includ':19 'independ':92,96 'input':79 'integr':14,41 'level':58 'mock':116 'msw':22,51 'mutabl':104 'name':117,119 'one':126,129 'outcom':90 'pattern':6,31 'perspect':125 'playwright':26,62 'precondit':77 'principl':64 'random':111 'react':45 'refer':32,36 'references/e2e.md':53,54 'references/frontend.md':42,43 'rtl':20,49 'run':95 'select':33 'set':75 'share':103 'skill' 'skill-test-implement' 'source-shinpr' 'state':105 'structur':66 'test':2,4,13,15,18,24,28,29,34,47,60,68,85,91,94,101,107,118,127 'test-impl':1 'time':113 'topic-agent-skills' 'topic-agentic-ai' 'topic-ai-agents' 'topic-automation' 'topic-claude-code' 'topic-claude-code-plugin' 'topic-code-quality' 'topic-developer-tools' 'topic-development-workflow' 'topic-llm-orchestration' 'topic-productivity' 'topic-prompt-engineering' 'type':35 'unit':12,40 'use':9,39 'user':124 'verifi':87,128 'vitest':21,50 'without':97,115","prices":[{"id":"72352d64-71fd-45fe-a35f-eef9eb8f51e6","listingId":"90a4aa07-3b07-4826-bd78-b4fb7d8561e9","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"shinpr","category":"claude-code-workflows","install_from":"skills.sh"},"createdAt":"2026-04-18T22:03:19.965Z"}],"sources":[{"listingId":"90a4aa07-3b07-4826-bd78-b4fb7d8561e9","source":"github","sourceId":"shinpr/claude-code-workflows/test-implement","sourceUrl":"https://github.com/shinpr/claude-code-workflows/tree/main/skills/test-implement","isPrimary":false,"firstSeenAt":"2026-04-18T22:03:19.965Z","lastSeenAt":"2026-05-02T18:53:53.522Z"}],"details":{"listingId":"90a4aa07-3b07-4826-bd78-b4fb7d8561e9","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"shinpr","slug":"test-implement","github":{"repo":"shinpr/claude-code-workflows","stars":327,"topics":["agent-skills","agentic-ai","ai-agents","automation","claude-code","claude-code-plugin","code-quality","developer-tools","development-workflow","llm-orchestration","productivity","prompt-engineering","skills"],"license":"mit","html_url":"https://github.com/shinpr/claude-code-workflows","pushed_at":"2026-05-02T15:39:17Z","description":"Production-ready development workflows for Claude Code, powered by specialized AI agents.","skill_md_sha":"ce67d7772720779c1d32bf796dc778058eeafb4f","skill_md_path":"skills/test-implement/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/shinpr/claude-code-workflows/tree/main/skills/test-implement"},"layout":"multi","source":"github","category":"claude-code-workflows","frontmatter":{"name":"test-implement","description":"Test implementation patterns and conventions. Use when implementing unit tests, integration tests, or E2E tests, including RTL+Vitest+MSW component testing and Playwright E2E testing."},"skills_sh_url":"https://skills.sh/shinpr/claude-code-workflows/test-implement"},"updatedAt":"2026-05-02T18:53:53.522Z"}}