一键导入
domain-template
Apply when documenting project-specific knowledge. Template for ADRs, naming conventions, business rules, and tech-stack quirks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apply when documenting project-specific knowledge. Template for ADRs, naming conventions, business rules, and tech-stack quirks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Git-versioned agent memory — agents that never make the same mistake twice.
Apply when generating ideas, exploring solution space, or facilitating divergent thinking before committing to an approach.
Apply when closing out a feature branch — pre-merge checklist, rebase, CI verification, cleanup, and post-merge steps.
Apply when writing or refactoring code. Generic rules to prevent the most common review comments — function length, naming, error handling, security, and tooling.
Apply when designing database schemas, writing migrations, or reviewing table structure. Covers naming, keys, indexes, constraints, nullability, and migration safety.
Apply when diagnosing a bug, reproducing a failure, or performing root cause analysis. Covers systematic isolation, binary search, logging strategy, and hypothesis-driven investigation.
| 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 | [] |
Purpose: Structured template for capturing company- or project-specific knowledge that no public model can know — architecture decisions, naming conventions, business rules.
Copy this file to skills/<project-name>/SKILL.md and fill in all sections.
Delete empty sections. Concrete > comprehensive.
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"]
| 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 |
These rules are not documented in the code — only here.
Orders under $10 have no shipping costs.The users table has two ID fields: id (internal) and external_id (customer number). Never confuse them.| 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 |
| Term | Meaning |
|---|---|
Order | A confirmed order (status >= CONFIRMED) |
Cart | An unconfirmed order (status = DRAFT) |
Specific instructions for how the agent should work in this project.
Never delete files without explicit user confirmation.Always output the full file path with every change.Always use English in commit messages.Stack-specific gotchas not found in the documentation — only learned through experience.
Prisma Client must be regenerated with npx prisma generate after schema changes — a simple npm install is not enough.The Redis connection pool in production has max 10 connections — with more than 10 parallel requests, requests get dropped.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.