OpenObserve ESLint and TypeScript Fixes
openobserve/openobserve
A playbook for fixing ESLint and TypeScript errors in the OpenObserve web frontend, with rule-by-rule guidance and typing conventions.
Pre-PR validation — license headers, format, lint, TypeScript check, build, and protected file check.
$ npx skills add linuxfoundation/insights --skill preflight -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install linuxfoundation/insights preflight --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/preflight .claude/skills/preflight && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "preflight" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/preflight into .claude/skills/preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preflight", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/linuxfoundation/insights/tree/main/.claude/skills/preflightType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add linuxfoundation/insights --skill preflight -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install linuxfoundation/insights preflight --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/preflight .agents/skills/preflight && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "preflight" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/preflight into .agents/skills/preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preflight", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add linuxfoundation/insights --skill preflight -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install linuxfoundation/insights preflight --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/preflight .cursor/skills/preflight && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "preflight" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/preflight into .cursor/skills/preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preflight", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/linuxfoundation/insights.git --path .claude/skills/preflight--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add linuxfoundation/insights --skill preflight -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install linuxfoundation/insights preflight --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/preflight .gemini/skills/preflight && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "preflight" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/preflight into .gemini/skills/preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preflight", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install linuxfoundation/insights preflightInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add linuxfoundation/insights --skill preflight -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/preflight .github/skills/preflight && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "preflight" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/preflight into .github/skills/preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preflight", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add linuxfoundation/insights --skill preflight -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install linuxfoundation/insights preflight --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/preflight .opencode/skills/preflight && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "preflight" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/preflight into .opencode/skills/preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preflight", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
preflightPre-PR validation — license headers, format, lint, TypeScript check, build, and protected file check.
Preflight is an agent skill from linuxfoundation/insights. Pre-PR validation — license headers, format, lint, TypeScript check, build, and protected file check. Use before submitting any PR, to check if code is ready, validate changes, or verify a branch before review.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Linting and formatting. It works with TypeScript and Vue.js. The repository describes itself as: Insights into the world's most critical open source software. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3df53b5. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadGlobGrepAskUserQuestionFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitpnpmclaudeghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, pnpm and gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Preflight loads about 1.5k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 521 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Glob, Grep, AskUserQuestionAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from linuxfoundation/insights at commit 3df53b5, republished under its MIT licence (© linuxfoundation). 521 words, ~1,499 tokens.
.claude/skills/preflight/SKILL.md (or your agent's skills folder).You are running a comprehensive validation before submitting a pull request. Run each check in order, report results clearly, and help fix any issues found.
All script commands run from the frontend/ directory unless otherwise noted.
Before running any validation, check the state of the working tree:
git status
git diff --stat origin/main...HEAD
git log --format="%h %s%n%b" origin/main...HEADEvaluate:
IN- references inline in the description.--signoff? — Flag any commits without Signed-off-by: lines.Resolve any issues before proceeding.
Every source file (.ts, .vue, .js, .scss) must have the copyright header. Check for files missing it:
# From repo root
find frontend/app frontend/server -type f \( -name "*.ts" -o -name "*.vue" -o -name "*.js" -o -name "*.scss" \) | \
xargs grep -rL "Copyright" 2>/dev/null | grep -v node_modules | grep -v ".nuxt" | head -20The correct headers are:
// Copyright (c) 2025 The Linux Foundation and each contributor. + // SPDX-License-Identifier: MIT<!--\nCopyright (c) 2025 The Linux Foundation and each contributor.\nSPDX-License-Identifier: MIT\n-->If any files are missing headers, add them using the scripts/add-license.js script or manually.
# From repo root
pnpm formatThis applies oxfmt formatting. Run format before lint to eliminate whitespace noise from the lint step.
If files were modified, stage them:
git add -p# From repo root
pnpm lintIf there are lint errors, fix them. Common issues:
If any fixes were applied in Checks 1–3, re-run lint to confirm fixes are clean:
cd frontend && pnpm lintcd frontend && pnpm tsc-checkFix any type errors before proceeding. Common issues:
cd frontend && pnpm buildThe build must succeed. If it fails:
tsc-checkThe authoritative list of protected files is maintained in .claude/hooks/guard-protected-files.sh. Cross-reference the diff against that hook — do not rely on any hardcoded list here, which may be stale.
# Get changed files
git diff --name-only origin/main...HEAD
# Extract the protected path patterns from the hook
grep -E "^\s+(frontend/|\.husky/|\.oxlintrc|\.oxfmtrc|CLAUDE|\.claude/|scripts/|COPYRIGHT|package\.json|pnpm-lock)" .claude/hooks/guard-protected-files.shFor each changed file, check whether it matches any case pattern or glob ([[ ... == glob ]]) in the hook. If it does, flag it — those files should NOT be modified without code owner approval.
If protected files appear in the diff, warn the contributor and ask them to revert or get code owner approval.
git status
git log --format="%h %s%n%b" origin/main...HEADtype: description format per commit-workflow.md. Scope is optional. Valid types include feat, fix, docs, chore, refactor, build, etc.--signoff on all commits? — Every commit must have Signed-off-by:.IN- references inline in the description.Generate a summary of all changes for the PR description:
git diff --stat origin/main...HEADList:
server/api/Present a clear report:
PREFLIGHT RESULTS
─────────────────────────────────
✓ Working tree — Clean, N commits ahead of main
✓ License headers — All files have headers
✓ Formatting — Applied
✓ Linting — No errors
✓ TypeScript — No errors
✓ Build — Succeeded
✓ Protected files — None modified
✓ Commits — Conventions followed, signed off
─────────────────────────────────
READY FOR PROr if there are issues:
PREFLIGHT RESULTS
─────────────────────────────────
✓ Working tree — Clean, N commits ahead of main
✗ License headers — 2 files missing headers (see above)
✓ Formatting — Applied
✗ Linting — 3 errors (see above)
✓ TypeScript — No errors
✗ Build — Failed (see above)
✓ Protected files — None modified
✓ Commits — Conventions followed, signed off
─────────────────────────────────
ISSUES FOUND — Fix before submittingSuggest creating the PR:
"All preflight checks passed! Ready to create a PR. Would you like me to create it with
gh pr create?"
© linuxfoundation, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/preflight of linuxfoundation/insights.
Open the folder on GitHubat commit 3df53b5
Preflight next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Preflight this skilllinuxfoundation/insights | 280 | — | ~1.5k | Automated safety check: Notes | MIT | |
| OpenObserve ESLint and TypeScript Fixesopenobserve/openobserve | 22k | — | ~5.1k | Automated safety check: Pass | AGPL-3.0 | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.3k | 1 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Generate Release Notesteambit/bit | 18k | — | ~2.2k | Automated safety check: Pass | Custom licence | |
| Wagmi Feature Developmentwevm/wagmi | 6.8k | — | ~3.8k | Automated safety check: Pass | MIT | |
| Pnpm Engineteambit/bit | 18k | — | ~1.9k | Automated safety check: Pass | Custom licence |
openobserve/openobserve
A playbook for fixing ESLint and TypeScript errors in the OpenObserve web frontend, with rule-by-rule guidance and typing conventions.
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
teambit/bit
Generate comprehensive release notes for Bit from git commits and pull requests.
wevm/wagmi
Walks through adding a Wagmi feature across its layers: a Viem-based core action, TanStack Query options, and React and Vue bindings.
teambit/bit
Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.
biomejs/biome
A skill your agent uses when biome migrate eslint must preserve configurable ESLint rule options through source-option models, Biome conversions, typed rule variants, and migration fixtures.
linuxfoundation/insights
Add event tracking calls to Vue/Nuxt components in the Insights app using the useTrackEvent composable.
linuxfoundation/insights
Review a pull request against Insights architecture standards — fetches PR diff, verifies previous comments are addressed, validates PR metadata (title, branch, JIRA, size), runs a code-standards…
linuxfoundation/insights
Record an architecture decision as an ADR in api/docs/arch/adr/.
linuxfoundation/insights
Recover from missing DCO sign-off on commits. An agent skill from linuxfoundation/insights.
linuxfoundation/insights
Automated triage and fixing of Dependabot security vulnerabilities (IN-1189).
linuxfoundation/insights
Full development environment setup from scratch — prerequisites, dependencies, .env file, optional local PostgreSQL database (for auth/collections/chat work), and dev server.
Works with
Categories
Pre-PR validation — license headers, format, lint, TypeScript check, build, and protected file check. Preflight is an agent skill from linuxfoundation/insights. Pre-PR validation — license headers, format, lint, TypeScript check, build, and protected file check.
Preflight fits situations like: tasks that involve Linting and formatting.
Run `npx skills add linuxfoundation/insights --skill preflight -a claude-code`. Or copy the skill folder (.claude/skills/preflight in linuxfoundation/insights) into .claude/skills/preflight in your project. Claude Code loads it when a task matches its description.
Run `npx skills add linuxfoundation/insights --skill preflight -a codex`. Or copy the skill folder (.claude/skills/preflight in linuxfoundation/insights) into .agents/skills/preflight in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add linuxfoundation/insights --skill preflight -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/preflight, .gemini/skills/preflight, .github/skills/preflight and .opencode/skills/preflight in your project.
Going by SKILL.md and its folder, Preflight needs the command-line tools its instructions call (git, pnpm, claude and gh). Its frontmatter pre-approves these tools: Bash, Read, Glob, Grep, AskUserQuestion.
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Preflight is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Preflight: OpenObserve ESLint and TypeScript Fixes (openobserve/openobserve, 22k stars), Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.3k stars), Generate Release Notes (teambit/bit, 18k stars) and Wagmi Feature Development (wevm/wagmi, 6.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
linuxfoundation (a GitHub organization) maintains it in linuxfoundation/insights, which has 280 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 1, 2026.
Source: linuxfoundation/insights on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.