100% Client-Side · Zero Upload · Live 58-Check Scoring
    切换中文版

    Convert CLAUDE.md to GEMINI.md.

    Adapt CLAUDE.md into a clean GEMINI.md for Gemini CLI — isolating Claude Code hooks/skills and supporting native @AGENTS.md single-source-of-truth imports.

    CLAUDE.md
    26 lines · 1,017 chars
    # Acme Billing API
    
    Node 22 + TypeScript REST service handling Stripe webhooks, idempotent ledger writes, and PDF invoices.
    
    ## Commands
    
    - Fast single test: `npx vitest run src/billing/webhook.test.ts`
    - Full test suite: `pnpm test`
    - Typecheck & lint: `npx tsc --noEmit && pnpm lint`
    - Build: `pnpm build`
    
    ## Rules
    
    - Don't bypass Zod validation on webhook routes. Instead parse payloads in `src/webhooks/schema.ts`. Because unvalidated retries previously caused duplicate charges.
    - Don't mix package managers. Instead use `pnpm` exclusively. Because competing lockfiles break CI caching.
    - When changing SQL schemas, read `docs/migrations.md` before editing Prisma files.
    
    ## Continuity
    
    - Record verified test outputs in `HANDOFF.md` before ending multi-step sessions.
    100
    Grade A+
    Live AgentLint Output Score

    20 lines · 774 / 40,000 char ceiling · emphasis 0/1K words

    Transformations Applied
    • Isolated 4 Claude Code-specific line(s) (hooks/skills/.claude/) so Gemini CLI doesn't receive foreign runtime instructions.
    • Converted CLAUDE.md -> GEMINI.md while keeping commands and boundaries intact.
    Multi-Agent Architecture Quick Reference

    AGENTS.md vs CLAUDE.md vs Cursor Rules vs Copilot vs GEMINI.md: What Goes Where?

    FileLoaded ByWhat Belongs HereSync Strategy
    AGENTS.mdCodex CLI, Cursor, Copilot, WindsurfCanonical project facts, build/test commands, architecture & safety boundariesSingle source of truth
    CLAUDE.mdClaude Code@AGENTS.md import + .claude/settings.json hooks, skills, and permissions@AGENTS.md
    .cursor/rules/*.mdcCursor Agent & Inline EditPath-scoped conventions using globs: frontmatter (UI, SQL, tests)Scoped via globs:
    .github/copilot-instructions.mdGitHub CopilotThin pointer to AGENTS.md or synced repo instructionsPointer / CI check
    GEMINI.mdGemini CLI@AGENTS.md import + Gemini CLI-specific guidance@AGENTS.md

    Frequently Asked Questions

    Does GEMINI.md support @file imports like CLAUDE.md?

    Yes. Gemini CLI supports @path/to/file.md imports inside GEMINI.md, so both CLAUDE.md and GEMINI.md can contain @AGENTS.md and share one canonical rule file.

    What changes when converting CLAUDE.md to GEMINI.md?

    The converter strips Claude Code-specific hook and slash-command blocks (.claude/settings.json, PreToolUse, .claude/skills/), cleans persona fluff, rewrites the header, and lints the result live.

    20 Verified Templates

    Copy verified starters for TypeScript, Python, Next.js, FastAPI, Rust, Go, Vue, and Monorepos.

    4,533-Repo Study

    Read our empirical data on 132-line medians, 37 repos exceeding 40K chars, and 58% unpinned Actions.

    Top 1,000 Repo Leaderboard

    Inspect how VS Code, Next.js, uv, and Bun structure their CLAUDE.md and AGENTS.md harnesses.