Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/DISCUSSION_TEMPLATE/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
file_type: "discussion-template"
name: "Discussion Templates Directory"
description: "Standardized discussion templates for community engagement in LightSpeedWP"
version: "v1.0"
last_updated: "2025-10-24"
last_updated: "2026-05-31"
maintainer: "LightSpeed Engineering"
tags: ["templates", "discussions", "community", "engagement"]
---
Expand Down
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ For advanced usage, see the [Issue Template Index](./ISSUE_TEMPLATE/README.md) a
## 🗂️ Issue Template Workflow

```mermaid
---
accTitle: Issue Template Workflow
accDescr: Flowchart showing the complete issue template workflow from user creation through automation agents, with template selection branching to Bug, Feature, Documentation, or Custom templates, all leading to auto-populated fields, issue creation, and agent processing including labeling, type assignment, project board assignment, and notification routing
---
flowchart TD
A[User Creates Issue] --> B{Select Template}
B -->|Bug Report| C[Bug Template]
Expand Down Expand Up @@ -110,6 +114,3 @@ These templates integrate with:

*Maintained with ❤️ by the 🚀 LightSpeedWP Automation Team*
[Org Profile](https://github.com/lightspeedwp/.github/tree/main/profile)

*Maintained with ❤️ by the 🚀 LightSpeedWP Automation Team*
[Org Profile](https://github.com/lightspeedwp/.github/tree/main/profile)
6 changes: 0 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,3 @@ These templates integrate with:

*Maintained with ❤️ by the 🚀 LightSpeedWP Automation Team*
[Org Profile](https://github.com/lightspeedwp/.github/tree/main/profile)

*Maintained with ❤️ by the 🚀 LightSpeedWP Automation Team*
[Org Profile](https://github.com/lightspeedwp/.github/tree/main/profile)

*Maintained with ❤️ by the 🚀 LightSpeedWP Automation Team*
[Org Profile](https://github.com/lightspeedwp/.github/tree/main/profile)
19 changes: 16 additions & 3 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ This repository's `.github` folder serves as the **single source of truth** for
## GitHub Template Ecosystem Architecture

```mermaid
---
accTitle: GitHub Template Ecosystem Architecture
accDescr: Flowchart showing the .github repository hub at the center containing community health files, issue templates, PR templates, AI instructions, automation rules, and workflows, flowing to template categories including bug reports, feature requests, documentation, architecture, security, and testing, then to AI and automation systems including auto-labeling, project sync, quality gates, deployment, and analytics, finally connecting to organization repositories
---
flowchart TB
subgraph "🏛️ .github Repository Hub"
A[🏠 Community Health Files]
Expand Down Expand Up @@ -200,6 +204,10 @@ This repository is the **canonical, organisation-wide source** for:
## GitHub Automation Workflow Process

```mermaid
---
accTitle: GitHub Automation Workflow Process
accDescr: Sequence diagram showing the interaction between a developer, member repository, .github hub, automation system, and project manager during the issue or PR creation process, demonstrating how templates are checked, labels are applied, and projects are synchronized
---
sequenceDiagram
participant Dev as 👨‍💻 Developer
participant Repo as 📁 Member Repo
Expand Down Expand Up @@ -242,6 +250,10 @@ The `.github` folder is organised for maximum clarity and modularity, grouping r
## Repository Structure Visualization

```mermaid
---
accTitle: Repository Structure Visualization
accDescr: Graph showing the .github directory structure including instructions, prompts, agents, workflows, issue templates, pull request templates, saved replies, and automation subdirectories, with connections to their respective ecosystems including coding standards, linting, accessibility instructions, prompts, and automation core configuration
---
graph TB
subgraph "📁 .github/ Directory Structure"
A[📋 instructions/]
Expand Down Expand Up @@ -375,6 +387,10 @@ This diagram illustrates how all components work together to create a seamless d
## Complete Integration Flow

