Agent Skills › ag-grid/ag-charts › technology-stack

technology-stack

GitHub

定义 AG Charts 技术栈与架构约束,核心库要求零运行时依赖。涵盖 TypeScript、Canvas API 及 React/Angular/Vue 框架封装规范,适用于选型、依赖添加及理解零依赖架构场景。

.rulesync/skills/technology-stack/SKILL.md ag-grid/ag-charts

触发场景

选择或引入新的技术依赖 理解项目的零运行时依赖架构约束 进行前端技术栈相关开发

安装

npx skills add ag-grid/ag-charts --skill technology-stack -g -y
更多选项

非标准路径

npx skills add https://github.com/ag-grid/ag-charts/tree/latest/.rulesync/skills/technology-stack -g -y

不安装直接使用

npx skills use ag-grid/ag-charts@technology-stack

指定 Agent (Claude Code)

npx skills add ag-grid/ag-charts --skill technology-stack -a claude-code -g -y

安装 repo 全部 skill

npx skills add ag-grid/ag-charts --all -g -y

预览 repo 内 skill

npx skills add ag-grid/ag-charts --list

SKILL.md

Frontmatter
{
    "name": "technology-stack",
    "targets": [
        "*"
    ],
    "description": "Technology stack and architectural constraints. Use when choosing technologies, adding dependencies, or understanding zero-dependency requirements."
}

AG Charts Technology Stack

This document outlines the preferred technologies and architectural constraints for the AG Charts monorepo.

Critical Requirement: Zero Runtime Dependencies

The main AG Charts libraries (ag-charts-core, ag-charts-community, ag-charts-enterprise) MUST have ZERO third-party runtime dependencies. Only internal AG Charts packages and dev dependencies for build/test tooling are allowed.

Core Libraries

Package Runtime Dependencies Purpose
ag-charts-types NONE (zero dependencies) TypeScript type definitions
ag-charts-core ag-charts-types only Core rendering engine and utilities
ag-charts-locale NONE (zero dependencies) Internationalization (40+ languages)
ag-charts-community ag-charts-core, ag-charts-types, ag-charts-locale MIT licensed charts library
ag-charts-enterprise ag-charts-community, ag-charts-core Commercial charts with advanced features

Core Technologies:

  • TypeScript: Primary language with strict mode enabled
  • Canvas API: Custom high-performance rendering with scene graph
  • Pure JavaScript: No external runtime dependencies

Framework Wrappers

Package Runtime Dependencies Peer Dependencies
ag-charts-react ag-charts-community react ^18.0.0 || ^19.0.0
ag-charts-angular ag-charts-community, tslib @angular/common >= 20.0.0, @angular/core >= 20.0.0
ag-charts-vue3 ag-charts-community vue ^3.5.0

Documentation Website (ag-charts-website)

Technology Purpose
Astro Static site generator
Markdoc Content authoring for documentation
React Interactive components within Astro
Vite Development server and build tool
Shiki Syntax highlighting
Algolia Documentation search
Nanostores Lightweight state management
Cheerio Server-side HTML parsing

Development & Build Tools

Tool Purpose Used By
Nx Monorepo orchestration and caching All packages
TypeScript Type checking and compilation All packages
SWC Fast transpilation Build system
ESBuild High-performance bundling Production builds
Vitest Unit and visual snapshot testing All packages
Playwright E2E testing Website
ESLint Code linting with custom rules All packages
Prettier Code formatting All packages
Size Limit Bundle size monitoring Core libraries

Version Requirements

Tool and runtime versions live in the root package.json (engines, devDependencies) and .nvmrc — read them there rather than from this page.

  • Build Target: ES2020 (excludes IE)
  • TypeScript: Strict mode enabled across all packages

版本历史

  • 39cb99b 当前 2026-10-19 05:36

    修正Vitest、Shiki使用及Angular版本要求(>=20),移除固定版本限制,更新文档以反映最新架构规范。

  • 35886f8 2026-07-24 21:57

同 Skill 集合

.rulesync/skills/animation-test-migration/SKILL.md
.rulesync/skills/chart-defaults/SKILL.md
.rulesync/skills/hot-paths/SKILL.md
.rulesync/skills/module-definitions/SKILL.md
.rulesync/skills/port-showcases/SKILL.md
tools/prompts/skills/estimate-jira/SKILL.md

元信息

文件数
0
版本
902bdf1
Hash
81104c46
收录时间
2026-07-24 21:57

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-04 14:32
浙ICP备14020137号-1