agentsclimarketplace

Opt datagrid install

Skill reopt-ai/reopt-skills/skills/opt-datagrid-install

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".From its SKILL.md

Install
npx -y skills add reopt-ai/reopt-skills --skill opt-datagrid-install

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things 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.
  • runs commandsInstructs the agent to run 3 commands, including `npx tsc --noEmit` and 2 more.

SKILL.md

4.4 KB, ~1.0k tokens by cl100k_base, 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)

  1. Public npm registry — no token or scoped .npmrc entry is required. Inspect the project .npmrc and npm 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.
  2. Prereqs — Node 18+, React 19+, bun or npm.
  3. TypeScript paths — wire @reopt-ai/opt-datagrid into tsconfig.json paths if the project uses path aliases.
  4. opt-ui theme — opt-datagrid consumes opt-ui CSS variable tokens. If opt-ui is not installed yet, run /opt-ui-install first.

Step 3 — Route to module docs

Task signalRead
Start here — doc indexdist/docs/index.md
Getting started / install / upgradedist/docs/01-getting-started.md
API reference (props, columns, editors, hooks, types)dist/docs/02-api/
Column patternsdist/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/
Troubleshootingdist/docs/05-troubleshooting.md
Theme integration (opt-ui tokens)opt-ui dist/docs/04-theming.md

Pipeline (auto-branch)

#StepInitUpgradeMigrate
1Detect current state
2Public-registry preflight + legacy override cleanup
3Install / update package
4TypeScript paths
5Breaking-change edits
6Deprecated cleanup (opt-in)
7Grid migration
8Generate example
9Verify + summary

Safety

  • Never upgrade without an impact scan (run --check first).
  • 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 --noEmit passes.
  • Never commit — do not commit or push without an explicit request.

Verify

  1. npx tsc --noEmit passes.
  2. Grid renders with opt-ui theme applied (no raw colors leaking).
  3. (Migrate) the converted file renders the same rows + columns as the source; spot-check sorting / selection / editing.

What ships with it: 3 files

2.1 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.