pytest-failure-triager
БесплатноБез исполняемых скриптовНе проверенParse pytest failure output into a prioritized fix plan with likely causes and minimal repro steps. Use after a failing test run in CI or locally.
от hmahmadcs379 установок в других каталогахОб этом скилле
Pytest Failure Triager
Purpose / Overview
Read pasted pytest output (or a short CI log) and produce an ordered plan: which failures to tackle first, what looks environmental vs code, and what to re-run.
When to Use
- CI is red and the log is long
- Multiple tests failed and ordering is unclear
- A single assertion failure needs a clear next experiment
Usage / Instructions
- Ask for the pytest output (or the failing portion). Prefer text over screenshots.
- Extract for each failure: node id, file:line, assertion/error type, short message.
- Cluster duplicates (same error type + similar message).
- Rank clusters:
- collection/import errors first (block everything)
- fixture/setup errors next
- assertion failures last, grouped by area
- For the top cluster, write:
- Hypothesis (1–2)
- Minimal checks (open file, inspect fixture, print related values)
- Re-run command focused on that node id
- Distinguish flaky signals (timeouts, order-dependent, network) from hard fails.
- If
E AssertionErrorshows expected/actual, restate the mismatch in one line. - Suggest whether to fix production code, test expectation, or test isolation.
- Do not propose deleting tests to go green.
- End with a 3-step action list the user can execute immediately.
- Keep answers structured with short headings so the user can skim.
- If information is missing, ask at most two clarifying questions before guessing.
- Prefer concrete commands or checklists the user can copy.
- Call out assumptions explicitly when the environment is unknown.
- Refuse to invent tool output you did not see; ask for a fresh paste instead.
- When offering optional follow-ups, keep them clearly optional.
- Stay within this skill's scope; suggest a different task type if the request drifts.
- End with a brief "done when" criterion so the user knows success.
Examples
Output shows ImportError in conftest.py plus three assertion failures
→ prioritize import; note assertions are blocked until collection works.
Requirements / Dependencies
Optional: local python3 / pytest if the user wants re-run commands tailored
to their environment. Analysis itself is text-only.
Limitations / Caveats
Cannot see unreproduced race conditions. Plugin-specific output may need the user to paste more context.
Security / Permissions
Do not request cloud CI tokens. Treat pasted logs as confidential.
Description
Parse pytest failure output into a prioritized fix plan with likely causes and minimal repro steps. Use after a failing test run in CI or locally.
License or terms
MIT-9
Use case
Use when you are the operator responsible for tasks described as: Parse pytest failure output into a prioritized fix plan with likely causes and minimal repro steps. Use after a failing test run in CI or locally.
Risks and mitigations
References
- pytest documentation: https://docs.pytest.org/
Ethical considerations
Any illegal use is prohibited. Usage that contravenes the law of the country of operation or international law is not acceptable. The publisher will not be accountable for illegal use. Do not apply this skill to money laundering support, sanctions evasion, or unauthorized surveillance. Do not use this skill to bypass access controls you are not entitled to.
Установить pytest-failure-triager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pytest-failure-triager?
Parse pytest failure output into a prioritized fix plan with likely causes and minimal repro steps. Use after a failing test run in CI or locally.
Как установить скилл pytest-failure-triager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pytest-failure-triager запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic