Agent-Skills規範編程代理

2026年8月7日 00:00
站內 AI 整理稿

Skills encode the workflows, quality gates, and best practices that senior engineers use when building software.These ones are packaged so AI agents follow them consistently across every phase of development.

DEFINE PLAN BUILD VERIFY REVIEW SHIP ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ │ Idea │ ───▶ │ Spec │ ───▶ │ Code │ ───▶ │ Test │ ───▶ │ QA │ ───▶ │ Go │ │Refine│ │ PRD │ │ Impl │ │Debug │ │ Gate │ │ Live │ └──────┘ └──────┘ └──────┘ └──────┘ └──────┘ └──────┘ /spec /plan /build /test /review /ship Commands 8 slash commands that map to the development lifecycle.

Each one activates the right skills automatically.

What you're doing Command Key principle Define what to build /spec Spec before code Plan how to build it /plan Small, atomic tasks Build incrementally /build One slice at a time Prove it works /test Tests are proof Review before merge /review Improve code health Audit web performance /webperf Measure before you optimize Simplify the code /code-simplify Clarity over cleverness Ship to production /ship Faster is safer Want fewer manual steps once the spec exists?

/build auto generates the plan and implements every task in a single approved pass — you approve the plan once, then it runs autonomously.

It removes the human stepping between tasks, not the verification: every task is still test-driven and committed individually, and it pauses on failures or risky steps.

Skills also activate automatically based on what you're doing — designing an API triggers api-and-interface-design, building UI triggers frontend-ui-engineering, and so on.Quick Start Fastest path — any agent, one command.

The open skills CLI installs into 70+ agents (Claude Code, Cursor, Codex, Copilot, Cline, and more): npx skills add addyosmani/agent-skills # install all 24 skills npx skills add addyosmani/agent-skills --list # browse before installing Or grab individual skills: npx skills add addyosmani/agent-skills --skill code-review-and-quality # five-axis review before merge npx skills add addyosmani/agent-skills --skill interview-me # requirements interrogation, one question at a time npx skills add addyosmani/agent-skills --skill test-driven-development # red-green-refactor, enforced Installing one skill?

A per-skill npx install copies only skills//, not the repo-level references/ directory.The skill still works, but paths to supplementary shared checklists are unavailable.

Use a whole-repo integration, clone the repository, or copy the needed checklist into a references/ directory inside the installed skill.This portability gap is tracked in #361.Prefer a native integration?Pick your tool below.

Claude Code (recommended) Marketplace install: /plugin marketplace add addyosmani/agent-skills /plugin install agent-skills@addy-agent-skills SSH errors?The marketplace clones repos via SSH.

If you don't have SSH keys set up on GitHub, either add your SSH key or use the full HTTPS URL to force HTTPS cloning during the marketplace-add step: /plugin marketplace add https://github.com/addyosmani/agent-skills.

git /plugin install agent-skills@addy-agent-skills If /plugin install still fails with [email protected]: Permission denied (publickey) on Windows or macOS, the recommended workaround is to configure Git once to rewrite GitHub SSH URLs to HTTPS for subprocess clones: git config --global url.

"https://github.com/".insteadOf [email protected]: Local / development: git clone https://github.com/addyosmani/agent-skills.git claude --plugin-dir /path/to/agent-skills Cursor Put workflow skills under .cursor/skills/ (sync from agent-skills/skills/) and short policies in .cursor/rules/*.

mdc — do not paste full skills into rules.See docs/cursor-setup.md.Antigravity CLI Install as a native plugin for skills, subagents, and slash commands.See docs/antigravity-setup.md.Install from the repo: agy plugin install https://github.com/addyosmani/agent-skills.

git Install from a local clone: git clone https://github.com/addyosmani/agent-skills.git agy plugin install ./agent-skills Gemini CLI Install as native skills for auto-discovery, or add to GEMINI.md for persistent context.See docs/gemini-cli-setup.md.

Install from the repo: gemini skills install https://github.com/addyosmani/agent-skills.git --path skills Install from a local clone: gemini skills install ./agent-skills/skills/ Windsurf Add skill contents to your Windsurf rules configuration.See docs/windsurf-setup.md.

