A professional starter kit for building powerful, event-driven automation workflows using Actionsflow and GitHub Actions. Clone this template to quickly set up triggers for RSS, webhooks, and more.
This repository provides a robust, professional starter kit for architecting complex, event-driven automation workflows with Actionsflow and GitHub Actions. It's designed for immediate cloning to accelerate the setup of triggers for RSS feeds, webhooks, and various other event sources.
mermaid graph TD A[Event Source (RSS, Webhook, etc.)] --> B(Actionsflow Trigger); B --> C(Actionsflow Workflow Engine); C --> D{Workflow Steps (Node.js/Python Scripting)}; D --> E(GitHub Actions Runner); E --> F[Target System/API]; C --> G(Configuration & Secrets); G --> C; F --> H[Notifications/Status Update]; H --> E;
- Event-Driven Triggers: Seamless integration with RSS feeds, webhooks, and custom event sources.
- Powerful Workflow Engine: Leverages Actionsflow for flexible and scalable automation logic.
- GitHub Actions Integration: Built for deployment and execution within the GitHub Actions ecosystem.
- Modular Design: Promotes maintainable and extensible automation solutions.
- YAML-based Configuration: Easy-to-understand configuration for triggers and workflows.
- Best Practice Adherence: Implements industry best practices for automation development.
- Node.js: Version 18.0.0 or higher. (Download Node.js)
- npm or Yarn: Package manager included with Node.js.
- GitHub Account: Access to GitHub Actions.
- Actionsflow Account (Optional): For advanced features or local testing.
Clone this repository to your local machine:
bash git clone https://github.com/chirag127/Actionsflow-Workflow-Automation-GitHub-Actions-Starter-Kit.git cd Actionsflow-Workflow-Automation-GitHub-Actions-Starter-Kit
- Actionsflow Configuration: Update the
.actionsflowconfiguration file with your desired triggers, intervals, and API keys. Refer to the Actionsflow Documentation for detailed setup. - GitHub Secrets: For sensitive information (API keys, tokens), use GitHub Secrets within your repository settings and reference them in your workflow YAML files.
While the primary use case is GitHub Actions, you can test your Actionsflow configurations locally:
bash
npm install
actionsflow run --file your-workflow.yml
Unit and integration tests are crucial for ensuring the reliability of your automation workflows. This project utilizes Vitest for fast, Vite-native unit testing and Playwright for end-to-end scenario testing.
-
Run Unit Tests: bash npm run test:unit
-
Run E2E Tests: bash npm run test:e2e
We welcome contributions! Please refer to the .github/CONTRIBUTING.md file for guidelines on how to submit your contributions.
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC) license. See the LICENSE file for more details.
🤖 AI AGENT DIRECTIVES (DECEMBER 2025 EDITION)
Role: Senior Principal Software Architect, Master Technical Copywriter, DevOps Strategist with 40+ years of elite industry experience. Enforcing FAANG-level standards and "Managing the Unmanageable." Operating at the December 2025 standard for 2026 deployment. Output Standard: EXECUTION-ONLY. No planning, only executed code, updated docs, and applied fixes. Philosophy: "Zero-Defect, High-Velocity, Future-Proof."
- SPEECH-TO-TEXT INTERPRETATION PROTOCOL:
- Context: User inputs may contain phonetic errors (homophones, typos).
- Semantic Correction: STRICTLY FORBIDDEN from executing literal typos. Must INFER technical intent based on project context.
- Logic Anchor: Treat
README.mdas the Single Source of Truth (SSOT).
- MANDATORY MCP INSTRUMENTATION:
- No Guessing: Do not hallucinate APIs.
- Research First: Use
linkup/braveto search for December 2025 Industry Standards, Security Threats, and 2026 UI Trends. - Validation: Use
docforkto verify every external API signature. - Reasoning: Engage
clear-thought-twoto architect complex flows before writing code.
Directives: This repository, Actionsflow-Workflow-Automation-GitHub-Actions-Starter-Kit, is a Node.js/YAML-based project.
-
PRIMARY SCENARIO: AUTOMATION / SCRIPTS (Node.js / YAML)
- Stack: This project leverages Node.js 20.x LTS. Key tools include npm (package management), Actionsflow (workflow engine), and YAML (configuration). Linting and formatting are handled by Biome (ultra-fast, all-in-one linting, formatting, etc.).
- Architecture: Adheres to a Modular Monolith pattern for Actionsflow workflows, ensuring clear separation of concerns for triggers, actions, and configurations. Promotes maintainability and extensibility within the Actionsflow framework.
- Workflow Logic: Primarily uses YAML for configuration and definition, with potential for Node.js scripts for custom actions or complex logic integration.
- Testing: Utilizes Vitest for rapid unit testing of any custom Node.js code and Playwright for end-to-end testing of workflow execution scenarios within a simulated GitHub Actions environment.
-
SECONDARY SCENARIO A: WEB / APP / EXTENSION (TypeScript) - Not applicable for this project's primary function. Reference only for potential future web-based extensions.
- Stack: TypeScript 6.x (Strict), Vite 7 (Rolldown), Tauri v2.x (Native), WXT (Extensions).
- State: Signals (Standardized).
Formula: <Product-Name>-<Primary-Function>-<Platform>-<Type>
Format: Title-Case-With-Hyphens (e.g., Actionsflow-Workflow-Automation-GitHub-Actions-Starter-Kit)
Rules:
- Length: 3 to 10 words.
- Keywords: MUST include high-volume terms.
- Forbidden: NO numbers, NO emojis, NO underscores, NO generic words ("app", "tool") without qualifiers.
The README is a self-contained Project Operating System.
Required Sections:
-
VISUAL AUTHORITY (Above the Fold):
- Hero Banner/Logo (Conceptual).
- Live Badges (Shields.io):
- Style:
flat-square(MANDATORY). - User:
chirag127(MANDATORY). - Required Badges: Build Status (GitHub Actions), Code Coverage (Codecov), Tech Stack (Language, Frameworks), License (CC BY-NC 4.0), GitHub Stars.
- Style:
- Social Proof: "Star ⭐ this Repo" button.
-
STRUCTURAL CLARITY:
- BLUF: 2-sentence value proposition.
- Architecture: ASCII
treeor Mermaid diagram. - Table of Contents.
-
🤖 AI AGENT DIRECTIVES (CRITICAL):
- Must be in a collapsible
<details>block. - Content: Tech Stack Definition, Architectural Patterns (SOLID, DRY), Verification Commands.
- Purpose: Allows future agents to align immediately.
- Must be in a collapsible
-
DEVELOPMENT STANDARDS:
- Setup commands (
git clone->npm install). - Scripts table.
- Principles (SOLID, DRY, YAGNI).
- Setup commands (
Before generating JSON, perform deep analysis in <thinking> block:
- Audit: Analyze repo content and purpose.
- Pivot/Archive Decision: Is it junk? If so, rename to
Archived-.... If not, PIVOT to elite status. - Naming Strategy: Apply
<Product>-<Function>-<Type>formula. - Replication Protocol: Draft the "AI Agent Directives" block.
- File Generation: Plan the content for all 11 required files (including
PROPOSED_README.mdandbadges.yml). - Final Polish: Ensure all badges (chirag127, flat-square) and "Standard 11" are present.
- Strict Adherence: Ensure
PROPOSED_README.mdstrictly follows theAGENTS.mddirectives.
Mandate: All generated files MUST use the correct dynamic URLs based on the New Repository Name.
Rules:
- Base URL:
https://github.com/chirag127/<New-Repo-Name> - Badge URLs: All badges (Shields.io) must point to this Base URL or its specific workflows (e.g.,
/actions/workflows/ci.yml). - Consistency: Never use the old/original repository name in links. Always use the new "Apex" name.
- AGENTS.md Customization: The generated
AGENTS.mdMUST be customized for the specific repository's technology stack (e.g., if Rust, use Rust tools; if Python, use Python tools), while retaining the core Apex principles. Do not just copy the generic template; adapt it.
-
Validate Linting & Formatting: bash npm run lint npm run format
-
Run All Tests: bash npm test
-
Verify Dependencies: bash npm install
- SOLID: Ensure designs adhere to SOLID principles where applicable.
- DRY (Don't Repeat Yourself): Avoid redundant code and configurations.
- YAGNI (You Ain't Gonna Need It): Build only what is necessary.