ton-scaffolding Cursor Rules — Free Cursor Rules Template
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRuleston-scaffolding Cursor Rules
    Back to Rules
    Frontend

    ton-scaffolding Cursor Rules

    AlphaTONCapital April 15, 2026
    0 copies 0 downloads

    Brief description of your project, its purpose, and main technologies used.

    Rule Content
    # Cursor Rules for This Project
    
    ## Project Overview
    Brief description of your project, its purpose, and main technologies used.
    
    ## Tech Stack
    - **Frontend**: [e.g., React, Vue, Angular]
    - **Backend**: [e.g., Node.js, Python, Go]
    - **Database**: [e.g., PostgreSQL, MongoDB]
    - **Testing**: [e.g., Jest, Pytest]
    - **Build Tools**: [e.g., Webpack, Vite]
    
    ## Code Style Guidelines
    
    ### General Principles
    - Write clean, readable, and maintainable code
    - Follow existing patterns and conventions in the codebase
    - Prefer composition over inheritance
    - Keep functions small and focused on a single responsibility
    - Use descriptive variable and function names
    
    ### Language-Specific Conventions
    
    #### JavaScript/TypeScript
    - Use ES6+ features appropriately
    - Prefer const over let, avoid var
    - Use async/await over callbacks
    - Always use strict equality (===)
    - Destructure objects and arrays when appropriate
    
    #### Naming Conventions
    - **Variables**: camelCase
    - **Constants**: UPPER_SNAKE_CASE
    - **Classes**: PascalCase
    - **Files**: kebab-case or camelCase (be consistent)
    - **React Components**: PascalCase
    
    ### File Structure
    ```
    src/
      ├── components/     # Reusable UI components
      ├── pages/          # Page components
      ├── utils/          # Utility functions
      ├── services/       # API and external service integrations
      ├── types/          # TypeScript type definitions
      └── styles/         # Global styles
    ```
    
    ## Development Workflow
    
    ### Before Making Changes
    1. Understand the existing code structure
    2. Check for existing patterns and utilities
    3. Review related tests
    4. Consider performance implications
    
    ### When Writing Code
    1. Write tests for new functionality
    2. Update documentation if needed
    3. Ensure code passes linting
    4. Handle errors appropriately
    5. Add logging where appropriate
    
    ### After Making Changes
    1. Run tests: `npm test`
    2. Run linter: `npm run lint`
    3. Run type checking: `npm run typecheck`
    4. Verify the build: `npm run build`
    
    ## Testing Guidelines
    - Write unit tests for utility functions
    - Write integration tests for API endpoints
    - Aim for meaningful test coverage, not 100%
    - Use descriptive test names that explain what is being tested
    - Follow the Arrange-Act-Assert pattern
    
    ## Git Commit Conventions
    - Use present tense ("Add feature" not "Added feature")
    - Use imperative mood ("Move cursor to..." not "Moves cursor to...")
    - Limit first line to 72 characters
    - Reference issues and pull requests when applicable
    
    ### Commit Types
    - `feat:` New feature
    - `fix:` Bug fix
    - `docs:` Documentation changes
    - `style:` Code style changes (formatting, missing semicolons, etc.)
    - `refactor:` Code refactoring
    - `test:` Adding or updating tests
    - `chore:` Maintenance tasks
    
    ## Security Best Practices
    - Never hardcode sensitive information
    - Always validate user input
    - Use environment variables for configuration
    - Sanitize data before rendering
    - Keep dependencies up to date
    - Follow OWASP guidelines
    
    ## Performance Considerations
    - Optimize images and assets
    - Implement lazy loading where appropriate
    - Minimize bundle size
    - Use caching strategies
    - Profile and monitor performance
    
    ## Error Handling
    - Always handle promises and async operations
    - Provide meaningful error messages
    - Log errors appropriately
    - Implement fallback UI for error states
    - Never expose sensitive information in error messages
    
    ## Documentation Standards
    - Document complex logic with inline comments
    - Maintain up-to-date README
    - Document API endpoints clearly
    - Include examples in documentation
    - Keep documentation close to code
    
    ## Dependencies
    - Prefer well-maintained packages
    - Check package size before adding
    - Review security advisories
    - Document why a dependency was added
    - Keep dependencies up to date
    
    ## Accessibility (A11y)
    - Use semantic HTML
    - Provide alt text for images
    - Ensure keyboard navigation
    - Maintain proper heading hierarchy
    - Test with screen readers
    
    ## DO's
    - ✅ Follow existing patterns
    - ✅ Write self-documenting code
    - ✅ Consider edge cases
    - ✅ Optimize for readability
    - ✅ Ask for clarification when needed
    
    ## DON'Ts
    - ❌ Don't duplicate code unnecessarily
    - ❌ Don't ignore error handling
    - ❌ Don't commit sensitive data
    - ❌ Don't skip tests
    - ❌ Don't over-engineer solutions
    
    ## Project-Specific Rules
    [Add any project-specific rules, patterns, or considerations here]
    
    ## Common Commands
    ```bash
    # Development
    npm run dev           # Start development server
    npm run build         # Build for production
    npm run test          # Run tests
    npm run lint          # Run linter
    npm run typecheck     # Run type checking
    
    # Git
    git status           # Check current status
    git add .            # Stage all changes
    git commit -m ""     # Commit changes
    git push             # Push to remote
    ```
    
    ## Resources
    - [Project Documentation](link-to-docs)
    - [API Documentation](link-to-api-docs)
    - [Design System](link-to-design-system)
    - [Contributing Guide](link-to-contributing)
    
    ## Notes for AI Assistants
    When working in this codebase:
    1. Always check existing implementations before creating new ones
    2. Maintain consistency with established patterns
    3. Consider the impact of changes on the entire system
    4. Prioritize code quality over quick fixes
    5. Ask for clarification if requirements are unclear

    Tags

    reactvueangulartypescriptpythonnodejs

    Comments

    More Rules

    View all

    Kechwafflesnew Cursor Rules

    C
    CODEFORYOU69

    AI DRAMA FACTORY Cursor Rules

    R
    Robert0157

    Site Cursor Rules

    R
    RaphaelVitoi

    KindnessBot Cursor Rules

    F
    foodyogi

    Neptunik Cursor Rules

    F
    fjpedrosa

    Cvcraft Cursor Rules

    C
    CedricCT

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Optimize & Update Printify Title and Description Workflown8n · $14.99 · Related topic
    • Scrape Every URL on the Web Without Getting Blocked by Anti-Bot Technologies with Scrapeyn8n · $4.99 · Related topic
    • Automate Bulk Resume Screening and Job Description Matching with GPT-4n8n · $14.99 · Related topic
    • Sync Linear Project and Issue Updates to Productboard with Slack Notificationsn8n · $14.99 · Related topic
    Browse all workflows