dotfiles/.claude/skills/repomatic-audit/SKILL.md
Audit downstream repo alignment with upstream repomatic reference, covering workflows, configs, and conventions.
npx skillsauth add kdeldycke/dotfiles repomatic-auditInstall 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.
!ls .github/workflows/*.yaml 2>/dev/null
!grep -h 'uses:.*kdeldycke/repomatic' .github/workflows/*.yaml 2>/dev/null | head -5
!grep -A5 '\[tool.repomatic\]' pyproject.toml 2>/dev/null || echo "No [tool.repomatic] section"
![ -f repomatic/__init__.py ] && echo "CANONICAL_REPO" || echo "DOWNSTREAM"
You perform a comprehensive audit of a downstream repository against the upstream kdeldycke/repomatic reference. This goes beyond what repomatic workflow sync handles — it catches stale action versions in custom job content, missing workarounds, outdated configs, and conventions that can be borrowed from upstream.
This skill is for downstream repos only. If the context shows CANONICAL_REPO, tell the user this skill is not applicable.
all (default when $ARGUMENTS is empty): Run all audits below.workflows: Audit workflow files only.configs: Audit non-workflow config files only.claude: Audit claude.md alignment only.upstream: Identify downstream innovations that could be contributed back to repomatic.Use gh api repos/kdeldycke/repomatic/contents/{path} --jq '.content' | base64 -d to fetch upstream reference files.
workflows)Compare each local thin-caller workflow against its reference. These should be identical (except for files listed in exclude). Flag:
workflow_dispatch).@vX.Y.Z tag).tests.yaml)The header (name, on:, concurrency:) is synced automatically, but custom job content is not. Compare the job content against the reference for:
actions/checkout, astral-sh/setup-uv, codecov/* — compare pinned versions.UV_PYTHON.windows-11-arm + Python 3.10 (no native ARM64 build).codecov-action when upstream migrated to codecov-cli via uvx.--cov-report=xml, --junitxml=junit.xml needed for codecov-cli.run: | where run: > is needed for multi-line single commands.Respect exclude entries from [tool.repomatic] in pyproject.toml. Report excluded files but do not flag them as drift.
configs)Compare these files against the upstream reference:
| File | What to check |
| ------------------------------------- | ------------------------------------------------------------------------------------------------ |
| renovate.json5 | Missing assignees, missing package rules, stale binary versions in postUpgradeTasks |
| pyproject.toml [tool.typos] | Missing default.extend-identifiers for common capitalizations (GitHub, macOS, PyPI, iOS, etc.) |
| pyproject.toml [tool.bumpversion] | Missing ignore_missing_files |
| pyproject.toml [tool.ruff] | Missing or divergent lint rules, preview settings |
| pyproject.toml [tool.mypy] | Missing settings compared to reference |
| .github/ISSUE_TEMPLATE/ | Filename conventions (hyphens, not underscores), missing labels |
| .github/code-of-conduct.md | Stale or non-canonical attribution URLs |
| .github/funding.yml | Compare with reference |
| .gitignore | Compare with reference |
| lychee.toml | Note differences (usually project-specific, just flag for review) |
Skip files that are intentionally excluded via exclude in [tool.repomatic].
claude.md audit (claude)Fetch the upstream claude.md and identify universally applicable sections that the local claude.md is missing. Focus on:
Do not flag upstream sections that are project-specific (e.g., CLI abstractions, workflow design, release checklists, agent conventions).
upstream)Scan the downstream repo for patterns, workarounds, or configurations that are better than or missing from the upstream reference. These are candidates for contributing back to kdeldycke/repomatic. Look for:
extend-include patterns, pytest addopts, coverage settings that are more complete than upstream.pyproject.toml patterns: e.g., dependency group definitions, build config, or tool settings that could be generalized.claude.md sections, issue templates, or repo metadata patterns that would benefit all downstream repos.For each candidate, assess:
kdeldycke/repomatic, with a draft title and description.For each audit area, produce:
Suggest the user run:
/repomatic-sync to fix thin-caller workflow drift automatically./repomatic-lint to validate after fixes are applied.tools
Create or update an upstream contributions page (docs/upstream.md) tracking the project's relationship with its dependencies. Discovers merged PRs, reported issues, workarounds, and declined features.
documentation
Detect stale translations in readme.*.md and contributing.*.md files by comparing structure and content against the English source, then draft updated translations for changed sections.
testing
Two-way comparison and synchronization of Sphinx documentation across sibling projects. Discovers discrepancies in conf.py, install.md, index.md toctree, pyproject.toml docs dependencies, extra-deps sections, readme badges, and static assets. Use when you want to align documentation structure, catch stale dependencies, or push improvements across your Sphinx-enabled repositories.
tools
Optimize GitHub topics for discoverability by analyzing competition on topic pages.