Swig Test
swig/swig
Run SWIG test suite for specific languages. An agent skill from swig/swig.
Ships performance fixes with CI-proven improvement using stacked PRs.
$ npx skills add Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Comfy-Org/ComfyUI_frontend perf-fix-with-proof --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/Comfy-Org/ComfyUI_frontend.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/perf-fix-with-proof .claude/skills/perf-fix-with-proof && 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 "perf-fix-with-proof" agent skill from https://github.com/Comfy-Org/ComfyUI_frontend/tree/main/.claude/skills/perf-fix-with-proof into .claude/skills/perf-fix-with-proof/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "perf-fix-with-proof", 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/Comfy-Org/ComfyUI_frontend/tree/main/.claude/skills/perf-fix-with-proofType 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 Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Comfy-Org/ComfyUI_frontend perf-fix-with-proof --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Comfy-Org/ComfyUI_frontend.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/perf-fix-with-proof .agents/skills/perf-fix-with-proof && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "perf-fix-with-proof" agent skill from https://github.com/Comfy-Org/ComfyUI_frontend/tree/main/.claude/skills/perf-fix-with-proof into .agents/skills/perf-fix-with-proof/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "perf-fix-with-proof", 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 Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Comfy-Org/ComfyUI_frontend perf-fix-with-proof --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Comfy-Org/ComfyUI_frontend.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/perf-fix-with-proof .cursor/skills/perf-fix-with-proof && 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 "perf-fix-with-proof" agent skill from https://github.com/Comfy-Org/ComfyUI_frontend/tree/main/.claude/skills/perf-fix-with-proof into .cursor/skills/perf-fix-with-proof/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "perf-fix-with-proof", 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/Comfy-Org/ComfyUI_frontend.git --path .claude/skills/perf-fix-with-proof--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 Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Comfy-Org/ComfyUI_frontend perf-fix-with-proof --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Comfy-Org/ComfyUI_frontend.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/perf-fix-with-proof .gemini/skills/perf-fix-with-proof && 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 "perf-fix-with-proof" agent skill from https://github.com/Comfy-Org/ComfyUI_frontend/tree/main/.claude/skills/perf-fix-with-proof into .gemini/skills/perf-fix-with-proof/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "perf-fix-with-proof", 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 Comfy-Org/ComfyUI_frontend perf-fix-with-proofInstalls 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 Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Comfy-Org/ComfyUI_frontend.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/perf-fix-with-proof .github/skills/perf-fix-with-proof && 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 "perf-fix-with-proof" agent skill from https://github.com/Comfy-Org/ComfyUI_frontend/tree/main/.claude/skills/perf-fix-with-proof into .github/skills/perf-fix-with-proof/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "perf-fix-with-proof", 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 Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Comfy-Org/ComfyUI_frontend perf-fix-with-proof --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Comfy-Org/ComfyUI_frontend.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/perf-fix-with-proof .opencode/skills/perf-fix-with-proof && 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 "perf-fix-with-proof" agent skill from https://github.com/Comfy-Org/ComfyUI_frontend/tree/main/.claude/skills/perf-fix-with-proof into .opencode/skills/perf-fix-with-proof/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "perf-fix-with-proof", 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.
perf-fix-with-proofShips performance fixes with CI-proven improvement using stacked PRs.
Perf Fix With Proof is an agent skill from Comfy-Org/ComfyUI_frontend. Ships performance fixes with CI-proven improvement using stacked PRs. PR1 adds a @perf test (establishes baseline on main), PR2 adds the fix (CI shows delta). Use when implementing a perf optimization and wanting to prove it in CI.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Failing and flaky tests. The repository describes itself as: Official front-end implementation of ComfyUI. The licence is GPL-3.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f9be289. 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.
Shell commands in SKILL.md call:
gitpnpmghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, pnpm and gh, which can reach the network depending on how they are called.
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.
Perf Fix With Proof loads about 1.6k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 459 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 Comfy-Org/ComfyUI_frontend at commit f9be289, republished under its GPL-3.0 licence (© Comfy-Org). 459 words, ~1,649 tokens.
.claude/skills/perf-fix-with-proof/SKILL.md (or your agent's skills folder).Ships perf fixes as two stacked PRs so CI automatically proves the improvement.
The ci-perf-report.yaml workflow compares PR metrics against the base branch baseline. If you add a new @perf test in the same PR as the fix, that test doesn't exist on main yet — no baseline, no delta, no proof. Stacking solves this:
@perf test that exercises the bottleneck. Merges to main. CI runs it on main → baseline established.git worktree add <worktree-path> -b perf/test-<name> origin/main@perf testAdd a test to browser_tests/tests/performance.spec.ts (or a new file with @perf tag). The test should stress the specific bottleneck.
Test structure:
test('<descriptive name>', async ({ comfyPage }) => {
// 1. Load a workflow that exercises the bottleneck
await comfyPage.workflow.loadWorkflow('<workflow>')
// 2. Start measuring
await comfyPage.perf.startMeasuring()
// 3. Perform the action that triggers the bottleneck (at scale)
for (let i = 0; i < N; i++) {
// ... stress the hot path ...
await comfyPage.nextFrame()
}
// 4. Stop measuring and record
const m = await comfyPage.perf.stopMeasuring('<metric-name>')
recordMeasurement(m)
console.log(`<name>: ${m.styleRecalcs} recalcs, ${m.layouts} layouts`)
})Available metrics (from PerformanceHelper):
m.styleRecalcs / m.styleRecalcDurationMs — style recalculation count and timem.layouts / m.layoutDurationMs — forced layout count and timem.taskDurationMs — total main-thread JS execution timem.heapDeltaBytes — memory pressure deltaKey helpers (from ComfyPage):
comfyPage.perf.startMeasuring() / .stopMeasuring(name) — CDP metrics capturecomfyPage.nextFrame() — wait one animation framecomfyPage.workflow.loadWorkflow(name) — load a test workflow from browser_tests/assets/comfyPage.canvas — the canvas locatorcomfyPage.page.mouse.move(x, y) — mouse interactionIf the bottleneck needs a specific workflow (e.g., 50+ nodes, many DOM widgets), add it to browser_tests/assets/. Keep it minimal — only the structure needed to trigger the bottleneck.
pnpm exec playwright test --project=performance --grep "<test name>"Confirm the test runs and produces reasonable metric values.
pnpm typecheck:browser
pnpm lint
git add browser_tests/
git commit -m "test: add perf test for <bottleneck description>"
git push -u origin perf/test-<name>
gh pr create --title "test: add perf test for <bottleneck>" \
--body "Adds a @perf test to establish a baseline for <bottleneck>.
This is PR 1 of 2. The fix will follow in a separate PR once this baseline is established on main.
## What
Adds \`<test-name>\` to the performance test suite measuring <metric> during <action>.
## Why
Needed to prove the improvement from the upcoming fix for backlog item #<N>." \
--base mainOnce PR1 merges, CI runs the test on main → baseline artifact saved.
git worktree add <worktree-path> -b perf/fix-<name> origin/mainImplement the fix. The @perf test from PR1 is now on main and will run automatically. CI will:
The ci-perf-report.yaml posts a comment like:
## ⚡ Performance Report
| Metric | Baseline | PR (n=3) | Δ | Sig |
| --------------------- | -------- | -------- | ---- | --- |
| <name>: style recalcs | 450 | 12 | -97% | 🟢 |If Δ is negative for the target metric, the fix is proven.
Testing DOM widget reactive mutations (backlog #8):
test('DOM widget positioning recalculations', async ({ comfyPage }) => {
await comfyPage.workflow.loadWorkflow('default')
await comfyPage.perf.startMeasuring()
// Idle for 120 frames — DOM widgets update position every frame
for (let i = 0; i < 120; i++) {
await comfyPage.nextFrame()
}
const m = await comfyPage.perf.stopMeasuring('dom-widget-idle')
recordMeasurement(m)
})Testing measureText caching (backlog #4):
test('canvas text rendering with many nodes', async ({ comfyPage }) => {
await comfyPage.workflow.loadWorkflow('large-workflow-50-nodes')
await comfyPage.perf.startMeasuring()
for (let i = 0; i < 60; i++) {
await comfyPage.nextFrame()
}
const m = await comfyPage.perf.stopMeasuring('text-rendering-50-nodes')
recordMeasurement(m)
})| Resource | Path |
|---|---|
| Perf test file | browser_tests/tests/performance.spec.ts |
| PerformanceHelper | browser_tests/fixtures/helpers/PerformanceHelper.ts |
| Perf reporter | browser_tests/fixtures/utils/perfReporter.ts |
| CI workflow | .github/workflows/ci-perf-report.yaml |
| Report generator | scripts/perf-report.ts |
| Stats utilities | scripts/perf-stats.ts |
| Backlog | docs/perf/BACKLOG.md (local only, not committed) |
| Playbook | docs/perf/PLAYBOOK.md (local only, not committed) |
© Comfy-Org, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/perf-fix-with-proof of Comfy-Org/ComfyUI_frontend.
Open the folder on GitHubat commit f9be289
Perf Fix With Proof 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 |
|---|---|---|---|---|---|---|
| Perf Fix With Proof this skillComfy-Org/ComfyUI_frontend | 2.1k | — | ~1.6k | Automated safety check: Pass | GPL-3.0 | |
| Swig Testswig/swig | 6.3k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Triage CI FailureDataDog/datadog-agent | 3.8k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Dynamo Jira TicketDynamoDS/Dynamo | 2k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Fix Ready PRsfastrepl/anarlog | 9.5k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Trx Analysismicrosoft/vstest | 969 | — | ~1.8k | Automated safety check: Pass | MIT |
swig/swig
Run SWIG test suite for specific languages. An agent skill from swig/swig.
DataDog/datadog-agent
Classify a failed CI as either caused by an active incident, flakiness, or a true code regression.
DynamoDS/Dynamo
Create structured Jira tickets for Dynamo from bug reports, failing tests, or feature requests.
fastrepl/anarlog
Inspect every open non-draft PR for CI failures and unresolved Cursor Bugbot findings, then fix them on the existing PR branches.
microsoft/vstest
Parse and analyze Visual Studio TRX test result files. An agent skill from microsoft/vstest.
workersio/skills
Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.
Comfy-Org/ComfyUI_frontend
Adds deprecation warnings for renamed or removed properties/APIs.
Comfy-Org/ComfyUI_frontend
Replay recorded agent conversations as Playwright tests against the real chat panel and canvas.
Comfy-Org/ComfyUI_frontend
Transforms raw Playwright codegen output into ComfyUI convention-compliant tests.
Comfy-Org/ComfyUI_frontend
Dispatches the comment-sicko subagent to hunt gratuitous comments in a PR/diff, triages its raw findings, and posts a polite, professional writeup.
Comfy-Org/ComfyUI_frontend
Diagnoses and fixes flaky Playwright e2e tests by replacing race-prone patterns with retry-safe alternatives.
Comfy-Org/ComfyUI_frontend
Publishes a new package from this monorepo to npm under @comfyorg and proves it is consumable from another repo.
Categories
Ships performance fixes with CI-proven improvement using stacked PRs. Perf Fix With Proof is an agent skill from Comfy-Org/ComfyUI_frontend. Ships performance fixes with CI-proven improvement using stacked PRs.
Perf Fix With Proof fits situations like: implementing a perf optimization and wanting to prove it in CI; tasks that involve Failing and flaky tests.
Run `npx skills add Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a claude-code`. Or copy the skill folder (.claude/skills/perf-fix-with-proof in Comfy-Org/ComfyUI_frontend) into .claude/skills/perf-fix-with-proof in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a codex`. Or copy the skill folder (.claude/skills/perf-fix-with-proof in Comfy-Org/ComfyUI_frontend) into .agents/skills/perf-fix-with-proof 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 Comfy-Org/ComfyUI_frontend --skill perf-fix-with-proof -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/perf-fix-with-proof, .gemini/skills/perf-fix-with-proof, .github/skills/perf-fix-with-proof and .opencode/skills/perf-fix-with-proof in your project.
Going by SKILL.md and its folder, Perf Fix With Proof needs the command-line tools its instructions call (git, pnpm and gh).
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. 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.
Perf Fix With Proof is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Perf Fix With Proof: Swig Test (swig/swig, 6.3k stars), Triage CI Failure (DataDog/datadog-agent, 3.8k stars), Dynamo Jira Ticket (DynamoDS/Dynamo, 2k stars) and Fix Ready PRs (fastrepl/anarlog, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Comfy-Org (a GitHub organization) maintains it in Comfy-Org/ComfyUI_frontend, which has 2,056 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 9, 2026.
Source: Comfy-Org/ComfyUI_frontend on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.