G6 / rules
Cursor rule12k starsChanged 18 months agoMITView on GitHub
翻译
We split this translation.mdc into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
When translating files under the site/docs directory, please adhere to the following guidelines:
- Distinctive: line 10
Consistency in Terminology: Ensure that terminology is consistent throughout the document.
- Very specific: line 42
When translating from Chinese to English, create or update the .en.md file in the same directory.
- Very specific: line 43
When translating from English to Chinese, create or update the .zh.md file in the same directory.
- Distinctive: line 47
Full Document Translation: If the entire document is selected for translation, replace the entire content with the translated version.
- Distinctive: line 48
Partial Content Translation: If only specific sections are selected, find the appropriate place to replace or insert the translated …
- Distinctive: line 50
Contextual Translation: Avoid literal translations.
- Very specific: line 54
Preserve Metadata Order: Do not modify the order attribute in the page metadata during translation.
- Distinctive: line 56
Add '/en' Prefix to Internal Links: Ensure that all internal links in English documentation have the '/en' prefix to maintain consistency …
≈ “Common” is an estimate: at least 1 in 5 of the 6,350 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: 翻译 globs: alwaysApply: false --- # Translation Guidelines for site/docs When translating files under the `site/docs` directory, please adhere to the following guidelines: 1. **Consistency in Terminology**: Ensure that terminology is consistent throughout the document. Use a glossary if available to maintain uniformity in terms. **Glossary**: - 画布 (Canvas) - 元素 (Element) - 节点 (Node) - 边 (Edge) - 组合 (Combo) - 交互 (Behavior) - 布局 (Layout) - 插件 (Plugin) - 动画 (Animation) - 数据处理 (Transform) - 色板 (Palette) - 配置项 (Option) - 图数据 (Graph Data) - 树图 (Tree Graph) - 属性 (Property) - 描述 (Description) - 类型 (Type) - 默认值 (Default Value) - 必选 (Required) 2. **Adjust Hyperlinks**: Review and adjust hyperlinks to ensure they point to the correct translated sections or documents. Verify that all links are functional and correctly formatted. - **Internal Links**: In the English version, all internal links should have a `/en` prefix, while the Chinese version should not have any prefix. Ensure this prefix is added to all internal links in English documents to avoid any oversight. - **Anchor Points**: For anchor points following a `#`, if they contain Chinese characters, they should be adjusted to match the corresponding title in the English version rather than being directly translated. - **External Links**: Convert external links appropriately to ensure they align with the language and context of the document. 3. **Direct Writing to Translated Documents**: Translations should be stored in corresponding `.en.md` or `.zh.md` files within the same directory. Ensure that the translated content is placed in the correct location within the document. - When translating from Chinese to English, create or update the `.en.md` file in the same directory. - When translating from English to Chinese, create or update the `.zh.md` file in the same directory. 4. **Support for Partial Content Translation**: Allow for the selection and translation of specific sections of content. Translated sections should be inserted into the appropriate location within the document, maintaining the logical flow and structure. - **Full Document Translation**: If the entire document is selected for translation, replace the entire content with the translated version. - **Partial Content Translation**: If only specific sections are selected, find the appropriate place to replace or insert the translated content, ensuring the document's logical flow and structure are maintained. 5. **Contextual Translation**: Avoid literal translations. Ensure that the translation fits the English context and conveys the intended meaning accurately. 6. **Direct Modification**: Translations should be directly modified in the corresponding `.en.md` or `.zh.md` files without returning the translated content separately. Ensure that the changes are saved in the correct file and location. 7. **Preserve Metadata Order**: Do not modify the `order` attribute in the page metadata during translation. This ensures that the document order remains consistent across different language versions. 8. **Add '/en' Prefix to Internal Links**: Ensure that all internal links in English documentation have the '/en' prefix to maintain consistency and correct navigation. By following these guidelines, translations will be more accurate and consistent, facilitating easier review and integration into the documentation.
Trending
Less talk lately.about the whole repository
Who's talking about antvis/G6
- apache/hugegraph“[Feature] G6VP - A Graph Visualization Platform, has supported datasource from HugeGraph !”GitHub · Jun 2, 2023 · 15 reactions
- ant-design/ant-design“📊 📈 Introduce AntV: a new player of data visualization”GitHub · Mar 6, 2020 · 14 reactions
- alibaba/GraphScope“🚀 G6VP - A Graph Visualization Platform, has supported services from GraphScope !”GitHub · Jun 30, 2023 · 7 reactions
- antvis/G2“feat: sphere shape used in 3d lib #5375”GitHub · Aug 16, 2023 · 3 reactions
- antvis/layout“feat: combo combined layout”GitHub · Dec 26, 2025 · 2 reactions
The biggest 5 of 56 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 56
Talked about on GitHub, the web and Bluesky (56 times).
On GitHub · 50
- Jun 2, 2023[Feature] G6VP - A Graph Visualization Platform, has supported datasource from HugeGraph ! — apache/hugegraph15 reactions · 3 comments
- Mar 6, 2020📊 📈 Introduce AntV: a new player of data visualization — ant-design/ant-design14 reactions · 2 comments
- Jun 30, 2023🚀 G6VP - A Graph Visualization Platform, has supported services from GraphScope ! — alibaba/GraphScope7 reactions · 1 comment
- Aug 16, 2023feat: sphere shape used in 3d lib #5375 — antvis/G23 reactions · 1 comment
- Dec 26, 2025feat: combo combined layout — antvis/layout2 reactions · 3 comments
45 more on GitHub
- Dec 12, 2024chore: 优化 CI Workflow — antvis/S22 reactions · 8 comments
- Feb 1, 2021fix(core): fix #32 — antvis/g-webgl-compute2 reactions · 6 comments
- Jan 15, 2021工作流配置界面优化 — PowerJob/PowerJob2 reactions
- Mar 30, 2020实现 Fruchterman Reingold 力导布局算法 — antvis/g-webgl-compute2 reactions · 1 comment
- Jun 20, 2026build(deps): bump the npm-minor-patch group across 1 directory with 23 updates — open-metadata/OpenMetadata1 reaction · 4 comments
- Jun 17, 2026build(deps): bump the npm-minor-patch group across 1 directory with 23 updates — open-metadata/OpenMetadata1 reaction · 2 comments
- Jun 17, 2026build(deps): bump the npm-minor-patch group across 1 directory with 24 updates — open-metadata/OpenMetadata1 reaction · 3 comments
- Jun 8, 2026build(deps): bump the npm-minor-patch group across 1 directory with 28 updates — open-metadata/OpenMetadata1 reaction · 4 comments
- May 25, 2025fix: G6-#7149 — antvis/graphlib1 reaction
- Aug 9, 2024文本区域事件拾取范围异常 — antvis/G1 reaction
- Nov 16, 2022fix: moving end overflow hidden issue — antvis/dumi-theme-antv1 reaction · 2 comments
- Feb 16, 2022add github ISSUE_TEMPLATE files — danestves/remix-auth-auth01 reaction · 1 comment
- Feb 13, 2022add github ISSUE_TEMPLATE files — jacob-ebey/remix-pwa1 reaction
- Feb 13, 2022add github ISSUE_TEMPLATE files — afonsoduarte/wordle-tutorial1 reaction
- Feb 13, 2022add github ISSUE_TEMPLATE files — chaance/remix-seo1 reaction · 1 comment
- Dec 12, 2021update bug report template to use — react/react1 reaction · 6 comments
- Nov 11, 2020关于部署的不是 PR 当前分支而是基础分支的问题 — afc163/surge-preview1 reaction · 11 comments
- Sep 25, 2020优秀 — keman5/welabx-g61 reaction · 1 comment
- Oct 1, 2026fix(deps): update dependency @antv/g6 to v5 — devsoc-unsw/circles0 reactions
- Jun 22, 2026fix(deps): bump @antv/g6 from 4.8.10 to 5.1.1 in /experiences — digipower-academy/hestialabs-experiences0 reactions
- Oct 9, 2025feat: チャート描写ライブラリの移行(cytoscape.js から G6 へ) — m-deura/bjj_flow_tracker0 reactions
- Aug 20, 2025[Snyk] Upgrade @antv/g6 from 4.8.25 to 5.0.49 — nerdy-tech-com-gitub/ant-design0 reactions
- Apr 23, 2025[Snyk] Upgrade @antv/g6 from 4.8.25 to 5.0.44 — nerdy-tech-com-gitub/ant-design0 reactions · 1 comment
- Mar 31, 2025[INVE-26256] - Add logic to have custom label on vedge — sirensolutions/G60 reactions · 5 comments
- Mar 19, 2025[Docs]: ff — yvonneyx/issue-workflow-demo0 reactions
- Jan 1, 2025[Snyk] Upgrade @antv/g6 from 4.8.24 to 5.0.35 — nerdy-tech-com-gitub/ant-design0 reactions · 1 comment
- Dec 25, 2024[Snyk] Upgrade @antv/g6 from 4.8.24 to 5.0.33 — nerdy-tech-com-gitub/ant-design0 reactions · 1 comment
- Dec 18, 2024[Snyk] Upgrade @antv/g6 from 4.8.24 to 5.0.32 — nerdy-tech-com-gitub/ant-design0 reactions · 1 comment
- Nov 19, 2024[Snyk] Upgrade @antv/g6 from 4.8.24 to 5.0.26 — nerdy-tech-com-gitub/ant-design0 reactions · 1 comment
- Oct 28, 2024[Snyk] Upgrade @antv/g6 from 4.8.24 to 5.0.25 — nerdy-tech-com-gitub/ant-design0 reactions · 1 comment
- Aug 13, 2024Replace frontend component from `vis.js` to `antvis/G6` — TuGraph-family/Awesome-Graphs0 reactions · 1 comment
- Aug 2, 2024The bounding box information obtained by the canvas element and the html element is inconsistent — antvis/G0 reactions
- May 22, 2024🤔 [QUESTION] 在 NuxtJS 中使用,CJS 语法的不兼容问题 — antvis/G2Plot0 reactions · 2 comments
- Feb 23, 2024使用 vite 的 build.rollupOptions.output.manualChunks 配置自定义块分割,当 @antv/g2 和 @antv/g6 不在同一个块中时,打包后运行时报错。 — antvis/G20 reactions
- Dec 18, 2023Bump @antv/g6 from 4.8.20 to 4.8.24 — hydemo/SPAN-AI-temp0 reactions
- Nov 30, 2023"can not assign to import variable" when with start with vite — antvis/util0 reactions · 1 comment
- Jun 30, 2023🎉 [Feature] G6VP - A Graph Visualization Platform, has supported datasource from TuGraph ! — TuGraph-family/tugraph-db0 reactions
- Feb 21, 2023Refactor ideas — tuwien2020/tgi-pages0 reactions
- Feb 17, 2023Connection Handling — OpenModelica/OMFrontend.js0 reactions
- Feb 17, 2023Drag and Drop Support — OpenModelica/OMFrontend.js0 reactions
- Jan 17, 2023[g] 阴影渲染性能需要度量 — antvis/G0 reactions
- Sep 30, 2022Bump d3-color, @antv/g6 and d3 — rangowuchen/ElementUIExample0 reactions
- Feb 16, 2022add githib ISSUE_TEMPLATE files — kiliman/remix-component-data0 reactions
- Feb 16, 2022add github ISSUE_TEMPLATE files — shamsup/remix-starter-serverless0 reactions
- Feb 16, 2022add github ISSUE_TEMPLATE files — aaronksaunders/supabase-remix-auth0 reactions
On the web · 5
- Jun 25, 2023AntV G6新版源码浅析 — google.com
- Feb 1, 2023链接跳转异常· Issue #4244 · antvis/G6 — google.com
- Feb 28, 2021️📖 G6 使用案例收集( Example Contribution Wanted ) 📖⭐️ — google.com
- Nov 3, 2020graph.add添加节点· Issue #2257 · antvis/G6 — google.com
- Sep 26, 2020G6 3.8 is Released — google.com
On Bluesky · 1
- Sep 3, 2026🚀 GitHub Intelligence Drop G6 (TypeScript • 🟢) ⭐ 12.3K → https://github.com/antvis/G6 sigma.js (TypeScript • 🟢) ⭐ 12.2K →… — @githubfeed.bsky.social1 likes and repost
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 3,978 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

