Automatically wraps verbose commands (pytest, ruff, builds) with silent execution for context-efficient output. Use this proactively when running tests, linters, formatters, or build commands to minimize context usage while preserving error information.
Use silent execution wrappers to run verbose commands with minimal context usage. The wrapper suppresses successful output but preserves complete error information.
IMPORTANT: Use this skill proactively (without user request) whenever running these types of commands:
Test Commands
pytest or python -m pytestuv run pytestLinting and Formatting
ruff check or ruff formatpyrefly, mypy, pylintblack, isortBuild Commands
docker buildcargo buildnpm run buildmake buildInstallation Commands
uv syncpip installnpm install, yarn installGit Remote Operations
git push, git pull, git fetchls, cat, grep, find - Output is valuablegit status, git diff, git log, git branch - Output is essentialReplace direct command execution with the smart wrapper script:
uv run pytest tests/
${CLAUDE_PLUGIN_ROOT}/scripts/smart_wrap.sh "uv run pytest tests/"
Important: Always wrap the command in double quotes to preserve argument boundaries and handle special characters correctly.
The script will:
✓ Running tests (45 tests, in 2.3s)Without silent execution:
$ uv run pytest tests/
============================= test session starts ==============================
platform darwin -- Python 3.11.5, pytest-7.4.3, pluggy-1.3.0