测试与 QA
测试、调试、验证和质量工作流
Skills 列表

platform-apex-test-generate
生成并验证使用 TestDataFactory 模式、批量测试(251+ 条记录)、模拟策略、断言最佳实践以及规范的测试-修复循环的 Apex 测试类。在创建新的 Apex 测试类、提高测试覆盖率、调试和修复失败的 Apex 测试、运行测试执行和覆盖率分析,或为触发器、服务、控制器、批处理作业、队列和集成实现测试模式时使用此技能。触发条件:*Test.cls、*_Test.cls 文件、sf apex run test 工作流、覆盖率报告、测试-修复循环。不要为生产 Apex 代码(使用 platform-apex-generate)或 Jest/LWC 测试触发。
forcedotcom
platform-apex-test-run
Apex 测试执行、覆盖率分析和测试修复循环,采用 120 分评分制。当用户需要运行 Apex 测试、检查代码覆盖率、修复失败的测试或处理 *Test.cls / *_Test.cls 文件时使用。触发条件:用户运行 Apex 测试、检查代码覆盖率、修复失败的测试或接触 *Test.cls / *_Test.cls 文件。不触发条件:编写 Apex 生产代码(使用 platform-apex-generate)、Agentforce 代理测试(使用 agentforce-test)或 Jest/LWC 测试(使用 experience-lwc-generate)。
forcedotcom
debugging-apex-logs
Salesforce 调试日志分析与故障排除,采用100分评分机制。触发条件:用户分析调试日志、遇到调控器限制、读取堆栈跟踪或处理来自Salesforce组织的.log文件。不触发条件:运行Apex测试(请使用running-apex-tests)、生成或修复Apex代码(请使用generating-apex)、或Agentforce会话追踪(请使用observing-agentforce)。
forcedotcom
generating-apex-test
使用 TestDataFactory 模式、批量测试(251+ 条记录)、模拟策略、断言最佳实践以及严格的测试-修复循环,生成并验证 Apex 测试类。在创建新的 Apex 测试类、提高测试覆盖率、调试和修复失败的 Apex 测试、执行测试运行和覆盖率分析,或为触发器、服务、控制器、批处理作业、可排队作业和集成实现测试模式时使用此技能。触发条件:*Test.cls、*_Test.cls 文件、sf apex run test 工作流、覆盖率报告、测试-修复循环。不要为生产 Apex 代码(使用 generating-apex)或 Jest/LWC 测试触发。
forcedotcom
new-terraform-provider
在搭建新的 Terraform Provider 时使用此技能。
hashicorp
verify
Run a comprehensive 7-phase verification pipeline for .NET projects: build, analyzers, antipattern detection, tests, security, formatting, and diff review. Each phase produces PASS/FAIL with actionable output and the pipeline short-circuits on critical failures. Also the authority on verification strategy: which phases to run for a given change, quality gates, and fix-and-retry loops. Use when: "verify", "check everything", "is this ready", "pre-PR check", "run all checks", "quality gate", "verification strategy", "which checks should run", or after completing a feature or refactor.
codewithmukesh
tdd
Guided test-driven development workflow for .NET 10 using xUnit v3, WebApplicationFactory, Testcontainers, and Verify snapshots. Follows the strict red-green-refactor cycle. Use when: "TDD", "test-driven", "let's TDD this", "red green refactor", "write the test first", or when building a feature with clear acceptance criteria.
codewithmukesh
checkpoint
Mid-session save point: create a descriptive git commit and a brief handoff note, then keep working. Use before a risky change or refactor, when switching tasks, or to bank progress without ending the session. Triggers on: /checkpoint, "checkpoint", "save progress", "commit and handoff", "save state", "pause here", "before a risky change". For the full end-of-session ritual with learning extraction, use /wrap-up instead.
codewithmukesh
testing
Testing strategy for .NET 10 applications. Covers xUnit v3, WebApplicationFactory for integration tests, Testcontainers for real database testing, Verify for snapshot testing, and the AAA pattern. Load this skill when writing tests, setting up test infrastructure, reviewing test coverage, or when the user mentions "test", "xUnit", "WebApplicationFactory", "Testcontainers", "integration test", "unit test", "bUnit", "snapshot test", "Verify", "test coverage", "AAA pattern", "WireMock", or "FakeTimeProvider".
codewithmukesh
project-structure
.NET solution and project structure conventions. Covers .slnx format, Directory.Build.props, Directory.Packages.props for central package management, global usings, and naming conventions. Load this skill when setting up a new solution, adding projects, configuring build properties, or when the user mentions "solution structure", ".slnx", "Directory.Build.props", "central package management", "Directory.Packages.props", "global usings", ".editorconfig", "project layout", or "naming conventions".
codewithmukesh
de-sloppify
Systematic code cleanup pipeline for .NET projects. Runs 7 ordered steps: formatting, unused usings, analyzer warnings, dead code removal, TODO resolution, sealed class audit, and CancellationToken propagation. Each step is verified independently with tests between phases. Load this skill when: "clean up", "de-sloppify", "tidy up", "remove dead code", "code cleanup", "housekeeping", "tech debt", "fix warnings", "seal classes", "add CancellationToken", "unused usings", "format code".
codewithmukesh
configuration
Configuration patterns for .NET 10 applications. Covers the Options pattern, IOptionsSnapshot vs IOptions, secrets management, and environment-based configuration. Load this skill when setting up application configuration, managing secrets, binding configuration sections, or when the user mentions "configuration", "appsettings", "Options pattern", "IOptions", "IOptionsSnapshot", "secrets", "user secrets", "environment variables", "connection string", or "config binding".
codewithmukesh
android-kotlin
Android Kotlin development with Coroutines, Jetpack Compose, Hilt, and MockK testing
alinaqi
playwright-testing
E2E testing with Playwright - Page Objects, cross-browser, CI/CD
alinaqi
code-review
Mandatory code reviews via /code-review before commits and deploys
alinaqi
playwright-testing
使用 Playwright 进行端到端测试 - 页面对象、跨浏览器、CI/CD
alinaqi
android-kotlin
Android Kotlin development with Coroutines, Jetpack Compose, Hilt, and MockK testing
alinaqi
ts-library
Use when authoring TypeScript libraries or npm packages - covers project setup, package.json exports, build tooling (tsdown/unbuild), API design patterns, type inference tricks, testing, and publishing to npm. Use when bundling, configuring dual CJS/ESM output, or setting up release workflows.
onmax
nuxt-modules
Use when creating Nuxt modules: (1) Published npm modules (@nuxtjs/, nuxt-), (2) Local project modules (modules/ directory), (3) Runtime extensions (components, composables, plugins), (4) Server extensions (API routes, middleware), (5) Releasing/publishing modules to npm, (6) Setting up CI/CD workflows for modules. Provides defineNuxtModule patterns, Kit utilities, hooks, E2E testing, and release automation.
onmax
amazon-fba-prep
Build a product-specific Amazon FBA prep, labeling, packing, and shipment-readiness plan. Use when a seller asks how to prepare units for FBA, choose barcode and labeling steps, plan poly-bagging, bubble wrap, sets, case packs, cartons, dangerous-goods review, supplier or prep-center instructions, or prevent receiving delays. Do not use as a substitute for current Seller Central requirements.
nexscope-ai
vitest
在编写Vite项目的单元/集成测试时使用 - 配置vitest.config.ts,使用describe/it编写测试套件,使用vi.fn和vi.mock创建模拟实现,设置代码覆盖率阈值,并并行运行测试
onmax
amazon-buy-box
Amazon Buy Box strategy and optimization framework. Eligibility factor analysis, competitive pricing strategies, FBA vs FBM impact assessment, seller performance optimization, and Buy Box winning tactics. Use when the user asks about Amazon Buy Box, winning Buy Box, Buy Box eligibility, or Buy Box optimization.
nexscope-ai
vue
Use when editing .vue files, creating Vue 3 components, writing composables, or testing Vue code - provides Composition API patterns, props/emits best practices, VueUse integration, and reactive destructuring guidance
onmax
amazon-search-optimization
Amazon search ranking optimization and A9 algorithm mastery. Comprehensive SEO strategy, indexing optimization, keyword ranking improvement, and search visibility enhancement. Use when the user asks about Amazon SEO, A9 algorithm, search ranking, or product discoverability.
nexscope-ai