概要
一套结构化的技能,为 AI 编码代理编码了工作流程、质量关卡和最佳实践,覆盖从需求定义到交付的整个开发周期。
README プレビュー
# Agent Skills\n\n**Production-grade engineering skills for AI coding agents.**\n\nSkills 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.\n\n```\n DEFINE PLAN BUILD VERIFY REVIEW SHIP\n ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐\n │ Idea │ ───▶ │ Spec │ ───▶ │ Code │ ───▶ │ Test │ ───▶ │ QA │ ───▶ │ Go │\n │Refine│ │ PRD │ │ Impl │ │Debug │ │ Gate │ │ Live │\n └──────┘ └──────┘ └──────┘ └──────┘ └──────┘ └──────┘\n /spec /plan /build /test /review /ship\n```\n\n---\n\n## Commands\n\n7 slash commands that map to the development lifecycle. Each one activates the right skills automatically.\n\n| What you're doing | Command | Key principle |\n|-------------------|---------|---------------|\n| Define what to build | `/spec` | Spec before code |\n| Plan how to build it | `/plan` | Small, atomic tasks |\n| Build incrementally | `/build` | One slice at a time |\n| Prove it works | `/test` | Tests are proof |\n| Review before merge | `/review` | Improve code health |\n| Simplify the code | `/code-simplify` | Clarity over cleverness |\n| Ship to production | `/ship` | Faster is safer |\n\nSkills 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.\n\n---\n\n## Quick Start\n\n\nClaude Code (recommended)\n\n**Marketplace install:**\n\n```\n/plugin marketplace add addyosmani/agent-skills\n/plugin install agent-skills@addy-agent-skills\n```\n\n> **SSH errors?** The marketplace clones repos via SSH. If you don't have SSH keys set up on GitHub, either [add your SSH key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/
FAQ (2)
how_toClaude Codeのsession_startフックのように、OpenCodeでAGENTS.mdを自動的に読み込むにはどうすればよいですか?
OpenCode plugin hook experimental.chat.messages.transform を使用して、AGENTS.md の内容をチャットに注入します。AGENTS.md ファイルを読み取り、メッセージリストの先頭に追加するプラグインを作成してください。参考として superpowers plugin を参照してください: [superpowers.js#L120](https://github.com/obra/superpowers/blob/f2cbfbefebbfef77321e4c9abc9e949826bea9d7/.opencode/plugins/superpowers.js#L120)。例: api.on('experimental.chat.messages.transform', async (messages) => { const content = await fs.readFile('AGENTS.md', 'utf-8'); messages.unshift({ role: 'user', content }); });
トラブル対応なぜClaude Codeはagent-skillsプラグイン内のすべてのスキルに対して「Unknown skill」と表示するのですか?
プラグインのplugin.jsonにskillsとagentsディレクトリが明示的に宣言されていないため、Claude Codeのプラグインローダーがそれらを検出できない可能性があります。修正するには、.claude-plugin/plugin.jsonを編集し、既存の"commands"フィールドに加えて"skills": "./skills"および"agents": "./agents"を追加してください。ファイルを保存し、Claude Codeセッションを再起動します。この回避策は確認待ちですが、他のプラグインでskillsを正常に公開する方法と同様です。