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.
Instal·la
npx skillscat add significant-gravitas/autogpt/backend-check Instal·la des del registre de SkillsCat.
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