Skip to content
Prompt

hipaaforms.org — Cursor Rules

by Lmraza98

AI Summary

Cursor Rules for hipaaforms.org that enforce performance and cost optimization best practices including static generation, fetch caching, and edge runtime deployment. Developers building or maintaining the hipaaforms.org codebase benefit from standardized performance guidelines.

Install

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

I want to add the "hipaaforms.org — Cursor Rules" prompt rules to my project.
Repository: https://github.com/Lmraza98/hipaaforms.org

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

Cursor Rules for hipaaforms.org

Performance and Cost Optimization

• Prefer static generation (SSG or ISR) for pages to minimize server costs and maximize CDN caching. Next.js 15 optimizes App Router static generation for faster builds:contentReference[oaicite:2]{index=2}. • Share and reuse fetch caches: use Next.js’s automatic cache for fetch calls so that the same data request isn’t repeated across pages:contentReference[oaicite:3]{index=3}. • For dynamic logic (API routes or Server Actions), use export const runtime = "edge" so the code runs on Vercel’s Edge Runtime:contentReference[oaicite:4]{index=4}:contentReference[oaicite:5]{index=5}. Edge functions are lighter, have virtually no cold start, and cost less per request:contentReference[oaicite:6]{index=6}. • Beware Edge limitations: no persistent DB connections and limited Node API support:contentReference[oaicite:7]{index=7}. For heavy computation or database work, consider a Node.js serverless function instead. • Minimize bundle size: avoid shipping large libraries to the edge. Use serverExternalPackages in next.config.js to skip bundling bulky modules:contentReference[oaicite:8]{index=8}. Tree-shake dependencies and remove unused code.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 11mo ago
Stale
AdoptionUnder 100 stars
1 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars1
Issues0
Updated11mo ago
View on GitHub
No 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