You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common pattern across workflows is the configuration of bot identity messages in safe-outputs. These messages provide consistent, professional communication when workflows interact with users through GitHub comments and status updates.
Why this should be shared: Currently, 31 workflows manually configure these message templates with slight variations. This creates inconsistency in bot communication style and makes it difficult to update messaging globally. A shared component would ensure all workflows use consistent, professional messaging.
Current Usage
This skill appears in the following workflows (sample of 10):
---
safe-outputs:
messages:
footer: "> 🤖 *Analysis by [{workflow_name}]({run_url})*"run-started: "🔄 [{workflow_name}]({run_url}) is analyzing..."run-success: "✅ [{workflow_name}]({run_url}) completed analysis."run-failure: "⚠️ [{workflow_name}]({run_url}) {status} during analysis."
---
# Bot Identity MessagesThis shared component provides consistent bot identity messaging for workflows that interact with users through comments and status updates.### Message TemplatesThe following message templates are configured:
- **footer**: Appears at the bottom of all bot comments- **run-started**: Posted when the workflow begins- **run-success**: Posted when the workflow completes successfully- **run-failure**: Posted when the workflow encounters an error### CustomizationWorkflows can override these defaults by providing their own `safe-outputs.messages` configuration. The shared component provides sensible defaults that work for most analysis and automation workflows.### Best Practices
- Keep footer messages concise and professional
- Use emojis sparingly (one per message type)
- Include workflow name and run URL for traceability
- Use consistent tone across all message types
Usage Example:
# In a workflowimports:
- shared/bot-identity-messages.mdsafe-outputs:
add-comment:
max: 1# Messages are inherited from shared component# Override if needed:# messages:# footer: "> 🔍 *Custom footer*"
Impact
Workflows affected: 31 workflows
Lines saved: ~20-30 lines per workflow = 620-930 total lines
Maintenance benefit:
Single location to update bot messaging style
Ensures consistent professional communication
Reduces copy-paste errors in message templates
Makes it easy to add new message types (e.g., run-warning, run-skipped)
Implementation Plan
Create shared component at .github/workflows/shared/bot-identity-messages.md
Define default message templates for common bot interactions
Update 5-10 high-traffic workflows as proof-of-concept
Document override patterns for workflows needing custom messages
Gradually migrate remaining workflows
Monitor for consistency and adjust templates based on feedback
Example Before/After
Before (in every workflow):
safe-outputs:
add-comment:
max: 1messages:
footer: "> 🤖 *Bot detection analysis by [{workflow_name}]({run_url})*"run-started: "🔍 [{workflow_name}]({run_url}) is analyzing account activity..."run-success: "✅ [{workflow_name}]({run_url}) completed bot detection analysis."run-failure: "⚠️ [{workflow_name}]({run_url}) {status} during bot detection."
This recommendation comes from the Workflow Skill Extractor analysis run on 2026-02-11. See the full analysis report in discussions.
Design Notes
Flexibility: Workflows can still override messages when needed for specialized communication patterns (e.g., security alerts need different tone).
Consistency: The default templates follow established patterns:
Use emojis strategically (one per message)
Include workflow name and run URL for traceability
Use professional, friendly tone
Keep messages concise
Evolution: As new message types are needed (e.g., rate-limiting warnings, permission issues), they can be added to the shared component and immediately available to all workflows.
Skill Overview
A common pattern across workflows is the configuration of bot identity messages in safe-outputs. These messages provide consistent, professional communication when workflows interact with users through GitHub comments and status updates.
Why this should be shared: Currently, 31 workflows manually configure these message templates with slight variations. This creates inconsistency in bot communication style and makes it difficult to update messaging globally. A shared component would ensure all workflows use consistent, professional messaging.
Current Usage
This skill appears in the following workflows (sample of 10):
bot-detection.md- "🤖 Bot detection analysis by..."security-guard.md- "🛡️ Security posture analysis by..."archie.md- Bot identity messagesbrave.md- Bot identity messagesbreaking-change-checker.md- Bot identity messagesci-doctor.md- Bot identity messagescloclo.md- Bot identity messagescraft.md- Bot identity messagesdaily-fact.md- Bot identity messagesdelight.md- Bot identity messagesTotal: 31 workflows use this pattern
Proposed Shared Component
File:
.github/workflows/shared/bot-identity-messages.mdConfiguration:
Usage Example:
Impact
Implementation Plan
.github/workflows/shared/bot-identity-messages.mdExample Before/After
Before (in every workflow):
After (in every workflow):
Related Analysis
This recommendation comes from the Workflow Skill Extractor analysis run on 2026-02-11. See the full analysis report in discussions.
Design Notes
Flexibility: Workflows can still override messages when needed for specialized communication patterns (e.g., security alerts need different tone).
Consistency: The default templates follow established patterns:
Evolution: As new message types are needed (e.g., rate-limiting warnings, permission issues), they can be added to the shared component and immediately available to all workflows.