agentsclimarketplace

Config auditing

Skill bg-szy/TOP-SKILLS/skills/marketplace/config-auditing

全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard

Install
npx -y skills add bg-szy/TOP-SKILLS --skill config-auditing

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

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 4 stars4 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.

What its author says it does

Copied from the file, not written here

Neovim configuration audit knowledge base. Use when: reviewing config files for issues, checking deprecated APIs, optimizing settings, or performing health checks. Provides checklists, best practices, and version-specific deprecated API detection patterns.

SKILL.md

3.9 KB, 917 tokens by cl100k_base, as published. Nobody here has run it

Neovim Configuration Auditing Skill

Systematic configuration analysis for identifying issues, optimizations, and deprecated API usage in Neovim setups.

Supporting Documents

DocumentPurposeWhen to Use
audit-checklist.mdStructured audit categories with detection patternsSystematic config review
best-practices.mdlazy.nvim patterns, vim.opt usage, keymap conventionsOptimization suggestions
deprecated-apis.mdVersion-specific deprecated APIs with grep patternsCompatibility checks

Quick Validation Commands

Run these headless commands for rapid assessment:

# Get Neovim version
nvim --version | head -1

# Get config path
nvim --headless -c "lua print(vim.fn.stdpath('config'))" -c "qa" 2>&1

# Count Lua files in config
find ~/.config/nvim -name "*.lua" 2>/dev/null | wc -l

# Count plugins (lazy.nvim)
ls ~/.local/share/nvim/lazy 2>/dev/null | wc -l

# Check for deprecated vim.api.nvim_buf_set_option usage
grep -rn "nvim_buf_set_option\|nvim_win_set_option" ~/.config/nvim --include="*.lua" 2>/dev/null | head -10

# Check startup time
nvim --startuptime /tmp/nvim-startup.log +q && tail -5 /tmp/nvim-startup.log

# Validate Lua syntax in config
nvim --headless -c "lua dofile(vim.fn.stdpath('config')..'/init.lua')" -c "qa" 2>&1

# Check for error on startup
nvim --headless -c "qa" 2>&1 | head -20

Scoring Criteria

Assign grades based on issue severity and count:

GradeCriteriaDescription
A0 Critical, 0-2 WarningsExcellent - Production ready
B0 Critical, 3-5 WarningsGood - Minor improvements possible
C0 Critical, 6+ Warnings OR 1 CriticalAcceptable - Needs attention
D2-3 Critical issuesPoor - Significant problems
F4+ Critical issuesFailing - Requires immediate fixes

Issue Severity Definitions

Critical: Security risks, breaking deprecated APIs (removed in current version), runtime errors Warning: Performance issues, deprecated APIs (still working), code style violations Suggestion: Optional improvements, modern alternatives, organization tips

Audit Workflow

  1. Gather Environment Info

    • Neovim version (determines which deprecated APIs apply)
    • Plugin manager type (lazy.nvim, packer.nvim, etc.)
    • Config structure (single file vs modular)
  2. Run Category Audits

    • Follow audit-checklist.md categories in order
    • Use grep patterns to detect issues programmatically
    • Note severity for each finding
  3. Check Version Compatibility

    • Reference deprecated-apis.md for user's Neovim version
    • Flag APIs deprecated OR removed in their version
  4. Apply Best Practices

  5. Calculate Grade

    • Count Critical/Warning/Suggestion issues
    • Apply scoring criteria above
    • Provide overall health assessment

Output Template

<audit_report>
## Summary
- **Grade**: [A-F]
- **Neovim Version**: [detected version]
- **Config Location**: [path]
- **Plugin Count**: [count]

## Critical Issues
[List each critical issue with file:line and fix]

## Warnings
[List each warning with file:line and recommendation]

## Suggestions
[List optional improvements]

## Statistics
| Metric | Value |
|--------|-------|
| Total Lua files | X |
| Total lines | Y |
| Plugins | Z |
| Startup time | Nms |
| Deprecated APIs | N |
</audit_report>

What ships with it: 4 files

129.6 KB alongside SKILL.md

Keep looking

Skills are one crate of 327,167. 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.