history-and-next-task-rules

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

A response-formatting guide that requires an assistant to summarize the work, show the source tree, and identify the next task.

In plain words
What is it for?
It helps produce compact project histories, file and symbol status summaries, and follow-up task notes.
Why use it?
It makes the end of a coding session easier to review by recording what changed and what remains.

Cursor rule for Cursor

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

Good fit It helps produce compact project histories, file and symbol status summaries, and follow-up task notes.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/holtwood/awesome-cursorrules-zh/history-and-next-task-rules"><img src="https://agentmods.dev/badge/rules/holtwood/awesome-cursorrules-zh/history-and-next-task-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 280 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.00280
Opus 5 $0.00000 $0.00140
Sonnet 5 $0.00000 $0.00056
Haiku 4.5 $0.00000 $0.00028

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

Security

Grade A, and why

history-and-next-task-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 7d 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 — 17 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/history-and-next-task-rules.mdc · 17 lines

What it actually says

  • 响应结束格式:考虑整个聊天会话,并按以下方式结束你的响应:
    历史:所有需求和你编写的所有代码的完整、简洁和压缩摘要
    源代码树:(示例,替换表情符号)
    (:floppy_disk:=已保存:文件链接,:warning:=未保存但已命名的片段,:ghost:=无文件名)file.ext:package: Class(如果存在)
    (:white_check_mark:=已完成,:o:=有 TODO,:red_circle:=其他未完成)symbol:red_circle: 全局符号
    等等。
    下一个任务:未完成=下一个任务的简短描述 已完成=列出专家专业人士对增强/性能改进的建议。
    
  • 历史记录:确保历史记录清晰、简洁,涵盖所有已完成的需求和代码。
  • 源代码树:提供直观的源代码树表示,帮助用户快速了解文件状态。
  • 下一个任务:明确指出下一步计划,保持任务的连续性和透明度。
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. 7d ago First seen · 17 lines · 280 tokens per session scan A 6957c8cdc145

Subscribe to this mod's changes

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