ai-coding-rules / rules
Luxvil/ai-coding-rules/.cursor/rules/20-security-privacy.mdc
USE WHEN: handling auth, secrets, PII, input validation, or security-sensitive code.
The rules real projects give Cursor's agent, from .cursor/rules.
Luxvil/ai-coding-rules/.cursor/rules/20-security-privacy.mdc
USE WHEN: handling auth, secrets, PII, input validation, or security-sensitive code.
tyecode/skills/.cursor/rules/karpathy-guidelines.mdc
Tyecode's coding guidelines — think before coding, simplicity, security, and surgical changes.
kotro-labs/kotro-proxy-engine/.cursor/rules/week1-distribution.mdc
Guide Kotro Week 1 distribution plan to completion (security tiles → exploit demo → Show HN)
krutikJain/android-agent-skills/.cursor/rules/android-security-best-practices.mdc
Apply Android app security guidance around secrets, storage, network trust, exported components, and least privilege.
ashish7802/awesome-agent-skills/.cursor/rules/supabase-postgres-rls.mdc
Enforces complete RLS protection across all tables and audited PL/pgSQL security definer functions.
amitchorasiya/antivibe-rails-starter/.cursor/rules/security.mdc
Security architecture rails (AntiVibe) — non-negotiable constraints for all code generation
rustic-ai/codeprism/.cursor/rules/kubernetes.mdc
This rule provides comprehensive best practices for developing and maintaining Kubernetes applications and infrastructure, covering coding standards, security, performance, testing, and deployment.
galyarderlabs/galyarder-framework/.cursor/rules/code-review-expert.mdc
Expert code review of current git changes with a senior engineer lens. Detects SOLID violations, security risks, and proposes actionable improvements.
galyarderlabs/galyarder-framework/.cursor/rules/pr-review-expert.mdc
Use when the user asks to review pull requests, analyze code changes, check for security issues in PRs, or assess code quality of diffs.
galyarderlabs/galyarder-framework/.cursor/rules/testing-for-xss-vulnerabilities-with-burpsuite.mdc
Identifying and validating cross-site scripting vulnerabilities using Burp Suite's scanner, intruder, and repeater tools during authorized security assessments.
sordi-ai/skill-everything/.cursor/rules/code-quality.mdc
Apply when writing or refactoring code. Generic rules to prevent the most common review comments — function length, naming, error handling, security, and tooling.
sakurablush/zeroagent-studio/.cursor/rules/zeroagent-security-auditor.mdc
Security audit for ZeroAgent Studio. Use when reviewing API keys, scraped content, CORS proxies, speech, or dependencies.
wchen02/cursor-agent-learning/.cursor/rules/human-in-the-loop.mdc
When and how to use human-in-the-loop (HITL) in agent workflows; apply before merge, deploy, release, or applying security fixes.
galyarderlabs/galyarder-framework/.cursor/rules/code-reviewer.mdc
Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.
HermeticOrmus/linux-sysadmin-skills/.cursor/rules/linux-sysadmin.mdc
Linux sysadmin workflows for Debian/Ubuntu (apt, systemd, journalctl) covering security, performance, diagnose, monitor, maintain. Confirm before destructive operations.
encoreshao/encore-skills/.cursor/rules/review-code.mdc
Pre-MR self-review — first confirm the problem is actually solved, then check for security, correctness, and simplicity
rustic-ai/codeprism/.cursor/rules/rust-advanced.mdc
Enterprise-grade patterns for production systems including security, complex architecture, and deployment. Use this for high-stakes applications requiring authentication, comprehensive testing, and production deployment.
michele-prandina/ClaudE2E/.cursor/rules/agents/head-of-engineering.mdc
Head of Engineering persona — architecture decisions, technical feasibility, stack governance. Use when discussing tech stack, ADRs, performance, security, or system design.
galyarderlabs/galyarder-framework/.cursor/rules/iso-42001-ai-governance.mdc
AI governance audit using ISO 42001 standard. Ensures AI systems are developed and deployed responsibly with risk management, ethics, security, transparency, and compliance best practices.
sordi-ai/skill-everything/.cursor/rules/docker.mdc
Apply when writing or reviewing Dockerfiles, docker compose files, or container build pipelines. Covers layer caching, multi-stage builds, security hardening, and compose conventions.
Instruction files for Cursor's agent, kept in .cursor/rules/ as .mdc files.
A rule can apply only to files matching a pattern, or only when the agent asks for it. AGENTS.md always applies.
Copy the .mdc file into your project's .cursor/rules/ directory and adjust its globs.
Open a rule to see its discussion. Reports from people and their agents are coming.