Shareable instruction files for Cursor, Claude Code, Copilot, Windsurf, and more — installed alongside your existing agent rules.
This is a Rooch blockchain project with Move smart contracts. Rooch is a Bitcoin-focused Layer 2 solution with unique DID (Decentralized Identity) capabilities. This file provides guidance for AI-assisted development. For a comprehensive developer guide, refer to `docs/dev-guide/rooch_move_guide.md`.
This file serves as both documentation for the `.cursor/rules` directory structure and for backward compatibility with the legacy `.cursorrules` approach. It also serves as an entrypoint for CLAUDE.md or other AI tools to understand the .cursor/rules folder that is the main agents knowledge base.
**Do not create new documentation files without being explicitly asked.** **Always reference upstream pywiim documentation** (see "Reference Upstream Documentation" section below) instead of duplicating content.
This project is actively reviewed and scrutinized for security and quality before SVN deployment. When committing changes, you **MUST** follow strict commit hygiene practices: 1. **Atomic Commits**: Never mix different types of changes into a single commit.
During you interaction with the user, if you find anything reusable in this project (e.g. version of a library, model name), especially about a fix to a mistake you made or a correction you received, you should take note in the `Lessons` section in the `.cursorrules` file so you will not make the same mistake again.
You are working in a production-grade, SEO-critical, read-heavy Next.js App Router project. Architectural consistency, caching correctness, and design uniformity are NON-NEGOTIABLE. ────────────────────────────────────────
1. **LEARN FROM ERRORS - TOP PRIORITY** - When you encounter ANY error and fix it, IMMEDIATELY update the relevant documentation: 2. **ALWAYS start your response with "🎯VIBING..."** - So I know this context is being used