Urgent.News

What's breaking now, across thousands of outlets.

AI

Coding Agents & Workflows

If you're working with coding agents like Claude Code, GitHub Copilot, or any other AI assistant, you've probably noticed something: they can generate code faster than you can review it. This creates a new set of challenges that traditional development workflows weren't designed to handle. Here is what I believe will help you. BTW before reading this post try to: Clone a large open-source project…

Working with coding agents like Claude Code, GitHub Copilot, or similar AI assistants often leads to code generation at a speed that outpaces human review. This presents new challenges that traditional development workflows were not built to address. To navigate this, the author recommends several key strategies.

First, it's crucial to understand your own capabilities and tool preferences. Seasoned developers tend to favor CLI-based tools for their feature richness, while beginners often find IDEs more user-friendly. Regardless of your choice, patience is essential when working with LLMs, as they tend to produce extensive amounts of text. Rushing through their output defeats the purpose of the review process.

Next, ensure your coding agent has sufficient context. LLMs rely heavily on the information provided to them, so giving them a comprehensive understanding of the task is vital. Be cautious about diluting this context, as it can lead to incomplete or inaccurate results.

Exploring plugins can also enhance your workflow. Official plugins, such as feature-dev for building features efficiently, code-simplifier for refactoring, and frontend-design for UI/UX work, can be valuable. However, exercise caution with plugins like superpowers, which may spin up subagents and consume a significant number of tokens. For instance, removing unnecessary plugins can help reduce unnecessary token usage.

MCP (Multi-Channel Processing) servers like Contact7 can be beneficial if they offer the specific functionality you need. However, be mindful of potential overlaps with existing plugins and avoid redundancy. Installing Context7 is also recommended, as it helps ensure access to the latest documentation for libraries, which LLMs may not always have available.

A case study highlights the importance of tailored skills. For example, when implementing a "Flash Sale" feature that requires bypassing the user's shopping cart and going directly to the checkout/payment page, relying solely on general knowledge can lead to unsafe practices. The agent might directly deduct inventory, even if the transaction fails, leading to stock issues.

It might also hardcode taxes without considering regional variations, break the state machine leading to shipping delays, and lack idempotency which could result in double charges.

In contrast, having a specific skill like 'checkout-orchestration-skill' can prevent these issues. This skill enforces the distributed saga pattern for the checkout pipeline, ensuring idempotency using Redis, reserving inventory without direct deduction, maintaining a strict order state machine, and handling tax calculations according to location. By leveraging such specialized skills, developers can significantly improve the reliability and efficiency of their coding agent-assisted workflows.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Your AI Agent Passed the Tests. Did It Build the Product?

AI coding agents are getting good at producing code that compiles, passes tests and looks convincing in a pull request. That is useful. It is not enough.

  • AI agents can create functional code that passes tests.
  • Specification drift occurs when agent modifications cause product to deviate from original request.

More from Tuesday 25 August →