跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Sf Testing

技能 已验证 活跃

Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. TRIGGER when: user runs Apex tests, checks code coverage, fixes failing tests, or touches *Test.cls / *_Test.cls files. DO NOT TRIGGER when: writing Apex production code (use sf-apex), Agentforce agent testing (use sf-ai-agentforce-testing), or Jest/LWC tests (use sf-lwc).

目的

To enable developers to efficiently execute Apex tests, analyze coverage, and automate the process of fixing failing tests and improving code quality.

功能

  • Execute Apex tests with detailed reporting
  • Analyze code coverage and identify gaps
  • Automate test-fix loops for failing tests
  • Provide guidance on Apex testing best practices
  • Score tests against production-grade criteria

使用场景

  • When running Apex unit tests and encountering failures
  • When needing to check code coverage for Apex classes
  • When improving the quality and reliability of Apex test suites
  • When aiming for higher Apex test coverage thresholds before deployment

非目标

  • Writing or refactoring Apex production code (use sf-apex)
  • Testing Agentforce agents (use sf-ai-agentforce-testing)
  • Testing LWC with Jest (use sf-lwc)

工作流

  1. Discover test scope
  2. Run the smallest useful test set
  3. Analyze results
  4. Run a disciplined fix loop
  5. Improve coverage intentionally

实践

  • Test execution
  • Coverage analysis
  • Test-fix loop
  • Testing best practices

先决条件

  • sf CLI v2
  • Target Salesforce org
  • Test classes in org or local project

安装

npx skills add jaganpro/sf-skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交17 days ago
星标409
许可证MIT
状态
查看源代码

类似扩展

Salesforce Developer

100

Writes and debugs Apex code, builds Lightning Web Components, optimizes SOQL queries, implements triggers, batch jobs, platform events, and integrations on the Salesforce platform. Use when developing Salesforce applications, customizing CRM workflows, managing governor limits, bulk processing, or setting up Salesforce DX and CI/CD pipelines.

技能
jeffallan

Openclaw Testing

100

Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.

技能
steipete

Crabbox

100

Use Crabbox for OpenClaw remote validation across Linux, macOS, Windows, and WSL2. Default to Blacksmith Testbox for broad Linux proof; includes direct Blacksmith and owned AWS/Hetzner fallback notes when Crabbox fails.

技能
steipete

Sf Data

99

Salesforce data operations with 130-point scoring. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, or needs data factory patterns for Apex tests. DO NOT TRIGGER when: SOQL query writing only (use sf-soql), Apex test execution (use sf-testing), or metadata deployment (use sf-deploy).

技能
jaganpro

Sf Integration

98

Salesforce integration architecture with 120-point scoring. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use sf-connected-apps), Apex-only logic (use sf-apex), or data import/export (use sf-data).

技能
jaganpro

Sf Industry Commoncore Callable Apex

98

Salesforce Industries Common Core (OmniStudio/Vlocity) Apex callable generation and review with 120-point scoring. TRIGGER when: user creates or reviews System.Callable classes, migrates `VlocityOpenInterface` / `VlocityOpenInterface2`, or builds Industries callable extensions used by OmniStudio, Integration Procedures, or DataRaptors. DO NOT TRIGGER when: generic Apex classes/triggers (use sf-apex), building Integration Procedures (use sf-industry-commoncore-integration-procedure), authoring OmniScripts (use sf-industry-commoncore-omniscript), configuring Data Mappers (use sf-industry-commoncore-datamapper), or analyzing namespace/dependency issues (use sf-industry-commoncore-omnistudio-analyze).

技能
jaganpro