Skip to content
Prompt

miniclue-mkt — Cursor Rules

by srleom

AI Summary

A Cursor-integrated prompt booster that enforces clean code guidelines covering constants, meaningful naming, and smart commenting practices. Developers using Cursor will benefit from consistent code quality standards applied automatically across their projects.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "miniclue-mkt — Cursor Rules" prompt rules to my project.
Repository: https://github.com/srleom/miniclue-mkt

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Guidelines for writing clean, maintainable, and human-readable code. Apply these rules when writing or reviewing code to ensure consistency and quality.

Constants Over Magic Numbers

• Replace hard-coded values with named constants • Use descriptive constant names that explain the value's purpose • Keep constants at the top of the file or in a dedicated constants file

Meaningful Names

• Variables, functions, and classes should reveal their purpose • Names should explain why something exists and how it's used • Avoid abbreviations unless they're universally understood

Smart Comments

• Don't comment on what the code does - make the code self-documenting • Use comments to explain why something is done a certain way • Document APIs, complex algorithms, and non-obvious side effects

Single Responsibility

• Each function should do exactly one thing • Functions should be small and focused • If a function needs a comment to explain what it does, it should be split

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
0 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Issues0
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more