config-hygiene

Clean and stabilize Node.js repository configuration files.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/gil00pita/lanify --skill config-hygiene-gil00pita
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: config-hygiene
Source: https://github.com/gil00pita/lanify/tree/main/.agents/skills/config-hygiene
Command: npx skills add https://github.com/gil00pita/lanify --skill config-hygiene-gil00pita

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Fixes configuration hygiene issues including gitignore patterns, ESLint config duplication, and hook scripts. Use when encountering backup files in repo, missing gitignore patterns, or config maintenance issues.

Core Features & Use Cases

  • Identify and remove backup/artifact files (e.g., *.bak, *.orig, *~) from the repository and extend .gitignore automatically.
  • Consolidate and deduplicate ESLint/Husky configurations to prevent maintenance drift.
  • Provide scripts and templates to enforce consistent gitignore and config scaffolds across Node.js projects.

Quick Start

Identify the config issue, apply the recommended fix, verify no unintended side effects, and commit the changes.

Frequently Asked Questions about config-hygiene

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove backup artifacts and update .gitignore automatically in a Node.js project?

To remove backup artifacts and update .gitignore, use scripts to identify files like *.bak or *.orig, delete them from the repository, and append their patterns to your .gitignore to prevent future tracking.

What causes ESLint and Husky configuration maintenance drift in a repository?

Configuration maintenance drift occurs when ESLint and Husky settings accumulate duplicated or conflicting rules over time. Consolidating and deduplicating these configuration files stabilizes your repository hooks and linting behavior.

What is the best way to standardize gitignore patterns across multiple Node.js projects?

The best way to standardize gitignore patterns is by applying consistent scaffolds and templates across your Node.js projects. This ensures uniform repository maintenance and prevents missing or inconsistent file exclusions.

Can I consolidate duplicated ESLint config files without breaking existing lint rules?

Yes, you can consolidate duplicated ESLint config files by inspecting your current settings, merging overlapping rules into a single configuration, and verifying that no unintended side effects occur before committing the changes.

Does fixing config hygiene require external dependencies or specific environment setup?

Fixing config hygiene does not require external dependencies, as it relies on simple internal scripts to inspect and fix gitignore, ESLint, and Husky configurations directly within your existing Node.js environment.

When should I not use automated scripts for repository configuration maintenance?

You should avoid automated repository configuration maintenance scripts when your project relies on intentionally fragmented gitignore patterns or highly customized Husky hooks that standard consolidation templates might overwrite or break.