custom-quality-check
Custom Quality Check
Purpose
This is a project-specific custom skill called by the Builder workflow to enforce code quality standards. It runs linting and quality checks specific to this project (claudecode_webui).
Generic workflow skills invoke this skill if it exists; if absent, the quality check step is skipped.
When Called
The Builder invokes this skill from its working directory (the worktree) after implementation, providing the list of changed files.
Input
changed_files: List of files modified (fromgit diff --name-only)
Quality Checks
Ruff Linting (Python files)
Run Ruff on modified Python files only:
# Get changed Python files
CHANGED_PY=$(git diff --name-only --diff-filter=AM | grep '\.py$')
# Run Ruff with auto-fix on changed files
if [ -n "$CHANGED_PY" ]; then
uv run ruff check --fix $CHANGED_PY
fi
Rules
- New code MUST NOT introduce new violations
- Changed code SHOULD fix existing violations when touched
- Auto-fix safe violations in modified files
- Line length: 100 characters
- Target Python: 3.11+
Important
- Do NOT run
uv run ruff check --fix src/on the entire codebase - Only lint files that were actually modified to avoid unrelated changes
Usage by Generic Skills
The Builder workflow calls this skill like:
Invoke custom-quality-check skill with changed_files
The skill runs project-specific quality checks in the Builder's working directory. If this skill does not exist, the generic workflow skips the quality check step.
More from edanstarfire/claudecode_webui
custom-cleanup-process
Project-specific cleanup process after issue completion. Stops test servers and cleans project-specific artifacts for claudecode_webui.
27custom-environment-setup
Project-specific environment setup for issue workflows. Calculates test ports and provides initialization context for minions.
25custom-test-process
Project-specific test process. Starts backend/vite servers, runs pytest, and verifies health endpoints for claudecode_webui.
21custom-build-process
Project-specific build process for the Builder workflow. Builds frontend assets for claudecode_webui.
15git-sync
Synchronize local main branch with remote, ensuring up-to-date base for worktrees.
2change-impact-analyzer
Determine what needs modification and identify potential side effects of changes. Use before implementing changes to understand full scope and prevent breaking existing functionality.
2