惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Webroot Blog
Webroot Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
SecWiki News
SecWiki News
S
Secure Thoughts
V2EX - 技术
V2EX - 技术
T
Tor Project blog
H
Hacker News: Front Page
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
V
Vulnerabilities – Threatpost
C
CERT Recently Published Vulnerability Notes
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Heimdal Security Blog
AI
AI
PCI Perspectives
PCI Perspectives
Cyberwarzone
Cyberwarzone
P
Privacy & Cybersecurity Law Blog
AWS News Blog
AWS News Blog
Attack and Defense Labs
Attack and Defense Labs
The Last Watchdog
The Last Watchdog
K
Kaspersky official blog
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
Security Latest
Security Latest
Schneier on Security
Schneier on Security
Scott Helme
Scott Helme
L
Lohrmann on Cybersecurity
Cisco Talos Blog
Cisco Talos Blog
The Hacker News
The Hacker News
N
News and Events Feed by Topic
S
Schneier on Security
Simon Willison's Weblog
Simon Willison's Weblog
F
Fortinet All Blogs
T
Threatpost
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
云风的 BLOG
云风的 BLOG
博客园_首页
Recent Announcements
Recent Announcements
G
Google Developers Blog
Martin Fowler
Martin Fowler

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
One Open Source Project a Day (No. 58): Agent Skills - Injecting Senior Engineer Discipline into AI Coding Agents
WonderLab · 2026-05-07 · via DEV Community

Introduction

"AI agents are only as good as the workflows they follow."

This is the No.58 article in the "One Open Source Project a Day" series. Today, we are exploring Agent Skills.

If last article's Symphony solved the question of "how to run AI agents at scale," then Agent Skills tackles an even more fundamental problem: how do you make an AI coding assistant genuinely behave like a senior engineer?

This project comes from Addy Osmani—Engineering Director at Google Chrome, legendary figure in frontend engineering, and the author of Learning JavaScript Design Patterns. He captures the state of AI tooling with a deceptively simple observation: AI agents take shortcuts. They skip specs, skip tests, skip security reviews—anything to deliver code that appears to work. Agent Skills exists to change that, encoding 20 carefully designed workflows that enforce the discipline of a senior engineer.

What You Will Learn

  • What "structured workflows" are and how they fundamentally change AI agent behavior
  • How Anti-Rationalization design eliminates common AI shortcuts before they happen
  • How 7 Slash Commands span the full software development lifecycle
  • How to install and use Agent Skills in Claude Code, Cursor, and other popular tools
  • How Agent Skills compares to other AI coding improvement approaches

Prerequisites

  • Daily experience with AI coding tools like Claude Code or Cursor
  • Basic familiarity with the software development lifecycle (requirements → design → code → test → deploy)
  • No specific programming language background required

Project Background

Project Introduction

Agent Skills is a pure-text (Markdown) collection of engineering workflows. It is not a framework, not an SDK—it is a set of "cognitive protocols" that can be directly loaded into AI tools. When you load these skills into Claude Code or Cursor, the AI no longer dives straight into writing code. Instead, it asks: Do we have a spec? Have we broken down the tasks? Are the tests passing?

The core philosophy is drawn from Google's internal engineering culture: Hyrum's Law (implicit interface dependencies will be exploited), the test pyramid, trunk-based development, and most critically—treating code as a liability, not an asset.

Author/Team Introduction

  • Author: Addy Osmani
  • Role: Engineering Director, Google Chrome
  • Notable Works: Learning JavaScript Design Patterns, core contributor to Lighthouse, foundational author of numerous frontend best practices
  • Motivation: While using AI coding tools daily, Addy observed that AI systematically skips "inconvenient but necessary" engineering steps. He responded by encoding years of accumulated engineering discipline into workflows AI agents can directly execute.

Project Data

  • ⭐ GitHub Stars: 30,800+
  • 🍴 Forks: 3,600+
  • 👀 Watchers: 219
  • 📝 Commits: 162
  • 📄 License: MIT
  • 🌐 Repository: addyosmani/agent-skills

Main Features

Core Utility

The core value of Agent Skills is this: converting implicit engineering discipline into explicit, AI-executable step-by-step checklists.

When a typical AI assistant is asked to "fix a bug," it writes code and says "done." An AI loaded with Agent Skills walks through: problem confirmation → root cause analysis → minimal reproduction → fix → test coverage → code review → documentation update—with clear verification criteria at each step.

