Skip to content
Development
Skill

/domain-template

Apply when documenting project-specific knowledge. Template for ADRs, naming conventions, business rules, and tech-stack quirks.

From plugin
skill-everything
2123 skills

Claude Code

$ npx -y skills add sordi-ai/skill-everything --skill domain-template --agent claude-code

SKILL.md

domain-template.SKILL.md
name: domain-template
description: Apply when documenting project-specific knowledge. Template for ADRs, naming conventions, business rules, and tech-stack quirks.
license: MIT
version: 1.0.0
tokens_target: 1000
triggers:
  - project-specific knowledge
  - business rules
loads_after: []
supersedes: []

Sub-Skill: Domain Knowledge Template

<!-- target: ~850 tokens (empty template — grows when filled in for your project) -->

**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` | payments@acme.com | | SendGrid | Emails | API key in `SENDGRID_API_KEY` | devops@acme.com |

---

Glossary

| Term | Meaning | |------|---------| | `Order` | A confirmed order (status >= CONFIRMED) | | `Cart` | An unconfirmed order (status = DRAFT) |

---

Agent Directives

> Specific instructions for how the agent should work in this project.

1. **[Directive]:** [Description]. Example: `Never delete files without explicit user confirmation.` 2. **[Directive]:** [Description]. Example: `Always output the full file path with every change.` 3. **[Directive]:** [Description]. Example: `Always use English in commit messages.`

---

Tech Stack Quirks

> Stack-specific gotchas not found in the documentation — only learned through experience.

1. **[Quirk name]:** [What happens and why]. Example: `Prisma Client must be regenerated with npx prisma generate after schema changes — a simple npm install is not enough.` 2. **[Quirk name]:** [What happens and why]. Example: `The Redis connection pool in production has max 10 connections — with more than 10 parallel requests, requests get dropped.`

---

Why This Sub-Skill Earns Stars

Without domain knowledge, the agent makes plausible but wrong assumptions about naming, business rules, and architecture. With this template filled out once → the agent knows the project like a team member.

Read more
@sordi-ai
Ships withskill-everything

Git-versioned agent memory: agents that never make the same mistake twice. Anthropic-Skill folder standard, multi-runtime (Claude Code, Cursor, Gemini CLI, OpenCode).

Stars on GitHub

Momentum

stars in total
21
Star history of sordi-ai/skill-everything on GitHub, a chart by star-history.com

Other skills on skill-everything.

code-quality

code-quality

Apply when writing or refactoring code. Generic rules to prevent the most common review comments — function length, naming, error…

db-schema

db-schema

Apply when designing database schemas, writing migrations, or reviewing table structure. Covers naming, keys, indexes,…

debugging

debugging

Apply when diagnosing a bug, reproducing a failure, or performing root cause analysis. Covers systematic isolation, binary…

docker

docker

Apply when writing or reviewing Dockerfiles, docker compose files, or container build pipelines. Covers layer caching,…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about domain-template.

Which coding agents can use domain-template?
domain-template installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.