Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

opik-frontend

Skill by comet-ml

Gives AI assistants the React frontend patterns used in Opik's apps/opik-frontend. It covers data fetching, state, memoization, and module boundaries for developers working on components.

  • Score 93
  • 24k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install opik-frontend

Built from the published package, never by AI.

git clone --depth 1 https://github.com/comet-ml/opik /tmp/opik && mkdir -p ~/.claude/skills && cp -r /tmp/opik/.agents/skills/opik-frontend ~/.claude/skills/opik-frontend

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install opik-frontend in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The opik-frontend skill is a set of React frontend guidelines for the Opik project. It names the stack the frontend uses: TanStack Router for file-based routing, TanStack Query for data fetching, Zustand for global state, shadcn/ui and Radix UI for components, and React Hook Form with Zod for forms. It also lists critical gotchas, such as never using useEffect for data fetching and when to use useMemo or useCallback.

The skill sets layer and module rules. Shared code can be used by all versions, v1 and v2 pages cannot import from each other, and shared components must stay backward compatible. It also explains where state should live, in the URL, Zustand, or React state, and links reference files on forms, testing, performance, and permissions. It is aimed at developers working on components, state, or data fetching in the Opik frontend.

Written from the project's SKILL.md and checked against it.

What it can do

  • Data fetching with TanStack QueryExplains using TanStack Query instead of raw fetch or useEffect, with query and mutation examples.
  • Selective memoizationShows when to use useMemo and useCallback and when to skip them for simple values.
  • Zustand selectorsRecommends selecting specific store fields rather than the entire store to avoid re-renders.
  • Module boundary rulesDefines one-way layer imports and bans imports between v1 and v2 code.
  • Shared component rulesRequires backward-compatible, version-unaware shared components and new components for behavior changes.
  • State location guidanceSorts state into URL state, Zustand, or React state based on its purpose.
  • Component structure templateProvides an ordered layout for components: state, queries, memoization, handlers, then loading and error returns.
  • Browser translation safetyExplains how to wrap dynamic text so browser auto-translation does not crash React.
  • Reference filesLinks to guides on forms, UI components, responsive design, testing, code quality, performance, and permissions.

What you need

  • Access to the Opik repository with apps/opik-frontend
  • npm to run the npm run deps:validate command

Try asking

  • Refactor this useEffect fetch in apps/opik-frontend to use TanStack Query.
  • Review my Zustand store usage for selectors that cause extra re-renders.
  • Which state should live in the URL versus Zustand for this table filter?

Good to know

  • Shared components must stay backward compatible and must not be version-aware.
  • v1 and v2 code cannot import from each other.
  • The src/components/ folder is blocked because it no longer exists.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/opik-frontend/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB
  • code-quality.md6 KB
  • forms.md2 KB
  • performance.md5 KB
  • permissions.md5 KB
Show all 8 files
  • responsive-design.md2 KB
  • testing.md2 KB
  • ui-components.md4 KB

Alternatives to opik-frontend

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

opik-frontend: common questions

Which data fetching approach does the Opik frontend use?

The skill says to use TanStack Query and never raw fetch or useEffect for data fetching. It shows query and mutation examples with invalidation.

Can a shared component have a v2-only option?

No. The skill says shared components must not be version-aware, so it recommends a prop like showProjectSelector instead of isV2. If behavior must change, a new component should be created.

Why does the skill mention Google Translate?

Browser auto-translation wraps text in font elements, which can make React throw a removeChild error. The skill advises wrapping dynamic text in its own element.

How do I install opik-frontend?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is opik-frontend free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is opik-frontend safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to opik-frontend?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

opik-frontend Install

Add to stack

Loading.