Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

file_type documentation
title LightSpeed Agents Directory
description Comprehensive directory of all GitHub automation agents, their workflows, tests, and related resources.
version v1.1
created_date 2025-10-24
last_updated 2025-11-25
author LightSpeed
maintainer Ash Shaw
owners
lightspeedwp/maintainers
license GPL-3.0
domain governance
stability stable
tags
lightspeed
agents
automation
workflows
github-actions

🚀 Quick Start

Get started with LightSpeedWP agents in three steps:

  1. Clone the repository

    git clone https://github.com/lightspeedwp/.github.git
    cd .github
  2. Install dependencies

    • For Node.js/JS agents: npm install
    • For Python agents: pip install -r requirements.txt (if present)
    • For shell agents: Ensure required tools (bash, zsh, etc.) are installed
  3. Run or use an agent

    • See the agent spec table below for usage instructions per agent type
    • Example (Node.js): node agents/template.agent.js
    • Example (Python): python agents/template.agent.py
    • Example (Shell): bash agents/template.agent.sh

For advanced usage, see the Main Agent Index and individual agent specs for configuration, integration, and automation options.

This directory contains all GitHub automation agents that power LightSpeed's repository workflows, including their implementations, documentation, and comprehensive test suites.

📊 Agent Ecosystem Architecture

graph TB
    A[GitHub Events] --> B[GitHub Actions Workflows]
    B --> C[Agent Orchestration]
    C --> D[Core Agents]
    C --> E[WordPress Agents]
    C --> F[Specialized Agents]

    D --> D1[labeling.agent.js]
    D --> D2[reviewer.agent.js]
    D --> D3[issue-type.agent.js]
    D --> D4[badges.agent.js]
    D --> D5[manage-readmes.agent.js]
    D --> D6[header-footer.agent.js]
    D --> D7[linting.agent.js]
    D --> D8[label-standardization.agent.js]
    D --> D9[meta.agent.js]

    E --> E1[wp-accessibility-review-agent.js]
    E --> E2[wp-performance-audit-agent.js]
    E --> E3[wp-security-review-agent.js]

    F --> F1[jsdoc-review.agent.md]

    G[Repository Changes] --> H[Automated Responses]
    H --> I[Issue Labeling]
    H --> J[Code Review]
    H --> K[Badge Updates]
    H --> L[README Maintenance]
    H --> M[Documentation Updates]

    D1 --> I
    D2 --> J
    D4 --> K
    D5 --> L
    D6 --> M

    N[Test Suite] --> D
    N --> E
    O[Agent Documentation] --> D
    O --> E
    O --> F

    style A fill:#e1f5fe
    style C fill:#f3e5f5
    style N fill:#e8f5e8
    style H fill:#fff3e0
Loading

🤖 Available Agents

Agent Description Status Tests
meta.agent.js Applies front matter, badges, quirky footers ✅ Active -
badges.agent.js Manages repository badges and automation status indicators ❌ Deprecated -
header-footer.agent.js Maintains consistent headers and footers across documentation ❌ Deprecated -
issue-type.agent.js Automatically assigns issue types based on content analysis ✅ Active ✅ Tests
label-standardization.agent.js Ensures consistent labeling across repositories ✅ Active ✅ Tests
labeling.agent.js Unified labeling system for issues and pull requests ✅ Active ✅ Tests
linting.agent.js Code quality and linting enforcement ✅ Active -
manage-readmes.agent.js Automated README generation and maintenance ✅ Active -
reviewer.agent.js Automated code review and feedback ✅ Active ✅ Tests

WordPress-Specific Agents

Agent Description Status
wp-accessibility-review-agent.js WordPress accessibility compliance checking ✅ Active
wp-performance-audit-agent.js WordPress performance analysis and optimization ✅ Active
wp-security-review-agent.js WordPress security vulnerability scanning ✅ Active

Agent Documentation

Agent Markdown Documentation
meta.agent.md Meta data automation specification
badges.agent.md Badge management specification (Deprecated)
header-footer.agent.md Header/footer maintenance specification (Deprecated)
issue-type.agent.md Issue type assignment specification
jsdoc-review.agent.md JSDoc documentation review specification
label-standardization.agent.md Label standardization specification
labeling.agent.md Unified labeling specification
linting.agent.md Code linting specification
manage-readmes.agent.md README management specification
reviewer.agent.md Code review automation specification

🔄 Active Workflows

These GitHub Actions workflows integrate with and trigger our agents:

Core Automation Workflows

Workflow Triggers Agent(s) Used Description
labeling.yml push, pull_request, issues events labeling.agent.js Unified labeling for issues and PRs with status enforcement
reviewer.yml push, pull_request on develop reviewer.agent.js Automated code review and feedback
planner.yml push, pull_request on develop Internal planner logic Project planning automation
meta.yml File changes, workflow_dispatch meta.agent.js Apply front matter, badges, quirky footers
badges.yml Path changes, workflow_dispatch badges.agent.js (Deprecated) Badge status updates
manage-readmes.yml Path changes, workflow_dispatch manage-readmes.agent.js README maintenance
header-footer.yml File changes header-footer.agent.js (Deprecated) Documentation consistency

