
Software Engineer @PayPal | Spreading the word of JavaScript while moving to the Dart side of the force | Opinions are my own
Mexico
Joined April 2011
- Tweets3.9K
- Following307
- Followers355
- Likes1.3K
so many gems and great tips in this talk from @yminsky about how to improve your codebase for agents
• agents thrive on feedback, and types are one of the best kinds
• make illegal states unrepresentable with types, and it enforces global rules across your codebase
• property based tests, fuzzing, and even full-system deterministic simulation testing
• expect tests: just print stuff out and capture it in the test. makes behavior legible. it's very similar to how compilers have fixture tests, it reduces the review surface area
• formal methods used to be very expensive: seL4 is about 8,700 lines of C and took around 25 person-years, with 23 lines of proof for every line of C code, but agents change the roi
youtube.com/watch?v=rUYP4C29…
Jesús Montes 🤓 💻 retweeted
We have presents for you! 🎁
- A new WebMCP Skill with best practices for security, development, & consequential flows
- WebMCP Types: TypeScript definitions, with type inference from InputSchema
Give em to your agent, it helps scaffold out WebMCP so fresh and so clean clean
Jesús Montes 🤓 💻 retweeted
Give your agent a way to verify its work. This can dramatically improve the quality of output.
With this process in place, Claude Code was able to write 90%+ of its code itself. When generating software at a faster rate than you can review it, the bottleneck shifts to proving that it works. @bcherny and team invested enough in verification, we've been able to move fast while maintaining stability.
Code reviews aren't going away, but you need to think of it differently. One human reading through line-by-line is no longer going to work as a gate, it needs to evolve into a multi-layered verification system, built with fast deterministic feedback loops for your agents.
This is where e2e tests, feature maps (as @poteto has been advocating), property tests and multi-agent adversarial reviews come in. These all provide opportunities to catch errors early and fix them before things get out of hand.
You don't have enough eyeballs for the amount of code being written so your focus needs to be on product intent, risk assessment and evaluating evidence rather than reviewing code. Delegate the code checking work to your automated tests, scale your approvals based on risk, and turn your test failures into living evaluations. This approach helps maintain speed without losing reliability.
Let the agents do what they do best and let you focus on what makes you irreplaceable: judgement, direction, and ownership. We tried to capture how we handle code review and verification in this writeup. Hopefully it's helpful.
Claude writes about 90% of Claude Code's code.
From June to September, merged PRs more than doubled while the share reverted fell by more than 40%.
We wrote about how we changed code review to get there, and how to adopt it:
claude.dev/blog/solving-code…
how do you trust your agents' work more? copy this post/link and give it to your @bot or agent!
1. codebase improvements: this is just good software engineering - better architecture, stronger types and invariants, clear boundaries. agents love to copy what exists and take the shortest path, so make the easy thing the right thing. categorically eliminate problems through code and you won't need to think about it again.
2. static analysis: lint rules, tests, CI, verification (eg TLA+). very token efficient ways to catch issues ahead of time.
3. prose: comments, rules, AGENTS.md, skills - anything that can't be enforced and requires agent judgment. use it minimally, but do use /create-verification-skill.
4. human review: the hardest to scale. at the rate agents land code, it's pretty much impossible to thoroughly review every PR, so spend that effort on the highest leverage point, designing an environment where agents do the right thing by default.
this forms an inverse pyramid: you want most of your effort at the top, least at the bottom. codebase improvements are deterministic, making it more token efficient, and lets you sleep more soundly at night.
install github.com/cursor/plugins/tr… and create a new Project:
1. look through my slack/chat messages and code review comments where i've given feedback on PRs, code, architecture
2. use /recall on my past transcripts to learn how i steer agents
3. /poteto-mode use /correct and /architect on past commits to find the most common pitfalls agents fall into, then propose a plan to rearchitect the code i own so it's more agent friendly. answer open questions with prototyping rather than defer to me, and back the plan with real data.
4. before you begin, use /sharpen + /in-your-own-words and confirm this prompt with me
Let's go!!!
We started working on Void before the acquisition, originally intended to make it a commercial product. But now we no longer need to, so we've made it open source!
You can deploy the Void platform to your own Cloudflare account and get your own instance of it :)
Void v1.1.11 is out & fully open source!
Void is a full-stack SDK, CLI, and platform that unifies building & deploying apps.
◆ SDK: Zero-config SDK to build full-stack @vite_js apps
◆ Platform: A shared deployment platform for teams to host Void apps on @Cloudflare
◆ CLI: Provision resources and deploy Vite apps to Cloudflare or Void.
Build on Vite. Deploy on Void.
Watch the talk and learn more in our blog post
blog.cloudflare.com/deploy-w…
Jesús Montes 🤓 💻 retweeted
Orchestrator V2 is now out on the stable channel in @t3dotcodes! We also thought it was time we drop the Alpha branding, so we call this release 0.1.0 Beta.
Mobile store builds are also updated. Versions 2.0.0 are available to everyone on both App Store and the Play Store!
try pstack! it’s my personal set of skills for rigorous and autonomous engineering with agents. it’s updated frequently as I continue to tune and simplify them
10 second tutorial:
1. run /setup-pstack and choose your budget
2. add /poteto-mode in front of any prompt you want done rigorously
3. ask /poteto-help whenever you’re unsure what pstack skills to use
4. that’s it!
Grok Bot: x.ai/bot/plugin/9717366
Cursor: cursor.com/marketplace/curso…
Source: github.com/cursor/plugins/tr…
Jesús Montes 🤓 💻 retweeted
Chrome DevTools for Agents is powerful. If you don't already have it in your workflow, I would strongly consider it! It's been useful for testing, and works with all my various agents
The video shows scaffolding and then testing WebMCP tooling right in one prompt:
Jesús Montes 🤓 💻 retweeted
mcp events are incredible.
your users can set up their agents to listen to events in your system, enabling them to do proactive work whenever things happen without any user input.
implement it in your mcp servers!
Cloudflare MCP Server can now ping your agents for new issues on your Workers.
Powered by @thomas_ankcorn new real-time issues and the draft MCP Event spec
Jesús Montes 🤓 💻 retweeted
A less discussed and potentially game-changing aspect of WebMCP: helpful a11y.
Assistive tech struggles with the same interfaces agents do. Dense menus, unlabeled buttons, etc.
When a site has clear tools, we can expose exactly the functionality we need.
Jesús Montes 🤓 💻 retweeted
How do always-on, proactive agents like @Bot work?
Watch my lecture at Stanford CS146S:
2:35 How we got here
6:13 What changed in the models
10:06 Inside an always-on agent
18:07 The harness
27:26 Context engineering
34:26 Where this is going
Alright, I've made the shadcn/ui skills really good at 𝙳𝙴𝚂𝙸𝙶𝙽.𝚖𝚍.
Ask for a design system and it picks a preset, then builds everything: colors, tokens, type scale, elevation, styles the primitives and blocks.
Start with a solid foundation and build something unique.
Jesús Montes 🤓 💻 retweeted
One more launch today: the new MCP Events spec is now supported in ChatGPT 🎉
MCP servers can now push real-time updates (messages, comments, status changes, whatever) to ChatGPT, triggering automations for your users 🤯
It’s easy to add to your MCP server, too! Just point Codex at the docs and let it rip:
developers.openai.com/plugin…
Jesús Montes 🤓 💻 retweeted
How I do code reviews these days: more code = more selective human review i.e. don't read all the code.
1. Every PR gets a multi-agent first pass. It should find bugs, verify them, rank by severity, suggest fixes. Approval stays a human call on anything that matters.
2. Low blast radius changes on less sensitive code (there's often a lot!) can skip a deep human review once that review is clean. This helps keep the explosion of PRs manageable.
3. Core / sensitive paths still need an owner and human sign-off. That's where you spend time: verification, constraints and earning trust in what the agents can safely cover. You want to keep recoverability.
Agents do the first pass and humans cover blast radius.
Great question from @GergelyOrosz!
Jesús Montes 🤓 💻 retweeted
if you build animated interfaces for the web, this is essential reading
a clear, practical look at the main thread and the real cost of animation in javascript and css
the difference isn't just measurable, it's something you feel ↓
🔗 kciter.so/posts/the-expensiv…
Jesús Montes 🤓 💻 retweeted
IT'S LIVE! 🚀
I made a Codex app OpenAI wouldn't make and a youtuber could never make
Introducing director.sh!
It's a *native* orchestrator for Codex that evolves beyond a chat and a sidebar.
It lets you use a node canvas to pass context between agent tasks... 1/n
Big day for Ollama! When we started, open models and the open source AI ecosystem were in their early days with few believers.
Our belief in open source has never wavered.
With today's fundraising announcement and our 9M+ active builders, we’re ready to scale open models into AI that you can own.
All aboard open models!
🧵
Cloudflare has acquired Vite / VoidZero
Void is vite's fullstack Intertia-like framework.
This gives Cloudflare control over the entire stack. They have all the primitives from frontend/backend framework, linting, testing, formatting, JS runtime, db, kv, inference, blob storage, access, etc...
smart move. A tidy package they can hand to an LLM to make a site.





























