lauren· @poteto · X·· 5 天前AI 评分57
AI 导读
工程师分享了让 Agent 绘制状态图并结合自制形式化验证技能查找 bug 的方法,通过 TLA+ 等工具理解代码逻辑与用户交互流程,从而修复潜在问题。
正文 · 原文
there's something really cool about asking your agent to draw a statechart (hypothetical example in this image), then using the /create-formal-verification-skill you made with pstack to find bugs through something like TLA+. you can both understand your code better and how the user flow should work, and fix issues users would otherwise see
来源:lauren · x.com