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

eslint-error-handling

Skill by openobserve

Playbook for fixing ESLint and TypeScript errors in the OpenObserve web/ frontend, which uses Vue 3 and TypeScript. It gives rule-by-rule fixes and typing conventions for developers working on that codebase.

  • Score 86
  • 23k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install eslint-error-handling

Built from the published package, never by AI.

git clone --depth 1 https://github.com/openobserve/openobserve /tmp/openobserve && mkdir -p ~/.claude/skills && cp -r /tmp/openobserve/.claude/skills/eslint-error-handling ~/.claude/skills/eslint-error-handling

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

Step-by-step: install eslint-error-handling in Claude Code

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

About

This skill is a playbook for resolving ESLint and TypeScript errors in the OpenObserve web/ frontend. The source describes a stack of Vue 3, TypeScript, an ESLint flat config and Prettier, with two gates: npm run lint:ci and npm run type-check:app, both of which must stay at 0 errors. It lists rule-by-rule fixes with before and after examples for unused code, real-bug rules, Vue rules and mechanical rules.

It also sets conventions for where types belong, whether inline or in a shared interface, and for typing API responses by tracing them to the backend Rust structs. It forbids any and suppression comments except for genuine false positives. The guidance is aimed at developers fixing lint or type-check errors, or writing new web code in that repository.

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

What it can do

  • Golden rulesNever use any, prefer declaration-site types over casts, and keep type-only fixes free of runtime changes.
  • Typing placementDecides whether a type should be inline, in a feature types file, or in src/ts/interfaces based on scope.
  • API response typingTraces a service endpoint to the backend Rust struct and mirrors it as a TypeScript interface.
  • Unused code fixesExplains removing unused imports, locals and parameters under no-unused-vars, with underscore prefixes as a last resort.
  • Real-bug rule fixesCovers no-unsafe-optional-chaining, no-self-assign, no-unreachable, no-case-declarations and related rules.
  • Vue rule fixesCovers vue/no-ref-as-operand, vue/require-valid-default-prop, vue/no-dupe-keys and other Vue rules.
  • Mechanical fixesCovers no-prototype-builtins, no-useless-escape and no-empty with before and after examples.

What you need

  • OpenObserve repository with the web/ frontend
  • npm scripts lint:ci and type-check:app
  • Access to the backend src/ Rust code for tracing API response types

Try asking

  • Fix the ESLint errors in this Vue component without using any
  • Type the API response from this OpenObserve service call
  • Remove the unused imports and locals flagged by no-unused-vars

Good to know

  • Written specifically for the OpenObserve web/ codebase and its gates.
  • The final section in the source is cut off mid-example.
  • Covers only the rules listed in the source.

Security check

A

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

Checked automatically: .claude/skills/eslint-error-handling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md20 KB

Alternatives to eslint-error-handling

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

eslint-error-handling: common questions

Does this playbook allow the any type?

No. The source's first golden rule says never use any, and suggests unknown with a type guard or a derived type instead.

Where should a new TypeScript type go?

The source says it depends on scope. One-off shapes stay inline, types shared by two or more files in a feature go in a types.ts file, and cross-cutting domain models go in src/ts/interfaces.

Should unused variables be prefixed with an underscore?

The source says deleting is the default fix. An underscore prefix is only a narrow last resort for function parameters when a later parameter is used.

How do I install eslint-error-handling?

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

Is eslint-error-handling free?

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

Is eslint-error-handling safe to use?

It scores 86 of 100. Grades: maintenance A, licence C, 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 eslint-error-handling?

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

eslint-error-handling Install

Add to stack

Loading.