domain-template

domain-template is a cursor rule for Cursor from sordi-ai/skill-everything. It costs 24 tokens per session (870 once invoked), scanned A, original, MIT.

A fill-in template for recording project-specific knowledge, including architecture decisions, naming rules, business rules, and technology details. An architecture decision record explains an important technical choice and its consequences.

In plain words
What is it for?
Use it to document a project’s overview, decisions, naming conventions, business rules, and technology-specific quirks.
Why use it?
It keeps local knowledge that a general-purpose model would not know in a consistent, reusable format.

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/sordi-ai/skill-everything/domain-template
Clone the repo
git clone --depth 1 https://github.com/sordi-ai/skill-everything

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 domain-template

README.md
[![agentmods](https://agentmods.dev/badge/rules/sordi-ai/skill-everything/domain-template.svg)](https://agentmods.dev/rules/sordi-ai/skill-everything/domain-template)
Your own site
<a href="https://agentmods.dev/rules/sordi-ai/skill-everything/domain-template"><img src="https://agentmods.dev/badge/rules/sordi-ai/skill-everything/domain-template.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 870 The whole file, excluding the scripts and references it only reads on demand.
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.00024 $0.00870
Opus 5 $0.00012 $0.00435
Sonnet 5 $0.00005 $0.00174
Haiku 4.5 $0.00002 $0.00087

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

Security

Grade A, and why

domain-template 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 4d 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/domain-template.mdc · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sub-Skill: Domain Knowledge Template

Purpose: Structured template for capturing company- or project-specific knowledge that no public model can know — architecture decisions, naming conventions, business rules.


Instructions: Fill Out This Template

Copy this file to skills/<project-name>/SKILL.md and fill in all sections. Delete empty sections. Concrete > comprehensive.


Project Overview

Project name:    [e.g. "OrderFlow"]
Technology:      [e.g. "Node.js 20, PostgreSQL 15, React 18"]
Deployment:      [e.g. "AWS ECS, GitHub Actions CI/CD"]
Team size:       [e.g. "4 backend, 2 frontend"]
Main repo:       [e.g. "github.com/acme/orderflow"]

Architecture Decision Records (ADRs)

ADR-001: [Title]

  • Date: YYYY-MM-DD
  • Status: Accepted / Deprecated / Superseded by ADR-XXX
  • Context: Why did a decision need to be made?
  • Decision: What was decided?
  • Consequences: What changes as a result?

Naming Conventions

Context Convention Example
Database tables snake_case, plural order_items
API endpoints kebab-case, plural /api/order-items
TypeScript interfaces PascalCase, no I prefix OrderItem
Environment variables SCREAMING_SNAKE_CASE DATABASE_URL
React components PascalCase OrderItemList

Business Rules

These rules are not documented in the code — only here.

  1. [Rule name]: [Description]. Example: Orders under $10 have no shipping costs.
  2. [Rule name]: [Description].

Known Pitfalls

  1. [Pitfall]: [What happens and why]. Example: The users table has two ID fields: id (internal) and external_id (customer number). Never confuse them.
  2. [Pitfall]: [What happens and why].

External Systems & Integrations

System Purpose Auth Method Contact for Issues
Stripe Payments API key in STRIPE_SECRET_KEY [email protected]
SendGrid Emails API key in SENDGRID_API_KEY [email protected]

Read the full file on GitHub · 113 lines

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. 4d ago First seen · 113 lines · 24 tokens per session scan A 1de441b8808b

Subscribe to this mod's changes

domain-template is a cursor rule published in the GitHub repository sordi-ai/skill-everything (20 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 870 once invoked, about $0.0001 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.