Performance
midudev/100cosas.dev
Optimize web performance for faster loading and better user experience.
Agent skill
by ProgrammerAnthony in ProgrammerAnthony/Expert-Coding-Harness
A skill your agent uses when 用户需要优化前端性能、提升页面加载速度、减少白屏时间、优化交互流畅度、进行性能排查时。触发场景:前端性能优化、页面加载慢、白屏时间长、卡顿、LCP/FID/CLS指标优化、前端性能分析、打包体积优化。
$ npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ProgrammerAnthony/Expert-Coding-Harness frontend-performance-optimization --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/frontend-performance-optimization .claude/skills/frontend-performance-optimization && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "frontend-performance-optimization" agent skill from https://github.com/ProgrammerAnthony/Expert-Coding-Harness/tree/master/skills/frontend-performance-optimization into .claude/skills/frontend-performance-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-performance-optimization", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ProgrammerAnthony/Expert-Coding-Harness/tree/master/skills/frontend-performance-optimizationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ProgrammerAnthony/Expert-Coding-Harness frontend-performance-optimization --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/frontend-performance-optimization .agents/skills/frontend-performance-optimization && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "frontend-performance-optimization" agent skill from https://github.com/ProgrammerAnthony/Expert-Coding-Harness/tree/master/skills/frontend-performance-optimization into .agents/skills/frontend-performance-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-performance-optimization", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ProgrammerAnthony/Expert-Coding-Harness frontend-performance-optimization --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/frontend-performance-optimization .cursor/skills/frontend-performance-optimization && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "frontend-performance-optimization" agent skill from https://github.com/ProgrammerAnthony/Expert-Coding-Harness/tree/master/skills/frontend-performance-optimization into .cursor/skills/frontend-performance-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-performance-optimization", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git --path skills/frontend-performance-optimization--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ProgrammerAnthony/Expert-Coding-Harness frontend-performance-optimization --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/frontend-performance-optimization .gemini/skills/frontend-performance-optimization && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "frontend-performance-optimization" agent skill from https://github.com/ProgrammerAnthony/Expert-Coding-Harness/tree/master/skills/frontend-performance-optimization into .gemini/skills/frontend-performance-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-performance-optimization", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ProgrammerAnthony/Expert-Coding-Harness frontend-performance-optimizationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/frontend-performance-optimization .github/skills/frontend-performance-optimization && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "frontend-performance-optimization" agent skill from https://github.com/ProgrammerAnthony/Expert-Coding-Harness/tree/master/skills/frontend-performance-optimization into .github/skills/frontend-performance-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-performance-optimization", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ProgrammerAnthony/Expert-Coding-Harness frontend-performance-optimization --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/frontend-performance-optimization .opencode/skills/frontend-performance-optimization && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "frontend-performance-optimization" agent skill from https://github.com/ProgrammerAnthony/Expert-Coding-Harness/tree/master/skills/frontend-performance-optimization into .opencode/skills/frontend-performance-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-performance-optimization", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
frontend-performance-optimizationA skill your agent uses when 用户需要优化前端性能、提升页面加载速度、减少白屏时间、优化交互流畅度、进行性能排查时。触发场景:前端性能优化、页面加载慢、白屏时间长、卡顿、LCP/FID/CLS指标优化、前端性能分析、打包体积优化。
Frontend Performance Optimization is an agent skill from ProgrammerAnthony/Expert-Coding-Harness. Use when 用户需要优化前端性能、提升页面加载速度、减少白屏时间、优化交互流畅度、进行性能排查时。触发场景:前端性能优化、页面加载慢、白屏时间长、卡顿、LCP/FID/CLS指标优化、前端性能分析、打包体积优化。
Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `README.md`, `references/bundle-optimization-checklist.md` and `references/lighthouse-performance-guide.md`).
It sits in Frontend & Design, covering Web performance and Performance optimization. The repository describes itself as: 生产级 AI Agent 技能集,辅助AI Harness应用于企业开发,覆盖代码审查、代码安全审计、TDD、需求工程、实施计划与子代理编排、架构设计、调试、前端开发与技能创建全流程。 The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ab0b827. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Frontend Performance Optimization loads about 701 tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 36 tokens; SKILL.md has 94 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ProgrammerAnthony/Expert-Coding-Harness at commit ab0b827, republished under its MIT licence (© ProgrammerAnthony). 94 words, ~701 tokens.
.claude/skills/frontend-performance-optimization/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.铁律:先量化分析性能瓶颈,再给出针对性优化方案,禁止无依据的盲目优化。所有优化建议必须标注收益和成本,让用户可以按需选择。
启动时识别用户场景:
你的需求是:
1. 性能问题排查 — 页面加载慢/卡顿,需要定位瓶颈
2. 性能指标优化 — 提升LCP/FID/CLS等核心Web Vital指标
3. 打包体积优化 — 减少构建产物大小,提升加载速度
4. 全项目性能优化 — 对整个前端项目进行系统性性能优化优先要求用户提供性能数据,或指导用户采集数据:
需要你提供以下信息以便精准定位问题:
1. 页面性能报告(Lighthouse报告、Chrome Performance面板截图)
2. 核心Web Vital指标数据(LCP、FID、CLS、FCP、TTI)
3. 打包产物分析报告(webpack-bundle-analyzer、rollup-visualizer输出)
4. 网络请求情况(瀑布图、接口响应时间、资源大小)如果没有数据,先指导用户采集:
根据数据分析,按优先级定位瓶颈:
### 📊 性能瓶颈诊断
- 核心问题:[主要性能瓶颈点]
- 影响指标:[受影响的性能指标]
- 当前表现:[当前指标数值,目标数值]
### 🚀 优化方案(按优先级排序)
#### 高收益低成本(优先实施)
- [优化项]:[具体做法]
- 预期收益:[指标提升幅度,如LCP从3.2s降到1.5s]
- 实施成本:[低/中/高,改动范围描述]
#### 中收益中成本(次优先实施)
- [优化项]:[具体做法]
- 预期收益:[指标提升幅度]
- 实施成本:[低/中/高,改动范围描述]
#### 低收益高成本(可选实施)
- [优化项]:[具体做法]
- 预期收益:[指标提升幅度]
- 实施成本:[低/中/高,改动范围描述]
### ✅ 验证方法
- 优化后使用[工具名称]重新检测,对比指标变化
- 核心指标达标要求:LCP < 2.5s,FID < 100ms,CLS < 0.1references/web-vitals-optimization-guide.md — Web Vital指标优化指南references/bundle-optimization-checklist.md — 打包体积优化检查清单references/runtime-performance-best-practices.md — 运行时性能最佳实践references/lighthouse-performance-guide.md — Lighthouse性能优化指南© ProgrammerAnthony, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references) in skills/frontend-performance-optimization of ProgrammerAnthony/Expert-Coding-Harness.
Open the folder on GitHubat commit ab0b827
Frontend Performance Optimization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Frontend Performance Optimization this skillProgrammerAnthony/Expert-Coding-Harness | 235 | — | ~701 | Automated safety check: Pass | MIT | |
| Performancemidudev/100cosas.dev | 114 | 6 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Web Performancemozilla/firefox-devtools-mcp | 468 | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| Optimizing PerformanceCloudAI-X/claude-workflow-v2 | 1.4k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Performance Optimizationsanity-io/sanity | 6.4k | 7 repos | ~3.1k | Automated safety check: Pass | MIT | |
| Optimize Loadtextura-agency/next16-claude-starter | 132 | — | ~4.6k | Automated safety check: Notes | Unlicense |
midudev/100cosas.dev
Optimize web performance for faster loading and better user experience.
mozilla/firefox-devtools-mcp
Find and fix why a website is slow by capturing and analyzing a Firefox performance profile, or by analyzing a profile the user already has (a saved file or a profiler.firefox.com share link).
CloudAI-X/claude-workflow-v2
Analyzes and optimizes application performance across frontend, backend, and database layers.
sanity-io/sanity
Optimizes application performance. An agent skill from sanity-io/sanity.
textura-agency/next16-claude-starter
Get a page into Lighthouse's green zone on desktop and mobile, for people AND for the robot form crawlers get — build it, audit all four categories (Performance, Accessibility, Best Practices, SEO)…
xenitV1/Antigravity-Workflows
Performance profiling principles. An agent skill from xenitV1/Antigravity-Workflows.
ProgrammerAnthony/Expert-Coding-Harness
A skill your agent uses when 用户需要设计新系统架构、评审或优化已有系统架构、选择技术方案时。触发场景:架构分析、架构设计、系统设计、architecture、架构优化、系统架构、架构评审、架构咨询、技术方案、技术设计、如何组织代码结构、模块划分、服务拆分、数据库选型、微服务设计。
ProgrammerAnthony/Expert-Coding-Harness
A skill your agent uses when 用户要求审查代码、评估代码质量、提交 PR 前检查、发现代码有潜在问题时。触发场景:代码审查、code review、审查代码、review、检查代码、代码检查、代码质量、代码评审、这段代码有问题吗、帮我看看代码、合并前检查。
ProgrammerAnthony/Expert-Coding-Harness
A skill your agent uses when 用户需要对代码进行安全审计、发现安全漏洞、上线前安全评估、检查代码是否存在安全风险时。触发场景:代码安全审计、安全审计、白盒审计、安全扫描、漏洞检测、漏洞挖掘、SQL注入、命令注入、XSS、SSRF、反序列化、认证绕过、越权、代码安全检查、security audit、code…
ProgrammerAnthony/Expert-Coding-Harness
A skill your agent uses when 程序出现错误、异常、崩溃,或行为与预期不符,或测试失败,或无法定位问题根因时。触发场景:调试、debug、报错、错误、异常、bug、问题排查、故障排查、不工作、崩溃、无法运行、出错了、为什么不生效、运行报错、跑不起来、程序挂了。
ProgrammerAnthony/Expert-Coding-Harness
A skill your agent uses when 用户需要审查前端代码(React/Vue/Next.js/TypeScript/Tailwind等)、检查代码质量、性能问题、可维护性、安全漏洞、最佳实践落地时。触发场景:前端代码评审、前端代码优化、React/Vue代码检查、TypeScript代码审查、前端性能优化、前端安全审计、前端代码规范检查。
ProgrammerAnthony/Expert-Coding-Harness
A skill your agent uses when 用户需要编写产品需求文档、整理功能需求、拆解 GitHub Issues 或制定实施计划时。触发场景:写PRD、产品需求、需求文档、prd、需求分析、功能设计、产品设计、需求评审、需求拆解、issue拆解、帮我写需求、整理功能点、我有个想法要落地、新功能规划。
Categories
A skill your agent uses when 用户需要优化前端性能、提升页面加载速度、减少白屏时间、优化交互流畅度、进行性能排查时。触发场景:前端性能优化、页面加载慢、白屏时间长、卡顿、LCP/FID/CLS指标优化、前端性能分析、打包体积优化。. Frontend Performance Optimization is an agent skill from ProgrammerAnthony/Expert-Coding-Harness.
Frontend Performance Optimization fits situations like: 用户需要优化前端性能、提升页面加载速度、减少白屏时间、优化交互流畅度、进行性能排查时。触发场景:前端性能优化、页面加载慢、白屏时间长、卡顿、LCP/FID/CLS指标优化、前端性能分析、打包体积优化; tasks that involve Web performance; tasks that involve Performance optimization.
Run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a claude-code`. Or copy the skill folder (skills/frontend-performance-optimization in ProgrammerAnthony/Expert-Coding-Harness) into .claude/skills/frontend-performance-optimization in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a codex`. Or copy the skill folder (skills/frontend-performance-optimization in ProgrammerAnthony/Expert-Coding-Harness) into .agents/skills/frontend-performance-optimization in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill frontend-performance-optimization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/frontend-performance-optimization, .gemini/skills/frontend-performance-optimization, .github/skills/frontend-performance-optimization and .opencode/skills/frontend-performance-optimization in your project.
SKILL.md names no scripts, command-line tools or credentials: Frontend Performance Optimization is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Frontend Performance Optimization is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 701 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Frontend Performance Optimization: Performance (midudev/100cosas.dev, 114 stars), Web Performance (mozilla/firefox-devtools-mcp, 468 stars), Optimizing Performance (CloudAI-X/claude-workflow-v2, 1.4k stars) and Performance Optimization (sanity-io/sanity, 6.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ProgrammerAnthony (a GitHub user) maintains it in ProgrammerAnthony/Expert-Coding-Harness, which has 235 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on May 11, 2026.
Source: ProgrammerAnthony/Expert-Coding-Harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.