Accelerating high‑quality WordPress development with reusable AI building blocks (prompts, instructions, chat modes, agent governance) and domain handbooks (block themes, coding standards, Gutenberg guides). Everything is tuned to produce fast, secure, accessible, internationalised, and maintainable solutions (themes, plugins, blocks, patterns).
Empower WordPress developers to deliver production‑ready features at lightspeed while upholding coding standards, accessibility (WCAG 2.2), performance, security (OWASP), and sustainable long‑term maintainability.
Area | Path | Summary |
---|---|---|
Documentation Hub | docs/ |
Master index & cross-cutting conventions (see docs/README.md ). |
Copilot / AI Assets | docs/copilot-space/ |
Prompts, instructions, chat modes, agent schemas & authoring rules. |
Block Theme Guidance | docs/block-themes/ |
Fluid spacing, typography scales, global styles, naming, patterns. |
Coding Standards | docs/coding-standards/ |
WordPress coding standards overlays, inline docs, research notes. |
Gutenberg Guides | docs/gutenberg/ |
Getting started, how‑tos, reference, schemas. |
Frontmatter Schemas | docs/frontmatter/ |
YAML frontmatter conventions & schemas. |
Agent Governance | AGENTS.md |
Behavioural contract for AI assistants & personas. |
Automation Scripts | .github/scripts/ |
Generators, validators, normalisation tooling. |
See also: CHANGELOG.md
for historical evolution.
Many engineering concerns (testing discipline, performance, security, accessibility, structured planning) transcend platform boundaries. We intentionally retain high‑quality “generic” or multi‑stack assets because they:
- Provide architectural clarity applicable to large WordPress installations (headless, API integrations, infrastructure).
- Reduce reinvention—reuse vetted language/framework guidance where analogous (e.g. performance patterns informing PHP + JS code paths).
- Enable mixed‑stack teams (WP + services) to align on shared standards.
Future refinement: lightweight tagging (e.g. wp-core
, block-dev
, generic
, infra
) to improve discoverability without deleting value.
- Install desired Copilot assets (Prompts / Chat Modes / Instructions) via VS Code badges in each catalog.
- Copy any custom instruction you want permanently into
.github/instructions/
(or merge into a project‑levelcopilot-instructions.md
). - Open Copilot Chat and select a lightspeedwp chat mode (or paste a prompt) to accelerate tasks.
- Iterate: refine instructions with project specifics (naming conventions, text domain, PHPCS rules).
- Open your plugin or theme workspace.
- Use the “Implementation Plan” prompt to outline the block (attributes, render strategy, style variants, i18n extraction).
- Apply “Accessibility Review” prompt / chat mode to validate ARIA & keyboard flows.
- Use performance & security instructions to audit dynamic rendering and REST endpoints.
- Invoke security instructions (OWASP) + performance optimization guidelines.
- Provide the endpoint handler code to a “Security & Code Quality” chat mode.
- Request: “Suggest nonce, capability checks, caching & schema validation improvements.”
- Block Themes: design tokens →
theme.json
→ fluid scale alignment. - Gutenberg Blocks: React component patterns, server render callbacks, context & attributes hygiene.
- Performance: asset enqueue strategy, script loading strategy, avoiding layout shift, caching layers.
- Accessibility: semantic markup, focus management, ARIA correctness, color contrast.
- Internationalization: text domains,
__()/_x()
usage, extraction workflow. - Testing: Playwright for editor flows, PHPUnit / WP-CLI tests, Jest for block UI logic.
See CONTRIBUTING.md
for full process. Summary:
- Fork & branch.
- Add or update a prompt / instruction / chat mode (include frontmatter) or improve a WordPress guide.
- Keep scope tight; ensure examples are WP‑relevant where applicable.
- Run any validation/update scripts (if present) before PR.
- Provide rationale + before/after (if refactoring docs).
- Clear purpose & actionable steps
- WordPress alignment (or clearly marked cross‑tech)
- Accessibility & security consciousness
- No hard‑coded secrets / unsafe patterns
- Consistent naming & formatting
High‑level items (see CHANGELOG.md
for canonical history & upcoming):
- Tagging taxonomy for AI assets & docs.
- WordPress‑specialised chat modes (Theme JSON Refiner, Block Accessibility Auditor, Hook Strategy Advisor).
- Collections curation once tagging lands.
- Domain surfacing (stability, domain) in generated README tables.
- Automated link & frontmatter validator.
Any legacy install badges still referencing upstream sources are intentionally preserved during transition; they will migrate once tagging + mirroring strategy finalises.
This repository is licensed under the GNU GPL v3 (see LICENSE
). Documentation and AI asset text are distributed under the same license for simplicity. If you require alternative terms for specific reuse scenarios, open an issue to discuss.
Open an issue with: context, goal, current friction, desired outcome. Evidence (snippets, diffs) speeds triage.
Crafted with accessibility, security, performance, and internationalisation in mind—manual review & testing still required.