Загрузка видео...

Не удалось загрузить видео

На главную

how about using ast-grep lint messages like Cursor rules so your coding agent has the context it needs to auto-fix issues your way? example: detect hard-coded strings and replace them with translation keys. lemme know if you like this specific pro linter or if you need other custom linters...

40,248 просмотров • 9 месяцев назад •via X (Twitter)

Комментарии: 0

Нет доступных комментариев

Здесь появятся комментарии из оригинального поста

Похожие видео

8 rules to improve your AI coding agent. All of these rules work with Claude Code, Cursor, VS Code, and with most programming languages. Automating these rules will 10x the code quality and security produced by your AI coding agents. 1. Dependency checks - Prevent your agent from suggesting insecure libraries based on outdated training data. 2. Secret exposure - Auto-fix the use of hardcoded credentials introduced by your coding agent. 3. File and function size - Automatically refactor any files or functions that exceed a reasonable length. 4. Complexity and parameter limits - Simplify overly complex code written by the agent. 5. SQL Injection - Auto-fix all database interactions with unsanitized user input. 6. Unused variables and imports - Detect and remove dead code. 7. Detect invisible unicode characters in AI rules files - Remove zero-width spaces, direction overrides, and other invisible characters that can hide malicious behavior. 8. Insecure OpenAI API usage - Enforce use of secure OpenAI endpoints, proper authentication, and context isolation Here is how you can automate this: Install the Codacy extension. This will give you access to a CLI for local scanning and an MCP server for agent communication. From here on out, every time you need to generate some code: 1. Your agent will write the code 2. It will then call Codacy's CLI to check it 3. It will find any issues in real time 4. Your coding agent will fix the issues 5. When the code passes all checks, you are done Level of effort on your side: literally zero! Code quality and security because of this: 100x better! Here is the link to download the extension for your IDE: Thanks to the Codacy team for collaborating with me on this post.

Santiago

49,331 просмотров • 8 месяцев назад

lee from cursor JUST showed me the future of coding in this 29 min tutorial. what if instead of thinking about coding as you sitting alone in front of a screen , you started to think about it as you and a swarm of agents each taking on very specific roles, each showing up exactly when you need them, each running in the background without ever needing a coffee break. imagine a bugbot that doesn’t just review your pull request but triages the issue instantly, leaves intelligent comments, and in some cases even proposes a fix before a teammate has had the chance to read the description. imagine a security agent that quietly scans your code for vulnerabilities and flags them long before they become liabilities. imagine an agent dedicated to software culture, enforcing the little rules your team has decided matter, whether that’s never skipping loading states, banning certain lazy marketing phrases in your code comments, or making sure tests are always included. lee walked me through how all of this already exists inside cursor. he spun up custom commands like /code-review or /security-review that behave less like toys and more like trusted coworkers who have internalized the way your team thinks about quality. and when he combined that with rails, type safety, linters, formatting rules, test suites.... the agents learned to check themselves against the rails and fix mistakes automatically. you end up with a system where the codebase begins to feel alive, constantly watching itself, constantly healing. another thing i learned from lee was watching how he doesn’t pile everything into one giant context and hope for magic. he creates new chats for every new task, sometimes twenty or more in a single day, each one a fresh brain that isn’t bogged down by yesterday’s details. it’s a discipline that keeps the agents sharp and the outputs clean. pro tip, thanks Lee Robinson. this was a cool glimpse into the future of coding and some tips on how to squeeze the most out of cursor. anything is possible.

GREG ISENBERG

47,160 просмотров • 10 месяцев назад

