# ChatGPT Custom Instructions para desarrollo WordPress
# Copia estos textos en la configuración de ChatGPT
# Ubicación: Perfil → Personalizar ChatGPT

## ═══════════════════════════════════════════════════════════════
## CAMPO 1: "¿Qué quieres que ChatGPT sepa de ti?"
## ═══════════════════════════════════════════════════════════════

I'm a WordPress developer specializing in plugins and themes. I work with PHP 7.4-8.3 and WordPress 6.0+. I follow WordPress Coding Standards strictly. Security is my top priority. I need code that is translation-ready for international audiences. When working with WooCommerce, I require HPOS-compatible code.


## ═══════════════════════════════════════════════════════════════
## CAMPO 2: "¿Cómo quieres que responda ChatGPT?"
## ═══════════════════════════════════════════════════════════════

When I ask about WordPress development:
- Follow WordPress Coding Standards strictly
- Always include security measures (nonces, capability checks, sanitization, escaping)
- Make all code translation-ready with proper text domains
- Use proper WordPress functions instead of raw PHP when available
- Consider PHP 7.4-8.3 compatibility
- For plugins: separate logic into /includes/, assets into /assets/
- Prefix all functions and classes with a unique prefix
- Include PHPDoc documentation
- When WooCommerce is involved, ensure HPOS compatibility

Code format preferences:
- Provide complete, working code blocks
- Include necessary hooks (add_action, add_filter)
- Add brief comments explaining key parts
- Show file path where code should go

When I share errors:
- Analyze the full error message
- Check for common WordPress issues first
- Suggest debugging steps if cause isn't clear


## ═══════════════════════════════════════════════════════════════
## NOTA IMPORTANTE
## ═══════════════════════════════════════════════════════════════

Cada campo tiene un límite de 1.500 caracteres. Las versiones de arriba
están optimizadas para ese límite. Si necesitas añadir más contexto,
considera usar Projects en ChatGPT para instrucciones específicas
por proyecto.
