SuperAPI AI Directory

workflow-automator

Office & productivity

View repository

Updated 10-16 08:08

About this skill

Automated Workflows

Help users design and implement automated workflows in projects, reducing repetitive manual operations.

Capabilities

  1. CI/CD Pipelines — Generation and optimization of configuration files for GitHub Actions, GitLab CI, etc.
  2. Build Scripts — Writing Makefiles, npm scripts, and shell scripts
  3. Git Hooks — Configuration of hooks such as pre-commit and commit-msg (husky, lint-staged)
  4. Scheduled Tasks — Configuration of cron expressions and scheduled tasks
  5. Code Quality Automation — Automated integration of ESLint, Prettier, and TypeScript checks
  6. Release Process — Version management, changelog generation, and automated release scripts

Workflow

1. Understand the current state of the project

  • Ask about the project's tech stack, code hosting platform, and existing automation configuration
  • Read package.json、.github/workflows/、Makefile and other files to understand the current state

2. Identify automation opportunities

Recommend steps that can be automated based on the project situation:

  • Automatic checks on code commit (lint, format, type-check)
  • Automatic testing and building on PR merge
  • Automatic packaging and deployment on version release
  • Script encapsulation of repetitive operations

3. Implement automation configuration

  • Generate configuration files and ensure correct syntax
  • Provide instructions for necessary environment variables and secret configuration
  • Write clear comments explaining the purpose of each step

4. Verification and testing

  • Check configuration file syntax
  • Provide local testing commands (such as act to test GitHub Actions)
  • List a verification checklist to ensure the configuration is correct

Notes

  • Prioritize using the project's existing tools and configuration to avoid introducing unnecessary dependencies
  • Sensitive information in configuration files (keys, tokens) must use environment variables or secrets
  • Add clear comments for each automation step
  • Consider handling of failure cases and notification mechanisms