AgentSkillsCN

Pytest Integration Tests

Pytest集成测试

SKILL.md

Name

pytest-integration-tests

When to use

Use this skill when working on pytest integration tests tasks that need a repeatable and reviewable workflow.

Inputs required

  • Problem statement and desired outcome.
  • Relevant files, logs, or environment context.
  • Constraints (runtime, security, deadlines, compatibility).

Step-by-step procedure

  1. Clarify scope, constraints, and acceptance criteria.
  2. Inspect current implementation and identify risks.
  3. Propose a minimal change strategy with rollback notes.
  4. Implement changes incrementally with clear commit boundaries.
  5. Validate using focused tests/checks and capture evidence.
  6. Summarize results, open risks, and follow-up recommendations.

Output expectations

  • Concise implementation summary.
  • List of changed files and rationale.
  • Test/check commands and outcomes.
  • Remaining TODOs or risks for next phase.