Loading...
Loading...
Run code quality checks (ruff, mypy, pytest) and optionally simplify code. This skill should be used when the user wants to check code quality, run linters, run tests, or simplify recently modified code. Triggered by /lint, /check, or /code-quality commands.
npx skill4agent add s-hiraoku/synapse-a2a code-quality/code-quality [options]--all-a--no-simplify--fix-f--fix--test-t--full--fix --test--allsynapse/git diff --name-only HEAD~1.pysynapse/tests/ruff check [files]--fixruff check --fix [files]uv run mypy [files]--test--fullpytestpytest tests/ -v--no-simplifycode-simplifier:code-simplifierTask tool with subagent_type: code-simplifier:code-simplifier
Prompt: Simplify and refine the recently modified code in [files].
Look for opportunities to reduce duplication, simplify conditionals,
and improve readability while maintaining all functionality.--fix/code-quality/code-quality --all --fix/code-quality --full/code-quality --test/code-quality --no-simplify/lint # Same as /code-quality (includes simplification)
/check # Same as /code-quality
/lint -a -f # All files with auto-fix
/lint -t # With tests
/lint --full # Full check (--fix --test)
/lint --no-simplify # Skip simplificationpytestpytest tests/ -v