Opt datagrid install
Agent skills for the reopt ecosystem — CLI workflows, Brandapp SDK install/review, and @reopt-ai/opt-* component package setup. Installs into Claude Code, Cursor, Codex, Cline, Gemini CLI, and more via skills.sh.
npx -y skills add reopt-ai/reopt-skills --skill opt-datagrid-installAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Install, upgrade, or migrate to @reopt-ai/opt-datagrid in a consumer project. Auto-branches by current install state. Migrate mode converts glide-data-grid / ag-grid / react-data-grid / MUI DataGrid. Triggers on "opt-datagrid install", "opt-datagrid init", "opt-datagrid setup", "datagrid install", "datagrid setup", "grid setup", "opt-datagrid upgrade", "datagrid upgrade", "datagrid update", "grid update", "opt-datagrid migrate", "datagrid migrate", "grid migration", "replace glide-data-grid", "replace ag-grid".
SKILL.md
4.4 KB, as published. Nobody here has run it
opt-datagrid Install
This is NOT the opt-datagrid you know. Read
node_modules/@reopt-ai/opt-datagrid/dist/docs/before writing code.
When to apply
Consumer project depends on @reopt-ai/opt-datagrid, or is migrating away from another grid library. Triggers: "install", "init", "setup", "upgrade", "update", "migrate", "replace glide-data-grid", "replace ag-grid".
Invocation
/opt-datagrid-install # Auto-branch (missing → init, installed → upgrade)
/opt-datagrid-install install # Explicit install only
/opt-datagrid-install verify # Verify existing installation
/opt-datagrid-install --upgrade # Explicit upgrade
/opt-datagrid-install --check # Analyze only
/opt-datagrid-install --target=1.3.0 # Pin a specific version
/opt-datagrid-install migrate # Convert existing grid usage
/opt-datagrid-install migrate <file> # Convert a single file
/opt-datagrid-install migrate --dry-run
/opt-datagrid-install example <pattern>
Step 1 — Pin agent rules into AGENTS.md / CLAUDE.md
Source: the module's own agent-rules file once it ships one (@reopt-ai/opt-datagrid does not, as of 1.4.2). Fallback: agent-rules.md bundled with this skill. Wrap content between:
<!-- BEGIN:reopt/opt-datagrid-agent-rules -->
…content from source…
<!-- END:reopt/opt-datagrid-agent-rules -->
Idempotent: replace only between markers.
Step 2 — Consumer-side setup (this skill owns; docs cannot)
- Public npm registry — no token or scoped
.npmrcentry is required. Inspect the project.npmrcandnpm config get @reopt-ai:registry; if the scope still resolves to GitHub Packages, remove only the legacy project entry@reopt-ai:registry=https://npm.pkg.github.com. Preserve unrelated registry/auth settings, and ask before changing user/global npm config. - Prereqs — Node 18+, React 19+, bun or npm.
- TypeScript paths — wire
@reopt-ai/opt-datagridintotsconfig.jsonpaths if the project uses path aliases. - opt-ui theme — opt-datagrid consumes opt-ui CSS variable tokens. If opt-ui is not installed yet, run
/opt-ui-installfirst.
Step 3 — Route to module docs
| Task signal | Read |
|---|---|
| Start here — doc index | dist/docs/index.md |
| Getting started / install / upgrade | dist/docs/01-getting-started.md |
| API reference (props, columns, editors, hooks, types) | dist/docs/02-api/ |
| Column patterns | dist/docs/02-api/02-columns.md |
| Recipes (basic / editable / remote-data) | dist/docs/03-recipes/ |
| Migration (from glide-data-grid, etc.) | dist/docs/04-migration/ |
| Troubleshooting | dist/docs/05-troubleshooting.md |
| Theme integration (opt-ui tokens) | opt-ui dist/docs/04-theming.md |
Pipeline (auto-branch)
| # | Step | Init | Upgrade | Migrate |
|---|---|---|---|---|
| 1 | Detect current state | ✓ | ✓ | ✓ |
| 2 | Public-registry preflight + legacy override cleanup | ✓ | ✓ | ✓ |
| 3 | Install / update package | ✓ | ✓ | ✓ |
| 4 | TypeScript paths | ✓ | – | ✓ |
| 5 | Breaking-change edits | – | ✓ | – |
| 6 | Deprecated cleanup (opt-in) | – | ✓ | – |
| 7 | Grid migration | – | – | ✓ |
| 8 | Generate example | ✓ | – | – |
| 9 | Verify + summary | ✓ | ✓ | ✓ |
Safety
- Never upgrade without an impact scan (run
--checkfirst). - Migrate processes files one at a time — convert one, wait for approval, then continue.
- Apply breaking-change edits in logical groups, never bulk.
- Do not finish until
tsc --noEmitpasses. - Never commit — do not commit or push without an explicit request.
Verify
npx tsc --noEmitpasses.- Grid renders with opt-ui theme applied (no raw colors leaking).
- (Migrate) the converted file renders the same rows + columns as the source; spot-check sorting / selection / editing.