Use Cases

  1. Individual Developers Elevating AI Collaboration Quality

    • Load workflows into Claude Code or Cursor to have the AI help you build a feature end-to-end—not just the main logic while leaving you to clean up the edges.
  2. Teams Standardizing AI Usage Norms

    • Place project-level workflow configurations in the team's code repository so every team member's AI assistant follows a consistent engineering standard.
  3. Quality Gates for Automated Agent Pipelines

    • Use Agent Skills in CI/CD automation as a review framework for AI-generated code, preventing low-quality code from reaching the main branch.
  4. AI Coding Education and Training

    • Learn best practices by observing how an AI handles various engineering challenges when constrained by disciplined workflows.

Quick Start

Method 1: Claude Code Plugin Marketplace (Recommended)

# Execute inside a Claude Code session
/plugin marketplace add addyosmani/agent-skills
/plugin install agent-skills@addy-agent-skills

Enter fullscreen mode Exit fullscreen mode

Once installed, use Slash Commands directly:

# Define requirements
/spec I need a user authentication feature with OAuth 2.0 support

# Plan tasks
/plan

# Start implementation
/build

# Verify functionality
/test

# Code review
/review

# Reduce complexity
/code-simplify

# Deploy
/ship

Enter fullscreen mode Exit fullscreen mode

Method 2: Local Clone (Works with All Tools)

# Clone the repository
git clone https://github.com/addyosmani/agent-skills.git

# Load in Claude Code
claude --plugin-dir /path/to/agent-skills

# Load in Gemini CLI
gemini skills install https://github.com/addyosmani/agent-skills.git --path skills

Enter fullscreen mode Exit fullscreen mode

Method 3: Reference Directly in CLAUDE.md

# CLAUDE.md
Load the following skills for this project:
- skills/build/incremental-implementation
- skills/verify/test-driven-development
- skills/review/code-review-and-quality

Enter fullscreen mode Exit fullscreen mode

Core Characteristics

  1. 20 Professional Skills

    • Covering all six development phases (Define, Plan, Build, Verify, Review, Ship), each skill has explicit trigger conditions, execution steps, and verification criteria.
  2. 7 Slash Commands

    • /spec, /plan, /build, /test, /review, /code-simplify, /ship—compressing complex workflows into single commands.
  3. 3 Expert Agent Personas

    • code-reviewer, test-engineer, security-auditor—allowing AI to examine your code from a specialized professional perspective.
  4. Anti-Rationalization Design

    • Every skill file includes a built-in "excuse-and-rebuttal" table that pre-empts common AI shortcuts, e.g., "Requirements aren't confirmed yet, let's just start coding""No—first use /spec to lock down the requirements."
  5. Verification-First

    • Every step requires concrete evidence upon completion—passing test screenshots, build artifacts, runtime data—not a subjective "it should be fine."
  6. Tool-Agnostic

    • The same skill set works across Claude Code, Cursor, Gemini CLI, Windsurf, OpenCode, GitHub Copilot, and Kiro IDE.
  7. 4 Reference Checklists

    • Testing patterns, security, performance optimization, accessibility—professional checklists available on demand.

Project Advantages

Feature Agent Skills Generic System Prompts Rules Files (.cursorrules)
Structure Complete workflows with steps & checkpoints Free-form text, AI interpretation varies Focused on code style rules
Engineering Depth Full lifecycle (spec to ship) Usually covers only code generation Mainly constrains formatting
Anti-Shortcut Mechanism Built-in rationalization tables None None
Multi-Tool Support 7+ major AI tools Tool-specific Tool-specific
Maintainability Versioned Markdown, updatable via PR Scattered across configs Single repo-level file

Why Choose Agent Skills?

  • Born from one of the most rigorous engineering cultures (Google Chrome), quality is battle-tested
  • 30k+ Stars represent validation from a large real-world user base
  • Pure Markdown means zero lock-in, always adjustable, no vendor dependency

Detailed Analysis

1. Skill File Anatomy: What Does a Skill Look Like?

Taking skills/build/incremental-implementation/SKILL.md as an example, every skill file follows a consistent anatomy:

---
name: incremental-implementation
description: Build features in small, testable increments
triggers:
  - "start implementation"
  - "begin coding"
  - "implement feature"
---

## Overview
[Purpose and scope of the skill]

## When to Use
[Specific scenarios that trigger this skill]

