perf-profile
यह क्या करती है
यह स्किल गेम के धीमे हिस्से खोजती है और प्रोजेक्ट के परफ़ॉर्मेंस बजट के मुकाबले उन्हें तेज़ करने के तरीके क्रम में लगाती है। यह फ़्रेम रेट, लोडिंग समय या मेमोरी पर काम कर रहे डेवलपर्स के लिए है।
कब इस्तेमाल करें
- ✓जब गेम धीमा चले या फ़्रेम गिरें और टीम को कारण खोजना हो।
- ✓जब डेवलपर चाहता हो कि परफ़ॉर्मेंस को प्रोजेक्ट के बजट से मापा जाए।
- ✓जब रिलीज़ से पहले टीम को ऑप्टिमाइज़ेशन की क्रमबद्ध सूची चाहिए।
Skill का लिंक
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/perf-profile/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा गेम सिटी सीन में फ़्रेम गिराता है। रुकावटें खोजिए और सुधारों को क्रम से लगाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह प्रोफ़ाइलर का आउटपुट और परफ़ॉर्मेंस सेटिंग्स पढ़ती है, नतीजों को बजट से मापती है, और सुझावों की क्रमबद्ध सूची बनाती है। अगर प्रोफ़ाइलर डेटा न हो, तो बताती है कि वह नहीं चल सकी।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys performance.enforce,automation,workflow
Resolved above — use as-is. No block → defaults in
.claude/docs/config-resolution.md.
Performance Profile
Every AskUserQuestion call follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt).
Insufficient input — check this before producing any report
If the inputs this skill needs do not exist, the answer is "could not run" — not a filled-in report. Check first, and stop if the check fails.
- List the inputs this skill reads (data files, prior reports, profiler output, test results, registries, source code).
- For each, record
FOUNDorABSENT— not "assumed present". - If any input required for a section is ABSENT, that section is
NOT ASSESSED — NO DATA. Do not estimate it, do not infer it from an adjacent artifact, and do not leave a mandated cell to be filled by whoever reads the template next. - If every required input is ABSENT, stop and report
NOT ASSESSED — NO DATAas the whole verdict, naming what was missing and which skill produces it.
A verdict of NOT ASSESSED is a success. It is the correct, useful answer to
"what does the data say?" when there is no data. The failure mode this prevents is
specific: a report whose verdict enum has no "could not run" state produces
false clean passes — an asset audit returning COMPLIANT on a project with no
assets and no standards, or a performance profile reporting ">99% headroom against
a 16.67ms budget" with zero profiler data and no budget ever set.
Absence of evidence is never evidence of absence. A scan that finds no matches because there are no files to scan has not verified anything. Say which of the two happened — a reader cannot tell from a green result.
Phase 0: Resolve Budget Enforcement
performance.enforce decides what a budget violation means in this run. It
does not change which budgets are measured — performance.target_framerate,
frame_budget_ms, draw_call_limit and memory_ceiling_mb are profiled the
same way at every level:
| Value | Effect on this profile's findings |
|---|---|
warn (default) |
Violations are reported as findings. They do not block; CI logs them without failing. |
block |
Violations are blockers. Say so explicitly in the report — a block project treats an over-budget system as release-stopping, and /gate-check will FAIL the Polish gate on it. |
off |
Budgets are informational only. Still report measured values, but do not raise violations as findings or recommendations to fix. |
Only warn, block and off are recognized. Surface any other value to the
user and fall back to warn rather than guessing.
The value is locally overridable (
/settings --local performance.enforce=block), so use the resolved block above rather than readingproject.yaml— a teammate's stricter local setting is meant to bite on their machine only.
Phase 1: Determine Scope
Read the argument:
- System name → focus profiling on that specific system
full→ run a comprehensive profile across all systems
Phase 2: Load Performance Budgets
Read the committed budgets from config first — they are the project's record of what it agreed to, and design docs are the fallback, not the source:
bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" get_effective_yaml_key performance.target_framerate
bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" get_effective_yaml_key performance.frame_budget_ms
bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" get_effective_yaml_key performance.draw_call_limit
bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" get_effective_yaml_key performance.memory_ceiling_mb
Run each line as its own plain command, one key per call: the helper moves to
the project root itself, so it works when the session was started in a
subfolder, and this skill pre-approves that form only (a source or cd ... &&
wrapper asks the user every time). Empty output means that budget is not set.
Resolve these budgets from
project.yaml, not from prose. Phase 0 above states these four budgets "are profiled the same way at every level". A user who setperformance.target_framerate: 60inproject.yamlhas it ignored if
अक्सर पूछे जाने वाले सवाल
क्या पहले प्रोफ़ाइलर डेटा चाहिए?
हाँ। बजट के मुकाबले माप के लिए प्रोफ़ाइलर आउटपुट चाहिए, और उसके बिना स्किल नहीं चल सकती।
परफ़ॉर्मेंस बजट क्या हैं?
ये फ़्रेम टाइम या मेमोरी जैसी चीज़ों की लक्ष्य सीमाएँ हैं, जिन्हें प्रोजेक्ट पहले से तय करता है।
क्या यह समस्याएँ खुद ठीक करती है?
इसका आउटपुट सुझावों की क्रमबद्ध सूची है, जिस पर टीम कदम उठाती है।
जानकारी
लेखक का मूल विवरण
Performance profiling — find bottlenecks, measure against budgets, produce ranked optimization recommendations.
लोकप्रियता
- GitHub स्टार
- 33k
- रैंकिंग में स्थान
- #8466
- लाइसेंस
- MIT
- अपडेट की गई
- 18/10/2026
कमेंट
- …
इस repository की और skills
adopt
33kजाँचती है कि किसी मौजूदा गेम प्रोजेक्ट के दस्तावेज़ स्टूडियो टेम्पलेट के फ़ॉर्मेट से मेल खाते हैं या नहीं, फिर कमियाँ ठीक करने के लिए क्रमांकित माइग्रेशन योजना लिखती है।
architecture-decision
33kकिसी तकनीकी चुनाव के लिए आर्किटेक्चर डिसीज़न रिकॉर्ड लिखती है, जिसमें संदर्भ, विकल्प और परिणाम शामिल हैं, और सही तकनीकी भूमिकाओं से समीक्षा करवाती है।
architecture-review
33kजाँचती है कि आपके तकनीकी फ़ैसले हर डिज़ाइन ज़रूरत को कवर करते हैं, आपस में टकराते नहीं और इंजन के वर्शन में फ़िट होते हैं, और साफ़ पास या चिंता वाला फ़ैसला देती है।
art-bible
33kआपके गेम की विज़ुअल पहचान तय करने वाली आर्ट बाइबल लिखती है, ताकि एसेट बनाने का काम एक साफ़ शैली-नियम पर चले।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।