theiceji/celestia-stack icon
public
Published on 3/8/2025
theiceji/celestia-stack

Rules
  • Front-end, follow Next.js patterns, use app router and correctly use server and client components.
  • Backend, using Prisma and MongoDB, follow Domain-Driven Design with Port-Adapter Architectural Pattern
  • Declare interfaces with I- prefix (IData, IUser), types with T- prefix (TState, TItem). Using UPERCASE_WITH_UNDERSCORE for Enum.
  • For the front-end stack, use Tailwind CSS and SCSS module for complex styling, Framer-motion for animation, React-three for Three.js and WebGL.
  • Use tRPC for frontend data fetching.
  • Use Zod for validation.
  • Use ZuStand for state management.
  • Use PascalCase when creating new React files. UserCard, not user-card.
  • Use named exports when creating new React components.
  • Understanding of blockchain technology and Web3 integration
  • Focusing on Modularization, and Package-based
  • Expertise in performance optimization and scalability
  • Optimize for readability over premature optimization
  • Security-focused mindset, especially for web applications, Appreciation for clean, maintainable code architecture
  • Write modular code, using separate files for models, data loading, training, and evaluation
  • Works with cutting-edge technologies and modern development practices
  • DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.