𝗚𝗿𝗲𝗽 𝗶𝘀 𝗲𝘅𝗽𝗮𝗻𝗱𝗶𝗻𝗴 𝗯𝗲𝘆𝗼𝗻𝗱 𝗯𝘂𝘀𝗶𝗻𝗲𝘀𝘀 𝗱𝘂𝗲 𝗱𝗶𝗹𝗶𝗴𝗲𝗻𝗰𝗲 𝘁𝗼 𝗵𝗲𝗹𝗽 𝘆𝗼𝘂 𝗴𝗲𝘁 𝘀𝗲𝗿𝗶𝗼𝘂𝘀 𝘄𝗼𝗿𝗸 𝗱𝗼𝗻𝗲 𝘄𝗶𝘁𝗵 𝟮𝟬 𝗔𝗜 𝗘𝘅𝗽𝗲𝗿𝘁𝘀 𝗮𝗰𝗿𝗼𝘀𝘀 𝟭𝟲 𝗶𝗻𝗱𝘂𝘀𝘁𝗿𝗶𝗲𝘀 In December, we launched Grep, an AI agent for business due diligence, as a research preview. Within two weeks, hundreds of people were using it in underwriting, maritime law, logistics, oil and gas, crypto, sales and marketing and much more. Today, we're launching the next version with 20 AI experts across 16 industries to help you carry out deep research and get serious work done. 𝗪𝗵𝘆 𝘄𝗲'𝗿𝗲 𝗯𝘂𝗶𝗹𝗱𝗶𝗻𝗴 𝗚𝗿𝗲𝗽 Most people are still stuck with AI that doesn't help them get work done. Chatbots that aren't specialized in their domain or vertical agents built for 2024's models—rigid workflows that break easily. Meanwhile, software engineers using Claude Code or Cursor are shipping 10x faster because those tools figured out what actually works. Modern coding agents load up the right context. Then get to work on your objective. That's what Grep does too. You give it an objective—"research this company to verify it is legitimate," "analyze this market and identify potential leads," "tell me who previously owned this vessel," "evaluate this vendor's compliance risk," "carry out a background check on this employee." Grep picks the right Expert and starts investigating across 50+ specialized sources, including corporate registries, court records, financial filings, sanctions databases, shipping data, academic journals and much more. This deep research provides the context to help you complete your task. Then you dig deeper. Ask follow-ups. Probe specific angles. The expert already has all the skills and integrations to help you get work done. But work doesn't end with research. Grep helps you turn that research into docs, decks, slides, reports, and even code. The context carries through, so the AI Expert can help you execute, not just inform. We're pretty excited about Grep and would love your feedback, especially if you are an early adopter of AI in your domain but aren't satisfied with your existing workflows. If you want to try Grep, join the waitlist at - we'll be starting with a small group of beta users and expanding as we make our AI Experts even better with user feedback. P.S. Huge thanks to Awesomic for the launch video 🎬

AJ Asver

28,077 просмотров • 5 месяцев назад

Bash is all you need! Which is why I'm introducing my holiday project: just-bash just-bash is a pretty complete implementation of bash in TypeScript designed to be used as a bash tool by AI agents. Because it turns out agents love exploring data via shell scripts, even beyond coding. It comes with grep, sed, awk and the 99th percentile features that an agent like Claude Code or Cursor would use. In fact, Claude Code can use it for secure bash execution. In the package - A bash-tool for AI SDK - A binary for use by yourself or your coding agents - An overlay filesystem to feed files to your agent securely - A Vercel Sandbox compatible API, so you can quickly upgrade to a real VM if you need to run binaries - An example AI agent that explores the just-bash code base using just-bash - I imported the Oils shell bash compatibility suite and just-bash passes a very good chunk What is interesting about this codebase: It was essentially entirely written by Opus 4.5. Coding agents love bash and they are good at reproducing it. They are also great at text-book recursive descent parsers and AST tweet-walk interpreters. That said, it is, like, a lot of code and I didn't read it all 😅. This is very much a hack, but it also seems to be _really_ useful. I haven't really found anything agents want to use that it doesn't support and it's fast and secure (caveats apply). It doesn't have write access to your computer and the filesystem is given a root that the agent cannot escape from. Find it at Related: Our recent blog post how we migrated our data analysis agent to bash tools and achieved incredible quality improvements The video shows the example agent investigating the just-bash code base

Malte Ubl

124,713 просмотров • 6 месяцев назад