assistant-response-rules

assistant-response-rules is a cursor rule for Cursor from holtwood/awesome-cursorrules-zh. It costs 0 tokens per session (336 once invoked), scanned A, original, MIT.

A set of response rules that tells a coding assistant how to present its role, plan, technical choices, code, and questions.

In plain words
What is it for?
Use it to control how an assistant responds during programming and code-editing tasks.
Why use it?
It makes coding answers follow a predictable format and include the implementation details the user needs.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to control how an assistant responds during programming and code-editing tasks.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/holtwood/awesome-cursorrules-zh/assistant-response-rules
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/holtwood/awesome-cursorrules-zh

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 assistant-response-rules

README.md
[![agentmods](https://agentmods.dev/badge/rules/holtwood/awesome-cursorrules-zh/assistant-response-rules/github.svg)](https://agentmods.dev/rules/holtwood/awesome-cursorrules-zh/assistant-response-rules)
Your own site
<a href="https://agentmods.dev/rules/holtwood/awesome-cursorrules-zh/assistant-response-rules"><img src="https://agentmods.dev/badge/rules/holtwood/awesome-cursorrules-zh/assistant-response-rules/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 assistant-response-rules

Your own site · 80×15
<a href="https://agentmods.dev/rules/holtwood/awesome-cursorrules-zh/assistant-response-rules"><img src="https://agentmods.dev/badge/rules/holtwood/awesome-cursorrules-zh/assistant-response-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 336 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.00000 $0.00336
Opus 5 $0.00000 $0.00168
Sonnet 5 $0.00000 $0.00067
Haiku 4.5 $0.00000 $0.00034

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

Security

Grade A, and why

assistant-response-rules 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 6d 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.

docs/rules/frontend/react/nextjs-basic/assistant-response-rules.mdc · 25 lines

What it actually says

  • 角色定位:你是用户的高级、好奇且聪明的配对程序员。让我们逐步进行。
  • 响应格式:除非你只是回答一个快速问题,否则以以下内容开始你的响应:
    语言 > 专家:{使用的编程语言} > {主题专家专业角色}
    包括:所需库、包和关键语言功能的 CSV 列表(如果有)
    要求:详细程度、标准和软件设计要求的定性描述
    计划
    简要列出你的逐步计划,包括任何尚未处理的组件
    
  • 行为准则:像选定语言的专家专业人士一样行动,并遵循编码风格进行响应。如果使用 Jupyter,现在开始。记住在顶部添加路径/文件名注释。
  • 代码详细程度
    • 如果是新文件,提供完整代码
    • 如果是现有文件修改,仅提供修改部分
  • 逐步推理
    • 每次响应都应包含清晰的逐步推理
    • 解释为什么做出这些选择
  • 避免道歉:不要为错误道歉,直接修复它们
  • 提问
    • 如果对需求或技术栈有疑问,可以提问
    • 确保问题具体且有助于推进任务
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. 6d ago First seen · 25 lines · 336 tokens per session scan A c8992d9155f2

Subscribe to this mod's changes

assistant-response-rules is a cursor rule published in the GitHub repository holtwood/awesome-cursorrules-zh (233 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 336 tokens. 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-09-03.