| 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 |
|
|||||
| license | GPL-3.0 | |||||
| domain | governance | |||||
| stability | stable | |||||
| tags |
|
Get started with LightSpeedWP agents in three steps:
-
Clone the repository
git clone https://github.com/lightspeedwp/.github.git cd .github -
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
- For Node.js/JS agents:
-
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.
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
| 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 |
| 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 | 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 |
These GitHub Actions workflows integrate with and trigger our agents:
| 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 |
| 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 |
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 |
Tests are automatically executed via the jest-test-audit.yml workflow on push and pull request events.
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 |
| 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 |
Agent development instructions in the ../instructions/ directory:
| 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 |
| 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 |
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 |
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]
- Node.js 20+: All JavaScript agents
- GitHub API: Repository interaction
- YAML Configs: Label and issue type definitions
- Test Framework: Jest for automated testing
- Use the build-agent-and-tests.prompt.md prompt
- Follow the ai-agents.instructions.md guidelines
- Reference existing agents for patterns and structure
- Include comprehensive test coverage
- Document the agent in both
.jsand.mdformats
- 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
| 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:agentslabel.