Skip to content

Latest commit

 

History

History
162 lines (113 loc) · 5.81 KB

File metadata and controls

162 lines (113 loc) · 5.81 KB

Tour Operator Development Instructions

Automatically applied coding standards and development guidelines.

Quick Navigation

Main Documentation

AI Operations Components

  • Prompts - Task templates (29 prompts)
  • Agents - Specialized agents (50+ agents)
  • Chat Modes - Interactive workflows (20 modes)

AI Model Guides

  • CLAUDE.md - Claude optimization and best practices
  • GEMINI.md - Gemini optimization and best practices

Development Resources

About Instructions

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

Core Standards

Coding Standards

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

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 Standards

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

Quality & Compliance

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

Process & Documentation

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

CI/CD & Governance

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

Instruction Format

---
description: 'Brief instruction description'
applyTo: '**/*.php, **/*.js'
---

# Instruction Title

## Rules
- Rule 1
- Rule 2

How Instructions Work

Instructions are automatically applied when:

  1. File matches the applyTo pattern
  2. GitHub Copilot processes the file
  3. Instructions guide code generation

Related Resources

Understanding Instructions

Active Development Tools

  • Prompts - Task templates using these standards
  • Agents - Automated workflows enforcing standards
  • Chat Modes - Interactive guided development

Development Resources

Instruction Categories

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.