fixture-monkey: Instructions file for Claude Code

CLAUDE.md

fixture-monkey CLAUDE.md is an instructions file for Claude Code from naver/fixture-monkey. It costs 1,304 tokens per session, scanned A, original, Apache-2.0.

A Korean-language guide for working on Fixture Monkey, a Java and Kotlin library for generating test data. It describes project rules, folder roles, build commands, and testing requirements.

In plain words
What is it for?
Understanding the project layout, building modules with Gradle, running selected tests, and checking adapter changes for regressions—failures caused by a code change.
Why use it?
It prevents changes that could damage existing tests or protected modules and gives contributors a consistent way to check their work.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is naver/fixture-monkey's own configuration. It tells Claude Code how to work on fixture-monkey 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 fixture-monkey configures →

Reuse

Borrowing it

Nothing to install: this file belongs to naver/fixture-monkey. 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/naver/fixture-monkey/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/naver/fixture-monkey

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 fixture-monkey CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/naver/fixture-monkey/claude-md/github.svg)](https://agentmods.dev/instructions/naver/fixture-monkey/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/naver/fixture-monkey/claude-md"><img src="https://agentmods.dev/badge/instructions/naver/fixture-monkey/claude-md/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 fixture-monkey CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/naver/fixture-monkey/claude-md"><img src="https://agentmods.dev/badge/instructions/naver/fixture-monkey/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,304 This file is loaded in full into every session.
When invoked 1,304 The same file — it is already loaded in full.
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.01304 $0.01304
Opus 5.5 $0.00522 $0.00522
Sonnet 5.5 $0.00261 $0.00261
Haiku 4.5 $0.00130 $0.00130

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

Security

Grade A, and why

fixture-monkey CLAUDE.md 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 21d 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.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fixture Monkey - Claude Code 가이드

절대 규칙

  • 기존 테스트는 삭제/수정/주석 처리 금지
  • 테스트 실패 시 바로 롤백 (개선 가능하다고 판단되면 사용자에게 롤백 여부 확인)
  • Adapter 작업 시 fixture-monkey, fixture-monkey-api 모듈 코드 수정 금지 (필요 시 사용자에게 확인)
  • 커밋은 사용자가 명시적으로 요청할 때만 (메시지는 영어)
  • 데드 코드는 제거한다
  • [작업 흐름] 을 보고 작업을 한다

프로젝트 구조

모듈/폴더 역할
fixture-monkey/ 메인 모듈 (ArbitraryBuilder, FixtureMonkey 등)
fixture-monkey-api/ 공용 API 인터페이스
object-farm-api/ JvmNodeTree, PathExpression 등 구조 관련 API
fixture-monkey-tests/ 통합 테스트
history/ 벤치마크 결과 + 작업 히스토리
guide/ 프로파일링 가이드 등 참고 문서

빌드 및 테스트

./gradlew build                        # 전체 빌드
./gradlew :fixture-monkey:test         # 특정 모듈 테스트

회귀 테스트:

./gradlew --continue clean \
  :object-farm-api:check \
  :fixture-monkey:test \
  :fixture-monkey-tests:java-tests:test \
  :fixture-monkey-tests:java-17-tests:test \
  :fixture-monkey-tests:kotlin-tests:test

코드 스타일

  • 탭 들여쓰기 (스페이스 아님)
  • 주석은 // given, // when, // then만 허용 (예외 시 사용자 확인)
  • Javadoc은 public API에만 작성
  • @API 어노테이션으로 API 안정성 표시 (EXPERIMENTAL, MAINTAINED 등)

디버깅 절차

테스트 실패 시 아래 순서를 따른다:

  1. 코드 분석 우선 - 코드를 읽고 원인 추론
  2. 런타임 확인 - 분석만으로 부족하면 디버그 로그 추가 후 --info 플래그로 실행
  3. 문제 격리 - 반복 실패 시 최소 재현 테스트 작성 (sample() → adapt → 특정 Phase 순으로 좁힘)
  4. 수정 및 검증 - 원인 부분만 수정, 기존 테스트 전체 통과 확인

tracer 활성화:

FixtureMonkey fm = FixtureMonkey.builder()
    .plugin(new JavaNodeTreeAdapterPlugin()
        .tracer(AdapterTracer.console()))
    .build();

테스트 케이스 관리

테스트 작성/발견 시 해당 경우의 수가 기존 테스트에서 커버하지 못하는 새로운 경우의 수라고 판단되면:

  1. test-case/ 폴더의 해당 카테고리 마크다운 파일에 경우의 수를 추가
  2. 카테고리가 없으면 새 마크다운 파일 생성
  3. 각 경우의 수는 원자적 단위(하나의 독립된 동작/조건)로 기록
  4. 타입 변형(String→Int, List→Set→Array)은 같은 경우의 수로 취급 — 동작이 다른 경우만 별도

파일 형식

  • [x] 이미 테스트됨 (테스트파일:메서드명)
  • [ ] 미구현

카테고리

파일 카테고리
basic-generation.md 기본 타입/객체 생성
container.md 컨테이너 타입
customization.md set/size/apply/postCondition 등
generic.md 제네릭 타입
interface-abstract.md 인터페이스/추상/sealed class
recursive.md 재귀/순환 참조
instantiator.md 생성자/팩토리 메서드
introspector.md ArbitraryIntrospector 관련
register.md register/registerGroup
strict-mode.md strict mode
plugin.md 플러그인
property-selector.md PropertySelector/expression
kotlin.md Kotlin 전용
annotation-validation.md 어노테이션/validation
then-apply-ordering.md thenApply/size/set 순서 상호작용

Read the full file on GitHub · 124 lines

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. 21d ago Changed · -75 tokens per session cf7196f9f39b
  2. 1mo ago First seen · 124 lines · 1,379 tokens per session scan A 103fc2a9b32a

Subscribe to this mod's changes

fixture-monkey CLAUDE.md is an instructions file published in the GitHub repository naver/fixture-monkey (700 stars, last pushed 20d ago), licensed Apache-2.0. It adds 1,304 tokens to every session, about $0.0052 per session on Opus 5.5. 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-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,257 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,159 tokens