unit-test

Generate and run unit tests for changed React components, hooks, and utilities.

1|1|Updated Apr 9, 2026
Ready to run
npx skills add https://github.com/kangmomin/harness-plugins --skill unit-test-kangmomin
πŸ’¬ Prompt for ChatGPT / Claude Chatβ–Ό
Please help me install this Agent Skill.
Skill: unit-test
Source: https://github.com/kangmomin/harness-plugins/tree/main/fe-harness/skills/unit-test
Command: npx skills add https://github.com/kangmomin/harness-plugins --skill unit-test-kangmomin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

λ³€κ²½λœ μ»΄ν¬λ„ŒνŠΈ/ν•¨μˆ˜ λŒ€μƒμœΌλ‘œ λ‹¨μœ„ ν…ŒμŠ€νŠΈλ₯Ό μž‘μ„±ν•˜κ³  μ‹€ν–‰ν•˜λŠ” 과정을 μžλ™ν™”ν•©λ‹ˆλ‹€.

Core Features & Use Cases

  • λ³€κ²½λœ μ»΄ν¬λ„ŒνŠΈ, ν›…, μœ ν‹Έλ¦¬ν‹°μ— λŒ€ν•œ λ‹¨μœ„ ν…ŒμŠ€νŠΈλ₯Ό μƒμ„±ν•˜κ³  μ‹€ν–‰ν•©λ‹ˆλ‹€.
  • ν”„λŸ°νŠΈμ—”λ“œ μ½”λ“œλ² μ΄μŠ€μ—μ„œ ν…ŒμŠ€νŠΈ λŒ€μƒμ„ μ‹λ³„ν•˜κ³ , μ‹€ν–‰ μƒνƒœλ₯Ό λ³΄κ³ ν•©λ‹ˆλ‹€.
  • Use Case: 예λ₯Ό λ“€μ–΄ μ—¬λŸ¬ μ»΄ν¬λ„ŒνŠΈκ°€ λ³€κ²½λ˜μ—ˆμ„ λ•Œ κ΄€λ ¨ ν…ŒμŠ€νŠΈλ₯Ό ν•œκΊΌλ²ˆμ— μƒμ„±ν•˜κ³  κ²€μ¦ν•©λ‹ˆλ‹€.

Quick Start

ν…ŒμŠ€νŠΈ 변경사항에 λŒ€ν•΄ μžλ™μœΌλ‘œ λ‹¨μœ„ ν…ŒμŠ€νŠΈλ₯Ό μƒμ„±ν•˜κ³  μ‹€ν–‰ν•œλ‹€.

Frequently Asked Questions about unit-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate unit tests for changed React components?β–Ό

You can generate unit tests for changed React components by identifying modified components, hooks, and utilities, then creating and executing test cases using Vitest or Jest with Testing Library.

Can I use this to run unit tests for custom hooks and utilities, not just components?β–Ό

Yes, unit tests can be generated and run for custom hooks and utilities alongside React components, ensuring all changed frontend code is identified and validated across the codebase.

Do I need Vitest or Jest installed to generate and run frontend unit tests?β–Ό

Yes, Vitest or Jest must be installed along with Testing Library as project prerequisites to execute the generated unit tests and report the test results for your frontend codebase.

What is the best way to generate unit tests for multiple changed components at once?β–Ό

The best way to generate unit tests for multiple changed components is to identify all modified files and automatically create test cases in a single batch, running and reporting results together.

Does this unit test generation follow existing project conventions for testing?β–Ό

Yes, unit test generation follows your existing project conventions and prerequisites, ensuring the generated tests for React components and hooks align with your current Vitest or Jest setup.