skills$openclaw/eslint-gen
lxgicstudios8.3k

by lxgicstudios

eslint-gen – OpenClaw Skill

eslint-gen is an OpenClaw Skills integration for coding workflows. Generate ESLint config from your codebase patterns. Use when setting up linting.

8.3k stars9.3k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameeslint-gen
descriptionGenerate ESLint config from your codebase patterns. Use when setting up linting. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/eslint-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/eslint-gen
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains eslint-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
1.1 KB
index.ts
1.6 KB
_meta.json
291 B
package-lock.json
46.2 KB
package.json
638 B
README.md
486 B
SKILL.md
2.2 KB
tsconfig.json
217 B
SKILL.md

name: eslint-gen description: Generate ESLint config from your codebase patterns. Use when setting up linting.

ESLint Config Generator

Stop copying ESLint configs from other projects. This tool scans your actual codebase and generates a config that matches how you already write code.

One command. Zero config. Just works.

Quick Start

npx ai-eslint-config .

What It Does

  • Scans your existing code to detect patterns and conventions
  • Generates .eslintrc that matches your actual style
  • Handles TypeScript, React, Vue, and Node.js projects
  • Sets up proper parser and plugin configurations
  • Avoids rules that would flag your existing code

Usage Examples

# Analyze and generate for current project
npx ai-eslint-config .

# Generate strict config
npx ai-eslint-config . --strict

# Output to specific file
npx ai-eslint-config . -o .eslintrc.json

Best Practices

  • Run on clean code first - Generate config after your codebase is in a good state
  • Review the rules - AI picks sensible defaults but you know your team's preferences
  • Extend don't override - Use extends for shared configs, customize only what you need
  • Add incrementally - Start lenient, tighten rules over time

When to Use This

  • Starting a new project and need linting fast
  • Standardizing code style across a team
  • Migrating from TSLint or other deprecated linters
  • Learning ESLint rules through real examples

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-eslint-config --help

How It Works

The tool uses glob patterns to find source files, analyzes code style patterns like semicolons, quotes, and spacing, then generates an ESLint config that codifies those patterns into enforceable rules.

License

MIT. Free forever. Use it however you want.

README.md

ai-eslint-config

Generate an ESLint config that matches your codebase's existing style. No more arguing about semicolons.

Install

npm install -g ai-eslint-config

Usage

npx ai-eslint-config
# → ESLint config written to eslint.config.js

npx ai-eslint-config --format json
# → Generates .eslintrc.json instead

npx ai-eslint-config --dir ./src
# → Only analyze files in ./src

Setup

export OPENAI_API_KEY=sk-...

License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-eslint-config --help ```

FAQ

How do I install eslint-gen?

Run openclaw add @lxgicstudios/eslint-gen in your terminal. This installs eslint-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/eslint-gen. Review commits and README documentation before installing.