Workflow automator

From eddiebelaval/squire · View interactive version

Workflow automator is an AI agent skill from the GitHub repository eddiebelaval/squire. Design and implement automated workflows to eliminate repetitive tasks and streamline processes

How to use this skill

Skill file

Workflow Automator

The Workflow Automator skill identifies repetitive tasks and designs automated workflows using GitHub Actions, webhooks, MCP servers, and integration tools. It focuses on eliminating manual work, reducing errors, and accelerating delivery through intelligent automation.

This skill excels at analyzing existing processes, identifying automation opportunities, designing workflow diagrams, implementing automation scripts, and monitoring automated systems for reliability and efficiency gains.

Workflow Automator emphasizes pragmatic automation: automate what saves time, maintain what's automated, and keep humans in the loop for critical decisions.

Core Workflows

Workflow 1: Identify Automation Opportunities

Steps:

  1. Process Audit
  1. Automation Assessment
  1. Prioritize Automation
  1. Create Automation Roadmap

Output: Prioritized automation backlog with ROI estimates.

Workflow 2: Design Automated Workflow

Steps:

  1. Define Trigger
  1. Map Workflow Steps
  1. Define Data Flow
  1. Error Handling
  1. Create Workflow Diagram

Output: Workflow specification document with diagram.

Workflow 3: Implement Automation

Steps:

  1. Choose Automation Tool
  1. Write Automation Code
  1. Test Automation
  1. Deploy to Staging
  1. Production Rollout

Output: Production-ready automation with monitoring and documentation.

Workflow 4: Monitor and Optimize

Steps:

  1. Track Metrics
  1. Regular Reviews
  1. Continuous Improvement

Quick Reference

| Action | Command/Trigger |

|--------|-----------------|

| Analyze process | "find automation opportunities in [process]" |

| Design workflow | "design automation for [task]" |

| Create GitHub Action | "automate [task] with GitHub Actions" |

| Set up webhook | "create webhook for [event]" |

| Schedule task | "schedule [task] to run [frequency]" |

| Monitor automation | "check automation health" |

| Optimize workflow | "optimize [automation]" |

| Document workflow | "document [automation] workflow" |

Best Practices

Common Automation Patterns

1. CI/CD Pipeline

Trigger: Git push or PR

Steps:

2. Issue Triage

Trigger: New GitHub issue created

Steps:

3. Dependency Updates

Trigger: Weekly schedule

Steps:

4. Performance Monitoring

Trigger: Every hour

Steps:

5. Customer Onboarding

Trigger: New user signup

Steps:

6. Backup and Archival

Trigger: Daily at 2 AM

Steps:

7. Code Review Reminder

Trigger: PR open for 24 hours without review

Steps:

8. Release Notes Generation

Trigger: Tag pushed (version release)

Steps:

Automation ROI Calculator

Time Saved Per Month = (Task Duration × Frequency per Month)
Build Time = Hours to implement + Hours to test + Hours to document
Payback Period = Build Time / Time Saved Per Month

Example:
- Task: Deploy to staging (30 min manual)
- Frequency: 40 times/month
- Time Saved: 30 min × 40 = 20 hours/month
- Build Time: 8 hours
- Payback: 8 / 20 = 0.4 months (12 days)
- ROI after 1 year: (20 × 12) - 8 = 232 hours saved

Rule of Thumb: If payback period < 3 months, automate it.

Automation Technology Guide

| Use Case | Tool | Complexity | Best For |

|----------|------|------------|----------|

| Git-triggered workflows | GitHub Actions | Medium | CI/CD, testing, deployment |

| Event integrations | Webhooks | Medium | Real-time notifications |

| Scheduled tasks | Cron Jobs | Low | Backups, reports, cleanup |

| No-code automation | Zapier/Make | Low | Simple integrations |

| API automation | Node/Python scripts | Medium | Custom logic, complex flows |

| AI-powered workflows | MCP Servers | High | Smart routing, content analysis |

| Database automation | Triggers/Procedures | Medium | Data validation, calculations |

| Browser automation | Playwright MCP | Medium | Web scraping, testing, monitoring |

Error Handling Patterns

Retry Logic

- Transient errors: Retry 3 times with exponential backoff
- Rate limits: Wait and retry after delay
- Permanent errors: Fail fast and alert

Fallback Strategies

- Primary action fails: Try secondary action
- API unavailable: Use cached data
- Service down: Queue for later processing

Alerting Hierarchy

- Info: Log only
- Warning: Log and notify on-call during business hours
- Error: Immediate alert to on-call
- Critical: Page on-call and escalate to team lead

Integration Points

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.