Supporting Workflows

Workflow Purpose Agent Integration
linting.yml Code quality enforcement Works with linting.agent.js
jest-test-audit.yml Test execution for agents Runs agent test suites
metrics.yml Repository health metrics Data used by multiple agents
labels-issues-prs.yml Legacy labeling support Transitioning to unified system
pr-project-label.yml Project-based PR labeling Integrates with labeling system
project-meta-sync.yml Project metadata synchronization Cross-repository consistency
release.yml Release automation Coordinated release processes

🧪 Test Suite

The __tests__/ directory contains comprehensive test suites for our agents:

Test File Coverage Status
issue-type.agent.test.js Issue type assignment logic ✅ Active
label-standardization.agent.test.js Label consistency validation ✅ Active
labeling.agent.test.js Unified labeling system ✅ Active
planner.agent.test.js Planning automation logic ✅ Active
reviewer.agent.test.js Code review automation ✅ Active
template.agent.test.js Agent template validation ✅ Template

Running Tests

Tests are automatically executed via the jest-test-audit.yml workflow on push and pull request events.

📝 Available Prompts

Agent-related prompts available in the ../prompts/ directory:

Prompt Purpose Usage
build-agent-and-tests.prompt.md Create new agents with test suites /build-agent-and-tests

Awesome Copilot Agent Prompts

Prompt Purpose Usage
create-agentsmd.prompt.md Scaffold new AGENTS.md files /create-agentsmd
declarative-agents.prompt.md Design declarative workflow agents /declarative-agents
finalize-agent-prompt.prompt.md Polish agent prompts /finalize-agent-prompt

📖 Instructions & Guidelines

Agent development instructions in the ../instructions/ directory:

Core Instructions

Instruction File Purpose
agents.instructions.md Canonical index for all agent specifications
ai-agents.instructions.md Author, evaluate, and test AI agents; design workflows
automation.instructions.md Automation standards and best practices
automation-testing.instructions.md Testing standards for automation components

Agent-Specific Instructions

Instruction File Purpose
agent-labels-issues-prs.instructions.md Labeling system specifications
agent-planner.instructions.md Planning automation guidelines
agent-project-meta-sync.instructions.md Project metadata sync specifications
agent-release.instructions.md Release automation guidelines
agent-reviewer.instructions.md Code review automation specifications
labeling.instructions.md Unified labeling system guidelines
linting.instructions.md Code quality enforcement specifications
metrics.instructions.md Repository metrics collection guidelines
planner.instructions.md Project planning automation
release.instructions.md Release process automation
reviewer.instructions.md Automated review processes

💬 Chat Modes

Agent-related chat modes available in the ../chatmodes/awesome-copilot/ directory:

Chat Mode Purpose Install
declarative-agents-architect.chatmode.md Architect declarative automation agents VS Code
meta-agentic-project-scaffold.chatmode.md Meta agentic project creation assistant VS Code
software-engineer-agent-v1.chatmode.md Expert-level software engineering agent VS Code

🏗️ Architecture & Integration

Agent Execution Flow

graph TD
    A[GitHub Event] --> B{Workflow Trigger}
    B --> C[GitHub Actions Workflow]
    C --> D[Agent Execution]
    D --> E[Agent Logic]
    E --> F[GitHub API Calls]
    F --> G[Repository Updates]
    G --> H[Completion Logging]
Loading

Agent Dependencies

  • Node.js 20+: All JavaScript agents
  • GitHub API: Repository interaction
  • YAML Configs: Label and issue type definitions
  • Test Framework: Jest for automated testing

🚀 Getting Started

Creating a New Agent

  1. Use the build-agent-and-tests.prompt.md prompt
  2. Follow the ai-agents.instructions.md guidelines
  3. Reference existing agents for patterns and structure
  4. Include comprehensive test coverage
  5. Document the agent in both .js and .md formats

Agent Development Standards

  • Security: Never expose secrets or tokens
  • Reliability: Include error handling and logging
  • Testing: Comprehensive test suites required
  • Documentation: Both technical specs and user guides
  • Integration: Proper workflow integration

📚 Related Resources

Resource Purpose Location
Main Agent Index Directory of all agent specifications agent.md
Custom Instructions Central Copilot/org standards ../custom-instructions.md
Automation Governance Workflow and agent policies ../../docs/AUTOMATION_GOVERNANCE.md
Global AI Rules Organization-wide AI guidelines ../../AGENTS.md
Collections Curated agent toolkits ../collections/
Metrics Directory Metrics collection and configuration ../metrics/
Reporting Directory Generated reports and artifacts ../reports/

Note: This directory is actively maintained and automatically updated by our automation systems. For questions or issues, reference the agent.md index or open an issue with the ai-ops:agents label.