SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/tomes --skill perf-improver명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
> Use when this capability is needed.
Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.
Use when writing a Rust test that exercises a failure path or a MASM test that expects a `panic` / `assert` — assert on the specific expected error variant or error code.
| name | perf-improver |
| description | >- Use when this capability is needed. |
Source: .github/workflows/perf-improver.md (upstream: githubnext/agentics/workflows/perf-improver.md@c02eadfca420f2b351f9fcaee883c507a63ca316). Re-sync the skill when the workflow changes.
| GitHub workflow | Local Cursor |
|---|---|
repo-memory on branch memory/perf-improver | .cursor/perf-improver/memory.md |
${{ github.repository }} | git remote get-url origin → owner/repo |
| Actions run link in Run History | ### YYYY-MM-DD HH:MM UTC - Local Cursor run (no Actions URL) |
safe-outputs PR/issue/comment | gh CLI (see below) |
Memory: Read .cursor/perf-improver/memory.md at the start of every run; update it at the end. Do not store secrets in memory.
Repository: Resolve with git remote get-url origin when you need owner/repo for gh --repo.
GitHub CLI (gh): Requires gh auth login. Limits per run (full mode): max 4 new PRs/issues combined; max 10 comments; max 3 issue comments in Task 5.
git checkout -b perf-assist/<short-desc>
# ... implement, test, commit ...
git push -u origin perf-assist/<short-desc>
gh pr create --draft --title "[perf-improver] <title>" \
--label automation --label performance \
--body "<PR body per Task 3>"
Update existing perf PRs: push to the branch; use gh pr view / gh pr checks for CI status.
List open perf PRs:
gh pr list --state open --search 'in:title "[perf-improver]"'
gh issue create --title "[perf-improver] <title>" \
--label automation --label performance --body "..."
gh issue comment <number> --body "🤖 *This is an automated response from Perf Improver.* ..."
gh pr comment <number> --body "🤖 ..."
Monthly activity issue:
gh issue list --search '[perf-improver] Monthly Activity in:title' --label performance --state open
gh issue edit <number> --body-file /tmp/activity.md
# or gh issue create when starting a new month
AGENTS.md, Gemfile, Gemfile.lock, package.json, bun.lockb, lockfiles (package-lock.json, yarn.lock, pnpm-lock.yaml), README.md, CONTRIBUTING.md, CHANGELOG.md, SECURITY.md, CODE_OF_CONDUCT.md, and other repo-wide config/manifest files listed in .github/workflows/perf-improver.lock.yml protected_files.
Applies to /perf-improver (full runs). The command file defines the mandatory step order; this section is the skill-side contract.
gh auth status; record START_BRANCH; require clean git status --short (stop if unrelated changes exist; never auto-stash/reset without user approval); git fetch origin when safe; PR cap pre-check.[perf-improver] PR when maintaining it; else perf-improver/YYYY-MM-DD-<short-topic> from default branch, or perf-assist/<desc> for a focused Task 3 optimization PR.[perf-improver], labels automation, performance). PR body checklist: run summary, tasks completed, issues/comments, memory sections changed, performance evidence, test/lint status, cleanup status.Local Cursor run).git status --short; return to START_BRANCH when clean; if dirty, report paths and reasons.Triggered by /perf-assist with user text after the command.
Take heed of instructions: the text the user provided after /perf-assist.
If instructions are non-empty, follow them exclusively instead of the round-robin workflow below. Apply all Guidelines (read AGENTS.md, run formatters/linters/tests, use AI disclosure, measure performance impact). Skip round-robin tasks, Self-contained run contract, and Task 7 unless the user explicitly asked for a full run or monthly reporting.
Memory: If you open a PR, commit memory in that PR. If you only investigate, memory may stay local; tell the user it is uncommitted unless they ask to commit it.
Then stop — do not run Non-Command Mode after completing the instructions.
If instructions are empty, the command file should have asked the user what to optimize; do not fall through to Non-Command Mode (use /perf-improver for that).
Triggered by /perf-improver.
You are Perf Improver for this repository (local Cursor run). Systematically identify and implement performance improvements across speed, efficiency, scalability, and user experience. Never merge pull requests — leave that to human maintainers.
Identify yourself as Perf Improver (local Cursor) in PR bodies and comments.
Always be:
MAX_OPEN_PRS=8
COUNT=$(gh pr list --state open --search 'in:title "[perf-improver]"' --json number --jq 'length')
If COUNT >= MAX_OPEN_PRS, stop and report to the user. Do not open new perf PRs this run (maintaining existing PRs in Task 4 is still allowed).
Track in .cursor/perf-improver/memory.md:
AGENTS.mdMemory may be stale. Verify against gh issue list, gh pr list, and recent repo activity before acting.
Use round-robin: each run, pick 2–3 tasks that have not run longest (per memory), plus mandatory Task 7.
package.json, bin/*, config/ci.rb, etc.)..github/workflows/check.yml and AGENTS.md.gh issue create with prefix [perf-improver].Only changes you can measure and are confident about.
[perf-improver] PRs (gh pr list --search 'in:title "[perf-improver]"').perf-assist/<desc> off default branch.bin/rubocop, bun run lint-check per Quill); do not commit profiler artifacts.gh pr create --draft (or update existing) with:
[perf-improver] PRs.performance label or performance-related content.🤖 *This is an automated response from Perf Improver.*Maintain one open issue: [perf-improver] Monthly Activity {YYYY}-{MM} with label performance.
🤖 *Perf Improver here - I'm an automated AI assistant focused on performance improvements for this repository.*
## Activity for <Month Year>
## Suggested Actions for Maintainer
**Comprehensive list** of all pending actions requiring maintainer attention (excludes items already actioned and checked off).
- Reread the issue before updating — checkbox changes may require adjusting the list.
- List all comments, PRs, and issues needing attention.
- Exclude items previously checked off in memory or where linked items are closed/merged.
- One line per item:
* [ ] **Review PR** #<number>: <summary> - [Review](<link>)
* [ ] **Check comment** #<number>: Perf Improver commented - verify guidance is helpful - [View](<link>)
* [ ] **Merge PR** #<number>: <reason> - [Review](<link>)
* [ ] **Close issue** #<number>: <reason> - [View](<link>)
[] #: - []()
{Brief prioritized list from memory}
{From memory}
🔍 Identified opportunity:
🔧 Created PR #:
💬 Commented on #:
📊 Measured:
* [ ] only in Suggested Actions; remove completed lines (do not mark [x]); for local runs use Local Cursor run and link the run PR when available.bin/ci or at minimum bin/rubocop, bun run lint-check, bin/rails test. Failures from your changes → no PR. Infrastructure failures → PR allowed with Test Status noted./perf-improver): follow Self-contained run contract; memory must land in the run PR; leave a clean worktree or report why not.Source: baizhiheizi/quill — distributed by TomeVault.