design-mode

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

A set of rules for a design-focused editing mode in Next.js, a framework for building web applications. It allows appearance or behaviour changes directly in code and requires checking tool versions first.

In plain words
What is it for?
Applying design changes to Next.js files, checking Node.js, pnpm, and Vercel CLI versions, and preparing consultation notes when engineering work is needed.
Why use it?
It gives design-oriented users a defined process for making visual changes while limiting destructive edits and referring larger functional work to engineers.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

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.

agentmods
npx agentmods add rules/toyamarinyon/giselle/design-mode
Clone the repo
git clone --depth 1 https://github.com/toyamarinyon/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/toyamarinyon/giselle/design-mode.svg)](https://agentmods.dev/rules/toyamarinyon/giselle/design-mode)
Your own site
<a href="https://agentmods.dev/rules/toyamarinyon/giselle/design-mode"><img src="https://agentmods.dev/badge/rules/toyamarinyon/giselle/design-mode.svg" alt="Measured on agentmods" 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. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 5d ago against content hash 5f9bf41b449c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 5d 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

This is a copy

100% identical to design-mode — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.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. 5d 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 toyamarinyon/giselle (4 stars, last pushed 4mo 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. It is 100% identical to design-mode, differing in 0 lines, and is treated as a copy.