AGENT SKILL

eslint-gen

Generate ESLint config from your codebase patterns. Use when setting up linting.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

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

02 资源文件 7

03 SKILL.md 正文

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.

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

内容创作者
★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

Skill与智能体开发
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

律师与法务Skill与智能体开发
★ 1