
Adapting Poteto's (Creator of pstack) Statechart Skill: Catch Bugs Before Coding
Requirements grilling and polished mockups can still miss what happens when a user retries, a request fails, or two actions overlap.
Formal verification can surface those gaps before implementation by checking a model of the proposed behavior against promises you've chosen for the product.
In this episode, we build on pstack's /statechart skill by Lauren Tan (a.k.a. Poteto) with a workflow that turns counterexamples into product decisions. We explain the model, promises, and checker, illustrate how retries can create duplicate jobs, and show a real calendar flow where the promise itself needed reconsidering. We also cover where this process is worth the effort and why checking a model doesn't guarantee the app will match it.
Skill: https://github.com/bkase/plugins/blob/main/pstack/skills/flow-promises/SKILL.md
Superlinear is a podcast about emerging practices for building with AI.
Hosted by Brandon Kase and Christine Yip.
Discord: https://superlinear.fm/discord
Homepage: https://superlinear.fm
Twitter: https://x.com/superlinear_fm
LinkedIn: https://www.linkedin.com/company/superlinearfm
Brandon Kase: https://x.com/bkase_
Christine Yip: https://x.com/christinetyip
Music licensed through Soundstripe. Code: O2UT6CCEQNH4KT0D
More episodes from "Superlinear"



Don't miss an episode of “Superlinear” and subscribe to it in the GetPodcast app.








