GravionLabs/elysion / .agents/skills/ng-ag-grid-developer
ng-ag-grid-developer
VerifiedBuild or modify Angular components with AG Grid Enterprise. Use when a task mentions ag-grid.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.6 KB |
| references/api-events-filtering.md | markdown | 3.5 KB |
| references/cell-rendering-editing.md | markdown | 2.6 KB |
| references/column-definitions.md | markdown | 2.4 KB |
| references/excel-export.md | markdown | 1.3 KB |
| references/grouping-pivoting.md | markdown | 2.2 KB |
| references/master-detail.md | markdown | 2.1 KB |
| references/row-models.md | markdown | 1.8 KB |
| references/setup.md | markdown | 3.3 KB |
| references/theming.md | markdown | 1.8 KB |
references/setup.md
View on GitHub# AG Grid Enterprise — Setup & Modules
## Install
`ag-grid-angular` and `ag-grid-enterprise` must be the same version (`npm ls ag-grid-angular ag-grid-enterprise`).
## Registration (main.ts or app.config.ts, before any grid renders)
```typescript
import { ModuleRegistry } from 'ag-grid-community';
import { AllEnterpriseModule, LicenseManager } from 'ag-grid-enterprise';
LicenseManager.setLicenseKey('YOUR_LICENSE_KEY'); // BEFORE registerModules
ModuleRegistry.registerModules([AllEnterpriseModule]);
```
Without a key the grid works but shows a watermark and console warning.
## Bundles vs cherry-picking
- `AllCommunityModule` — all Community features; `AllEnterpriseModule` — Community + all Enterprise (includes `ValidationModule`)
- Production: cherry-pick modules to cut bundle size. Always include `ClientSideRowModelModule` (or `ServerSideRowModelModule`) explicitly.
- Register `ValidationModule` only outside production (`process.env['NODE_ENV'] !== 'production'`)
- Charts: `AllEnterpriseModule.with(AgChartsEnterpriseModule)` (from `ag-charts-enterprise`)
- Check a module at runtime: `api.isModuleRegistered('SetFilterModule')`
| Module | Feature |
| ------------------------------------------------------------ | --------------------------------------- |
| `RowGroupingModule` | Row grouping & aggregation |
| `PivotModule` | Pivoting |
| `ExcelExportModule` | Excel export |
| `MasterDetailModule` | Master/Detail |
| `SetFilterModule` / `MultiFilterModule` | Set / Multi filter |
| `AdvancedFilterModule` | Advanced Filter bar |
| `ColumnsToolPanelModule` / `FiltersToolPanelModule` | Side panels |
| `ServerSideRowModelModule` | SSRM |
| `ClipboardModule`, `RangeSelectionModule`, `StatusBarModule` | Copy/paste, range selection, status bar |
## Per-grid modules
Pass `[modules]="modules"` on `<ag-grid-angular>` (type `Module[]`) when grids need different feature sets.
## Component
```typescript
@Component({
standalone: true,
imports: [AgGridAngular],
template: `<ag-grid-angular style="height: 500px" [rowData]="rowData" [columnDefs]="columnDefs" [defaultColDef]="defaultColDef" />`,
})
```
## AG Grid MCP server (`ag-mcp`)
`npx ag-mcp` gives the assistant version-specific AG Grid docs, examples and API refs. Node 22 LTS; no install, no `devDependencies` entry (npx fetches the latest CLI).
Client config files and the server block: the MCP reference of `ng-implementation` (skill name, not a path). Command: `npx ag-mcp`.
Restart the client, then verify: VS Code chat `@ag-mcp`; Claude Code `claude mcp list`. Prompts: `/ag-mcp:quick-start` (scaffold a grid), `/ag-mcp:upgrade-grid` (migration plan); tool `search_docs`.
- The server auto-detects the AG Grid version from `package.json`; in monorepos call the `set_version` tool if it picks the wrong package.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |