Skip to content
Warlock.js v4

Skills

Every Warlock.js package ships per-task skill files — small Markdown documents that teach an AI coding agent how to perform one specific job inside that package: write a migration, register a route, pick a cache driver, define an AI tool.

When an agent works on Warlock code, it loads the relevant skill into its context and gets the same orientation a senior engineer would give in a code review: which identifiers matter, when to skip this skill for a sibling, common footguns, canonical imports.

Skills live alongside each package’s source at @warlock.js/<pkg>/skills/<task>/SKILL.md. The agent-kit CLI discovers them and syncs flat-named copies into .claude/skills/, .cursor/skills/, and any other AI-tool target.

Terminal window
yarn add -D @mongez/agent-kit
npx agent-kit sync

Skills appear in your AI tool as warlock-js-<pkg>-<skill> — for example, warlock-js-core-build-url or warlock-js-cascade-define-model.

Roughly 120 skills across the framework today:

PackageSkills
core33
cache16
cascade15
ai12
logger10
seal8
auth7
scheduler6
herald4
fs4
context2
Provider adapters1 each

Each skill’s full text is browsable in the GitHub repo. Their descriptions follow an enriched format (Triggers / Skip / typical import / competing patterns) so your agent’s skill matcher picks the right one fast.