with one click
development
// 当任务涉及 VBI monorepo 开发时使用:apps、packages、practices、website 文档、仓库级工作流、生成物、验证命令、事实源决策、软件熵治理、 可维护性、重构、删除死代码,以及约束 LLM 生成的混乱代码。
// 当任务涉及 VBI monorepo 开发时使用:apps、packages、practices、website 文档、仓库级工作流、生成物、验证命令、事实源决策、软件熵治理、 可维护性、重构、删除死代码,以及约束 LLM 生成的混乱代码。
| name | development |
| description | Use for VBI monorepo development: apps, packages, practices, website documentation, repository-level workflows, generated artifacts, validation commands, source-of-truth decisions, software entropy control, maintainability, refactoring, dead-code deletion, and constraining messy LLM-generated code. |
This is the repository-level development handbook for VBI. The main file keeps only the core principles; load the relevant references only when changing a specific package, practice, or software-entropy risk area.
Every change must reduce maintenance cost or at least avoid increasing it. Before editing, complete the following:
Prefer deleting unused paths over keeping optional branches. Do not leave commented-out code behind. Do not add compatibility aliases without a clear migration reason.
Unless a package script requires otherwise, run commands from the repository root.
packages/vbi: VBIChartDSL, Builder, and collaborative state.packages/vquery: VQueryDSL-to-SQL and query execution.packages/vseed: VSeedDSL-to-VChart/VTable specs.packages/vbi-agent: Builder Agent runtime and tool protocol.packages/vbi-react: React integration package.apps/*: Product applications, official website, backend, provider, and CLI.practices/*: Independent practice example applications.If a change crosses multiple ownership boundaries, first decide whether the boundary is wrong. Platform apps consume public package APIs; packages should not know app, provider, page, or CLI implementation details.
src/* from another practice.Load only relevant references:
references/software-entropy.md: Entropy audit workflow, VBI-specific code
smells, and the pre-edit checklist.references/vseed.md: packages/vseed, VSeed examples, and generated VSeed
documentation.references/practice-minimalist.md: practices/minimalist.references/practice-standard.md: practices/standard.references/practice-streamlined.md: practices/streamlined.references/practice-professional.md: practices/professional.practices/vbi-react-starter is the @visactor/vbi-react package integration
starter. Treat it separately from the four self-contained practice apps.
Repository-level gates after code changes:
pnpm run lint:check
pnpm run typecheck
When scripts exist in the relevant ownership scope, also run focused validation:
pnpm --filter <package-name> run test
pnpm --filter <package-name> run lint
pnpm --filter <package-name> run typecheck
If a change touches generated artifacts, run the generator first, then inspect the generated diff. Clearly report any required validation that could not be run.
[HINT] Download the complete skill directory including SKILL.md and all related files