一键导入
generate-unit-tests
Generate a comprehensive unit test suite for the selected code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a comprehensive unit test suite for the selected code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deploys and manages the mint-pet-confirm Supabase Edge Function in HyperCode-V2.4. Use when deploying, updating, debugging, or verifying the pet minting confirmation flow on Base Sepolia.
HyperCode V2.4 Trivy CVE scanning — Phase 8 PR gate, Phase 9 hardening pattern (apt + pip pinning), weekly fleet scan, baseline of 13 HIGH (all Debian-unfixable). Use when the user says "trivy scan", "CVE check", "scan agents", "Phase 9 hardening", "build secure", "security pipeline", or wants to vet a new Dockerfile.
Running, rebuilding, debugging, and inspecting the HyperCode V2.4 29-container Docker stack — compose ops, network topology (frontend-net/backend-net/agents-net/data-net/obs-net), agent ports (127.0.0.1:), health checks, log tailing, and the network-migrate script. Use when the user says "containers down", "compose up", "rebuild agents", "agent X not healthy", "redis/postgres connection", "network isolation", or hits any Docker stack issue.
HyperCode V2.4 Phase 10N OTLP distributed tracing — OpenTelemetry → Tempo → Grafana. View traces, debug missing spans, the OTLP_EXPORTER_DISABLED flag. Use when the user says "tracing", "Tempo", "OTel", "OTLP", "traces missing", "view a request flow", "Grafana traces", or "Phase 10N".
HyperCode V2.4 Phase 10 status board (10A FastAPI/starlette → 10N OTLP tracing) — what shipped, what's next, where each phase lives. Use when the user asks "what phase are we on", "phase 10X status", "what's next after 10K", "is 10F live", or wants to plan/extend a Phase 10 mission.
HyperCode V2.4 Stripe Checkout + webhook flow — Phase 10F (API), 10G (DB writes), 10I (e2e), 10K (price IDs locked). Routes, prices, webhook events, signature verification, rate-limit exemption. Use when the user says "stripe", "checkout", "webhook failing", "subscription event", "price ID", "10F/10G/10I", or hits any payment-related issue.
| name | generate-unit-tests |
| description | Generate a comprehensive unit test suite for the selected code. |
This skill analyzes the currently selected code and generates a comprehensive unit test suite using the project's testing framework (Jest or Vitest).
describe blocks.Example input (user intent)
Generate unit tests for this calculateTotal function.
Example output (high level)
calculateTotal.test.ts file using Vitest.