尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Ultimate A/B testing framework for Web. All you need to make you pages fast accessible and stable. AI friendly. Source-available under The ShakaPerf License.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Do you want to improve Lighthouse & Web Vitals without breaking your site?
shaka-perf will measure the impact of your PRs on performance and detect visual changes.
It also auto-detects SEO and accessibility issues, and it's extremely easy to setup.
This is the only benchmarking toolset your web site needs.
ShakaPerf is a chef's kiss toolset for quick performance optimization without the risk of breaking things down! Or it can be your AI-driven visual-regression catching pipeline.
Setting up takes one to four hours. Install the CLI and skills, then ask your agent to do the Docker work:
# small helpers and types
yarn add shaka-shared
# or
npm i shaka-shared
# install shaka-perf globally
npm i -g shaka-perf # you may use yarn, or have a local installation, but this is not recommended
shaka-perf init # creates abtests.config.ts
# Install ShakaPerf skills from your target repo directory (installer needs Node >= 22.20).
npx skills add shakacode/shakaperf \
--skill '*' \
--agent claude-code codex
In your agent, run the two prompts:
# ~30 minutes
/shaka-perf-dockerize # Optionally provide details about how to seed your app (e.g. instruct it to visit your production site with playwright-mcp and re-use the data)
# start small, expand later. ~30 minutes
/shaka-perf-add-coverage write a mimimal test suite. Add seeded data if needed.
Then run the same image as two containers, control on the merge base of your branch and experiment on your branch, and compare them:
shaka-perf servers checkout <your-branch>
shaka-perf servers # builds both images, starts both containers, launches the app on each side
shaka-perf compare # runs every test on phone, tablet, and desktop against both sides
# or if you are not interested in performance and a11y
shaka-perf compare --categories=visreg # way faster
compare writes compare-results/report.html with side-by-side screenshots plus the pixel diff, and a statistically significant performance comparison of Web Vitals, Lighthouse, accessibility, and custom metrics.
Now you can start optimizing your pages. (~1 hour)
/goal run shaka-perf audit and read sources to find the largest bottleneck. Minimal change should produce maximum result.
Before announcing the victory, ensure all the affected components are screenshot-covered /shaka-perf-add-coverage
Or something more ambitous (2-8 hours)
/goal
1. /shaka-perf-add-coverage ensure screenshot coverage of all components
2. Switch the stack to React RSC
3. Subagent with /shaka-perf-find-bugs should not find anything critical
4. No visual changes
5. When done, hit me up with performance comparison report from shaka-perf
shaka-perf?abTest definition.The agent skills generate hi-fi tests. If any component in the app changes no matter how deap in the tree, shaka-perf will screenshot it and alert you. This works without needing you to polish the tests manually.
The shaka-perf-find-bugs skill turns twin-servers into a QA rig: agents use the control server to generate the expected/actual screenshots.
use skill /deploy shaka-perf shaka-shared
TL;DR: free for orgs under 10 people, $1M revenue, and $1M raised, and for charities, schools, and hospitals at any size. Otherwise a subscription.
Registration is free, optional, and encouraged for every organization: shakaperf.com/license. Questions: [email protected].