Skip to main content
Single-filev3.12026-06

Org Copilot instructions

The default org-wide Copilot behaviour surfaced across every LightSpeed repository.

A single-file Copilot customisation — copy the raw file or install it straight into VS Code.

CategoryInstructions
Source path.github/custom-instructions.md
install.github/custom-instructions.md

LightSpeed Copilot custom instructions

These are the default instructions surfaced to Copilot across every repo in the lightspeedwp organisation via the .github control plane.

Always

  • British English in prose; text-domain in code stays lowercase-hyphen.
  • WordPress Coding Standards for PHP, JS, CSS, HTML.
  • Accessibility is non-negotiable: semantic HTML, AA contrast, keyboard paths.
  • Sanitise on input, escape on output, nonce every state-changing request.

Never

  • Suggest page-builder shortcodes where a block exists.
  • Enqueue editor assets on the front end.
  • Invent APIs — cite the WordPress handbook when unsure.