## Process
[Step-by-step workflow with explicit deliverables at each step]

### Step 1: Understand the task
- Confirm whether a spec already exists
- Clarify implementation boundaries (in scope / out of scope)
...

## Rationalizations (Excuses & Rebuttals)
| Common Excuse | Why It Doesn't Hold |
|:---|:---|
| "The feature is simple, just write it" | Simplicity is subjective; no spec means no acceptance criteria |
| "I'll add tests afterward" | Test debt almost never gets paid back |

## Red Flags
[Warning signs of workflow deviation, e.g., a single commit over 400 lines]

## Verification
[Proof required to confirm this skill was properly executed]

Enter fullscreen mode Exit fullscreen mode

The elegance of this structure is that it is not documentation written for humans—it is a program written for AI to execute. Every field constrains the AI's behavioral boundaries.

2. The Six-Phase Workflow: A Full Loop from Idea to Production

Define → Plan → Build → Verify → Review → Ship
  ↓        ↓       ↓       ↓        ↓       ↓
/spec   /plan   /build   /test   /review  /ship
  ↓        ↓       ↓       ↓        ↓       ↓
Lock Req  Decomp  Increm  Prove   Quality  Safe
          Tasks   Impl    Tests   Gates    Deploy

Enter fullscreen mode Exit fullscreen mode

Each phase is backed by specific skills:

Define: idea-refine, spec-driven-development

Plan: planning-and-task-breakdown

Build: incremental-implementation, test-driven-development, frontend-ui-engineering, source-driven-development, documentation-as-code, code-as-liability

Verify: browser-testing-with-devtools, debugging-and-error-recovery

Review: code-review-and-quality, security-and-hardening, performance-optimization, change-sizing

Ship: git-workflow-and-versioning, ci-cd-and-automation, shipping-and-launch, trunk-based-development, code-deprecation

3. Agent Personas: Putting AI in a "Professional Uniform"

This is one of the most creative designs in Agent Skills. Rather than having the same AI both write and review code, you make it "become" a pure specialist:

security-auditor persona example:

You are a security auditor. Your ONLY job is to find vulnerabilities.
Do NOT suggest new features. Do NOT improve code quality.
Focus EXCLUSIVELY on:
- Input validation gaps
- Authentication/Authorization flaws
- Injection vulnerabilities (SQL, XSS, SSTI...)
- Exposed secrets or credentials
- Insecure dependencies

Enter fullscreen mode Exit fullscreen mode

When you invoke the security-auditor persona to review code, the AI fully enters the security expert's perspective—it won't be distracted by feature implementation. Applying the Single Responsibility Principle (SRP) at the AI usage level turns out to be surprisingly effective.

4. Anti-Rationalization: The Engineering Discipline Moat

This is one of the project's most distinctive innovations. Every skill file contains an "excuse-rebuttal" table specifically targeting the common avoidance behaviors AI (and humans) exhibit under pressure:

Common AI Excuse Engineering Discipline Rebuttal
"This feature is simple, just write it" Simplicity is subjective; no spec means no acceptance criteria
"Tests can come later" Test debt almost never gets repaid
"It's just a temporary workaround" The average lifespan of "temporary" solutions exceeds all expectations
"The PR is already big, adding a bit more is fine" Large PRs create review blind spots and are sources of merge conflicts
"Performance optimization can wait" "Later" usually means never

Project Links & Resources

Official Resources

Target Audience

  • Developers who use Claude Code, Cursor, or similar AI coding tools daily but find that AI frequently cuts corners
  • Technical leads who want to standardize AI usage norms across their team
  • Engineers interested in engineering best practices who want to apply Google engineering culture through AI tools
  • AI application developers building automated agent pipelines who need quality assurance mechanisms

Summary

Key Takeaways

  1. AI defaults to taking shortcuts—Agent Skills enforces engineering discipline through structured workflows
  2. Pure Markdown implementation: zero dependencies, tool-agnostic, fully customizable
  3. Covers the complete development lifecycle: from requirements spec to code deprecation, with 7 Slash Commands throughout
  4. Anti-Rationalization design is the standout innovation—pre-emptively eliminating common AI shortcuts
  5. From Google Chrome's Engineering Director: the underlying engineering philosophy has been validated at production scale

One-Line Review

If AI coding tools make you write code 10x faster, Agent Skills ensures what you write is also 10x better.


Find more useful knowledge and interesting products on my Homepage