[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M751DPZMPPK0Y0TB37PJWK6P":3,"skill-same:01M751DPZMPPK0Y0TB37PJWK6P":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":57},"01M751DPZMPPK0Y0TB37PJWK6P","x-execute-performance-tests",null,"Stack-aware performance skill: reads QualityConfig.performance SLOs, dispatches to Newman (REST), ghz (gRPC), hyperfine (CLI), Artillery (GraphQL), or custom harness (Socket), compares against governance\u002Fbaselines\u002Fperformance-baseline.json, and blocks merge on regression > tolerance.","review-bench\u002Federcnj_ia-dev-environment","review-bench","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F286778065?v=4","01M7517F9NTEPDZDAXJBR30FWT","ReviewBench","01M7517FAC9F4P7TGWCNJ8VYVW",0,"MIT","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Fmain\u002Fresources\u002Ftargets\u002Fclaude\u002Fskills\u002Fconditional\u002Ftest\u002Fx-execute-performance-tests\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: x-execute-performance-tests\ndescription: \"Stack-aware performance skill: reads QualityConfig.performance SLOs, dispatches to Newman (REST), ghz (gRPC), hyperfine (CLI), Artillery (GraphQL), or custom harness (Socket), compares against governance\u002Fbaselines\u002Fperformance-baseline.json, and blocks merge on regression > tolerance.\"\nvisibility: public\nuser-invocable: true\nmodel: sonnet\nallowed-tools: Read, Write, Edit, Bash, Grep, Glob\nrequires-capabilities: []\nrequires-any:\n  - quality.performance.rest\n  - quality.performance.grpc\n  - quality.performance.cli\n  - quality.performance.graphql\n  - quality.performance.socket\nargument-hint: \"\u003CSTORY-ID> [--stack rest|grpc|cli|graphql|socket] [--update-baseline] [--smoke-only]\"\n---\n\n## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n# Skill: x-execute-performance-tests\n\nStack-aware CI performance gate. Reads `QualityConfig.performance` from the project YAML,\ndispatches to the correct load-testing tool per stack, compares p50\u002Fp95\u002Fp99 results\nagainst `governance\u002Fbaselines\u002Fperformance-baseline.json`, and exits non-zero when\nregression exceeds `baseline-tolerance-pct`.\n\n## Triggers\n\n- `\u002Fx-execute-performance-tests story-0072-0002` — auto-detects stack from `interfaces[]`\n- `\u002Fx-execute-performance-tests story-0072-0002 --stack rest` — force REST dispatch\n- `\u002Fx-execute-performance-tests story-0072-0002 --stack grpc` — force gRPC dispatch\n- `\u002Fx-execute-performance-tests story-0072-0002 --update-baseline` — write new baseline (explicit opt-in)\n- `\u002Fx-execute-performance-tests story-0072-0002 --smoke-only` — run smoke test, skip SLO comparison\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `STORY-ID` | String | Yes | — | story-XXXX-YYYY for report path resolution |\n| `--stack` | Enum | No | auto-detect | Override stack: `rest`, `grpc`, `cli`, `graphql`, `socket` |\n| `--update-baseline` | Flag | No | false | Write new baseline after successful run |\n| `--smoke-only` | Flag | No | false | Execute smoke only; skip SLO comparison and baseline check |\n\n## Exit Codes\n\n| Exit | Code | Meaning |\n|------|------|---------|\n| 0 | `SUCCESS` | All SLO checks passed (or smoke-only) |\n| 1 | `PERF_REGRESSION_DETECTED` | p95 or p99 exceeds baseline + tolerance |\n| 2 | `TOOL_NOT_FOUND` | Required load-testing tool not on PATH or container unreachable |\n| 3 | `NO_SLO_DECLARED` | `quality.performance.enabled=true` but no SLO block found — exits 0 with WARN |\n| 4 | `BASELINE_NOT_FOUND` | Baseline file absent; runs measurement only (no comparison) |\n| 50 | `PERF_DISABLED` | `quality.performance.enabled=false`; skill exits 0 silently |\n\n## Activation Condition\n\n`quality.performance.enabled=true` must be set in the project YAML.\nExit `50 PERF_DISABLED` immediately when `enabled=false`.\n\n## Stack Dispatch Matrix\n\n| Stack | Condition | Tool | Container image |\n|-------|-----------|------|----------------|\n| `rest` | `interfaces[].type = rest` | Newman ≥ 6.0 | `postman\u002Fnewman:6` |\n| `grpc` | `interfaces[].type = grpc` | ghz ≥ 0.120 | `ghz:0.120` |\n| `cli` | `architecture.style = library` or `interfaces[].type = cli` | hyperfine ≥ 1.18 | `hyperfine:1.18` |\n| `graphql` | `interfaces[].type = graphql` | Artillery ≥ 2.0 | `artilleryio\u002Fartillery:2` |\n| `socket` | `interfaces[].type = tcp-custom` or `websocket` | custom harness | see KP `performance-socket` |\n\nAuto-detection priority: `grpc > rest > graphql > socket > cli`.\nWhen multiple stacks are active, dispatch once per detected stack; report is merged.\n\n## Workflow\n\n### Step 1 — Read Config\n\nRead `quality.performance.*` from the project YAML (via QualityConfig record):\n\n```\nenabled            → if false: exit 50 PERF_DISABLED (silent)\nbaseline-tolerance-pct  → regression threshold (default 10)\nslo.\u003Cstack>.p50_ms\nslo.\u003Cstack>.p95_ms\nslo.\u003Cstack>.p99_ms\n```\n\nWhen `slo.\u003Cstack>` block is absent: emit `WARN no SLO declared — running smoke only`\nand set `--smoke-only=true` implicitly. **Exit 0** (non-blocking smoke).\n\n### Step 2 — Detect Stack\n\nIf `--stack` flag provided, use it directly.\nOtherwise, read `interfaces[].type` and `architecture.style` from project YAML.\nApply dispatch priority from the matrix above.\n\n### Step 3 — Tool Availability Check\n\nFor each detected stack, verify the tool is available:\n\n```bash\n# REST\ndocker run --rm postman\u002Fnewman:6 --version 2>\u002Fdev\u002Fnull || { echo \"TOOL_NOT_FOUND: newman\"; exit 2; }\n\n# gRPC\ndocker run --rm ghz:0.120 --version 2>\u002Fdev\u002Fnull || { echo \"TOOL_NOT_FOUND: ghz\"; exit 2; }\n\n# CLI\ndocker run --rm hyperfine:1.18 --version 2>\u002Fdev\u002Fnull || { echo \"TOOL_NOT_FOUND: hyperfine\"; exit 2; }\n\n# GraphQL\ndocker run --rm artilleryio\u002Fartillery:2 --version 2>\u002Fdev\u002Fnull || { echo \"TOOL_NOT_FOUND: artillery\"; exit 2; }\n```\n\nRead the KP for the detected stack for container image + command reference.\n\n### Step 4 — Run Load Test\n\nDispatch to the tool. Collect p50\u002Fp95\u002Fp99 per endpoint\u002Fmethod\u002Fcommand.\n\n**REST (Newman):**\n```bash\ndocker run --rm -v \"$PWD\":\u002Fworkspace postman\u002Fnewman:6 run \\\n  \u002Fworkspace\u002Fperformance\u002Fcollection.json \\\n  --reporters json \\\n  --reporter-json-export \u002Fworkspace\u002F.perf-results.json\n```\n\n**gRPC (ghz):**\n```bash\ndocker run --rm -v \"$PWD\":\u002Fworkspace ghz:0.120 \\\n  --proto \u002Fworkspace\u002Fproto\u002Fservice.proto \\\n  --call \u003Cservice>.\u003Cmethod> \\\n  --duration 30s --rps 50 \\\n  --output json > .perf-results.json\n```\n\n**CLI (hyperfine):**\n```bash\ndocker run --rm -v \"$PWD\":\u002Fworkspace hyperfine:1.18 \\\n  --export-json \u002Fworkspace\u002F.perf-results.json \\\n  --runs 100 \\\n  '\u003Ccommand>'\n```\n\n**GraphQL (Artillery):**\n```bash\ndocker run --rm -v \"$PWD\":\u002Fworkspace artilleryio\u002Fartillery:2 run \\\n  --output \u002Fworkspace\u002F.perf-results.json \\\n  \u002Fworkspace\u002Fperformance\u002Fartillery.yml\n```\n\n**Socket:** See KP `performance-socket` for custom harness commands.\n\n### Step 5 — Parse Results\n\nExtract p50\u002Fp95\u002Fp99 from `.perf-results.json` for each endpoint\u002Fmethod\u002Fcommand.\nNormalize all values to milliseconds. Build internal result map:\n\n```\n{ \"\u003Cendpoint>\": { \"p50Ms\": N, \"p95Ms\": N, \"p99Ms\": N, \"throughputRps\": N } }\n```\n\n### Step 6 — Baseline Comparison (skip when --smoke-only or baseline absent)\n\nRead `governance\u002Fbaselines\u002Fperformance-baseline.json`. If absent: emit\n`WARN baseline not found — recording initial measurement` and proceed to Step 8.\n\nFor each endpoint, compute delta vs baseline:\n\n```\ndeltaP95Pct = ((current.p95Ms - baseline.p95Ms) \u002F baseline.p95Ms) * 100\ndeltaP99Pct = ((current.p99Ms - baseline.p99Ms) \u002F baseline.p99Ms) * 100\n```\n\nWhen `deltaP95Pct > baseline-tolerance-pct` OR `deltaP99Pct > baseline-tolerance-pct`:\nmark endpoint as `REGRESSION` → set `exitCode = 1 PERF_REGRESSION_DETECTED`.\n\nWhen current p95 > `slo.\u003Cstack>.p95_ms` (absolute SLO): mark endpoint as `SLO_VIOLATION`.\n\n### Step 7 — Write Report\n\nWrite `ai\u002Fepics\u002Fepic-XXXX\u002Freports\u002Fperf-report-STORY-ID.md` (sanitized — no absolute paths,\nhostnames, IP addresses, or credentials):\n\n```markdown\n# Performance Report — STORY-ID\n\n## Summary\n- Stack: \u003Cstack>\n- Tool: \u003Ctool> \u003Cversion>\n- Status: PASS | FAIL\n- SLO compliance: N\u002FM endpoints pass\n- Regression count: N\n\n## Results per Endpoint\n\n| Endpoint | p50 ms | p95 ms | p99 ms | Baseline p95 | Delta % | Verdict |\n|----------|--------|--------|--------|-------------|---------|---------|\n| ...      | ...    | ...    | ...    | ...         | ...     | PASS\u002FFAIL |\n\n## Baseline Comparison\n\n| Threshold | Value | Exceeded |\n|-----------|-------|----------|\n| tolerance-pct | N% | Yes\u002FNo |\n\n## Tooling\n\n- Tool: \u003Cname> \u003Cversion>\n- Container: \u003Cimage>\n- Command: \u003Csanitized command>\n```\n\n### Step 8 — Update Baseline (only with --update-baseline)\n\nWrite new entries to `governance\u002Fbaselines\u002Fperformance-baseline.json` (append-only contract):\nset `measuredAt` = ISO-8601 timestamp, `gitSha` = current HEAD SHA.\nNever overwrite entries from a different git SHA in the same run — append new keys.\n\n## SLO Config Fallbacks\n\n| Field | Default | Source |\n|-------|---------|--------|\n| `p50_ms` | 100 | QualityConfig.performance.slo.\u003Cstack>.p50Ms |\n| `p95_ms` | 500 | QualityConfig.performance.slo.\u003Cstack>.p95Ms |\n| `p99_ms` | 1000 | QualityConfig.performance.slo.\u003Cstack>.p99Ms |\n| `baseline-tolerance-pct` | 10 | QualityConfig.performance.baselineTolerancePct |\n\n## Tooling Version Pinning\n\n| Tool | Minimum Version | Container image |\n|------|----------------|----------------|\n| Newman | 6.0 | `postman\u002Fnewman:6` |\n| ghz | 0.120 | `ghz:0.120` |\n| hyperfine | 1.18 | `hyperfine:1.18` |\n| Artillery | 2.0 | `artilleryio\u002Fartillery:2` |\n\nSmoke tests use containers (`--platform=linux\u002Famd64`) — no local binary installation required.\n\n## Error Handling\n\n| Condition | Action |\n|-----------|--------|\n| `quality.performance.enabled=false` | Exit 50 silently |\n| No SLO declared | WARN + smoke-only + exit 0 |\n| Tool not on PATH and Docker unavailable | Exit 2 TOOL_NOT_FOUND with install instructions |\n| Baseline file absent (first run) | WARN + record measurement; exit 0 |\n| Regression detected | Exit 1 PERF_REGRESSION_DETECTED with per-endpoint detail |\n| p95 exceeds absolute SLO | Append SLO_VIOLATION to report (non-blocking by default) |\n\n## Integration Notes\n\n| Component | Relationship |\n|-----------|-------------|\n| `QualityConfig.performance` | Reads enabled, baselineTolerancePct, slo.* |\n| `governance\u002Fbaselines\u002Fperformance-baseline.json` | Read for comparison; written with `--update-baseline` |\n| `x-implement-story` Phase 3 | Invokes this skill as MANDATORY conditional (story-0072-0008) |\n| `audit-performance-baseline.sh` | Camada 2 CI gate verifying baseline schema (story-0072-0005) |\n| KP `performance-rest` \u002F `performance-grpc` \u002F `performance-cli` \u002F `performance-graphql` \u002F `performance-socket` | Stack-specific tooling reference |\n\n## Review Checklist\n\n- [ ] SLOs read from QualityConfig.performance.slo.*\n- [ ] Stack correctly auto-detected from project interfaces\n- [ ] Newman dispatched for REST; ghz for gRPC; hyperfine for CLI; Artillery for GraphQL\n- [ ] Baseline comparison uses configurable tolerance-pct\n- [ ] Report contains no absolute paths, hostnames, or credentials\n- [ ] Exit 1 on regression; exit 0 on smoke-only or no-SLO\n- [ ] Baseline update gated by explicit `--update-baseline` flag\n- [ ] Docker container fallback documented in KP per stack\n","## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n# Skill: x-execute-performance-tests\n\nStack-aware CI performance gate. Reads `QualityConfig.performance` from the project YAML,\ndispatches to the correct load-testing tool per stack, compares p50\u002Fp95\u002Fp99 results\nagainst `governance\u002Fbaselines\u002Fperformance-baseline.json`, and exits non-zero when\nregression exceeds `baseline-tolerance-pct`.\n\n## Triggers\n\n- `\u002Fx-execute-performance-tests story-0072-0002` — auto-detects stack from `interfaces[]`\n- `\u002Fx-execute-performance-tests story-0072-0002 --stack rest` — force REST dispatch\n- `\u002Fx-execute-performance-tests story-0072-0002 --stack grpc` — force gRPC dispatch\n- `\u002Fx-execute-performance-tests story-0072-0002 --update-baseline` — write new baseline (explicit opt-in)\n- `\u002Fx-execute-performance-tests story-0072-0002 --smoke-only` — run smoke test, skip SLO comparison\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `STORY-ID` | String | Yes | — | story-XXXX-YYYY for report path resolution |\n| `--stack` | Enum | No | auto-detect | Override stack: `rest`, `grpc`, `cli`, `graphql`, `socket` |\n| `--update-baseline` | Flag | No | false | Write new baseline after successful run |\n| `--smoke-only` | Flag | No | false | Execute smoke only; skip SLO comparison and baseline check |\n\n## Exit Codes\n\n| Exit | Code | Meaning |\n|------|------|---------|\n| 0 | `SUCCESS` | All SLO checks passed (or smoke-only) |\n| 1 | `PERF_REGRESSION_DETECTED` | p95 or p99 exceeds baseline + tolerance |\n| 2 | `TOOL_NOT_FOUND` | Required load-testing tool not on PATH or container unreachable |\n| 3 | `NO_SLO_DECLARED` | `quality.performance.enabled=true` but no SLO block found — exits 0 with WARN |\n| 4 | `BASELINE_NOT_FOUND` | Baseline file absent; runs measurement only (no comparison) |\n| 50 | `PERF_DISABLED` | `quality.performance.enabled=false`; skill exits 0 silently |\n\n## Activation Condition\n\n`quality.performance.enabled=true` must be set in the project YAML.\nExit `50 PERF_DISABLED` immediately when `enabled=false`.\n\n## Stack Dispatch Matrix\n\n| Stack | Condition | Tool | Container image |\n|-------|-----------|------|----------------|\n| `rest` | `interfaces[].type = rest` | Newman ≥ 6.0 | `postman\u002Fnewman:6` |\n| `grpc` | `interfaces[].type = grpc` | ghz ≥ 0.120 | `ghz:0.120` |\n| `cli` | `architecture.style = library` or `interfaces[].type = cli` | hyperfine ≥ 1.18 | `hyperfine:1.18` |\n| `graphql` | `interfaces[].type = graphql` | Artillery ≥ 2.0 | `artilleryio\u002Fartillery:2` |\n| `socket` | `interfaces[].type = tcp-custom` or `websocket` | custom harness | see KP `performance-socket` |\n\nAuto-detection priority: `grpc > rest > graphql > socket > cli`.\nWhen multiple stacks are active, dispatch once per detected stack; report is merged.\n\n## Workflow\n\n### Step 1 — Read Config\n\nRead `quality.performance.*` from the project YAML (via QualityConfig record):\n\n```\nenabled            → if false: exit 50 PERF_DISABLED (silent)\nbaseline-tolerance-pct  → regression threshold (default 10)\nslo.\u003Cstack>.p50_ms\nslo.\u003Cstack>.p95_ms\nslo.\u003Cstack>.p99_ms\n```\n\nWhen `slo.\u003Cstack>` block is absent: emit `WARN no SLO declared — running smoke only`\nand set `--smoke-only=true` implicitly. **Exit 0** (non-blocking smoke).\n\n### Step 2 — Detect Stack\n\nIf `--stack` flag provided, use it directly.\nOtherwise, read `interfaces[].type` and `architecture.style` from project YAML.\nApply dispatch priority from the matrix above.\n\n### Step 3 — Tool Availability Check\n\nFor each detected stack, verify the tool is available:\n\n```bash\n# REST\ndocker run --rm postman\u002Fnewman:6 --version 2>\u002Fdev\u002Fnull || { echo \"TOOL_NOT_FOUND: newman\"; exit 2; }\n\n# gRPC\ndocker run --rm ghz:0.120 --version 2>\u002Fdev\u002Fnull || { echo \"TOOL_NOT_FOUND: ghz\"; exit 2; }\n\n# CLI\ndocker run --rm hyperfine:1.18 --version 2>\u002Fdev\u002Fnull || { echo \"TOOL_NOT_FOUND: hyperfine\"; exit 2; }\n\n# GraphQL\ndocker run --rm artilleryio\u002Fartillery:2 --version 2>\u002Fdev\u002Fnull || { echo \"TOOL_NOT_FOUND: artillery\"; exit 2; }\n```\n\nRead the KP for the detected stack for container image + command reference.\n\n### Step 4 — Run Load Test\n\nDispatch to the tool. Collect p50\u002Fp95\u002Fp99 per endpoint\u002Fmethod\u002Fcommand.\n\n**REST (Newman):**\n```bash\ndocker run --rm -v \"$PWD\":\u002Fworkspace postman\u002Fnewman:6 run \\\n  \u002Fworkspace\u002Fperformance\u002Fcollection.json \\\n  --reporters json \\\n  --reporter-json-export \u002Fworkspace\u002F.perf-results.json\n```\n\n**gRPC (ghz):**\n```bash\ndocker run --rm -v \"$PWD\":\u002Fworkspace ghz:0.120 \\\n  --proto \u002Fworkspace\u002Fproto\u002Fservice.proto \\\n  --call \u003Cservice>.\u003Cmethod> \\\n  --duration 30s --rps 50 \\\n  --output json > .perf-results.json\n```\n\n**CLI (hyperfine):**\n```bash\ndocker run --rm -v \"$PWD\":\u002Fworkspace hyperfine:1.18 \\\n  --export-json \u002Fworkspace\u002F.perf-results.json \\\n  --runs 100 \\\n  '\u003Ccommand>'\n```\n\n**GraphQL (Artillery):**\n```bash\ndocker run --rm -v \"$PWD\":\u002Fworkspace artilleryio\u002Fartillery:2 run \\\n  --output \u002Fworkspace\u002F.perf-results.json \\\n  \u002Fworkspace\u002Fperformance\u002Fartillery.yml\n```\n\n**Socket:** See KP `performance-socket` for custom harness commands.\n\n### Step 5 — Parse Results\n\nExtract p50\u002Fp95\u002Fp99 from `.perf-results.json` for each endpoint\u002Fmethod\u002Fcommand.\nNormalize all values to milliseconds. Build internal result map:\n\n```\n{ \"\u003Cendpoint>\": { \"p50Ms\": N, \"p95Ms\": N, \"p99Ms\": N, \"throughputRps\": N } }\n```\n\n### Step 6 — Baseline Comparison (skip when --smoke-only or baseline absent)\n\nRead `governance\u002Fbaselines\u002Fperformance-baseline.json`. If absent: emit\n`WARN baseline not found — recording initial measurement` and proceed to Step 8.\n\nFor each endpoint, compute delta vs baseline:\n\n```\ndeltaP95Pct = ((current.p95Ms - baseline.p95Ms) \u002F baseline.p95Ms) * 100\ndeltaP99Pct = ((current.p99Ms - baseline.p99Ms) \u002F baseline.p99Ms) * 100\n```\n\nWhen `deltaP95Pct > baseline-tolerance-pct` OR `deltaP99Pct > baseline-tolerance-pct`:\nmark endpoint as `REGRESSION` → set `exitCode = 1 PERF_REGRESSION_DETECTED`.\n\nWhen current p95 > `slo.\u003Cstack>.p95_ms` (absolute SLO): mark endpoint as `SLO_VIOLATION`.\n\n### Step 7 — Write Report\n\nWrite `ai\u002Fepics\u002Fepic-XXXX\u002Freports\u002Fperf-report-STORY-ID.md` (sanitized — no absolute paths,\nhostnames, IP addresses, or credentials):\n\n```markdown\n# Performance Report — STORY-ID\n\n## Summary\n- Stack: \u003Cstack>\n- Tool: \u003Ctool> \u003Cversion>\n- Status: PASS | FAIL\n- SLO compliance: N\u002FM endpoints pass\n- Regression count: N\n\n## Results per Endpoint\n\n| Endpoint | p50 ms | p95 ms | p99 ms | Baseline p95 | Delta % | Verdict |\n|----------|--------|--------|--------|-------------|---------|---------|\n| ...      | ...    | ...    | ...    | ...         | ...     | PASS\u002FFAIL |\n\n## Baseline Comparison\n\n| Threshold | Value | Exceeded |\n|-----------|-------|----------|\n| tolerance-pct | N% | Yes\u002FNo |\n\n## Tooling\n\n- Tool: \u003Cname> \u003Cversion>\n- Container: \u003Cimage>\n- Command: \u003Csanitized command>\n```\n\n### Step 8 — Update Baseline (only with --update-baseline)\n\nWrite new entries to `governance\u002Fbaselines\u002Fperformance-baseline.json` (append-only contract):\nset `measuredAt` = ISO-8601 timestamp, `gitSha` = current HEAD SHA.\nNever overwrite entries from a different git SHA in the same run — append new keys.\n\n## SLO Config Fallbacks\n\n| Field | Default | Source |\n|-------|---------|--------|\n| `p50_ms` | 100 | QualityConfig.performance.slo.\u003Cstack>.p50Ms |\n| `p95_ms` | 500 | QualityConfig.performance.slo.\u003Cstack>.p95Ms |\n| `p99_ms` | 1000 | QualityConfig.performance.slo.\u003Cstack>.p99Ms |\n| `baseline-tolerance-pct` | 10 | QualityConfig.performance.baselineTolerancePct |\n\n## Tooling Version Pinning\n\n| Tool | Minimum Version | Container image |\n|------|----------------|----------------|\n| Newman | 6.0 | `postman\u002Fnewman:6` |\n| ghz | 0.120 | `ghz:0.120` |\n| hyperfine | 1.18 | `hyperfine:1.18` |\n| Artillery | 2.0 | `artilleryio\u002Fartillery:2` |\n\nSmoke tests use containers (`--platform=linux\u002Famd64`) — no local binary installation required.\n\n## Error Handling\n\n| Condition | Action |\n|-----------|--------|\n| `quality.performance.enabled=false` | Exit 50 silently |\n| No SLO declared | WARN + smoke-only + exit 0 |\n| Tool not on PATH and Docker unavailable | Exit 2 TOOL_NOT_FOUND with install instructions |\n| Baseline file absent (first run) | WARN + record measurement; exit 0 |\n| Regression detected | Exit 1 PERF_REGRESSION_DETECTED with per-endpoint detail |\n| p95 exceeds absolute SLO | Append SLO_VIOLATION to report (non-blocking by default) |\n\n## Integration Notes\n\n| Component | Relationship |\n|-----------|-------------|\n| `QualityConfig.performance` | Reads enabled, baselineTolerancePct, slo.* |\n| `governance\u002Fbaselines\u002Fperformance-baseline.json` | Read for comparison; written with `--update-baseline` |\n| `x-implement-story` Phase 3 | Invokes this skill as MANDATORY conditional (story-0072-0008) |\n| `audit-performance-baseline.sh` | Camada 2 CI gate verifying baseline schema (story-0072-0005) |\n| KP `performance-rest` \u002F `performance-grpc` \u002F `performance-cli` \u002F `performance-graphql` \u002F `performance-socket` | Stack-specific tooling reference |\n\n## Review Checklist\n\n- [ ] SLOs read from QualityConfig.performance.slo.*\n- [ ] Stack correctly auto-detected from project interfaces\n- [ ] Newman dispatched for REST; ghz for gRPC; hyperfine for CLI; Artillery for GraphQL\n- [ ] Baseline comparison uses configurable tolerance-pct\n- [ ] Report contains no absolute paths, hostnames, or credentials\n- [ ] Exit 1 on regression; exit 0 on smoke-only or no-SLO\n- [ ] Baseline update gated by explicit `--update-baseline` flag\n- [ ] Docker container fallback documented in KP per stack\n",{"name":5,"model":24,"visibility":25,"description":7,"requires-any":26,"allowed-tools":32,"argument-hint":33,"user-invocable":34,"requires-capabilities":35},"sonnet","public",[27,28,29,30,31],"quality.performance.rest","quality.performance.grpc","quality.performance.cli","quality.performance.graphql","quality.performance.socket","Read, Write, Edit, Bash, Grep, Glob","\u003CSTORY-ID> [--stack rest|grpc|cli|graphql|socket] [--update-baseline] [--smoke-only]",true,[],"main","952a630c6f38d193a349d86fa18db1de8843e837","src\u002Fmain\u002Fresources\u002Ftargets\u002Fclaude\u002Fskills\u002Fconditional\u002Ftest\u002Fx-execute-performance-tests",1,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment","https:\u002F\u002Fgithub.com\u002Freview-bench","https:\u002F\u002Freview-bench.ai","An open benchmark for AI code review.","2026-10-27 06:56:37",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":34},[47,50,53],{"tool":48,"command":49},"npx","npx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-execute-performance-tests",{"tool":51,"command":52},"bunx","bunx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-execute-performance-tests",{"tool":54,"command":55},"pnpm","pnpm dlx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-execute-performance-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Fmain\u002Fresources\u002Ftargets\u002Fclaude\u002Fskills\u002Fconditional\u002Ftest\u002Fx-execute-performance-tests\u002FSKILL.md",[],[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M757M8J48TQ1Y3X25GSJBXAS","x-parallel-eval","Detects and classifies file-collision risks between work units (tasks, stories, or epic phases) before parallel execution. Reads ## File Footprint blocks produced by x-task-plan \u002F x-story-plan, applies the parallelism-heuristics knowledge pack (hard \u002F regen \u002F soft categories + hotspot overrides), and emits a collision matrix + serialization recommendation in Markdown (default) or JSON.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fx-parallel-eval\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M757M57XMR9546S69466HDWT","parallelism-heuristics","Canonical catalog of file-collision heuristics for parallel task, story, and epic execution. Defines the File Footprint block format, the three Conflict Categories (hard \u002F regen \u002F soft), a hotspot list of high-contention paths, and the degrade-with-warning policy. Consumed by x-task-plan, x-story-plan, x-epic-map, x-parallel-eval, and x-dev-*-implement.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fparallelism-heuristics\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M757M11SZ8P1VCQABT08QVYA","x-watch-pr-ci","Polls a PR's CI checks and Copilot review status, blocking until checks complete or timeout. Returns one of 8 stable exit codes (SUCCESS=0, CI_PENDING_PROCEED=10, CI_FAILED=20, TIMEOUT=30, PR_ALREADY_MERGED=40, NO_CI_CONFIGURED=50, PR_CLOSED=60, PR_NOT_FOUND=70). Writes a versioned state-file for session resume.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-watch-pr-ci\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M757KW53K8KFPGADFB4PH949","x-validate-docs","Documentation freshness gate: validates 6 dimensions (readme, api-specs, grpc-proto, adr, skill-docs, system-architecture) against code changes in a PR. Stack-aware — only validates targets declared\u002Fauto-detected from ProjectConfig.documentation.targets. Returns exit non-zero on staleness; produces structured report.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-validate-docs\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M757KQZHSA10MKC0CR571D60","x-update-system-architecture","Incrementally updates docs\u002Farchitecture\u002Fsystem.md after an epic completes. Appends new entries to the Decision Log (§11) using x-internal-write-report --append (dedup by ## ID: marker) and surgically inserts component\u002Fintegration changes into sections 1-10 via Edit. Idempotent: re-running with the same epic produces a byte-identical system.md.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-system-architecture\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M757KKBT5Q1SVF8DMJBVF46M","x-update-architecture","Incrementally updates the service architecture document with changes from architecture plans. Adds new components, integrations, flows, and ADR references without rewriting existing content. Use after implementation to keep architecture documentation current.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-architecture\u002FSKILL.md",[],[]]