Skip to main content
skill CX Codex

ag-dev — Claude Code skill: what it does, how to install

Prevents coding assistants from hallucinating outdated AG Grid, AG Charts, and AG Studio APIs by grounding solutions in installed package versions and documentation.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ag-grid/skills --skill ag-dev -a claude-code
Open on GitHub

What ag-dev does

The skill activates before an agent inspects or modifies code using AG Grid, AG Charts, or AG Studio. It detects the target product by checking imports like @ag-grid- or ag-charts-, and verifies exact versions via package.json in the root or inside node_modules. For frameworks like Svelte or Solid, it maps rules to the Vanilla JavaScript guidance.

Its core directive forbids guesswork. The agent must look up dedicated features in references/{product}/documentation-index.md instead of hacking together custom cell renderers or valueGetter callbacks. Built-in grid capabilities automatically support sorting, filtering, and exports, which hand-rolled code tends to break. This skill does not handle library upgrades: package updates must be delegated to the companion ag-update skill.

What it helps with

  • configure grid columns and themes without hallucinated options
  • find built-in grid features instead of wiring manual cell renderers
  • verify AG Grid and AG Charts APIs against the installed version
  • plan changes according to official module registration guidelines

Example prompts for the agent

  • Add a new filtered column to our AG Grid table in src/Grid.tsx
  • Update the AG Charts styling to match our dark theme settings
  • Review this table setup against the AG Grid version in package.json

How to install ag-dev

1Skills CLI (Vercel)

npx skills add ag-grid/skills --skill ag-dev -a claude-code

2Manually: put the files in place

~/.claude/skills/ag-dev/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ag-dev/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ag-dev

How do I install ag-dev in Claude Code?

Run npx skills add ag-grid/skills --skill ag-dev -a claude-code in your terminal to install the skill.

What does the ag-dev skill do?

It enforces documentation lookups and inspects package.json so the AI uses real APIs for your installed versions of AG Grid, AG Charts, or AG Studio.

Can ag-dev upgrade AG Grid packages to newer versions?

No. The author designed this skill for implementation work and directs version upgrades to the sibling ag-update skill.

Source text

SKILL.md · MIT
---
name: ag-dev
description: Use BEFORE writing or changing any code that touches AG Grid, AG Charts or AG Studio - including adding or configuring columns, themes, styling, cell rendering, data or any grid/chart feature, and when planning such work. Grounds the code in the APIs that exist in the version in use, instead of recalled ones.
---

## Be aware of the AG products in use, and their versions and wrapper framework

Products in use may be obvious from the context, if not it can be determined from the package that features are imported from:

- `grid` packages start @ag-grid- or ag-grid-
- `charts` packages start ag-charts-
- `studio` package is ag-studio or starts ag-studio-

{product} below refers to grid, charts or studio.

Versions can be determined from project's package.json or by reading the installed library's package.json inside node_modules

Framework is `react`, `vue`, `angular` if using those frameworks, `javascript` for Vanilla JS apps or for apps on any other framework (e.g. Svelte, Solid).

## For package version updates, use the ag-update skill

This skill ships with a sibling skill, "ag-update". Delegate to it when asked to update grid, charts or studio packages.

## Don't guess

Whenever writing code, you must have a clear source for the APIs you use, whether that's following existing patterns, instructions from the user or consulting our docs. If you're unsure, do research to ground your actions.

## Prefer the purpose-built feature over a general-purpose primitive

Where the product ships a dedicated feature for what you are building, use it — not a `valueGetter`, a custom cell renderer, hand-rolled state or your own event wiring that produces the same visible result. Sorting, filtering, aggregation, export and the UI all understand the built-in feature; a primitive is opaque application code that has to re-implement that behaviour and keep it in step by hand.

"The primitive renders the right value" is not a reason to reject the built-in feature. Neither is the feature being unfamiliar to you: your training data lags the current version, so unfamiliar is not evidence of unsupported.

**Check before you implement, not after.** Before building a requested capability out of a primitive, scan `references/{product}/documentation-index.md` for a slug describing that capability and read the page if one plausibly matches. For Enterprise features, follow the module-registration guidance in the product recommendations.

## By default consult the docs

When writing code you will encounter two problems:

1. Your training data contains many deprecated and removed APIs and package names and may not have newer APIs.
2. APIs have non-obvious edge cases and interactions with other features.

The solution to both of these is to consult the documentation.

If it is clear exactly what API to use, eg you are following a detailed plan that names specific APIs, or there are other examples in the codebase to copy, you may write code directly.

Otherwise if there is uncertainty, check the docs. To find the correct docs URL for the version in use, load `references/{product}/documentation-index.md` and follow the instructions in that file.

Locate the feature you are working with in the docs and read surrounding paragraphs to get information on edge cases and interactions.

## Load product-specific recommendations

`references/{product}/recommendations.md` contains specific advice for each product including known LLM failure modes and key APIs that have changed between versions. Load it and take it into account when developing.

© ag-grid · MIT · ag-grid/skills

Similar skills

Everything for Frontend and UI →

From the same set2

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor