slack-messaging

Send Slack messages and retrieve channel history via the Web API.

Updated Jan 6, 2023
One-click install
npx skills add https://github.com/pekral/phpstan-rules --skill slack-messaging-pekral
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack-messaging
Source: https://github.com/pekral/phpstan-rules/tree/main/.claude/skills/slack-messaging
Command: npx skills add https://github.com/pekral/phpstan-rules --skill slack-messaging-pekral

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, and includes scripts (resource) components.

What problem does it solve?

This skill solves the challenge of integrating Slack communication into automated workflows, allowing for seamless notifications and message retrieval without manual intervention.

Core Features & Use Cases

  • Automated Messaging: Send notifications or status updates to specific Slack channels directly from your terminal or CI/CD pipelines.
  • Message Retrieval: Fetch and parse recent conversation history from public or private channels into structured JSON format.
  • Use Case: Automatically post deployment status updates to a team channel or archive recent project discussions into a local JSON file for documentation.

Quick Start

Use the slack-messaging skill to send the message Deployment successful to the channel C0123456789.

Frequently Asked Questions about slack-messaging

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

FAQPage Schema
How do I send Slack notifications from a CI/CD pipeline?

Send Slack notifications from a CI/CD pipeline by using this Skill to programmatically post messages to specific channels via the Slack Web API. It uses curl and jq for secure API communication and JSON processing.

Can I retrieve and parse Slack channel history into JSON?

Retrieve and parse Slack channel history into JSON by using this Skill to fetch recent conversation history from public or private channels. The output is structured JSON formatted via jq.

Do I need curl and jq to automate Slack messaging?

You need curl and jq to automate Slack messaging with this Skill, as they handle secure environment-based authentication and JSON processing for interacting with the Slack Web API.

What is the best way to automate Slack messages without manual intervention?

The best way to automate Slack messages without manual intervention is using this Skill to send terminal-based status updates and notifications directly to Slack channels through the Web API.

Does this Slack messaging approach require environment-based authentication?

This Slack messaging approach enforces strict environment-based authentication to securely interact with the Slack Web API, ensuring your credentials are managed safely during automated messaging workflows.

Why use curl and jq instead of other tools for Slack API automation?

Use curl and jq for Slack API automation because they provide lightweight, scriptable JSON processing and secure HTTP requests, ideal for sending notifications and retrieving channel history directly from terminals.