For coding agents

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

Hand it the URL

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 later
Keep it locally

Put 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).

ApexEloquent

apex-eloquent

Scribe でのクエリ組み立て、IEloquent による SOQL/DML の DI、IEntry / MockEntry の使い方。v1〜v3 のバージョン差分早見付き。

Triggers on
Scribe.of.whereEqual().ignoreWhen()MockEloquentIEntry
ApexBlueprint

apex-blueprint

結合テストのデータを「最終状態の宣言」として組む。SBlueprint / SOrchestrator と、親子・量産・共有の表現。

Triggers on
SBlueprint.ofSOrchestrator.start.alias().times()
ApexTrace

apex-trace

Usecase のライフサイクルログと、テストでの経路検証。TraceUsage によるガバナ消費の上限アサート。

Triggers on
Trace.oft.skipTraceFlow.isLastFinishusageOf
ApexTools

apex-tools

TriggerHandler 基底クラスの 7 フックと変更検知ヘルパー、DI 可能な HTTP コールアウトラッパー。

Triggers on
extends TriggerHandlerIHttpRequestHandlerMockResponse.of
規約

apex-lwc-result

LWC / Flow 経由で呼ばれる Usecase が返す Result DTO の規約 (isSuccess / message / data)。

Triggers on
@AuraEnabledUsecaseExceptioninner class Result
実行モード

apex-access-mode

sharing × FLS/CRUD の実行モード判断、user-mode 既定化への移行、runAs による監査テスト戦略。

Triggers on
systemModeuserModewithout sharingrunAs

These 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.