performance-optimization Skill
★ Stars are for the whole repo, not this skill
What it does
performance-optimization is 1 of 24 skills in the agent-skills repo
Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.
- Connects Instruction files the AI reads; connects to nothing
- Account or key No key needed
- Category 写代码
Skill 和 MCP 有什么不同
MCP 把 AI 连接到外部服务或数据;Skill 是 AI 读取并照做的工作指南,不连接任何服务。
适用的应用
Claude CodeCodexCursorGemini CLIGitHub CopilotWindsurfOpenCodeKiro
依据开发者 README 和 repo 中的文件夹
安装
Is it safe?
- Who made it
GitHub account addyosmani (person), 17 years old
- Use and upkeep
★ 115,500 stars · code last changed 2026年11月2日
- Any scripts?
No, plain text files the AI reads and follows
- Uses the internet?
No scripts, so it does not go online by itself
- Changes machine-wide settings?
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 301b02b (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
Let the AI install it
Works in Claude Code, Codex and Cursor · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
For Terminal users
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
开发者推荐的方式
npx skills add addyosmani/agent-skills摘自开发者 README,会下载并运行开发者的代码
你用哪个应用?
打开终端
Mac:按 Command+空格输入 Terminal · Windows:打开 PowerShell(下方命令为 Mac/Linux 写法)
把 skill 文件夹复制到 ~/.claude/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
rm -rf /tmp/popnx-skill && git clone --depth 1 https://github.com/addyosmani/agent-skills.git /tmp/popnx-skill && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill/skills/performance-optimization' ~/.claude/skills/performance-optimization && rm -rf /tmp/popnx-skill重新打开 Claude Code,输入 /performance-optimization,或直接提出相关任务,Claude 会自动选用
打开终端
Mac:按 Command+空格输入 Terminal · Windows:打开 PowerShell(下方命令为 Mac/Linux 写法)
把 skill 文件夹复制到 ~/.agents/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
rm -rf /tmp/popnx-skill && git clone --depth 1 https://github.com/addyosmani/agent-skills.git /tmp/popnx-skill && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill/skills/performance-optimization' ~/.agents/skills/performance-optimization && rm -rf /tmp/popnx-skill重新打开 Codex 并提出相关任务,Codex 会列出这个 skill
打开终端
Mac:按 Command+空格输入 Terminal · Windows:打开 PowerShell(下方命令为 Mac/Linux 写法)
把 skill 文件夹复制到 ~/.cursor/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
rm -rf /tmp/popnx-skill && git clone --depth 1 https://github.com/addyosmani/agent-skills.git /tmp/popnx-skill && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill/skills/performance-optimization' ~/.cursor/skills/performance-optimization && rm -rf /tmp/popnx-skill在 Cursor 的 Agent 聊天中输入 / 并选择 performance-optimization
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
Upload to claude.ai (web and app)
Uploading to claude.ai would fail: the description is over 200 characters (295). Use "Let the AI install it" instead
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
来自 GitHub
- GitHub 星标
- 115,500
Stars are for the whole repo, not this skill - 开发者
- addyosmani
- 许可证
- MIT
- 最近代码更新
- 2026年11月2日
- repo 中的 SKILL.md 文件
- 1
- 主题
- agent-skills, antigravity, claude-code, codex, cursor, skills