.claude/skills/ai-standardize-renovate/SKILL.md
Deploy or validate Renovate dependency update configuration. Detects repo type (library vs IaC), package ecosystem, and generates or fixes renovate.json5.
npx skillsauth add svange/tagmania ai-standardize-renovateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Deploy or validate Renovate configuration for this repository: $ARGUMENTS
Detects whether this is a library (main-only) or IaC repo (dev/main), identifies the package ecosystem, and generates or validates a standardized renovate.json5.
/ai-standardize-renovate — Full run: detect, generate if missing, validate if present/ai-standardize-renovate --validate — Only check existing config for issues/ai-standardize-renovate --generate — Generate config (overwrites existing)/ai-standardize-renovate --fix — Auto-fix detected issuesgit fetch --all --prune 2>/dev/null
DEV_BRANCH=""
for candidate in dev develop staging; do
git show-ref --verify --quiet "refs/remotes/origin/$candidate" 2>/dev/null && DEV_BRANCH=$candidate && break
done
If DEV_BRANCH set: IaC repo. Otherwise: Library repo.
[ -f "pyproject.toml" ] && echo "pep621"
[ -f "package.json" ] && echo "npm"
[ -f ".pre-commit-config.yaml" ] && echo "pre-commit"
# github-actions always included
for f in renovate.json5 renovate.json .renovaterc .renovaterc.json; do
[ -f "$f" ] && echo "Found: $f" && break
done
| Update Type | Library Prefix | IaC Prefix | Automerge? | Release? |
|---|---|---|---|---|
| Vulnerability alert | fix(deps): | fix(deps): | Yes, bypass schedule | Patch |
| Prod dep patch | chore(deps): | fix(deps): | Yes | Lib: No, IaC: Patch |
| Prod dep minor | chore(deps): | fix(deps): | No | Lib: No, IaC: Patch |
| Prod dep major | chore(deps): | fix(deps): | No (dashboard) | Lib: No, IaC: Patch |
| Dev dep patch/minor | chore(deps-dev): | chore(deps-dev): | Yes, grouped | No |
| Dev dep major | chore(deps-dev): | chore(deps-dev): | No | No |
| GH Actions minor/patch | ci(deps): | ci(deps): | Yes, grouped | No |
| GH Actions major | ci(deps): | ci(deps): | No | No |
| Pre-commit hooks | ci(deps): | ci(deps): | Yes | No |
| semantic-release | chore(deps-dev): | chore(deps-dev): | Never | No |
| Lock file maintenance | chore(deps): | chore(deps): | Yes | No |
Read the appropriate template from this skill directory and adapt it:
library-template.json5 from ${CLAUDE_SKILL_DIR}iac-template.json5 from ${CLAUDE_SKILL_DIR}Adapt before writing:
matchManagers from pep621 to npm, change matchDepTypes from project.dependencies to dependencies and from project.optional-dependencies/dependency-groups to devDependencies, change python-semantic-release to semantic-releasebaseBranchPatterns to the detected DEV_BRANCHRead existing config and check for:
baseBranches should be baseBranchPatterns; matchDepGroups should be matchCategoriesuv is not valid (use pep621); pip_requirements is redundant with pep621packageRules entry needs commitMessagePrefixchore(deps):, IaC should use fix(deps):vulnerabilityAlerts with fix(deps):, at any time, automerge: truedependencyDashboardApproval, semantic-release needs automerge: false, GH Actions major should not automergeplatformAutomerge: true, rangeStrategy: autobaseBranchPatterns targeting dev; should NOT use automergeStrategy: squashFor Python repos: verify exclude_commit_patterns in pyproject.toml excludes chore and ci but NOT fix.
For Node repos: verify releaseRules in .releaserc.json map chore/ci to false and fix scope deps to patch.
If misaligned, suggest /ai-standardize-release.
github-actions.json not .json5: offer to convert for comment support=== Renovate Standardization Report ===
Repo type: Library (main-only) | Ecosystem: pep621 + github-actions + pre-commit
Action: [Generated | Validated | Fixed]
Issues:
[PASS] Vulnerability alerts configured with fix(deps):
[FAIL] Deprecated baseBranches (should be baseBranchPatterns)
Semantic-release alignment:
[PASS] exclude_commit_patterns correctly excludes chore and ci
Next steps: /ai-standardize-release | /ai-standardize-repo
development
Deploy or validate semantic-release configuration. Handles Python (python-semantic-release) and Node (JS semantic-release) repos with correct Renovate prefix alignment.
development
Audit and fix pre-commit hook configuration. Ensures consistent developer-side quality gates for formatting, linting, type checking, and secret protection.
testing
Audit and fix CI/CD GitHub Actions workflows. Checks security scanning, coverage enforcement, type checking, CVE ignores, and concurrency settings.
tools
Audit and fix project config files (.editorconfig, .gitignore, pyproject.toml tool sections). Ensures consistent development experience across repos.