| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An AI skill that automatically interprets coding standards, configures static analysis and linting tools, executes lint checks, and assists with code quality improvement. The skill supports both configuration-only workflows (e.g., "generate a linter config for a coding standard") and end-to-end quality enforcement workflows (e.g., "check this code against our coding standard and suggest fixes").
AI-assisted configuration tools, while powerful, can sometimes misinterpret coding standards and generate incorrect or incomplete configurations.
LintConfig mitigates this by:
Add hooks for claude code. ( Although Skills are designed to auto-activate in Claude Code, but in practice, activation is unreliable without explicit hooks. )
pnpx claude-skills-cli add-hook
Install directly in Claude Code with two commands:
/plugin marketplace add idiomaticrefactoring/LintConfig /plugin install LintConfig@LintConfig
Example:
# For Claude Code
cp -r LintConfig/skills/LintConfig ~/.claude/skills/
# For Cursor
cp -r LintConfig/skills/LintConfig ~/.cursor/skills/| Platform | Skills Directory | Activation |
|---|---|---|
| Claude Code | ~/.claude/skills/ | Auto-activate |
| Cursor | ~/.cursor/skills/ | Auto-activate |
| Windsurf | ~/.windsurf/skills/ | Auto-activate |
| GitHub Copilot | ~/.copilot/skills/ | Use /lintconfig command |
| OpenCode | ~/.opencode/skills/ | Auto-activate |
| Codex | ~/.codex/skills/ | Use /lintconfig command |
| Gemini | ~/.gemini/skills/ | Auto-activate |
Supported: Claude Code, Cursor, Windsurf, OpenCode, Gemini
The skill activates automatically when you request linter configuration or code quality tasks. Just chat naturally:
Generate Checkstyle configuration for "Package declaration The package declaration is not line-wrapped. The column limit (Section 4.4, Column limit: 100) does not apply to package declarations."
Configure Checkstyle for Google Java Style Guide
Check this code at LintConfig/code/ArrayCombination.java against our coding standard at LintConfig/test/test_cs/package_declaration.txt and suggest fixes
Supported: GitHub Copilot, Codex
Use the slash command to invoke the skill:
/lintconfig Generate a linter configuration that enforces: Package declaration The package declaration is not line-wrapped. The column limit (Section 4.4, Column limit: 100) does not apply to package declarations.
/lintconfig Configure Checkstyle for Google Java Style Guide
Generate linter configuration files without executing lint checks:
Generate a Checkstyle configuration for the following coding standard: [Your coding standard here]
Full workflow from standard → configuration → linting → repair:
Parse this coding standard, configure Checkstyle, lint my code, and suggest fixes: [Your coding standard or file path or url] [Your lintername] [Your code or file path]
| Platform | Installation | Activation | Status |
|---|---|---|---|
| Claude Code | Marketplace / Manual | Auto-activate | ✅ Supported |
| Cursor | Manual | Auto-activate | ✅ Supported |
| Windsurf | Manual | Auto-activate | ✅ Supported |
| GitHub Copilot | Manual | Slash command /lintconfig | ✅ Supported |
| OpenCode | Manual | Auto-activate | ✅ Supported |
| Codex | Manual | Slash command /lintconfig | ✅ Supported |
| Gemini | Manual | Auto-activate | ✅ Supported |
The skill follows a structured 5-step process:
| Linter | Language | Status | Rules Available |
|---|---|---|---|
| Checkstyle | Java | ✅ Active | 184+ rules |
| ESLint | JavaScript/TypeScript | 🚧 Planned | - |
| Ruff | Python | 🚧 Planned | - |
| Pylint | Python | 🚧 Planned | - |
| RuboCop | Ruby | 🚧 Planned | - |
LintConfig/ ├── data/ # Linter rule knowledge base │ └── Checkstyle/ │ ├── CheckstyleIndex.json # Rule index (184 rules) │ ├── CheckstyleConfig.xml # Example configuration │ └── rules/ # Complete rule documentation │ └── [184 JSON files] # Individual rule details ├── prompt/ # Prompt templates │ ├── Prompt_Parse_CodingStandard.md │ ├── Prompt_Configure_Linter.md │ ├── Prompt_Prepare_LinterRuleIndex.md │ └── Prompt_Prepare_LinterRuleCompleteInformation.md ├── output/ # Generated configurations │ ├── CheckstyleConfig.xml │ ├── CONFIGURATION_SUMMARY.txt │ └── RULE_MAPPING_TABLE.txt ├── test/ # Test cases │ ├── test_cs/ # Checkstyle test files │ └── test_task_prompt/ # Prompt examples ├── SKILL.md # Skill definition └── README.md # This file
CHECKSTYLE CONFIGURATION SUMMARY ================================================================================ PROJECT: Google Java Style Guide - Checkstyle Configuration Total Coding Rules Analyzed: 47 Checkstyle Rules Configured: 23 COVERAGE CLASSIFICATION - Exact Match: 32 rules (68%) - Over-Approximation: 5 rules (11%) - Under-Approximation: 3 rules (6%) - Not Covered: 7 rules (15%) Rules Successfully Mapped: 40 out of 47 (85%)
The skill generates validated XML/JSON/YAML configuration files ready to use:
<?xml version="1.0" encoding="UTF-8"?>
<module name="Checker">
<module name="LineLength">
<property name="max" value="100"/>
<property name="ignorePattern" value="^(package|import) .*"/>
</module>
<module name="TreeWalker">
<module name="NoLineWrap">
<property name="tokens" value="PACKAGE_DEF"/>
</module>
</module>
</module>The skill classifies how well each linter configuration aligns with your coding rules:
This helps you understand the limitations and make informed decisions about your linting setup.
We welcome contributions! Areas where help is needed:
Inspired by the need for automated linting configuration in AI-assisted coding workflows. Built to bridge the gap between natural language coding standards and formal linter configurations.
| Back | FazBrowse Home | New Git URL |