config-hygiene

Analyze and correct .gitignore entries, ESLint configurations, and package.json scripts.

4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill config-hygiene
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: config-hygiene
Source: https://github.com/mgd34msu/goodvibes-gemini/tree/main/skills/config-hygiene
Command: npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill config-hygiene

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses common configuration hygiene issues in a project, such as incorrect .gitignore patterns, duplicated ESLint configurations, and silent failures in hook scripts, leading to a cleaner and more maintainable codebase.

Core Features & Use Cases

  • .gitignore Management: Detects and adds missing patterns to keep your repository clean.
  • ESLint Configuration: Identifies and suggests fixes for duplicated plugin definitions and excessive disabled rules.
  • Hook Script Validation: Ensures that essential scripts like prepare do not fail silently.
  • Use Case: Automatically update your .gitignore to exclude common build artifacts and editor temporary files, preventing them from being accidentally committed.

Quick Start

Run the check-config.js script to identify configuration hygiene issues in the current project.

Frequently Asked Questions about config-hygiene

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

FAQPage Schema
How do I fix duplicated ESLint rules and clean up my repository config?

Fix repository config by analyzing and correcting `.gitignore` entries, ESLint configurations, and package.json scripts. This targets unignored backup files, duplicated linting rules, and silent hook failures, ensuring project consistency and reducing maintenance overhead.

Why does my gitignore fail to exclude backup files and editor temporary files?

Your `.gitignore` fails to exclude backup files due to missing patterns. Analyzing `.gitignore` entries detects and adds missing patterns to keep your repository clean, preventing common build artifacts and editor temporary files from being accidentally committed.

How do I stop silent failures in npm prepare hook scripts?

Stop silent failures in npm prepare hook scripts by validating package.json scripts. Hook script validation ensures that essential scripts like `prepare` do not fail silently, catching configuration issues that would otherwise disrupt project consistency and maintenance.

Does this config hygiene check work with existing ESLint configurations?

Yes, this config hygiene check works with existing ESLint configurations by identifying and suggesting fixes for duplicated plugin definitions and excessive disabled rules. It analyzes your current setup to ensure project consistency without requiring a full configuration rewrite.

What is the best way to identify missing gitignore patterns in a software project?

The best way to identify missing `.gitignore` patterns is to run a dedicated config hygiene check script. This process analyzes your `.gitignore` entries to detect and add missing patterns, keeping your repository clean and free of unignored backup files and build artifacts.

What are common configuration hygiene issues in a JavaScript repository?

Common configuration hygiene issues in a JavaScript repository include incorrect `.gitignore` patterns, duplicated ESLint configurations, and silent failures in hook scripts. Resolving these issues ensures a cleaner, more maintainable codebase with reduced maintenance overhead.