```mermaid
---
accTitle: Complete Integration Flow
accDescr: Flowchart showing the developer experience (new contributor, issue creation, PR submission, code review) connecting to .github hub resources (instructions, templates, AI prompts, chat modes, automation), leading to automated processes (auto-labeling, project sync, quality gates, analytics), resulting in quality outcomes (consistent standards, faster onboarding, better tracking, security compliance)
---
flowchart LR
subgraph "👨‍💻 Developer Experience"
A[New Contributor]
Expand Down Expand Up @@ -544,6 +560,3 @@ This repository and all its contents are licensed under the GNU General Public L

*Built by 🧱 LightSpeedWP with ☕, 🚀, and open-source spirit!*
[Contributors](https://github.com/lightspeedwp/lsx-demo-theme/graphs/contributors)

*Built by 🧱 LightSpeedWP with ☕, 🚀, and open-source spirit!*
[Contributors](https://github.com/lightspeedwp/lsx-demo-theme/graphs/contributors)
4 changes: 3 additions & 1 deletion .github/SAVED_REPLIES/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
file_type: "documentation"
title: "Saved Replies Directory"
description: "Organized saved replies for consistent GitHub interactions across LightSpeedWP"
version: "v1.0"
last_updated: "2025-10-24"
last_updated: "2026-05-31"
maintainer: "LightSpeed Engineering"
tags: ["saved-replies", "communication", "automation", "community"]
---
Expand Down
5 changes: 1 addition & 4 deletions .github/agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: .github Agents Boundary
description: Repo-local index for agent assets that remain under the .github control-plane
boundary.
version: v0.2.0
last_updated: '2026-05-20'
last_updated: '2026-05-31'
maintainer: LightSpeed Team
authors:
- Codex
Expand All @@ -24,6 +24,3 @@ stability: experimental

- [Portable agent specification library index](../../agents/README.md)
- [Issue #296 local source draft](../projects/active/portable-ai-plugin-restructure/issues/children/batch-02-portable-migration/02-04-refactor-migrate-portable-agent-specs.md)

*Built by 🧱 LightSpeedWP with ☕, 🚀, and open-source spirit!*
[Contributors](https://github.com/lightspeedwp/lsx-demo-theme/graphs/contributors)
4 changes: 1 addition & 3 deletions .github/instructions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: .github Instructions Boundary
description: Repo-local index for instructions that remain under the .github control-plane
boundary.
version: v0.2.0
last_updated: '2026-05-20'
last_updated: '2026-05-31'
maintainer: LightSpeed Team
authors:
- Codex
Expand All @@ -23,5 +23,3 @@ stability: experimental

- [Portable instruction library index](../../instructions/README.md)
- [Issue #295 local source draft](../projects/active/portable-ai-plugin-restructure/issues/children/batch-02-portable-migration/02-03-refactor-migrate-portable-instructions.md)

*Docs signed by 🤖 Copilot for LightSpeedWP – always fresh!*
15 changes: 0 additions & 15 deletions .github/metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,18 +386,3 @@ Made with ❤️ by the LightSpeed team.

*Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP*
[Contact](https://lightspeedwp.agency/contact)

*Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP*
[Contact](https://lightspeedwp.agency/contact)

*Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP*
[Contact](https://lightspeedwp.agency/contact)

*Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP*
[Contact](https://lightspeedwp.agency/contact)

*Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP*
[Contact](https://lightspeedwp.agency/contact)

*Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP*
[Contact](https://lightspeedwp.agency/contact)
107 changes: 99 additions & 8 deletions .github/prompts/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,106 @@
-e # Folder Contents
---
file_type: "documentation"
title: ".github Prompts Directory"
description: "AI prompt templates and guidelines for automation, code review, and documentation generation"
version: "v1.0"
last_updated: "2026-05-31"
maintainer: "LightSpeed Team"
tags: ["prompts", "ai", "automation", "templates"]
---

This folder contains scripts and documentation for automation.
# .github Prompts Directory

---
This directory contains reusable AI prompt templates designed for automation agents, code review, documentation generation, and AI-powered workflows across the LightSpeed organization.

## Prompt Categories

### Code Review & Quality

- **code-review.prompt.md** - Automated code quality assessment and feedback
- **accessibility-review.prompt.md** - WCAG 2.2 AA compliance validation
- **security-review.prompt.md** - Security vulnerability and OWASP analysis
- **performance-review.prompt.md** - Performance optimization recommendations
Comment on lines +20 to +22

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge List only prompt templates that exist

The new prompt catalogue now advertises templates such as accessibility-review.prompt.md, security-review.prompt.md, and performance-review.prompt.md, but I checked .github/prompts with rg --files .github/prompts and those files are not present; only a few listed names such as code-review.prompt.md and labeling.prompt.md exist. Consumers using this README to pick an automation prompt will be sent to non-existent templates, so please either rename these entries to the actual files in this directory or add the missing prompt files.

Useful? React with 👍 / 👎.


### Documentation & Content

- **documentation.prompt.md** - Documentation generation and standardization
- **markdown-validation.prompt.md** - Markdown syntax and structure validation
- **frontmatter-guidance.prompt.md** - Frontmatter metadata generation

### Automation & Workflows

- **labeling.prompt.md** - Issue and PR label suggestions
- **triage.prompt.md** - Issue categorization and routing
- **release-notes.prompt.md** - Release documentation generation

### Pattern & Template Generation

- **pattern-generation.prompt.md** - Code pattern and template creation
- **architecture-review.prompt.md** - Architecture documentation and analysis
- **testing-guidance.prompt.md** - Test case and coverage recommendations
Comment on lines +17 to +40

## Usage

### With Copilot / Claude

Auto-generated documentation stub by folder-and-file-readmes.sh on Thu Nov 27 15:15:12 SAST 2025
1. Copy the relevant prompt template
2. Paste into your AI assistant chat
3. Provide repository context or specific code
4. Follow the prompt structure for best results

*Docs signed by 🤖 Copilot for LightSpeedWP – always fresh!*
### With Custom Agents

*Docs signed by 🤖 Copilot for LightSpeedWP – always fresh!*
1. Load prompts from this directory in agent specifications
2. Combine with runtime context (files, diffs, issues)
3. Use responses for automated workflows
4. Log results for quality metrics

*Docs signed by 🤖 Copilot for LightSpeedWP – always fresh!*
### With Automation Workflows

1. Reference prompts in workflow files (e.g., `.github/workflows/*.yml`)
2. Pass relevant context via environment variables
3. Parse responses and take action
4. Track metrics and feedback

## Prompt Structure

Each prompt includes:

- **Role & Context** - The AI's role and the problem domain
- **Objective** - Specific goals and success criteria
- **Input Specifications** - What information will be provided
- **Output Format** - Expected response structure and format
- **Quality Standards** - Accuracy, completeness, and style requirements
- **Examples** - Sample inputs and expected outputs
- **Edge Cases** - Known limitations and special handling

## Best Practices

- **Versioning**: Update version field when prompt logic changes significantly
- **Context**: Provide sufficient context for accurate responses
- **Iteration**: Refine prompts based on feedback and results
- **Documentation**: Keep prompt purpose and limitations documented
- **Testing**: Validate prompt outputs before relying on them in automation
- **Accessibility**: Ensure prompts produce accessible, standards-compliant content

## Related Resources

- [Automation Governance](../../docs/AUTOMATION_GOVERNANCE.md) - Prompt usage policies
- [Agents Directory](../agents/README.md) - Agent specifications using these prompts
- [Instructions](../instructions/README.md) - Development standards referenced by prompts
- [Custom Instructions](../custom-instructions.md) - Organization-wide Copilot settings

## Contributing

To add or improve prompts:

1. Follow the standardized prompt structure above
2. Include clear examples and edge cases
3. Document the prompt's purpose and limitations
4. Test with multiple inputs before submitting
5. Update this README with new prompt entries

---

*Docs signed by 🤖 Copilot for LightSpeedWP – always fresh!*
*Maintained with ❤️ by the 🚀 LightSpeedWP Automation Team*
[Org Profile](https://github.com/lightspeedwp/.github/tree/main/profile)
Loading
Loading