share-slack

Post pytest results to a Slack channel via webhook with pass/fail counts.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/MediSolveAIDev/QA-MEDI-PLUGIN --skill share-slack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: share-slack
Source: https://github.com/MediSolveAIDev/QA-MEDI-PLUGIN/tree/main/.claude/skills/share-slack
Command: npx skills add https://github.com/MediSolveAIDev/QA-MEDI-PLUGIN --skill share-slack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Consolidate and broadcast automated test results to Slack, reducing manual reporting and speeding feedback loops.

Core Features & Use Cases

  • Generate a concise Slack message with PASS/FAIL/SKIP counts from test results.
  • Attach per-file detail as a collapsible Slack attachment for quick scan and deep dive when needed.
  • Works with CI pipelines and local runs by reading pytest outputs and optional Confluence URL.

Quick Start

Run the script after your tests complete to automatically post the results to your Slack channel.

Frequently Asked Questions about share-slack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically post pytest results to Slack?

To automatically post pytest results to Slack, run the script after tests complete to generate a concise message with PASS/FAIL/SKIP counts and send it via a Slack webhook. It reads test outputs and posts the structured update directly to your channel.

Do I need a webhook URL to send test results to Slack?

Yes, you need a SLACK_WEBHOOK_URL set in your environment to send test results to Slack. The script uses this webhook to construct and post the structured message containing your pytest summary and optional per-file attachments.

Can I use this script to report pytest outcomes from a CI pipeline?

Yes, you can use this script to report pytest outcomes from a CI pipeline. It applies to CI pipelines and local runs by reading pytest outputs and an optional Confluence URL to broadcast a concise Slack update with collapsible attachments for quick scanning.

What format should test results be in for Slack notification automation?

Test results for Slack notification automation should be in a Python runtime environment reading from data/test_results.json. The script also reads data/confluence_report_url.txt and tests/version_info.json to construct the structured Slack message and attachments.

How does the script format detailed test results in the Slack message?

The script formats detailed test results in the Slack message by attaching per-file details as a collapsible Slack attachment. This allows channel members to quickly scan the concise PASS/FAIL/SKIP summary and expand the attachment for a deep dive when needed.