Build Indexes

Build a feature's ecs index-database — component/archetype indexes for O(1) lookup. As needed.

Adobe 0ba52f3 478 B Updated 142 repo stars

File contents

Create ecs/index-database/: index-database.ts (extends CoreDatabase, adds the indexes facet from ./indexes/index.js) plus an indexes/ folder — one index per file + an index.ts barrel.

Only if the feature needs indexed lookups. Comes after core-database.

The how is in the auto-loading features/ecs/indexes.md rule.

adobe/data/tree/main/.agents/skills/adobe-data-ai/build-indexes commit 0ba52f3e12

Frequently asked questions

npx skillmds@latest add adobe/build-indexes-2