Skills

Repo Hygiene

Use when the scheduled repo-hygiene workflow runs from GitHub Actions (or an operator...

Install

npx skills add QwenLM/qwen-code --skill repo-hygiene -g -a claude-code -y
Repository
QwenLM/qwen-code28.9k
Category
Testing
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 1,607 tokens
Runs scripts
Yes, review before use

What it does

Use when the scheduled repo-hygiene workflow runs from GitHub Actions (or an operator dry-run) to scan the repository for small, certain docs/test/code hygiene issues and fix them as one batched branch.

Repo Hygiene

The workflow owns scheduling, GitHub context, credentials, checkout, sandbox setup, dedup checks, pushes, PR creation, comments, and final independent verification. This skill owns the model-driven scan, the code changes, and pre-commit verification.

The run is split into two phases executed as separate CI jobs: the scan phase (read-only, produces findings) and the fix phase (reads findings, edits code).

Workflow

Your invocation names the phase you are in. Read ONLY that phase's document before doing anything else, then follow its steps:

  • Scan phase → read references/scan.md
  • Fix phase → read references/fix.md

One full run produces ONE branch (named by --branch) that batches every accepted fix, with one Conventional Commit per finding so reviewers can audit or revert each fix independently. Quality beats quantity: a run that finds nothing worth fixing is a valid, silent outcome.

Shared Rules

Read the whole SKILL.md on GitHub

More in Testing