prompt

prompt is a cursor rule for Cursor from Takt365/Takt.Wpf. It costs 532 tokens per session, scanned A, original, MIT.

A Cursor rule for writing structured prompts for the Takt WPF project. It requires a task type, relevant code paths, requirements, constraints, and verification details.

In plain words
What is it for?
Use it when asking for feature work, bug fixes, refactoring, performance changes, documentation, tests, or code reviews in that project.
Why use it?
It reduces vague or speculative coding requests by requiring the agent to use real project files and explain how its result was checked.

Cursor rule for 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/takt365/takt.wpf/prompt
Clone the repo
git clone --depth 1 https://github.com/Takt365/Takt.Wpf

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 prompt

README.md
[![agentmods](https://agentmods.dev/badge/rules/takt365/takt.wpf/prompt.svg)](https://agentmods.dev/rules/takt365/takt.wpf/prompt)
Your own site
<a href="https://agentmods.dev/rules/takt365/takt.wpf/prompt"><img src="https://agentmods.dev/badge/rules/takt365/takt.wpf/prompt.svg" alt="Measured on agentmods" height="20"></a>
Per session 532 This file is loaded in full into every session.
When invoked 532 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00532 $0.00532
Opus 5 $0.00266 $0.00266
Sonnet 5 $0.00106 $0.00106
Haiku 4.5 $0.00053 $0.00053

Measured 5d ago against content hash 0c1d82d74b73, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prompt 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.

.cursor/rules/prompt.mdc · 72 lines

What it actually says

提示语编写规范

标准结构

强制要求:所有提示语必须遵循以下结构

[任务类型] [目标描述]

**相关代码**:
- @文件路径:行号(必须提供)

**需求描述**:
- 功能需求:[具体功能点]
- 业务规则:[业务约束]

**约束条件**:
- 技术约束:[技术限制]
- 规范约束:[必须遵循的规范]

**验证要求**:
- 必须基于真实代码验证
- 必须提供日志输出证明
- 必须明确信息来源

任务类型标签

标准任务类型(必须使用):

  • [功能实现] - 实现新功能
  • [问题修复] - 修复 Bug
  • [代码重构] - 重构现有代码
  • [性能优化] - 优化性能
  • [文档更新] - 更新文档
  • [测试编写] - 编写测试
  • [代码审查] - 审查代码质量

完整示例

[问题修复] 修复 Dashboard 在线用户统计未刷新问题

**相关代码**:
- @src/Takt.Fluent/ViewModels/DashboardViewModel.cs:40-120
- @src/Takt.Fluent/Views/Dashboard/DashboardView.xaml.cs:24-80

**需求描述**:
- 功能需求:仪表盘需要实时显示当前在线用户数
- 业务规则:统计逻辑必须依赖 `UserContext`,不能重复计算或阻塞 UI

**约束条件**:
- 技术约束:保持现有 MVVM 架构,不引入阻塞式调用
- 规范约束:遵循异步编程规范,所有新增异步方法需以 `Async` 结尾

**验证要求**:
- 必须基于真实代码验证(@文件路径:行号)
- 必须提供日志或调试输出证明
- 必须明确信息来源(代码/日志/接口返回)

禁止事项

  • ❌ 推测性结论("可能"、"应该"、"也许")
  • ❌ 未经验证的假设
  • ❌ 模棱两可的答案
  • ❌ 基于通用知识而非项目代码的结论
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 · 72 lines · 532 tokens per session scan A 0c1d82d74b73

Subscribe to this mod's changes

prompt is a cursor rule published in the GitHub repository Takt365/Takt.Wpf (17 stars, last pushed 8mo ago), licensed MIT. It adds 532 tokens to every session, about $0.0027 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.