feat(skills): reworked skills and rules
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
This commit is contained in:
1 parent
29632ff0ce
commit
f5d8f6f11b
124 files changed
+1250
-8138
No files matched your search
@@ -7,12 +7,15 @@ description: Use when evaluating a code change for likely latency, throughput, m
|
||||
|
||||
Use when reviewing a change for meaningful latency, throughput, memory, or resource-use risk.
|
||||
|
||||
Load and follow the matching performance rules: `rules-csharp-performance`, `rules-typescript-performance`, or `rules-angular-performance`.
|
||||
|
||||
## Review
|
||||
|
||||
1. Identify the changed execution paths and their expected frequency, input size, and concurrency.
|
||||
2. Trace expensive work such as repeated I/O, network calls, database round trips, allocations, serialization, locks, and scans.
|
||||
3. Estimate algorithmic cost and resource growth with realistic data sizes. Separate measured results from reasoned estimates.
|
||||
4. Check whether a proposed cache, parallelism, or batching change preserves invalidation, ordering, cancellation, and failure behavior.
|
||||
5. Recommend a benchmark or profiler only when it can answer a concrete uncertainty. Avoid micro-optimizations without a plausible user impact.
|
||||
3. Flag sync-over-async (`.Result`, `.Wait()`, `GetAwaiter().GetResult()`) on request or UI paths, which risks thread pool starvation or deadlock. Flag outbound calls without a timeout or cancellation.
|
||||
4. Estimate algorithmic cost and resource growth with realistic data sizes. Separate measured results from reasoned estimates.
|
||||
5. Check whether a proposed cache, parallelism, or batching change preserves invalidation, ordering, cancellation, and failure behavior.
|
||||
6. Recommend a benchmark or profiler only when it answers a concrete uncertainty. Avoid micro-optimizations without a plausible user impact.
|
||||
|
||||
Report the affected path, evidence, likely impact, and smallest useful correction or measurement. Do not present theoretical concerns as confirmed regressions.
|
||||
Report findings in the `review-pull-request` finding schema and severity scale. Do not present theoretical concerns as confirmed regressions.
|
||||
@@ -42,6 +42,17 @@
|
||||
"Does not present theoretical concerns as confirmed regressions"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"prompt": "Performance review of this change.\n\n```diff\n # README.md\n-Run the app with npm start.\n+Run the app with npm start. See docs/setup.md for environment variables.\n```",
|
||||
"expected_output": "The diff only changes documentation. No execution path changed. Should state there is no performance scope and report no performance findings rather than speculating.",
|
||||
"assertions": [
|
||||
"States that no execution path changed",
|
||||
"Reports no performance findings",
|
||||
"Does not present speculative performance concerns"
|
||||
],
|
||||
"files": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user