Please… Enough with the Sloppy, One-Shot SaaS Replacements — Mahmoud Abdelwahab, Railway
Summary
This talk outlines advanced principles for building polished, production-grade internal tools using AI coding agents, moving beyond simple 'one-shot' SaaS replacements. The speaker emphasizes that achieving a high-quality user experience requires explicitly requesting complex engineering patterns—such as autosave, optimistic updates, and URL state management—and implementing rigorous verification loops to ensure the final product is robust and consistent.
Key takeaways
-
Structured Codebase is Key
3:30
When building tools for daily use, providing the agent with a proper codebase containing solid abstractions ensures that new features follow existing patterns, leading to a more consistent and polished result.
-
Implement Autosave and Collaboration
7:37
For document editors, autosave should be a non-blocking background action. Advanced features include preventing tab closure on unsaved changes and enabling real-time collaboration.
-
Use Optimistic Updates
9:20
Instead of showing loading spinners for every action, optimistically show the success state immediately. If the background sync fails, the system should roll back the change, making the overall experience feel significantly faster and snappier.
-
Enhance User Control (Undo/Archive)
10:16
Improve UX by allowing users to undo actions (e.g., deleting a record) by immediately removing the item from the UI but keeping it available for a short period. Use archiving instead of forced deletion to hide records from the UI or search results.
-
Manage State with URL State and Infinite Scroll
Persisting filtered or sorted views in the URL state makes the view shareable. Additionally, implementing infinite scrolling removes repetitive navigation by fetching data as the user scrolls, rather than requiring 'Load More' clicks.
-
Package Preferences as Agent Skills
To enforce consistency, package recurring design and deployment preferences (e.g., UI/UX standards, animations, platform-specific integrations like Railway) into explicit 'agent skills' for the AI to follow.
-
Mandate End-to-End Verification
The final, crucial step is implementing a verification loop. The agent must not only report that the build and tests passed but must also run the feature end-to-end to ensure a fully functional and polished experience.
Technical details
-
Frontend/Web Stack
280s
The speaker recommends using the tauri stack libraries for web development and suggests Payload for content-related applications due to its solid experience and abstraction.
-
AI Agents & Development
403s
The process involves giving explicit instructions to the agent for advanced patterns (e.g., 'I would like to implement optimistic updates where it makes sense'). The agent is then given 'agent skills' to guide its development choices.
-
Architecture & Deployment
10s
The speaker's internal tool suite manages marketing content, email campaigns, social posts, media, mini CRM, task tracking, and launch planning, all built using agents and deployed via Railway.
Mentioned resources
- Mahmoud Abdelwahab
- GitHub Profile
- Railway
Channel & topics
Watch on YouTube · Back to latest
This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.