Run the full backend formatting, linting, and test suite. Ensures code quality before commits and PRs. TRIGGER when backend Python code has been modified and needs validation.
Install
npx skillscat add significant-gravitas/autogpt/backend-check Install via the SkillsCat registry.
SKILL.md
Backend Check
Steps
- Format:
poetry run format— runs formatting AND linting. NEVER run ruff/black/isort individually - Fix any remaining errors manually, re-run until clean
- Test:
poetry run test(runs DB setup + pytest). For specific files:poetry run pytest -s -vvv <test_files> - Snapshots (if needed):
poetry run pytest path/to/test.py --snapshot-update— review withgit diff