AGENTS.md · element-plus/element-plus
AGENTS.md from element-plus/element-plus: 69 lines covering Project Overview, Repository Map, Common Commands, Development Notes and more.
Template by element-plus
Chalk Labs
Need help deploying AGENTS.md · element-plus/element-plus?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/element-plus/element-plus/dev/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 69 lines
- File
AGENTS.md
Sections
- Project Overview
- Repository Map
- Common Commands
- Development Notes
- Tests
- Documentation And API
- Git And Review Hygiene
First lines (shown under the repo's MIT license)
# AGENTS.md Guidance for coding agents working in this repository. ## Project Overview Element Plus is a Vue 3 UI component library written in TypeScript. This repo is a pnpm workspace monorepo. ## Repository Map - `packages/components`: individual Element Plus components. - Component source usually lives in `src/`. - Tests live in `__tests__/`. - Style entry files live in `style/`. - `packages/theme-chalk`: component SCSS and theme output. - `packages/hooks`, `packages/utils`, `packages/constants`, `packages/directives`, `packages/locale`: shared runtime packages. - `packages/element-plus`: package entry and bundle surface. - `docs`: VitePress documentation site. - `play`: local playground used for manual component testing. - `internal`: build, metadata, lint, and workspace tooling. - `dist`: generated output. Do not edit generated files by hand unless the task explicitly requires it. ## Common Commands - Install dependencies: `pnpm install` - Start playground: `pnpm dev` - Start docs site: `pnpm docs:dev` - Run all tests: `pnpm test` - Run a focused test file: `pnpm test packages/components/<component>/__tests__/<file>.test.tsx` - Run lint: `pnpm lint` - Fix lint issues: `pnpm lint:fix` - Run type checks: `pnpm typecheck` - Build package output: `pnpm build` - Build theme only: `pnpm build:theme` - Build docs: `pnpm docs:build` - Format repo: `pnpm format` ## Development Notes - Prefer existing component patterns over new abstractions. Look at nearby components before changing structure. - Keep changes scoped to the requested behavior. Avoid unrelated refactors and formatting churn. - For component changes, check whether related props, emitted events, exposed types, styles, tests, and docs need updates. - Use the workspace packages and existing aliases such as `@element-plus/*` instead of introducing new local paths casually. - Avoid adding dependencies unless the task clearly needs them and the existing toolchain cannot cover it. - Use `play/src/App.vue` for quick manual repros, but keep playground-only edits out of final changes unless requested. ## Tests - Tests use Vitest and Vue Test Utils. - Put component tests under `packages/components/<component>/__tests__/`. - Prefer focused regression tests for bug fixes. - Update snapshots only when the rendered output change is intentional. - When touching shared utilities, hooks, or cross-component behavior, run the relevant focused tests plus a broader check when practical. ## Documentation And API - Public API changes should include matching docs updates under `docs`. - When documenting a new API, always add a version tag using the existing docs style, unless the user explicitly asks otherwise. Fetch the latest Element Plus version from the newest GitHub Release tag, strip any leading `v`, then calculate the version tag from that version: increment the patch version for non-breaking changes; increment the minor version and reset the patch version to zero for breaking changes. For example, from `2.10.0`, use `2.10.1` for a non-breaking change and `2.11.0` for a breaking change. - Keep prop, event, slot, and expose typings in sync with implementation behavior. - Locale-facing text should go through the existing locale package patterns. ## Git And Review Hygiene - Do not commit, push, or open pull requests unless explicitly asked. - Do not revert user changes or unrelated work in the tree. - If a commit is requested, use the existing conventional commit flow; `pnpm cz` is available. - Before committing, ensure formatting, lint, typecheck, and test all pass. - Before finishing, report the commands you ran and any checks you could not run.
Signals
- Stars
- 27,827
- Forks
- 19,804
- Open issues
- 887
- Last commit (this folder)
- Jun 16, 2026 (4 months ago)
- Last release
- Sep 30, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/element-plus/element-plus
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get AGENTS.md · element-plus/element-plus running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
AGENTS.md · element-plus/element-plus. Agent Mart. https://agentmart.dev/templates/element-plus-element-plus-agents-md (last updated 2026-10-24)