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.
Basic Rules
- Verify the version first:
npm ls ag-grid-angular ag-grid-enterprise(both must match) - Enterprise standard — use
AllEnterpriseModule, neverAllCommunityModulealone; cherry-pick modules in production to cut bundle size LicenseManager.setLicenseKey()beforeModuleRegistry.registerModules(), both before any grid rendersAgGridAngularis standalone — add it to the component'simports- Type rows:
GridOptions<T>,ColDef<T>; setgetRowIdfor stable row identity
References
Load the file for the task at hand. Paths are relative to this skill's directory.
| Topic | File | Load when |
|---|---|---|
| Setup, license, modules | references/setup.md | First-time setup, registering or cherry-picking modules |
| AG Grid MCP server | references/setup.md § ag-mcp | Using ag-mcp (client config files: MCP reference of ng-implementation); looking up version-specific docs |
| Columns, generics | references/column-definitions.md | ColDef, columnTypes, value getters/formatters, typed events, getRowId |
| Row models | references/row-models.md | Client-side vs SSRM, datasource, large datasets |
| API, events, filtering | references/api-events-filtering.md | Grid API access, setGridOption, events, column/quick/external/advanced filters |
| Renderers, editors | references/cell-rendering-editing.md | Custom Angular cell renderers/editors, editable |
| Grouping, pivoting | references/grouping-pivoting.md | rowGroup, aggFunc, pivotMode, side bar |
| Master/detail | references/master-detail.md | masterDetail, detail grids |
| Excel export | references/excel-export.md | exportDataAsExcel, styles, multiple sheets |
| Theming, layout | references/theming.md | Themes, CSS variables, domLayout, row height |
Gotchas
LicenseManagerbeforeModuleRegistry: otherwise enterprise features may not activate correctly- Modules before grid instantiation: register globally (
main.ts/app.config.ts); modules registered after creation are ignored autoHeightperformance: neverdomLayout='autoHeight'for grids > 1 000 rows- Initial options: options marked
[Initial](rowModelType,treeData,masterDetail) cannot change after creation — destroy and re-create - SSRM and client-side are mutually exclusive: a grid uses one row model
- Pivot requires aggregation: every value column needs an
aggFunc - Cherry-picked modules: always include
ClientSideRowModelModule(orServerSideRowModelModule) explicitly
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: 321k | 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: 197k | 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: 197k | 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: 197k | Updated | Claude CodeCodex | Verified | Install |