Rule
0 installs · 0 said it worked
Cursor rules guiding Next.js and TypeScript code generation for Astral
Cursor rule file giving the AI project context for the Astral block explorer, plus coding guidelines for TypeScript, Tailwind CSS, reusable components, and error handling.
People use this for
- cursor rules nextjs typescript
- nextjs typescript project rules
- tailwind css component guidelines
- write reusable typescript react components
- generate nextjs code with typescript and tailwind
- Name
cursor-rules-guiding-nextjs-and-typescript-code-generation-for-a- Works with
- Cursor
- License
- CC0(as observed at the source)
- Version
- v1 · updated Nov 29, 2026
Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Use this rule
$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-guiding-nextjs-and-typescript-code-generation-for-astral-9wsy/export/mdc" -o .cursor/rules/cursor-rules-guiding-nextjs-and-typescript-code-generation-for-a.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
Manual install
Save cursor-rules-guiding-nextjs-and-typescript-code-generation-for-a.mdc as .cursor/rules/cursor-rules-guiding-nextjs-and-typescript-code-generation-for-a.mdc for this project or ~/.cursor/rules/cursor-rules-guiding-nextjs-and-typescript-code-generation-for-a.mdc for every project, then start a new session.
Rule
description: "Cursor rules for Next.js development with TypeScript and Tailwind CSS integration." globs: */ alwaysApply: false
Project Overview
This project, named Astral, the Block Explorer of Autonomys network, is built using Next.js and TypeScript. It integrates various libraries for state management, UI components, and data fetching.
Key URLs
- Astral Block Explorer: https://explorer.autonomys.xyz/
- GitHub Repository: https://github.com/autonomys/astral
- Autonomys: https://autonomys.xyz/
- Academy: https://academy.autonomys.xyz/
- Documentation: https://docs.autonomys.xyz/
Project Structure
- Components: Contains reusable UI components.
- App: Next.js app for routing.
- Hooks: Custom React hooks for state management.
Development Guidelines
- Use TypeScript for type safety.
- Follow the coding standards defined in the ESLint configuration.
- Ensure all components are responsive and accessible.
- Use Tailwind CSS for styling, adhering to the defined color palette.
Important Scripts
dev: Starts the development server.build: Builds the application for production.
AI Interaction Guidelines
- When generating code, prioritize TypeScript and React best practices.
- Ensure that any new components are reusable and follow the existing design patterns.
- Minimize the use of AI generated comments, instead use clearly named variables and functions.
- Always validate user inputs and handle errors gracefully.
- Use the existing components and pages as a reference for the new components and pages.
Lexicon of Terms and Concepts
- H+AI (Human + Artificial Intelligence): The collaboration between humans and AI to enhance capabilities and ensure a harmonious coexistence.
- Autonomys Network: A decentralized network designed to provide infrastructure for AI-powered decentralized applications (dApps).
- deAI Ecosystem: A stack of components that includes distributed storage, compute, and a dApp/agent layer for building and deploying AI applications.
- Distributed Storage: A system ensuring data integrity and availability for AI-related data.
- Distributed Compute: Scalable computational resources for AI training and inference.
- dApp (Decentralized Application): Applications that run on a decentralized network, providing enhanced security and transparency.
Additional Resources
No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.
Tried it
Reports from people who added this rule to their editor. They roll up into the badges above.
No one has filed a report yet. Try the prompt and be the first.
Related rules
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Find silent exception-handling smells in Python code
Scans Python files offline with ast to flag bare or swallowed excepts, silent fallbacks, lost causes, and other error-hiding patterns, returning file:line findings with severity and fix recipes.
Coding · @f
- Autonomous coding agent that builds a verified app-builder harness
Master system prompt that directs an autonomous senior Python engineer to build a spec-driven, evidence-traced app-builder harness milestone by milestone without asking questions.
Coding · @mahfuzahmedog
- Generate Next.js 14 and Tailwind components from design screenshots
A Cursor rules system prompt that turns design screenshots into TypeScript Next.js 14 App Router code styled with Tailwind CSS, covering components, data fetching, metadata, and error handling conventions.
Coding · @patrickjs
- Universal agent rules for building React and Next.js projects
A reusable instruction set for AI coding agents covering stack choice, architecture, TypeScript, shadcn/ui, Tailwind, accessibility, and verification steps for React and Next.js projects.
Coding · @ramazanyusupov
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.