Files
everything-claude-code/.cursor
Affaan Mustafa 36864ea11a fix: harden error handling, fix TOCTOU races, and improve test accuracy
Core library fixes:
- session-manager.js: wrap all statSync calls in try-catch to prevent
  TOCTOU crashes when files are deleted between readdir and stat
- session-manager.js: use birthtime||ctime fallback for Linux compat
- session-manager.js: remove redundant existsSync before readFile
- utils.js: fix findFiles TOCTOU race on statSync inside readdir loop

Hook improvements:
- Add 1MB stdin buffer limits to all PostToolUse hooks to prevent
  unbounded memory growth from large payloads
- suggest-compact.js: use fd-based atomic read+write for counter file
  to reduce race window between concurrent invocations
- session-end.js: log when transcript file is missing, check
  replaceInFile return value for failed timestamp updates
- start-observer.sh: log claude CLI failures instead of silently
  swallowing them, check observations file exists before analysis

Test fixes:
- Fix blocking hook tests to send matching input (dev server command)
  and expect correct exit code 2 instead of 1
2026-02-12 13:40:14 -08:00
..

Everything Claude Code — Cursor IDE Support

Pre-translated configurations for Cursor IDE, part of the ecc-universal package.

What's Included

Category Count Description
Rules 27 Coding standards, security, testing, patterns (common + TypeScript/Python/Go)
Agents 13 Specialized AI agents (planner, architect, code-reviewer, tdd-guide, etc.)
Skills 30 Agent skills for backend, frontend, security, TDD, and more
Commands ~28 Slash commands for planning, reviewing, testing, and deployment
MCP Config 1 Pre-configured MCP servers (GitHub, Supabase, Vercel, Railway, etc.)

Agents

Agent Description Mode
planner Expert planning specialist for complex features and refactoring Read-only
architect Software architecture specialist for system design and scalability Read-only
code-reviewer Code review for quality, security, and maintainability Full access
tdd-guide Test-driven development with 80%+ coverage enforcement Full access
security-reviewer Security vulnerability detection (OWASP Top 10) Full access
build-error-resolver Build and TypeScript error resolution Full access
e2e-runner End-to-end testing with Playwright Full access
doc-updater Documentation and codemap updates Full access
refactor-cleaner Dead code cleanup and consolidation Full access
database-reviewer PostgreSQL/Supabase database specialist Full access
go-build-resolver Go build error resolution Full access
go-reviewer Go code review specialist Full access
python-reviewer Python code review specialist Full access

Installation

# Install the package
npm install ecc-universal

# Install Cursor configs for TypeScript projects
./install.sh --target cursor typescript

# Install for multiple languages
./install.sh --target cursor typescript python golang

Rules Structure

  • Common rules (always active): coding-style, security, testing, git-workflow, hooks, patterns, performance, agents
  • Language-specific rules (activated by file type): TypeScript, Python, Go
  • Context rules (manually activated): dev, research, review modes

MCP Servers

The included mcp.json provides pre-configured MCP servers. Copy to your project's .cursor/mcp.json and set environment variables:

  • GITHUB_PERSONAL_ACCESS_TOKEN — GitHub operations
  • FIRECRAWL_API_KEY — Web scraping

Further Reading