pinpoint-apm/pinpoint/write-test
Claude Code and agent skill by pinpoint-apm/pinpoint
- community
Checking that the SKILL.md file is still in the repository.
변경되었거나 테스트가 없는 Pinpoint 프론트엔드 코드에 대한 Jest 테스트를 작성합니다. 훅, 아톰, 유틸리티, 컴포넌트에 테스트가 필요하거나 커버리지를 높여야 할 때 반드시 이 스킬을 사용하세요.
Install
npx vskill@latest install pinpoint-apm/pinpoint/write-testSKILL.md
The same SKILL.md was published earlier as pinpoint-apm/pinpoint/write-test.
테스트 작성
$ARGUMENTS의 코드에 대한 Jest 테스트를 작성합니다 (경로가 없으면 최근 변경된 파일 대상).
1단계: 테스트가 필요한 파일 탐색
인자가 없는 경우:
변경된 각 .ts / .tsx 파일에 대해 해당하는 .test.ts / .test.tsx 파일이 있는지 확인합니다. 테스트가 없는 파일 목록 — 이것이 우선 타겟입니다.
2단계: 코드 분석
각 타겟 파일을 완전히 읽고 파악합니다:
- 수행하는 것 (구현이 아닌 동작)
- 받는 입력 (props, 인자, 아톰 값, URL 파라미터)
- 생성하는 출력 (반환 값, 렌더링 출력, 사이드 이펙트, 아톰 업데이트)
- 의존성 (fetch 호출, 아톰, 다른 훅)
3단계: 테스트 작성
.claude/rules/testing.md의 프로젝트 테스트 패턴을 따릅니다.
규칙: 테스트 이름(`describe` / `test` / `it` 문자열)은 반드시 영어로 작성합니다.
유틸리티 함수 테스트
Jotai 아톰 테스트
API 훅 테스트 (useGetXxx)
라우트 로더 테스트
4단계: 커버리지 목표
각 파일에 대해 다음을 커버하는 것을 목표로 합니다:
- [ ] 정상 / 해피 패스
- [ ] 빈 / null / undefined 입력
- [ ] 오류 상태 (API 실패, 잘못된 데이터)
- [ ] 경계값 (빈 배열, 최대값)
- [ ] 훅의
enabled조건 (파라미터 없을 때 페칭 안 함)
5단계: 배치 및 등록
- 테스트 파일은 소스와 함께 위치:
myHook.ts→myHook.test.ts - 테스트 통과 확인을 위해 실행:
yarn workspace @pinpoint-fe/ui jest path/to/file.test.ts
작성된 테스트와 통과/실패 여부를 보고합니다.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingweb-frontend/src/main/v3/.claude/skills/write-test/SKILL.md
Popularity
- Repository stars
- 13,870
- Repository forks
- 3,745
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pinpoint-apm/pinpoint/write-test)