SKILL.md
readonly

backend-check

作者:Significant-Gravitas
分类:
开发
182.6k
46.2k
name: backend-check
description: 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.
user-invocable: true

Backend Check

Steps

  1. Format: poetry run format — runs formatting AND linting. NEVER run ruff/black/isort individually
  2. Fix any remaining errors manually, re-run until clean
  3. Test: poetry run test (runs DB setup + pytest). For specific files: poetry run pytest -s -vvv <test_files>
  4. Snapshots (if needed): poetry run pytest path/to/test.py --snapshot-update — review with git diff

操作

install --global skills.sh
npx skills add Significant-Gravitas/AutoGPT/.claude/skills/backend-check

使用指南

  1. 1. 运行安装命令

    复制上方的安装命令在终端中执行,以进行全局安装。

  2. 2. 配置环境变量

    根据组件说明,在您的 MCP 客户端配置相应的环境密鑰。

  3. 3. 客户端使用

    在支持 MCP 的应用(如 Claude 或 Cursor)中配置并启用该技能。