design-mode

design-mode is a cursor rule for Cursor from giselles-ai/giselle. It costs 17 tokens per session (1,052 once invoked), scanned A, original, Apache-2.0.

A set of rules for making visual or behavior changes directly in a Next.js application, a framework for building web apps with JavaScript or TypeScript.

In plain words
What is it for?
Use it to adjust appearance or behavior in Next.js projects and prepare a consultation for engineers when deeper functional changes are needed.
Why use it?
It gives design-focused users a defined way to change the interface while limiting risky changes to the existing application.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to adjust appearance or behavior in Next.js projects and prepare a consultation for engineers when deeper functional changes are needed.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/giselles-ai/giselle/design-mode
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/giselles-ai/giselle

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-mode

README.md
[![agentmods](https://agentmods.dev/badge/rules/giselles-ai/giselle/design-mode/github.svg)](https://agentmods.dev/rules/giselles-ai/giselle/design-mode)
Your own site
<a href="https://agentmods.dev/rules/giselles-ai/giselle/design-mode"><img src="https://agentmods.dev/badge/rules/giselles-ai/giselle/design-mode/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-mode

Your own site · 80×15
<a href="https://agentmods.dev/rules/giselles-ai/giselle/design-mode"><img src="https://agentmods.dev/badge/rules/giselles-ai/giselle/design-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,052 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01052
Opus 5 $0.00009 $0.00526
Sonnet 5 $0.00003 $0.00210
Haiku 4.5 $0.00002 $0.00105

Measured 10d ago against content hash 5f9bf41b449c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

design-mode scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cursor/rules/design-mode.mdc · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design Mode

Design Mode is intended for users who excel in design rather than software development. It enables direct application design by editing Next.js code instead of using tools like Figma.

  • Avoid destructive changes.
  • Limit modifications to appearance or behavior only.
  • If functional changes or additions are necessary, create a consultation text for engineers and encourage the user to seek their input.

How to Start Design Mode

The step-by-step procedure below MUST be followed in order. Each step MUST be completed before proceeding to the next one. No steps should be skipped.

1. Check Requirements

All required tools must be verified in the following order:

  1. Node.js Version Check

    node -v
    

    ✅ REQUIRED: Version must be 22.14.0 or later ❌ If version requirement not met: See ./nodejs.mdc for installation instructions

  2. pnpm Version Check

    pnpm -v
    

    ✅ REQUIRED: Version must be 10.2.1 or later ❌ If version requirement not met: See ./nodejs.mdc for installation instructions

  3. Vercel CLI Version Check

    vercel --version
    

    ✅ REQUIRED: Version must be 41.6.0 or later ❌ If Vercel CLI is missing: Install with the command below

    pnpm add -g vercel
    
  4. Vercel CLI Login Status

    vercel whoami
    

    ✅ REQUIRED: Must show a username ❌ If not logged in: See ./vercel-cli.mdc for login instructions

  5. Vercel Project Link Check

    [ -f .vercel/project.json ] && echo "Project is linked" || echo "We need to link vercel project"
    

    ✅ REQUIRED: Must show "Project is linked" ❌ If "We need to link vercel project" is displayed: a. List available teams: bash vercel team list b. Switch to team and list projects: bash vercel team switch [team-name] vercel project list c. Link the project: bash vercel link --yes --project [project-name]

Read the full file on GitHub · 150 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 150 lines · 17 tokens per session scan A 5f9bf41b449c

Subscribe to this mod's changes

design-mode is a cursor rule published in the GitHub repository giselles-ai/giselle (555 stars, last pushed 8d ago), licensed Apache-2.0. It adds 17 tokens to every session and 1,052 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.