speclite-domain-modeling

speclite-domain-modeling is a skill for Claude Code from flanliulf/SpecLite. It costs 46 tokens per session (1,195 once invoked), scanned A, original, MIT.

A domain-modeling workflow for defining a project's important business concepts, shared language, rules, and architecture decisions. A domain model is a structured description of the concepts and relationships in the problem the software serves.

In plain words
What is it for?
Use it to establish a shared vocabulary, refine business concepts and rules, record architecture decisions, and maintain the project's domain context.
Why use it?
It turns vague or conflicting business terms into explicit decisions and tests those decisions against edge cases before they spread through the system.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to establish a shared vocabulary, refine business concepts and rules, record architecture decisions, and maintain the project's domain context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flanliulf/speclite/speclite-domain-modeling
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.

Any agent
npx skills add flanliulf/SpecLite --skill speclite-domain-modeling
Clone the repo
git clone --depth 1 https://github.com/flanliulf/SpecLite

Made for: Claude Code.

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 speclite-domain-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-domain-modeling/github.svg)](https://agentmods.dev/skills/flanliulf/speclite/speclite-domain-modeling)
Your own site
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-domain-modeling"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-domain-modeling/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 speclite-domain-modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-domain-modeling"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-domain-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,195 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 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.1 $0.00046 $0.01195
Opus 5.5 $0.00018 $0.00478
Sonnet 5.5 $0.00009 $0.00239
Haiku 4.5 $0.00005 $0.00120

Measured 2mo ago against content hash 4666a735d4ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

speclite-domain-modeling 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 2mo 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.

assets/source/speclite/core-skills/speclite-domain-modeling/SKILL.md · 87 lines

How it starts

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

Domain Modeling(领域建模)

在设计过程中主动构建并打磨项目的 domain model。这是一项 主动 的实践——质疑术语、构造 edge-case scenarios,并在 glossary 和 decisions 一旦明确时立即将其写下。(仅仅为了词汇而 读取 CONTEXT.md 并不属于本 Skill——那只是任何 Skill 都能做到的一行习惯。本 Skill 用于改变 model,而不只是使用它。)

File structure(文件结构)

{solutioning_artifacts} 是 SDLC solutioning artifact root。写入前先运行 speclite resolve artifact-roots --project-root {project-root},取 solutioning_artifacts 的 resolvedRoot(fresh install 默认 _speclite-output/3-solutioning-artifacts),并记录 resolutionMode;不要手写路径,也不要迁移旧位置的既有文件。

大多数仓库只有一个 context:

/
├── {solutioning_artifacts}/
│   └── architecture/
│           ├── CONTEXT.md
│           └── adr/
│               ├── 0001-event-sourced-orders.md
│               └── 0002-postgres-for-write-model.md
└── src/

如果 {solutioning_artifacts}/architecture/ 下存在 CONTEXT-MAP.md,该仓库就有多个 contexts。该 map 指向每个 context 所在的位置:

/
├── {solutioning_artifacts}/
│   └── architecture/
│           ├── CONTEXT-MAP.md
│           └── adr/                          ← system-wide decisions
└── src/
    ├── ordering/
    │   └── CONTEXT.md
    └── billing/
        └── CONTEXT.md

延迟创建文件——仅在有内容可写时才创建。如果不存在 CONTEXT.md,就在第一个术语确定时创建。如果不存在 {solutioning_artifacts}/architecture/adr/,就在需要第一个 ADR 时创建。

During the session(会话期间)

Challenge against the glossary(对照术语表提出质疑)

当用户使用的术语与 CONTEXT.md 中的现有语言冲突时,立即指出。“你的 glossary 将 'cancellation' 定义为 X,但你现在似乎指的是 Y——到底是哪一个?”

Sharpen fuzzy language(明确模糊语言)

当用户使用模糊或含义过多的术语时,提出一个精确的 canonical term。“你说的是 'account'——你指的是 Customer 还是 User?它们是不同的事物。”

Discuss concrete scenarios(讨论具体场景)

讨论 domain relationships 时,使用具体场景对其进行 stress-test。构造能够探查 edge cases 的场景,迫使用户精确说明 concepts 之间的边界。

Cross-reference with code(与代码交叉核对)

当用户说明某事如何运作时,检查代码是否与之相符。如果发现矛盾,就指出来:“你的代码会取消整个 Orders,但你刚才说 partial cancellation 是可行的——哪一个才是正确的?”

Update CONTEXT.md inline(即时更新 CONTEXT.md)

每次写入 CONTEXT.md、CONTEXT-MAP.md 或 ADR 时保留文件开头的 artifact metadata frontmatter(workflowType、sourceSkill: speclite-domain-modeling、ISO generatedAt),并在重写时刷新 generatedAt;缺少 frontmatter 的文件会被 speclite validate 报 artifact-path.missing-required-metadata。

Read the full file on GitHub · 87 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 87 lines · 46 tokens per session scan A 4666a735d4ee

Subscribe to this mod's changes

speclite-domain-modeling is a skill published in the GitHub repository flanliulf/SpecLite (5 stars, last pushed 7d ago), licensed MIT. It adds 46 tokens to every session and 1,195 once invoked, about $0.0002 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-09-16.

Related

speclite-domain-modeling compared with skills from other repositories

speclite-domain-modeling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speclite-domain-modelingflanliulf/SpecLiteSkill57d agoMITA46Claude Code
research-codebasedoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A8Claude Code, Codex
review-commentsdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A33Claude Code, Codex
supervisordoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A22Claude Code, Codex
validate-phase-plan-scopedoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A20Claude Code, Codex
validate-plan-securitydoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A10Claude Code, Codex
create-roadmapdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A11Claude Code, Codex