jezweb/claude-skills / plugins/integrations/skills/google-chat-messages
google-chat-messages
VerifiedSend Google Chat messages via incoming webhooks — text, rich cards (cardsV2), threaded replies. TypeScript types, card builder utility, widget reference inline. Use whenever the user wants to post to Google Chat from a script, build a chatbot reply, send a notification card, build a Google Chat webhook integration, or troubleshoot card / threading issues.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.6 KB |
| assets/card-builder.ts | script | 1.5 KB |
| assets/types.ts | script | 1.5 KB |
| assets/webhook-sender.ts | script | 1.8 KB |
assets/types.ts
View on GitHub// Google Chat cardsV2 TypeScript types for webhook messages
// Reference: https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages
export interface WebhookMessage {
text?: string;
cardsV2?: CardWithId[];
thread?: Thread;
}
export interface Thread {
threadKey?: string;
}
export interface CardWithId {
cardId: string;
card: Card;
}
export interface Card {
header?: CardHeader;
sections: CardSection[];
}
export interface CardHeader {
title: string;
subtitle?: string;
imageUrl?: string;
imageType?: 'SQUARE' | 'CIRCLE';
}
export interface CardSection {
header?: string;
widgets: Widget[];
collapsible?: boolean;
uncollapsibleWidgetsCount?: number;
}
export interface Widget {
textParagraph?: { text: string };
image?: { imageUrl: string; altText?: string };
decoratedText?: DecoratedText;
buttonList?: { buttons: Button[] };
divider?: Record<string, never>;
}
export interface DecoratedText {
topLabel?: string;
text: string;
bottomLabel?: string;
startIcon?: Icon;
endIcon?: Icon;
wrapText?: boolean;
onClick?: OnClick;
button?: Button;
}
export interface Icon {
knownIcon?: string;
iconUrl?: string;
altText?: string;
}
export interface Button {
text: string;
icon?: Icon;
color?: { red?: number; green?: number; blue?: number; alpha?: number };
onClick: OnClick;
disabled?: boolean;
altText?: string;
}
export interface OnClick {
openLink?: { url: string };
action?: {
function?: string;
parameters?: { key: string; value: string }[];
};
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |