Pytest
技能 已验证 活跃pytest - Python's most powerful testing framework with fixtures, parametrization, plugins, and framework integration for FastAPI, Django, Flask
To serve as a definitive guide for professional Python testing with pytest, enabling developers to write robust, efficient, and maintainable tests.
功能
- Detailed pytest usage with fixtures and parametrization
- Framework integration for FastAPI, Django, Flask
- Examples for async testing, mocking, and coverage
- Guidance on test organization and markers
使用场景
- Writing unit and integration tests for Python projects
- Implementing Test-Driven Development (TDD) workflows
- Testing asynchronous Python code and APIs
- Setting up and configuring complex testing scenarios
非目标
- Executing tests directly
- Providing a testing environment
- Covering specific project build or deployment processes
安装
npx skills add bobmatnyc/claude-mpm-skills通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。
质量评分
已验证类似扩展
Workflow Patterns
99Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.
Testing Anti Patterns
97Never test mock behavior. Never add test-only methods to production classes. Understand dependencies before mocking. Language-agnostic principles with TypeScript/Jest and Python/pytest examples.
Openclaw Debugging
100Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code.
Add New Opc Skill
100Checklist and automation guide for adding a new skill to the OPC Skills project. Ensures all required files, metadata, logos, and listings are created before release. Use when adding a new skill, publishing a skill, or preparing a skill for release.
Using Git Worktrees
100在开始需要与当前工作区隔离的功能性工作,或在执行实现计划之前使用 - 通过原生工具或 git worktree 回退确保存在隔离的工作区。
Baseline Ui
100在 Tailwind CSS 项目中验证动画持续时间,强制执行排版比例,检查组件可访问性,并防止布局反模式。适用于构建 UI 组件、审查 CSS 工具类、 styling React 视图或强制执行设计一致性。