frogger: Command for Claude Code

.claude/commands/pr-ready.md

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

A pre-review command that checks the branch with TypeScript's type checker and the project's build, then prepares a pull request title and description. A pull request is a proposed set of changes for review and merging.

In plain words
What is it for?
Use it before opening a pull request to run the listed quality checks, report pass or fail results, and generate review text.
Why use it?
It catches type and build failures before review and stops when a required check fails. It also gathers the branch changes so the review summary reflects them.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

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/pr-ready.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 pr-ready

README.md
[![agentmods](https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/pr-ready/github.svg)](https://agentmods.dev/commands/ultra-ai-dle/frogger/pr-ready)
Your own site
<a href="https://agentmods.dev/commands/ultra-ai-dle/frogger/pr-ready"><img src="https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/pr-ready/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 pr-ready

Your own site · 80×15
<a href="https://agentmods.dev/commands/ultra-ai-dle/frogger/pr-ready"><img src="https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/pr-ready.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 1,053 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.01053
Opus 5.5 $0.00000 $0.00421
Sonnet 5.5 $0.00000 $0.00211
Haiku 4.5 $0.00000 $0.00105

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

Security

Grade A, and why

pr-ready 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/pr-ready.md · 86 lines

How it starts

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

/pr-ready — PR 제출 전 최종 검증 + PR 제목 추천 + PR Body 생성

목적

PR을 올리기 전에 lint, type check, build를 한 번에 돌리고, PR 본문까지 생성한다.

입력

  • $ARGUMENTS — (선택) base 브랜치 지정 (기본값: main)

실행 절차

  1. 사전 상태 확인 (병렬 실행):

    • git status로 uncommitted 변경 확인 — 있으면 /commit으로 먼저 정리할 것을 안내하고 중단
    • git log $BASE..HEAD --oneline으로 커밋 목록 수집
  2. 품질 게이트 (순차 실행, 하나라도 실패하면 중단):

    Step 1: npx tsc --noEmit          → 타입 체크
    Step 2: npm run build              → 빌드
    Step 3: 프롬프트 변경 감지 시 /prompt-diff 실행 → 프롬프트 계약 검증
    
    • 빌드 완료 후 git checkout next-env.d.ts로 빌드가 덮어쓴 변경을 되돌린다.
    • 각 단계 결과를 PASS/FAIL로 기록한다.
    • FAIL 발생 시 에러 내용을 출력하고, 수정 제안을 제공한다.
    • Step 4는 git diff $BASE...HEAD --name-only에 api/analyze/route.ts가 포함된 경우에만 실행한다. 해당 파일 변경이 없으면 SKIP 처리한다.
    • 모든 단계 PASS 시에만 다음으로 진행한다.
  3. 최종 보고:

    ┌─────────────────────────┐
    │ PR Ready Check          │
    ├─────────────┬───────────┤
    │ Type Check  │ ✅ PASS   │
    │ Build       │ ✅ PASS   │
    │ Prompt Diff │ ✅ PASS / ⏭ SKIP │
    ├─────────────┼───────────┤
    │ Status      │ 🚀 Ready  │
    └─────────────┴───────────┘
    
    • 모든 게이트 PASS 시에만 4-5단계로 진행한다.
  4. PR 제목 추천:

    • 커밋 목록과 diff를 분석하여 PR 제목을 3개 추천한다.
    • 형식: type: 간결한 설명 (70자 이내)
    • type은 커밋 컨벤션 기준: feat, fix, refactor, chore, docs 등
    • 가장 핵심적인 변경을 대표하는 제목을 첫 번째로 제시한다.
  5. PR Body 생성:

    • git log $BASE...HEAD --oneline으로 커밋 목록을 수집한다.
    • git diff $BASE...HEAD로 변경 내용을 분석한다.
    • 다음 형식으로 PR 본문을 출력한다:
    ## Summary
    - 이 PR이 해결하는 문제와 핵심 변경 사항 요약 (2-3줄)
    
    ## Changes
    - 파일/기능 단위로 구체적인 변경 내용 나열
    - `git diff --stat` 기준으로 주요 변경 파일 포함
    
    ## QA
    <!-- 기능 추가/변경 시 사용자 시나리오 기반 검증 항목 -->
    - [ ] {사용자 시나리오 1: 어떤 동작을 했을 때 어떤 결과가 나와야 하는지}
    - [ ] {사용자 시나리오 2}
    - [ ] 기존 기능 회귀 없음 확인
    
    ## Status
    - [x] 타입 체크 통과
    - [x] 빌드 통과
    - [ ] 테스트 추가/수정 (해당 시)
    <!-- 커밋 메시지 기반 작업 항목 -->
    - [x] {커밋 메시지 기반 작업 항목}
    
    ## Demo
    <!-- 데모 영상/스크린샷 링크 (해당 시) -->
    > 📎 데모 영상 링크를 여기에 첨부해주세요.
    
    • "Summary"는 커밋 메시지와 diff를 분석하여 핵심 변경을 요약한다.
    • "Changes"는 git diff --stat 기준 파일/기능 단위로 작성한다.
    • "QA"는 변경된 기능의 사용자 관점 시나리오를 작성한다.
    • "Status"의 작업 항목은 커밋 메시지에서 자동 추출한다.

Read the full file on GitHub · 86 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. 27d ago First seen · 86 lines · 0 tokens per session scan A 3c264e7ac6d2

Subscribe to this mod's changes

pr-ready 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 1,053 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.