frogger: Command for Claude Code

.claude/commands/test.md

test is a command for Claude Code from ultra-ai-dle/frogger. It costs 0 tokens per session (694 once invoked), scanned A, original, MIT.

A command for writing tests for a named feature and committing those test files. It covers normal results, errors, empty data, boundary values, and asynchronous behavior.

In plain words
What is it for?
Use it to add tests for a function, component, or other feature, then run the tests and create a test-only commit.
Why use it?
It provides a repeatable testing checklist instead of requiring you to decide which cases and file locations to use each time.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is ultra-ai-dle/frogger's own configuration. It tells Claude Code how to work on frogger itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything frogger configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ultra-ai-dle/frogger. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ultra-ai-dle/frogger/develop/.claude/commands/test.md
Clone the repo
git clone --depth 1 https://github.com/ultra-ai-dle/frogger

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test

README.md
[![agentmods](https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/test/github.svg)](https://agentmods.dev/commands/ultra-ai-dle/frogger/test)
Your own site
<a href="https://agentmods.dev/commands/ultra-ai-dle/frogger/test"><img src="https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test

Your own site · 80×15
<a href="https://agentmods.dev/commands/ultra-ai-dle/frogger/test"><img src="https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 694 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00694
Opus 5.5 $0.00000 $0.00278
Sonnet 5.5 $0.00000 $0.00139
Haiku 4.5 $0.00000 $0.00069

Measured 27d ago against content hash 203ecca9e237, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/test.md · 59 lines

What it actually says

/test — Feature별 테스트 작성 + 커밋

목적

지정된 feature에 대한 테스트를 작성하고 커밋한다.

입력

  • $ARGUMENTS — 테스트 대상 feature 경로 또는 이름 (예: execution/runtime, trace/merge, visualization/GraphPanel)

실행 절차

  1. 대상 파일 확인: $ARGUMENTS에 해당하는 소스 파일을 찾아 읽는다.

  2. 기존 테스트 확인: 해당 feature에 이미 테스트가 있는지 __tests__/ 또는 *.test.ts(x) 패턴으로 탐색한다.

  3. 테스트 작성:

    • 해당 feature의 public interface(export된 함수, 타입)를 기준으로 테스트 케이스를 작성한다.
    • 이 프로젝트의 핵심 타입은 src/types/prova.ts에 정의되어 있다 — 테스트 fixture 작성 시 참고한다.
    • 해당 feature의 CLAUDE.md에 Test Coverage 체크리스트가 있으면 이를 기준으로 작성한다.
    • 기존 테스트 파일이 있으면 패턴을 따르고, 없으면 __tests__/[feature명].test.ts 경로에 생성한다.

    커버해야 할 케이스:

    • 정상 케이스 (happy path)
    • 에러 케이스 (예외, 실패 응답)
    • 빈 상태 케이스 (null, undefined, 빈 배열, 빈 객체)
    • 경계값 (0, 음수, 상한 초과, 타입 불일치)
    • 비동기 처리 (로딩 중, 완료, 실패) — 해당 시

    테스트 메시지 형식 (한글):

    • 정상: [함수/컴포넌트]는 [조건]일 때 [결과]를 반환한다
    • 예외: [함수/컴포넌트]는 [조건]인 경우 [예외]를 던진다
    • UI: [컴포넌트]는 [조건]일 때 [UI 변화]를 보여준다
    // 예시
    it('mergeTrace는 annotated가 짧을 때 EMPTY_ANNOTATED로 패딩한다')
    it('tryParseAnalyzeJson은 깨진 JSON인 경우 null을 반환한다')
    it('GridLinearPanel은 step이 null일 때 플레이스홀더를 보여준다')
    
  4. 테스트 실행: 작성한 테스트를 실행하여 통과 여부를 확인한다.

  5. 커밋: 테스트 파일만 스테이징하여 아래 형식으로 커밋한다.

    test: [feature명] 테스트 추가
    
    - [테스트 내용 요약]
    - [테스트 내용 요약]
    

    예시:

    test: trace/merge 테스트 추가
    
    - mergeTrace 정상 병합 + EMPTY_ANNOTATED 패딩
    - annotated 초과분 무시 + runtimeError/aiError 공존
    

주의사항

  • 소스 코드는 수정하지 않는다. 테스트만 작성한다.
  • mock은 최소화하고, 실제 로직을 테스트하는 것을 우선한다.
  • Worker 관련 테스트는 postMessage 인터페이스 기준으로 작성한다.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago First seen · 59 lines · 0 tokens per session scan A 203ecca9e237

Subscribe to this mod's changes

test is a command published in the GitHub repository ultra-ai-dle/frogger (8 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 694 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.