Learn-skills.dev ag-grid-cli
Use AG Grid MCP-style docs search, version detection, examples, definitions, and upgrade guidance through a lightweight local CLI wrapper. Use when working on AG Grid integration or migration tasks.
git clone https://github.com/NeverSight/learn-skills.dev
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/adinvadim/ag-grid-cli/ag-grid-cli" ~/.claude/skills/neversight-learn-skills-dev-ag-grid-cli && rm -rf "$T"
data/skills-md/adinvadim/ag-grid-cli/ag-grid-cli/SKILL.mdAG Grid CLI
Use this skill when you need AG Grid documentation, examples, API references, version detection, or migration guidance, but you want a local CLI workflow instead of the AG Grid MCP server.
This CLI is modeled after the official AG Grid MCP server documentation:
search_docsdetect_versionset_versionlist_versionsquick-startupgrade-grid- resources for
,articles
, anddefinitionsexamples
Reference:
Purpose
The AG Grid MCP server gives LLMs framework-specific and version-specific AG Grid context.
ag-grid-cli exposes the same practical capabilities as terminal commands so an agent can fetch the same class of information directly.
Bootstrap
This skill is designed for zero-build consumption after install.
- no runtime compilation
- no runtime
npm install - bundled CLI is committed to the repo
- only runtime requirement: Node.js
Primary invocation:
node <skill-dir>/bundle/ag-grid-cli.cjs <command> [args...]
This is the default command agents should use after the skill is installed. Do not assume
ag-grid-cli is on PATH.
If the agent knows the installed skill path, run the sibling bundle directly.
Optional shortcut when available:
ag-grid-cli <command> [args...]
Portable fallback on any OS:
node <skill-dir>/bundle/ag-grid-cli.cjs <command> [args...]
Platform wrappers:
- macOS/Linux:
<skill-dir>/ag-grid-cli.sh - Windows cmd:
<skill-dir>\\ag-grid-cli.cmd - Windows PowerShell:
<skill-dir>\\ag-grid-cli.ps1
Launcher behavior:
- the committed bundle is the canonical runtime
- wrappers call the committed bundle directly
onag-grid-cli
is only an optional conveniencePATH- it requires Node, but does not run
at runtimenpm install - then it executes the CLI
This keeps usage simple for agents embedded in another project: the user can add this skill folder, and the agent can run the committed bundle immediately.
Naming:
- installed CLI binary:
ag-grid-cli - repo-local Unix wrapper:
./ag-grid-cli.sh - repo-local Windows cmd wrapper:
ag-grid-cli.cmd - repo-local Windows PowerShell wrapper:
ag-grid-cli.ps1 - repo-local portable bundle entry:
node bundle/ag-grid-cli.cjs
Agent Notice
After skill install, prefer the sibling bundle in the installed skill directory:
node <skill-dir>/bundle/ag-grid-cli.cjs ...
Only use
ag-grid-cli ... if you already know the binary is available on PATH.
If a prerequisite is missing, say it explicitly before continuing:
Node.js is required to run ag-grid-cli.
Do not silently try to compile or install dependencies inside the installed skill directory. Do not run
npm install from the skill folder as a bootstrap step.
Use This For
- detecting the AG Grid version and framework in a repo
- pinning a version/framework when detection is wrong or ambiguous
- searching docs before editing AG Grid code
- fetching full articles, API definitions, and examples
- generating a quick-start plan for a new or existing grid
- generating a migration plan for AG Grid upgrades
Command Mapping
Official MCP concept -> CLI equivalent
->detect_versionag-grid-cli detect-version
->set_versionag-grid-cli set-version --version <semver> --framework <framework>
->list_versionsag-grid-cli list-versions
->search_docsag-grid-cli search-docs "<query>"
resource ->articlesag-grid-cli articles list|get
resource ->definitionsag-grid-cli definitions list|get
resource ->examplesag-grid-cli examples list|get
prompt ->quick-startag-grid-cli quick-start
prompt ->upgrade-gridag-grid-cli upgrade-grid --to <semver>
Default Workflow
When working in an AG Grid repo, do this first:
- Detect the current setup.
node <skill-dir>/bundle/ag-grid-cli.cjs detect-version
- If detection fails or the repo is unusual, set it manually.
node <skill-dir>/bundle/ag-grid-cli.cjs set-version --version 35.1.0 --framework vue
- Search docs before changing code.
node <skill-dir>/bundle/ag-grid-cli.cjs search-docs "cell renderer"
- Pull exact resources when the task is implementation-heavy.
node <skill-dir>/bundle/ag-grid-cli.cjs articles get <slug>node <skill-dir>/bundle/ag-grid-cli.cjs definitions get <apiName>node <skill-dir>/bundle/ag-grid-cli.cjs examples get <articleSlug> <exampleSlug>
Recommended Agent Behavior
- Prefer
beforedetect-version
.search-docs - Prefer
as the default invocation.node <skill-dir>/bundle/ag-grid-cli.cjs ... - Do not spend turns probing
onag-grid-cli
unless the environment already indicates it exists.PATH - If the repo uses a non-semver tag like
, let the CLI normalize it.latest - Use
when you need machine-readable output for chaining or parsing.--json - Use
when you need stable line-based output for shell pipelines.--plain - Use explicit
and--framework
overrides in monorepos or mixed-framework repos.--version - For upgrades across multiple major versions, use
and follow one major at a time.upgrade-grid
Search Guidance
Use natural language queries, same style as the MCP docs:
node <skill-dir>/bundle/ag-grid-cli.cjs search-docs "column sorting"node <skill-dir>/bundle/ag-grid-cli.cjs search-docs "cell renderers" --framework vuenode <skill-dir>/bundle/ag-grid-cli.cjs search-docs "server side row model filtering" --version 34.3.0node <skill-dir>/bundle/ag-grid-cli.cjs search-docs "data grid performance" --framework react --limit 3
When search results surface an API name or article slug, follow up with:
node <skill-dir>/bundle/ag-grid-cli.cjs definitions get <name>node <skill-dir>/bundle/ag-grid-cli.cjs articles get <slug>
Resource Workflows
List articles:
node <skill-dir>/bundle/ag-grid-cli.cjs articles list --framework vue
Read one article:
node <skill-dir>/bundle/ag-grid-cli.cjs articles get component-cell-renderer --framework vue
List API definitions:
node <skill-dir>/bundle/ag-grid-cli.cjs definitions list --version 35.1.0
Read one definition:
node <skill-dir>/bundle/ag-grid-cli.cjs definitions get cellRenderer
List examples:
node <skill-dir>/bundle/ag-grid-cli.cjs examples list --framework vue --language typescript
Read one example:
node <skill-dir>/bundle/ag-grid-cli.cjs examples get row-ids row-data --framework vue --language typescript
Prompt Workflows
Quick start plan:
node <skill-dir>/bundle/ag-grid-cli.cjs quick-start --framework vue --typescript --feature pagination --feature row-grouping
Upgrade plan:
node <skill-dir>/bundle/ag-grid-cli.cjs upgrade-grid --to 35.1.0
Explicit upgrade path:
node <skill-dir>/bundle/ag-grid-cli.cjs upgrade-grid --from 33.2.0 --to 35.1.0 --framework react
Output Contract
- Human mode: readable summaries and content blocks.
: structured stdout.--json
: stable tab-separated or raw content output.--plain- Primary data goes to stdout.
- Errors go to stderr.
Guardrails
- Do not guess AG Grid version-specific behavior when the CLI can resolve it.
- Do not skip version detection before migrations unless the user gave an explicit version.
- Do not jump multiple major AG Grid versions in one migration plan.
- Prefer fetching the exact article or definition when changing a fragile AG Grid API surface.
Example Agent Loops
Implement a feature:
node <skill-dir>/bundle/ag-grid-cli.cjs detect-versionnode <skill-dir>/bundle/ag-grid-cli.cjs search-docs "set filter tree list" --framework vuenode <skill-dir>/bundle/ag-grid-cli.cjs definitions get ISetFilterParamsnode <skill-dir>/bundle/ag-grid-cli.cjs examples list --framework vue --language typescript
Plan an upgrade:
node <skill-dir>/bundle/ag-grid-cli.cjs detect-versionnode <skill-dir>/bundle/ag-grid-cli.cjs list-versionsnode <skill-dir>/bundle/ag-grid-cli.cjs upgrade-grid --to 35.1.0node <skill-dir>/bundle/ag-grid-cli.cjs articles get upgrading-to-ag-grid-34node <skill-dir>/bundle/ag-grid-cli.cjs articles get upgrading-to-ag-grid-35