Articles

|

Teach your AI coding agent how Directus works

We’ve released the Agent Skills bundle for Directus: twelve skills that teach your AI coding agent how Directus actually works.

Bryant Gillespie

Staff Product Engineer

We’ve released the official Agent Skills bundle for Directus: twelve skills that teach your AI coding agent how Directus works.

AI coding agents are good at writing code, but they sometimes guess when it comes to a specific platform. With Directus, that could mean filters with the wrong syntax, permissions that look right but leak data, flows that never fire, or schemas that ignore conventions your team relies on. The agent may sound confident either way, but this would be far from ideal.

Agent Skills is here to help prevent that. They follow the open Agent Skills standard, so work with models like Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot and any other agent that supports it. Install the skills once and your agent knows its way around Directus better going forwards.

Twelve skills, one for each kind of Directus work

Each skill covers one area, so the agent loads only what the task in front of it needs.

Skill

Use it for

directus

Working with a running instance: REST and GraphQL queries, filters, auth, files, realtime, content versions, and the MCP server

directus-content

Editing content as an editor would: pages, page builder blocks, translations, drafts, publishing, and images

directus-content-modeling

Designing schemas: collections, fields, relationships, page builders, translations, indexes, existing databases, and starters

directus-access-control

Roles, policies, permissions, the public policy, multi-tenancy, licensing limits, and testing access

directus-flows

Automating with Flows: triggers, the data chain, operations, utility flows, loops, and debugging

directus-insights

Building Insights dashboards: panels, variables, layout, and who can see them

directus-sdk

Using @directus/sdk: client setup, auth modes on the server and in the browser, counts, and headers

directus-visual-editing

Wiring a site to Live Preview and the Visual Editor with @directus/visual-editing

directus-extensions

Building extensions: choosing a type, scaffolding, app and API extension APIs, sandboxing, and publishing

directus-environment-sync

Moving schema and configuration between instances with Environment Sync and the Directus CLI (d6s)

directus-self-hosting

Deploying and running Directus: Docker Compose, configuration, storage, email, scaling, and backups

directus-upgrade

Upgrading a project across versions, with the breaking changes and how to find affected code

How a skill works: a short router, depth on demand

Each skill is split in two:

  • SKILL.md sets the scope, lists the first things to check, names the critical traps, and says which reference to load.

  • references/ holds the depth, and the agent loads a file only when the task calls for it.

The traps are the heart of it. They're the mistakes an agent would otherwise make with confidence: the auth mode that works in Node but not the browser, the permission that stacks in a way you didn't expect or the operation that doesn't exist on the version you're running.

Use Skills with MCP

Skills work with any way your agent talks to Directus, but they pair best with MCP:

  • Connect the Directus MCP server so your agent can read your schema and make changes on your instance.

  • Connect the Docs MCP server so your agent can search this documentation when a skill doesn't cover a topic. The Claude Code plugin connects this server for you.


View Install Instructions in our Docs

Ready to move faster?

30 minutes with a product specialist. See how Directus fits your stack.