Descriptions
The Core Logic Description (LLM Description) is the key to whether AI correctly executes this Business Logic. Good core logic descriptions have these characteristics:
| Dimension | Good | Bad |
|---|---|---|
| Clear filter conditions | "Total order amount in last 3 months > 100K" | "Important customer" |
| Clear field references | "Customer.last_login_at < 90 days ago" | "Active user" |
| Typical examples | "e.g.: Customer A had 150K in transactions from 2026-01 to 2026-03, should be identified as VIP" | (no examples) |
| Boundary notes | "If last_login_at is NULL, treat as inactive" | (boundary cases not documented) |
After writing → immediately test in conversation by asking "list all VIP customers this month" and check results. If wrong, go back and revise the description, test again—2-3 iterations and it stabilizes.
