Automatically applied coding standards and development guidelines.
- ← Back to README
- AGENTS.md - Root-level AI operations overview
- Custom Instructions - Main Copilot configuration
- Prompts - Task templates (29 prompts)
- Agents - Specialized agents (50+ agents)
- Chat Modes - Interactive workflows (20 modes)
- CLAUDE.md - Claude optimization and best practices
- GEMINI.md - Gemini optimization and best practices
- WordPress Packages - Complete package reference
- Testing Guide - E2E testing with Playwright
- Coding Standards - Style guides and conventions
Instructions are automatically applied to relevant files based on the applyTo pattern. They ensure:
- Consistent coding standards
- Best practice enforcement
- Security and accessibility compliance
- WordPress compatibility
General coding standards and WordPress-specific guidelines.
| Instruction | Applies To | Purpose | Priority |
|---|---|---|---|
| coding-standards | **/*.php, **/*.js, **/*.css |
General coding standards | High |
| wpcs | **/*.php |
WordPress Coding Standards | High |
| development-guidelines | **/* |
Development best practices | High |
Language-specific coding standards and patterns.
| Instruction | Applies To | Language | Frameworks |
|---|---|---|---|
| php | **/*.php |
PHP 7.4+ | WordPress |
| php-wordpress | **/*.php |
PHP | WordPress APIs |
| js-ts | **/*.js, **/*.ts |
JavaScript/TypeScript | ES6+ |
| javascript-react | **/*.jsx, **/*.tsx |
React | @wordpress/element |
WordPress-specific standards for blocks, themes, and patterns.
| Instruction | Applies To | Purpose | Block API |
|---|---|---|---|
| block-json | **/block.json |
Block.json specifications | v3 |
| block-theme-structure | templates/**, patterns/** |
Block theme structure | v3 |
| patterns | includes/patterns/** |
Block pattern standards | v3 |
| pattern-* | Specific patterns | Pattern-specific guidelines | v3 |
Accessibility, security, performance, and internationalization standards.
| Instruction | Applies To | Standard | Level |
|---|---|---|---|
| accessibility | **/*.php, **/*.js |
WCAG 2.2 | AA |
| security | **/*.php |
Security best practices | OWASP |
| wp-security | **/*.php |
WordPress-specific security | Core |
| performance | **/*.php, **/*.js |
Performance optimization | High |
| i18n | **/*.php, **/*.js |
Internationalization | Required |
Documentation, testing, and code review standards.
| Instruction | Applies To | Purpose | Format |
|---|---|---|---|
| docs | **/*.md |
Documentation standards | Markdown |
| testing | tests/** |
Testing requirements | PHPUnit, Jest, Playwright |
| review | All files | Code review guidelines | Checklist |
| reviews | All files | Review checklist | Process |
| pr-writing | Pull requests | PR description standards | Template |
Continuous integration, deployment, and project governance.
| Instruction | Applies To | Purpose | Platform |
|---|---|---|---|
| ci | .github/workflows/** |
Continuous integration | GitHub Actions |
| ci-cd | .github/workflows/** |
CI/CD pipelines | GitHub Actions |
| gitops | .github/** |
GitOps workflows | GitHub |
| governance | All files | Project governance | Standards |
| release | All files | Release process | Semantic Versioning |
---
description: 'Brief instruction description'
applyTo: '**/*.php, **/*.js'
---
# Instruction Title
## Rules
- Rule 1
- Rule 2Instructions are automatically applied when:
- File matches the
applyTopattern - GitHub Copilot processes the file
- Instructions guide code generation
- AGENTS.md - How instructions auto-apply
- Custom Instructions - System configuration
- CLAUDE.md - Claude with auto-instructions
- GEMINI.md - Gemini with auto-instructions
- Prompts - Task templates using these standards
- Agents - Automated workflows enforcing standards
- Chat Modes - Interactive guided development
- WordPress Packages - Package reference
- Testing Guide - E2E testing standards
- Coding Standards - Detailed style guides
Core Standards: coding-standards, wpcs, development-guidelines
Languages: php, php-wordpress, js-ts, javascript-react
WordPress: block-json, block-theme-structure, patterns, pattern-*
Quality: accessibility, security, wp-security, performance, i18n
Process: docs, testing, review, reviews, pr-writing
CI/CD: ci, ci-cd, gitops, governance, release
For complete instruction list, see sections below.