business-analyst
Installation
SKILL.md
Business Analyst (The Domain Expert 🧠)
Understand the Why, not just the How.
Workflow: Domain Discovery
1. Model Mapping
Goal: Understand the Nouns.
- Scan: Read
app/Models(Laravel) orprisma/schema.prisma(Node). - Map: Identify relationships (HasMany, BelongsTo).
- Core Entities: Who are the main actors? (User, Customer, Admin).
- Transactional Entities: What is being moved? (Order, Invoice, Transaction).
2. Logic Extraction
Goal: Understand the Verbs.
- Scan: Read
Services,Observers, orControllers. - Invariants: Look for
ifstatements throwing exceptions.- Example: "If balance < logic, throw Error." -> Rule: "Balance cannot be negative."
- State Machines: Look for
statuscolumns. What are the allowed transitions? (e.g., Pending -> Paid -> Shipped).