Agent Skills
› spacedriveapp/spacebot
› messaging-adapter-parity
messaging-adapter-parity
GitHub用于处理Slack、Telegram等消息适配器的变更,确保跨平台行为一致性。通过校验用户回复、状态更新、投递回执及重试机制的契约,防止回归并保证优雅降级。
Trigger Scenarios
修改 Slack 适配器
修改 Telegram 适配器
修改 Discord 适配器
修改 Webhook 适配器
更改状态投递逻辑
调整消息路由规则
处理投递回执
Install
npx skills add spacedriveapp/spacebot --skill messaging-adapter-parity -g -y
SKILL.md
Frontmatter
{
"name": "messaging-adapter-parity",
"description": "This skill should be used when the user asks to change \"Slack adapter\", \"Telegram adapter\", \"Discord adapter\", \"Webhook adapter\", \"status delivery\", \"message routing\", or \"delivery receipts\". Enforces cross-adapter parity and explicit delivery semantics."
}
Messaging Adapter Parity
Goal
Prevent adapter-specific regressions by validating behavior contracts across messaging backends.
Contract Areas
- User-visible reply behavior
- Status update behavior (
surfacedvsnot surfaced) - Delivery receipt ack/failure semantics
- Retry behavior and bounded backoff
- Error mapping and logging clarity
Parity Checklist
- For every changed adapter path, compare expected behavior with at least one other adapter.
- If an adapter intentionally does not surface a status, ensure receipt handling still converges correctly.
- Ensure unsupported features degrade gracefully and predictably.
- Ensure worker terminal notices cannot loop indefinitely.
Verification Checklist
- Run targeted tests for the touched adapter.
- Run targeted tests for receipt ack/failure paths.
- Run at least one parity comparison check across adapters.
- Run broad gate checks after targeted checks pass.
Required Handoff
- Adapter paths changed
- Contract decisions made
- Receipt behavior outcomes
- Verification evidence
- Residual parity gaps
Version History
- ac52277 Current 2026-07-05 14:56