OpenCode Uses agent-driven skill execution via AGENTS.md and the skill tool.See docs/opencode-setup.md.GitHub Copilot Use agent definitions from agents/ as Copilot personas and skill content in .github/copilot-instructions.md.See docs/copilot-setup.md.Kiro IDE & CLI Skills for Kiro reside under ".

kiro/skills/" and can be stored under Project or Global level.Kiro also supports Agents.md.See Kiro docs at https://kiro.dev/docs/skills/ Codex Install as a native Codex plugin (Codex CLI v0.

122+): codex plugin marketplace add addyosmani/agent-skills codex plugin add agent-skills@agent-skills The first command registers the marketplace; the second installs the plugin.Codex reads the root skills/ directory directly through .codex-plugin/plugin.json.

Once installed, invoke skills in chat using @ (e.g., @spec-driven-development).See docs/codex-setup.md for local installation and troubleshooting.Command Code Install natively with the built-in cmd skills command.Command Code clones the repo, discovers every SKILL.md, and installs into .

commandcode/skills/: cmd skills add addyosmani/agent-skills # pick skills to install (project) cmd skills add addyosmani/agent-skills --global # install for all projects (~/.

commandcode/skills/) cmd skills add addyosmani/agent-skills -s spec-driven-development # install a specific skill Installed skills show up in the TUI slash menu, e.g./spec-driven-development.See docs/commandcode-setup.md.

Other Agents Skills are plain Markdown - they work with any agent that accepts system prompts or instruction files.See docs/getting-started.md.Adoption Already installed?How you roll the pack out depends on your codebase.

The Adoption Guide covers two paths: the full lifecycle from day one for a greenfield project, or an incremental, verification-first rollout for an established codebase.All 24 Skills The commands above are entry points.

The pack includes 24 skills total — 23 lifecycle skills plus the using-agent-skills meta-skill.Each skill is a structured workflow with steps, verification gates, and anti-rationalization tables.You can also reference any skill directly.

Meta - Discover which skill applies Skill What It Does Use When using-agent-skills Maps incoming work to the right skill workflow and defines shared operating rules Starting a session or deciding which skill applies Define - Clarify what to build Skill What It Does Use When interview-me One-question-at-a-time interview that extracts what the user actually wants instead of what they think they should want, until ~95% confidence The ask is underspecified, or the user invokes "interview me" / "grill me" idea-refine Structured divergent/convergent thinking to turn vague ideas into concrete proposals You have a rough concept that needs exploration spec-driven-development Write a PRD covering objectives, commands, structure, code style, testing, and boundaries before any code Starting a new project, feature, or significant change Plan - Break it down Skill What It Does Use When planning-and-task-breakdown Decompose specs into small, verifiable tasks with acceptance criteria and dependency ordering You have a spec and need implementable units Build - Write the code Skill What It Does Use When incremental-implementation Thin vertical slices - implement, test, verify, commit.

Feature flags, safe defaults, rollback-friendly changes Any change touching more than one file test-driven-development Red-Green-Refactor, test pyramid (80/15/5), test sizes, DAMP over DRY, Beyonce Rule, browser testing Implementing logic, fixing bugs, or changing behavior context-engineering Feed agents the right information at the right time - rules files, context packing, MCP integrations Starting a session, switching tasks, or when output quality drops source-driven-development Ground every framework decision in official documentation - verify, cite sources, flag what's unverified You want authoritative, source-cited code for any framework or library doubt-driven-development Adversarial fresh-context review of every non-trivial decision in-flight - CLAIM → EXTRACT → DOUBT → RECONCILE → STOP, with optional user-authorized cross-model escalation Stakes are high (production, security, irreversible), working in unfamiliar code, or a confident output is cheaper to verify now than to debug later frontend-ui-engineering Component architecture, design systems, state management, responsive design, WCAG 2.

1 AA accessibility Building or modifying user-facing interfaces api-and-interface-design Contract-first design, Hyrum's Law, One-Version Rule, error semantics, boundary validation Designing APIs, module boundaries, or public interfaces Verify - Prove it works Skill What It Does Use When browser-testing-with-devtools Chrome DevTools MCP for live runtime data - DOM inspection, console logs, network traces, performance profiling Building or debugging anything that runs in a browser debugging-and-error-recovery Five-step triage: reproduce, localize, reduce, fix, guard.

Stop-the-line rule, safe fallbacks Tests fail, builds break, or behavior is unexpected Review - Quality gates before merge Skill What It Does Use When code-review-and-quality Five-axis review, change sizing (~100 lines), severity labels (Nit/Optional/FYI), review speed norms, splitting strategies Before merging any change code-simplification Chesterton's Fence, Rule of 500, reduce complexity while preserving exact behavior Code works but is harder to read or maintain than it should be security-and-hardening OWASP Top 10 prevention, auth patterns, secrets management, dependency auditing, three-tier boundary system Handling user input, auth, data storage, or external integrations performance-optimization Measure-first approach - Core Web Vitals targets, profiling workflows, bundle analysis, anti-pattern detection Performance requirements exist or you suspect regressions Ship - Deploy with confidence Skill What It Does Use When git-workflow-and-versioning Trunk-based development, atomic commits, change sizing (~100 lines), the commit-as-save-point pattern Making any code change (always) ci-cd-and-automation Shift Left, Faster is Safer, feature flags, quality gate pipelines, failure feedback loops Setting up or modifying build and deploy pipelines deprecation-and-migration Code-as-liability mindset, compulsory vs advisory deprecation, migration patterns, zombie code removal Removing old systems, migrating users, or sunsetting features documentation-and-adrs Architecture Decision Records, API docs, inline documentation standards - document the why Making architectural decisions, changing APIs, or shipping features observability-and-instrumentation Structured logging, RED metrics, OpenTelemetry

Related

相關文章

智東西AI Agent

當AI無處不在,TI用全棧嵌入式邊緣AI方案破解AI落地“老大難”

作者 | 雲鵬 編輯 | 漠影 從雲端到邊緣,今天AI正深刻改變人類與物理世界的交互方式。從醫療可穿戴設備、智能家居、工業自動化到具身機器人,邊緣AI憑藉低延遲、高安全、高可靠等獨特優勢,給不少行業帶來了AI落地新解法,海量AI應用直接在終端設備本地完成實時感知、推理與決策。 作為邊緣AI部署的關鍵載體,以微控制器(MCU)為代表的嵌入式芯片正迎來新一輪智能化升級。然而將AI能力下放至資源受限的邊緣節點,需要攻克成本、功耗、安全等諸多維度的嚴峻挑戰。

11 分鐘前
IT之家AI Agent

科技巨頭因 AI 購物起爭端:亞馬遜封禁 Meta Muse 智能體

作者:遠洋 責編:遠洋 評論: 感謝網友 咩咩洋 的線索投遞!9 月 21 日消息,亞馬遜已經阻斷了 Meta 全新的個人 AI 智能體 Muse 代用戶在亞馬遜網站購物的訪問權限。此前亞馬遜曾嘗試勸說這家 Facebook 母公司主動在 Muse 當中排除亞馬遜電商站點,但協商未果。

4 小時前
IT之家AI Agent

聯合國:不必等風險完全釐清,各國應提前管控 AI 智能體

作者:遠洋 責編:遠洋 評論: 9 月 21 日消息,聯合國一個科學專家小組發佈警示:各國政府應當在完全釐清風險之前,就對能力日益強大的 AI 智能體加以管控。這份報告也是該國際組織針對今年早些時候 OpenAI 入侵 Hugging Face 一事出具的首份重要評估文件。

5 小時前
鈦媒體AI Agent

智譜道歉之後,誰來給Agent劃邊界?

字母榜2026.09.21 18:03 · 來自北京全文4640字00:00 / 14:10Agent比人們想象的更危險。文 | 字母榜上傳代碼風波發酵近72小時後,智譜道歉了。9月21日早間,智譜旗下AI編程平臺ZCode發文稱,針對社區反饋的ZCode產品安全問題,已經完成整改,並向所有用戶道歉。智譜方面還表示,已將ZCode開源(https://github.com/zai-org/ZCode),把代碼交給社區監督,讓ZCode變得開放、透明。

6 小時前
AIbaseAI Agent

阿寶上線「魚來」摸魚AI系統,將碎片化休息納入智能管理

據瞭解,「魚來」首批已釋放500尾魚苗。用戶只需對阿寶說出「魚來」,即可隨機召喚一條魚,從中選出自己的「命定之魚」,並設置每日摸魚提醒。整個流程被概括為三步:對阿寶說出指令(如「每天下午2點提醒我來摸魚」)、為任務命名並開啟通知權限、坐等每日準時提醒。

9 小時前