Agent Skills: Giving AI Coding Agents Senior Engineer Workflows

By LatestLLM Editorial ·

Agent Skills: Giving AI Coding Agents Senior Engineer Workflows

Learn how Addy Osmani's Agent Skills library uses 25 production-grade workflows to stop AI agents from taking shortcuts and improve code reliability.

Key takeaways

  • Agent Skills by Addy Osmani provides 25 production-grade workflows for AI coding agents.
  • It replaces improvised AI coding with a structured lifecycle: Spec, Plan, Code, Test, Review, and Ship.
  • The planning phase ensures exhaustive requirements are met, such as database tables for a login feature, before coding begins.
  • Production validation is emphasized to prevent code from working on localhost but failing on platforms like Railway or Netlify.
  • The approach moves AI coding from a zero-shot interaction to a structured agentic workflow.

We've all been there: you ask an AI coding agent to build a feature, and it spits out a block of code that looks perfect—until you actually try to run it. The code often works in a vacuum but fails the moment it hits a real production environment because the AI took a shortcut.

⚡ TL;DR: Agent Skills, created by Addy Osmani, is a collection of 25 production-grade engineering workflows. Instead of letting AI agents improvise, it forces them to follow a professional lifecycle: Spec → Plan → Code → Test → Review → Ship, ensuring output is reliable and production-ready.

The Simple Version

Most people use AI coding agents like a magic wand. They say, "Build me a login page," and expect a finished product. The problem is that the AI acts like a hyper-fast junior developer who skips all the boring parts—the planning, the edge-case testing, and the deployment checks.

Agent Skills changes this by giving the AI a "Senior Engineer's Playbook." Instead of jumping straight to the code, the agent is required to follow a proven set of steps that human professionals use to ensure software doesn't break when it reaches the user.

🎯 Think of it this way: Imagine hiring a contractor to build a house. A bad contractor starts nailing boards together the moment they arrive. A senior contractor spends the first week on blueprints, soil samples, and permits. Agent Skills is the blueprint that prevents the AI from building a house without a foundation.

How It Actually Works

The core of this approach is moving away from "single-prompt" coding toward a structured pipeline. As the video explains, these are "25 workflows that stop your agent from taking shortcuts."

1. Spec and Plan

The process starts with a Visual Spec, defining exactly what the feature should be. This is then converted into a Plan, which is an exhaustive list of everything that needs to change.

For example, if you're building a login page, the AI shouldn't just write the HTML. A professional plan includes the login page itself, the logout logic, the UI buttons, and the necessary users table in the database.

2. Code, Test, and Review

Only after the plan is approved does the agent move to the Code phase. This prevents the common mistake of "coding by coincidence," where the AI guesses the architecture as it goes.

Once the code is written, it enters the Test and Review phase. This is where most AI-generated code fails; the agent must verify if the feature is complete and actually functional, rather than just syntactically correct.

3. The "Ship" Phase

The final step is Production Validation. Many developers experience the "it worked on my machine" syndrome. The video notes that code often works on localhost but fails when deployed to platforms like Railway or Netlify.

The "Ship" skill forces the agent to validate the code in a production-like environment, ensuring that environment variables, network permissions, and deployment scripts are all correctly configured.

Technical Deep Dive

From an architectural perspective, Agent Skills implements what is known as an Agentic Workflow. In a standard LLM interaction, you have a zero-shot request: Input → LLM → Output. This is fragile because the LLM has to perform reasoning, planning, and coding simultaneously in a single pass.

Agent Skills breaks this into a Plan-and-Execute pattern. By separating the "Planning" agent from the "Coding" agent (or the same agent in different state-modes), the system reduces cognitive load on the model. This is similar to Chain-of-Thought (CoT) prompting but applied to the entire software development lifecycle (SDLC).

For context, these workflows likely utilize system prompting and tool-calling. The agent isn't just writing text; it's interacting with a filesystem and a terminal. By enforcing a sequence, the developer can insert "human-in-the-loop" checkpoints between the Plan and Code phases, preventing the agent from hallucinating an entire architecture before a human can correct it.

Compared to autonomous agents like Devin or OpenDevin, which try to handle everything in a black box, this approach provides a transparent, modular set of skills. This makes the agent's behavior deterministic and predictable, as it follows a predefined engineering rubric rather than improvising a path to the solution.

Why This Matters

The gap between "demo-ware" and "production-ware" is the biggest hurdle in AI coding today. Most AI agents are great at creating a prototype that looks impressive in a screen recording but falls apart under the stress of real-world edge cases or deployment constraints.

By institutionalizing senior-level habits—like exhaustive planning and production validation—we stop treating AI as a replacement for engineers and start treating it as a tool that follows engineering rigor. As the speaker puts it, "it's exactly how a professional software engineer would develop something."

Ultimately, this shifts the developer's role from "prompt engineer" to "architect." Instead of fighting with the AI to get the code right, you spend your time refining the spec and reviewing the plan, leaving the repetitive execution to the agent.

Frequently asked questions

What are Agent Skills?

Agent Skills is a collection of 25 reusable engineering workflows created by Addy Osmani to help AI coding agents produce more reliable, production-ready code.

Why is the 'Plan' phase important in AI coding?

It prevents the AI from taking shortcuts by forcing it to list every necessary change (e.g., database updates, UI components) before writing a single line of code.

What is production validation in the context of AI agents?

It is the process of testing code in a real deployment environment (like Netlify or Railway) to ensure it works outside of the agent's local development environment.

Sources

Source: “Agent Skills: Giving AI Coding Agents Senior Engineer Workflows” on YouTube by The Next New Thing

Tags: AI Agents, Software Engineering, LLM Workflows, Addy Osmani, AICoding

Related articles