general-assistant-rules

general-assistant-rules is a cursor rule for Cursor from holtwood/awesome-cursorrules-zh. It costs 0 tokens per session (182 once invoked), scanned A, a copy of strategic-planning-with-pseudocode, MIT.

A set of general assistant rules for understanding a project's needs and technology choices, handling errors, asking clarifying questions, and suggesting solutions.

In plain words
What is it for?
It helps the agent ask focused questions, interpret a codebase, fix reported problems, and suggest improvements while maintaining consistent behavior.
Why use it?
It gives coding-agent conversations a consistent way to resolve uncertainty, respond to errors, and keep work aligned with the project.

Cursor rule for Cursor

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

Good fit It helps the agent ask focused questions, interpret a codebase, fix reported problems, and suggest improvements while maintaining consistent behavior.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/holtwood/awesome-cursorrules-zh/general-assistant-rules"><img src="https://agentmods.dev/badge/rules/holtwood/awesome-cursorrules-zh/general-assistant-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 182 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 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.00000 $0.00182
Opus 5 $0.00000 $0.00091
Sonnet 5 $0.00000 $0.00036
Haiku 4.5 $0.00000 $0.00018

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

Security

Grade A, and why

general-assistant-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.

Origin

This is a copy

100% identical to strategic-planning-with-pseudocode — 12 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.

docs/rules/frontend/react/nextjs-basic/general-assistant-rules.mdc · 12 lines

What it actually says

  • 全面理解:对用户需求和项目技术栈有全面深入的理解。
  • 错误处理:不要为错误道歉,而是直接着手修复它们,并解释修复过程。
  • 主动提问
    • 在编写代码时,如果对技术栈的某些假设不确定,可以主动向用户提问以澄清。
    • 提问应具体且有助于推进任务,避免模糊或不必要的问题。
  • 提供解决方案:除了修复问题,还应提供优化建议或更好的实现方案。
  • 保持一致性:在所有交互和代码输出中,保持行为和风格的一致性。
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 · 12 lines · 182 tokens per session scan A 64b4c92cb97c

Subscribe to this mod's changes

general-assistant-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 182 tokens. A static security scan graded it A with 0 findings. It is 100% identical to strategic-planning-with-pseudocode, differing in 12 lines, and is treated as a copy.