AgentSkillsCN

analyze-domain

梳理业务逻辑、领域实体,以及不变式。无论是新手入职,还是探寻业务规则的落地之处,此技能都能为你提供清晰的指引与可靠的参考。

SKILL.md
--- frontmatter
name: analyze-domain
description: "Map business logic, domain entities, and invariants. Use when onboarding or finding where business rules live."

Analyze Domain

Map business logic using the domain-logic-mapper agent.

What It Finds

  • Domain entities
  • Business rules
  • Invariants
  • Entity lifecycle
  • Domain glossary

When to Use

  • "Where is X business logic?"
  • "What are the domain entities?"
  • "How is validation done?"
  • "Map the domain model"

Output

code
### Core Entities
| Entity | Location | Attributes | Relationships |

### Business Rules
| Rule | Location | Description |

### Invariants
| Invariant | Enforcement | Violation Handling |

### Domain Glossary
| Term | Meaning | Locations |

### Logic Distribution
| Layer | Contains | Should Contain |

### Recommendations
| Issue | Location | Suggestion |

Agent

Use subagent_type: domain-logic-mapper