agentsclimarketplace

Config modernizer

Skill pngdeity/apm-user-repository/packages/config-maintenance/.apm/skills/config-modernizer

Audit, update, and modernize software configuration files (dotfiles) with a focus on technical accuracy and system compatibility. Use when reviewing terminal emulator configs, shell rc files, editor settings, or any program configuration.From its SKILL.md

Install
npx -y skills add pngdeity/apm-user-repository --skill config-modernizer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.1 KB, 581 tokens by cl100k_base, as published. Nobody here has run it

Skill: Configuration Modernizer

A specialized workflow for auditing, updating, and modernizing software configuration files (dotfiles) with a focus on technical accuracy and system compatibility.

Instructions

1. Discovery & Context Gathering

  • Identify the Program: Use apropos <program> and man -f <program> to locate binary paths and manual sections.
  • Locate Configs: Read the FILES section of the program's primary man page. This is the authoritative source for finding where the program expects its configuration (e.g., ~/.config/, /etc/, ~/.<program>rc).
  • Check the Version: Run <program> --version and check the local package manager (e.g., yay -Q <program>) to ensure you are auditing for the correct release. Features and syntax change significantly between versions.

2. Environmental Audit

  • Environment Variables: Check $TERM, $SHELL, $XDG_SESSION_TYPE, and $DISPLAY/$WAYLAND_DISPLAY. Many configurations (especially for CLI tools and terminal emulators) behave differently based on these values.
  • Sandbox Detection: Identify if the program is running inside a multiplexer (Check $TMUX) or a container, as this often requires "passthrough" or "escape" configurations.

3. The Review (The Four C's)

Perform a line-by-line audit of all identified configuration files using these criteria:

  • Correctness: Identify typos, invalid options, or deprecated syntax. Use shell-native check commands if available (e.g., bash -n, python -m py_compile).
  • Completeness: Compare the current files against the program's default templates (often found in /usr/share/doc/ or the official GitHub repository). Identify missing standard features.
  • Currentness: Ensure the configuration leverages modern protocols (e.g., GPU acceleration, Wayland support, Kitty graphics protocol) instead of legacy fallbacks.
  • Best Practices: Audit for performance (e.g., optimized search commands, efficient redraw rates) and readability (e.g., logical grouping, helpful comments).

4. Strategy & Implementation

  • Document Findings: Present a concise summary of issues found before proposing changes.
  • Surgical Edits: Use the replace tool for targeted updates. Do not overwrite entire files unless they are beyond repair or the user requests a factory reset.
  • Verification: After editing, always run a syntax check or dry-run of the program to ensure the new configuration is valid.

Mandatory Safety Rule

  • User Confirmation: You MUST present your findings and proposed plan to the user. Do not modify configuration files until a Directive is issued.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,871. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.