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.
git clone --depth 1 https://github.com/Takt365/Takt.WpfWrote 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.
[](https://agentmods.dev/rules/takt365/takt.wpf/taktwpf)<a href="https://agentmods.dev/rules/takt365/takt.wpf/taktwpf"><img src="https://agentmods.dev/badge/rules/takt365/takt.wpf/taktwpf.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00785 | $0.00785 |
| Opus 5 | $0.00392 | $0.00392 |
| Sonnet 5 | $0.00157 | $0.00157 |
| Haiku 4.5 | $0.00078 | $0.00078 |
Grade A, and why
taktwpf 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.
What it actually says
节拍(Takt)中小企业管理平台 · Takt SMEs Platform 项目规则
项目信息
- 项目名称: 节拍(Takt)中小企业管理平台(Takt SMEs Platform)
- 技术栈: .NET 9.0, WPF, MVVM 模式
- 架构模式: Clean Architecture(分层架构)
- 项目结构: @docs/README.md
核心原则
- 基于真实代码:所有结论必须基于真实代码,不能推测
- 明确信息来源:必须说明信息来源(代码、文档、推测)
- 提供足够上下文:提供完整的项目背景、代码位置、依赖关系
- 验证所有输出:使用验证清单检查 AI 生成的代码
规则文件结构
本项目的规则文件已拆分为多个可组合的小规则:
- architecture.mdc - 架构规范和分层原则
- naming.mdc - 命名规范和文件组织
- mvvm.mdc - MVVM 模式规范
- dependency-injection.mdc - 依赖注入规范
- async.mdc - 异步编程规范
- prompt.mdc - 提示语编写规范
- context.mdc - 上下文管理规范
快速参考
命名规范
- 类名必须以
Takt开头(如TaktUserService) - 接口必须以
ITakt开头(如ITaktUserService) - 异步方法必须以
Async结尾 - 参考:@.cursor/rules/naming.mdc
架构规范
- 分层架构:Fluent -> Application -> Domain -> Infrastructure -> Common
- 依赖方向只能向下,禁止跨层调用
- 参考:@.cursor/rules/architecture.mdc
MVVM 规范
- View 只负责 UI,不包含业务逻辑
- ViewModel 通过构造函数注入依赖
- 参考:@.cursor/rules/mvvm.mdc
文件头模板
所有源码文件必须包含统一的头部注释,参照 @src/Takt.Application/Dtos/Identity/LoginDto.cs:1-12:
// ========================================
// 项目名称:节拍(Takt)中小企业管理平台 · Takt SMEs Platform
// 命名空间:{Namespace}
// 文件名称:{FileName}
// 创建时间:{CreatedTime}
// 创建人:Takt365(Cursor AI)
// 功能描述:{Description}
//
// 版权信息:Copyright (c) 2025 Takt SMEs Platform. All rights reserved.
// 免责声明:此软件使用 MIT License,作者不承担任何使用风险。
// ========================================
文件引用格式
使用 @文件路径 引用文件:
@src/Takt.Fluent/Views/MainWindow.xaml@src/Takt.Fluent/ViewModels/DashboardViewModel.cs:40(带行号)
提示语格式
[任务类型] [目标描述]
**相关代码**:
- @文件路径:行号
**需求**:
- 具体需求
**约束条件**:
- 必须遵循的规范
**验证要求**:
- 必须基于真实代码验证
参考:@.cursor/rules/prompt.mdc 和 @.cursor/rules/context.mdc
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.
- 7d ago First seen · 94 lines · 785 tokens per session scan A f7c11c11bb98
taktwpf is a cursor rule published in the GitHub repository Takt365/Takt.Wpf (18 stars, last pushed 8mo ago), licensed MIT. It adds 785 tokens to every session, about $0.0039 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.
Other cursor rules, from other repositories
aspnet-abp-cursorrules-prompt-file
Cursor rules for Aspnet Abp.
kraken-net
Conventions for using Kraken.Net when working with Kraken Spot and Futures cryptocurrency exchange APIs in C#/.NET. Apply when generating code that interacts with Kraken API.
ef-core
Entity Framework Core patterns - DbContext, repositories, migrations, query optimization.
unity-core
// ✅ DO: PascalCase public class PlayerController : MonoBehaviour { }.
cfx-csharp-conventions
Coding conventions for C# scripts in FiveM and RedM resources.
unity-game-developer-intelligent
Expert Unity game developer specializing in C# scripting, 3D graphics, mobile optimization, and complete game development workflows. Apply this rule when working on Unity projects, implementing Unity C# scripts, designing component-based architecture, optimizing Unity performance, building Unity UI systems…