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

    Convert .cursorrules to CLAUDE.md.

    Turn legacy .cursorrules files into a clean, Claude Code-ready CLAUDE.md — stripping persona fluff ('You are an expert...'), preserving verified commands, and checking against 58 rules.

    .cursorrules
    18 lines · 836 chars
    # Frontend App Rules
    
    Vite + React 18 + TypeScript SPA with Tailwind CSS and Vitest.
    
    ## Commands
    - Fast single test: `npx vitest run src/components/InvoiceTable.test.tsx`
    - Lint & typecheck: `pnpm lint && npx tsc --noEmit`
    - Build: `pnpm build`
    
    ## Rules
    - Don't introduce `any` or `@ts-ignore` in component props. Instead define explicit interfaces in `src/types/`. Because unchecked props hide runtime UI crashes.
    - Don't wrap entire page sections in decorative cards. Instead reserve cards for repeated list items and tool panels. Because nested cards reduce scan density.
    - When editing routing or SEO tags, read `docs/routing.md` first.
    
    ## Continuity
    - Keep `.env` gitignored and update `HANDOFF.md` at milestones.
    98
    Grade A+
    Live AgentLint Output Score

    16 lines · 721 / 40,000 char ceiling · emphasis 0/1K words

    Transformations Applied
    • Removed 1 persona/fluff line(s) ("You are an expert...") per check I5.
    • Converted .cursorrules -> CLAUDE.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

    Why shouldn't I copy-paste .cursorrules directly into CLAUDE.md?

    Legacy .cursorrules files frequently start with persona boilerplate ('You are an expert...'), lack concrete test commands, or contain Cursor editor instructions. Stripping dead weight improves instruction compliance in Claude Code (check I5).

    Can I keep using both Cursor and Claude Code after converting?

    Yes. Switch to @AGENTS.md Pointer Mode to put shared rules in AGENTS.md, point CLAUDE.md at it, and keep path-scoped rules in .cursor/rules/*.mdc.

    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.