本文へ移動
cccskills
無料GitHub で公開

quality-engineering-api-performance-testing

Specify tool-neutral API load, stress, and recovery testing with parameterized workload models, SLO percentiles, and finite overload bounds. Use when evaluating API latency, throughput, saturation, or recovery behavior under concurrent traffic.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standardスター 582(GitHub 582 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(5)

  • SKILL.md5.1 KB
  • evals/evals.json3.4 KB
  • references/driver-execution.md10.1 KB
  • references/overload-and-recovery.md9.6 KB
  • references/workload-modeling.md5.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

API Performance, Load, and Recovery Testing

Priority: P1 (HIGH)

Workflow

  1. Parameterize Workload: Source arrival rate vs concurrency, request mix, duration, and SLO percentiles from approved requirements/SLOs. Missing approvals block execution, not offline planning.
  2. Preflight & Bound (C4): Verify explicit target authorization and synthetic isolation. Enforce distinct finite ceilings, each with its own unit — maxArrivalRateRps, maxInFlightRequests/maxConcurrency, maxPayloadBytes, duration — plus cancellation hooks and continuous stop tripwires. A rate ceiling is not a concurrency bound.
  3. Establish Phase-Specific Baseline: Exclude warmup. Measure baseline throughput, success latency, error latency ($p50, p95, p99$), and baseline error budget.
  4. Evaluate Overload & Degradation: Apply stepped ramp up to authorized stress cap. Distinguish expected shedding (e.g. 429/503) from unexpected system faults; abort if tripwires fire.
  5. Verify Post-Overload Recovery: Drop traffic to baseline/zero. In a dedicated post-stress window, verify return to baseline latency, error budget restabilization, and resource release against approved recovery SLO.
  6. Capture Evidence (C3): Emit complete C2 scenario and C3 evidence records; record unexecuted runs as BLOCKED/NOT RUN with explicit missing prerequisites.

Workload Specification (AC-11)

  • Model Selection: Select open model (constant arrival rate) for uncoordinated/public traffic; closed model (virtual users) for coordinated/batch workers.
  • Request Mix: Proportions of endpoints, read/write ratio, and data variance parameterized from production profiles or approved requirements.
  • Warmup & Measurement: Explicit warmup window (metrics discarded from SLOs) preceding steady-state observation.
  • SLO Metrics (Success & Error): Record both successful and error response latencies ($p50, p95, p99$), throughput (RPS), error budget, and resource saturation.
  • Approval Gate: Operational targets must originate from approved specifications. If unapproved, mark execution BLOCKED: Missing approved SLO threshold for <metric>; continue offline planning. Numeric examples in references are synthetic fixture contracts only.

Overload, Tripwires, and Recovery (AC-12)

  • Ramp & Bounds: Define stepped ramp with finite duration, arrival-rate, in-flight concurrency and payload ceilings, plus explicit abort signals (C4). Each ceiling is checked and reported separately; an approved rate without an approved in-flight ceiling keeps execution BLOCKED.
  • Continuous Tripwires: Abort immediately if unexpected faults (e.g. unhandled 5xx, socket drops) or critical saturation breach approved safety limits.
  • Phase-Specific Oracles:
    • Overload Phase: Expected shedding (429/503 with Retry-After) does not fail the run; unexpected 5xx crashes and hangs fail.
    • Recovery Phase: Post-stress observation window evaluates return to baseline latency, error budget reset, and queue/connection release against approved recovery SLO. Merely observing 503 shedding is not a pass.

Tool-Neutral Execution & Readiness

  • Core procedures are runner-agnostic. Check for installed drivers (e.g. k6, autocannon).
  • Execution Readiness: Driver presence alone does not authorize execution. Unless the harness supports target authorization, continuous tripwire aborts, phase separation, and post-load recovery observation, mark execution as BLOCKED: Missing execution safety/recovery controls.

Anti-Patterns

  • No unapproved numeric defaults: Never invent universal latencies, error percentages, tripwires, or recovery windows.
  • No whole-run error pooling: Do not fail healthy overload shedding against steady-state error budgets.
  • No success-only latency filtering: Record both success and error response latencies.
  • No unverified recovery: Rejection status codes under peak load do not prove post-load recovery.
  • No unauthorized execution: Missing target authorization or safety controls blocks live execution.

References

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5822026年10月28日 更新

Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their specific skills.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5822026年10月28日 更新

Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5822026年10月28日 更新

Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5822026年10月28日 更新

Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5822026年10月28日 更新

Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test recipes to their specific skills.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5822026年10月28日 更新

HoangNguyen0403 のスキルをすべて見る

このスキルの問題を報告する