Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
CommunicationSimplesAuto-Sync

Slack Notifier

porTHIAGONOMA·THIAGONOMA· v1.3.0 · atualizado em 2026-04-12T22:48:41.700Z
82
Score

Envia notificações ricas ao Slack via Webhooks e Bolt SDK: Block Kit messages, modais interativos, threads de alertas e slash commands. Gerencia rate limiting, retry automático e formatação contextual.

slacknotificationswebhooksblock-kitbolt-sdkalertschatops
Linguagens
TypeScriptJavaScript
987Stars
67Forks
18.9KUsos
Fork

Documento do Skill

SKILL.mdslack-notifier/workflow
Passo-a-passo detalhado do skill, referenciando as fases cognitivas:
1
SENSE — Identificar contexto e urgência
Definir canal: `#deployments` (informativo), `#alerts-critical` (urgente), `#approvals` (workflow)
Verificar se usa Incoming Webhook ou Bot Token
2
RECOMMEND — Mensagem simples com webhook
```typescript
// lib/notifications/slack.ts
export async function notifySlack({
title, message, color = '#00b894', channel, fields,
}: SlackNotification) {
const response = await fetch(process.env.SLACK_WEBHOOK_URL!, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
channel,
attachments: [{
color,
blocks: [
{
type: 'section',
text: { type: 'mrkdwn', text: `*${title}*\n${message}` },
},
fields && {
type: 'section',
fields: fields.map(({ label, value }) => ({
type: 'mrkdwn', text: `*${label}*\n${value}`,
})),
},
{ type: 'context', elements: [{
type: 'mrkdwn', text: `<!date^${Math.floor(Date.now()/1000)}^{date_short_pretty} at {time}|now>`,
}]},
].filter(Boolean),
}],
}),
});
if (!response.ok) throw new Error(`Slack error: ${response.status}`);
}
```
3
RECOMMEND — Alerta de deploy com botões (Block Kit)
```typescript
await notifyDeployApproval({
service: 'skillschain-site',
version: 'v1.2.3',
environment: 'production',
deployer: 'THIAGONOMA',
previewUrl: 'https://staging.synapticskills.ai',
});
// Gera mensagem com botões Approve/Reject
// Usa Slack Bolt para capturar a interação do botão
```
4
RECOMMEND — Retry com backoff
```typescript
async function sendWithRetry(payload: object, maxRetries = 3): Promise<void> {
for (let attempt = 0; attempt <= maxRetries; attempt++) {
const res = await fetch(webhookUrl, { method: 'POST', body: JSON.stringify(payload) });
if (res.ok) return;
if (res.status === 429) {
const retryAfter = Number(res.headers.get('Retry-After') ?? 1);
await new Promise(r => setTimeout(r, retryAfter * 1000));
continue;
}
if (attempt === maxRetries) throw new Error(`Failed after ${maxRetries} retries`);
await new Promise(r => setTimeout(r, 2 ** attempt * 1000)); // exponential backoff
}
}
```
5
EVALUATE — Testar em canal de teste
```bash
# Enviar mensagem de teste
curl -X POST $SLACK_WEBHOOK_URL \
-H 'Content-type: application/json' \
-d '{"text": "🧪 Teste de notificação do sistema"}'
```
6
REFLECT — Documentar e monitorar
Criar runbook: quais alertas existem, o que cada um significa, quem é responsável
Configurar fallback: se Slack falhar, enviar para email ou PagerDuty
Reportar telemetria via mcp-skillschain

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Depende deAuthenticate Service
24%
Hebbian Synapse
Composite0.240
w = 0.3·α + 0.5·β + 0.2·γ
85
Compõe com ←Webhook Manager
21%
Hebbian Synapse
Composite0.210
w = 0.3·α + 0.5·β + 0.2·γ
83
Similar a ←Doc Co-Authoring Workflow
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
85
Similar a ←internal-comms
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
80
Similar a ←Slack GIF Creator
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
82
Similar a ←Send Email
15%
Hebbian Synapse
Composite0.150
w = 0.3·α + 0.5·β + 0.2·γ
87
Co-executedWebhook Manager
27%
Hebbian Synapse
Composite0.273
w = 0.3·α + 0.5·β + 0.2·γ
83
Co-executed ←Slack GIF Creator
49%
Hebbian Synapse
Composite0.485
w = 0.3·α + 0.5·β + 0.2·γ
82
Co-executed ←Send Email
41%
Hebbian Synapse
Composite0.406
w = 0.3·α + 0.5·β + 0.2·γ
87
Co-executed ←Prompt Optimizer
40%
Hebbian Synapse
Composite0.398
w = 0.3·α + 0.5·β + 0.2·γ
60
Co-executed ←Markdown to Docs
40%
Hebbian Synapse
Composite0.398
w = 0.3·α + 0.5·β + 0.2·γ
78

Árvore do Skill

Slack Notifier
slack-notifier
Fases Cognitivas6
1.SENSE: Percepção
2.CONTEXTUALIZE: Contextualização
3.HYPOTHESIZE: Hipótese
4.RECOMMEND: Recomendação
5.EVALUATE: Avaliação
6.REFLECT: Reflexão
Triggers15
send slack messageenviar mensagem slackslack notificationslack alertnotificar slackslack webhookslack botblock kit messageslack integrationchatopsslack channel postslack threadalert to slackslack deploy notificationslack incoming webhook

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download slack-notifier
$ synaptic skills detail slack-notifier
$ synaptic skills live slack-notifier

Links

GitHub Repository