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/architecture)<a href="https://agentmods.dev/rules/takt365/takt.wpf/architecture"><img src="https://agentmods.dev/badge/rules/takt365/takt.wpf/architecture/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.
<a href="https://agentmods.dev/rules/takt365/takt.wpf/architecture"><img src="https://agentmods.dev/badge/rules/takt365/takt.wpf/architecture.svg" alt="Reviewed on agentmods" width="80" 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.00579 | $0.00579 |
| Opus 5.5 | $0.00232 | $0.00232 |
| Sonnet 5.5 | $0.00116 | $0.00116 |
| Haiku 4.5 | $0.00058 | $0.00058 |
Grade A, and why
architecture 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 3mo 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
架构规范
分层架构原则
项目采用 Clean Architecture(清洁架构),依赖方向只能向下:
Fluent (表现层) -> Application (应用层) -> Domain (领域层) -> Infrastructure (基础设施层) -> Common (通用层)
项目命名空间前缀:Takt.*
文件位置:
- 表现层:@src/Takt.Fluent/
- 应用层:@src/Takt.Application/
- 领域层:@src/Takt.Domain/
- 基础设施层:@src/Takt.Infrastructure/
- 通用层:@src/Takt.Common/
各层职责
Takt.Fluent (表现层)
- 职责: UI展示、用户交互、视图逻辑
- 包含: Views, ViewModels, UI Services, Helpers, Models
- 示例: @src/Takt.Fluent/Views/MainWindow.xaml, @src/Takt.Fluent/ViewModels/MainWindowViewModel.cs
Takt.Application (应用层)
- 职责: 业务逻辑编排、应用服务
- 包含: Services, DTOs, Mappers
- 示例: @src/Takt.Application/Services/
Takt.Domain (领域层)
- 职责: 领域模型、业务规则
- 包含: Entities, Repository Interfaces
- 示例: @src/Takt.Domain/Entities/
Takt.Infrastructure (基础设施层)
- 职责: 数据访问、外部服务集成
- 包含: Data Access, Repository Implementation
- 示例: @src/Takt.Infrastructure/Data/
Takt.Common (通用层)
- 职责: 共享组件、工具类
- 包含: Logging, Helpers, Results
- 示例: @src/Takt.Common/Logging/
禁止事项
- ❌ 表现层不能直接调用基础设施层
- ❌ 不能跨层调用
- ❌ 不能违反依赖方向
代码示例
// ✅ 正确:ViewModel 调用应用层服务
public class UserViewModel : ViewModelBase
{
private readonly IHbtUserService _userService; // 应用层接口
public UserViewModel(IHbtUserService userService)
{
_userService = userService;
}
}
// ❌ 错误:ViewModel 直接调用基础设施层
public class UserViewModel : ViewModelBase
{
private readonly IUserRepository _repository; // ❌ 基础设施层
}
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.
- 3mo ago First seen · 77 lines · 579 tokens per session scan A a75753862a89
architecture is a cursor rule published in the GitHub repository Takt365/Takt.Wpf (19 stars, last pushed 11mo ago), licensed MIT. It adds 579 tokens to every session, about $0.0023 per session on Opus 5.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.
architecture compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architectureTakt365/Takt.Wpf | Cursor rule | 19 | 11mo ago | MIT | A | 579 | Cursor |
| project-statusmablanco/pricegrab | Cursor rule | 14 | 8d ago | MIT | A | 599 | Cursor |
| specify-rulesmablanco/pricegrab | Cursor rule | 14 | 8d ago | MIT | A | 190 | Cursor |
| modulesbackendforth/next-sanity-starter | Cursor rule | 4 | 13d ago | ISC | A | 0 | Cursor |
| schemasbackendforth/next-sanity-starter | Cursor rule | 4 | 13d ago | ISC | A | 0 | Cursor |
| webbackendforth/next-sanity-starter | Cursor rule | 4 | 13d ago | ISC | A | 0 | Cursor |
| project-structurekws-projects/react-boilerplate | Cursor rule | 3 | 6mo ago | MIT | A | 920 | Cursor |