Agent Skills
Skills that teach Claude Code to use Apex Stem correctly on the first try. The documentation explains things to people; these files tell an agent to write against the real API rather than whatever it remembers.
How to use
The quickest route is to let the agent read it and keep it.
https://krileworks.com/agent-skills/apex-eloquent.md Read this and keep it for laterPut it under .claude/skills/ and it loads automatically when the matching keywords come up.
mkdir -p .claude/skills/apex-eloquent curl -o .claude/skills/apex-eloquent/SKILL.md \ https://krileworks.com/agent-skills/apex-eloquent.md📄 These skills are written in Japanese, and coding agents read them without trouble. Note that they also prescribe Japanese conventions — test descriptions are written as Trace.of('正常系: …'), and log messages name the business operation in Japanese. Keep them as-is for consistency with the framework's own tests, or swap those labels for your own once you have decided on them. The English documentation explains the same ground rules in English.
⚠️ ApexEloquent versions differ between projects. The skill carries a version differences table, so check your installed tag first (git -C <submodule> describe --tags).
apex-eloquent
Scribe でのクエリ組み立て、IEloquent による SOQL/DML の DI、IEntry / MockEntry の使い方。v1〜v3 のバージョン差分早見付き。
Scribe.of.whereEqual().ignoreWhen()MockEloquentIEntryapex-blueprint
結合テストのデータを「最終状態の宣言」として組む。SBlueprint / SOrchestrator と、親子・量産・共有の表現。
SBlueprint.ofSOrchestrator.start.alias().times()apex-trace
Usecase のライフサイクルログと、テストでの経路検証。TraceUsage によるガバナ消費の上限アサート。
Trace.oft.skipTraceFlow.isLastFinishusageOfapex-tools
TriggerHandler 基底クラスの 7 フックと変更検知ヘルパー、DI 可能な HTTP コールアウトラッパー。
extends TriggerHandlerIHttpRequestHandlerMockResponse.ofapex-lwc-result
LWC / Flow 経由で呼ばれる Usecase が返す Result DTO の規約 (isSuccess / message / data)。
@AuraEnabledUsecaseExceptioninner class Resultapex-access-mode
sharing × FLS/CRUD の実行モード判断、user-mode 既定化への移行、runAs による監査テスト戦略。
systemModeuserModewithout sharingrunAsThese are the skills used in real work, published as-is with client details removed. For the full documentation in one file, see llms-full.txt.