agentleFS
Kevin-Liu-01Kevin-Liu-01/Loop/.cursor/rules/frontend-10x-prompting.mdc

Loop / rules

Cursor rule18 starsChanged 8 months agoMITView on GitHub

Prompting rules for frontend agents, UI generation, and asset generation workflows.

The file

We split this frontend-10x-prompting.mdc into the rules it gives an agent

8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When asked to design or generate frontend work, prompts should specify:

    line 9
  2. Distinctive:

    no generic SaaS gradients

    line 41
  3. Distinctive:

    no Inter/Roboto unless requested

    line 42
  4. Distinctive:

    no default shadcn look

    line 43
  5. Distinctive:

    no plain CSS animation architecture as the default

    line 44
  6. Distinctive:

    no motion without hierarchy

    line 45
  7. Distinctive:

    When generating video or image backgrounds:

    line 48
  8. Distinctive:

    avoid noisy movement behind text

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
frontend-10x-prompting.mdc
---
description: Prompting rules for frontend agents, UI generation, and asset generation workflows.
globs: ["**/*.{md,mdx,txt}"]
alwaysApply: false
---

# Frontend Prompting Rules

When asked to design or generate frontend work, prompts should specify:

- product and audience
- methodology lens
- art-direction thesis
- palette
- type pairing
- material language
- component inventory
- tactic families
- motion budget
- runtime stack
- performance constraints
- banned defaults

Good prompts ask for proposals first.

Default exploration pattern:

1. propose 3 distinct directions
2. explain type, palette, layout, and motion thesis for each
3. choose one direction
4. implement with tokens and constraints

When using screenshots:

- decompose into background, UI, and texture layers
- recreate assets separately
- recompose in code

Useful bans:

- no generic SaaS gradients
- no Inter/Roboto unless requested
- no default shadcn look
- no plain CSS animation architecture as the default
- no motion without hierarchy
- no centered-by-habit layouts

When generating video or image backgrounds:

- first frame must work as a poster
- motion must loop cleanly
- preserve negative space for copy
- avoid noisy movement behind text

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.