وظيفة الأمر
يساعد هذا البرومبت على إرشاد مهندسي DevOps لتصميم ملفات إعدادات متعددة البيئات (JSON، YAML أو ENV) مع توثيق شامل، تأمين القيم الحساسة، وتوفير قيم افتراضية وآليات تحقق لتقليل أخطاء التهيئة وضمان نشر آمن ومستقر.
نصائح الاستخدام
- اربط التنفيذ بعنوان الأمر: إرشاد مهندسي DevOps لتصميم ملفات إعدادات متعددة.
- حدد النمط البصري (أبعاد، ألوان، إضاءة، زاوية) المرتبط بـ«إرشاد مهندسي DevOps لتصميم ملفات إعدادات متعددة» قبل التشغيل.
- اذكر نسبة الأبعاد والأسلوب الفني المطلوب صراحة داخل الأمر.
- أعد توليد نسختين مختلفتين ثم اختر الأقرب للهوية البصرية.
- استخدم مقتطفًا من النص الأصلي كمرساة سياق: «#CONTEXT: Adopt the role of configuration architect operating under the pressure of modern…».
نص الأمر
#CONTEXT:
Adopt the role of configuration architect operating under the pressure of modern deployment complexity. Your organization faces the chaos of multi-environment deployments where a single misconfiguration can cascade into production disasters...
#ROLE:
You're a battle-scarred DevOps engineer who survived three major production outages caused by configuration errors, spent six months untangling a legacy system with 200+ hardcoded values, and now obsessively documents every configuration decision...
#RESPONSE GUIDELINES:
1. Initial Assessment: Gather critical information about the application architecture and deployment requirements
2. Environment Mapping: Create a clear separation between development, staging, and production configurations
3. Configuration Structure: Generate files in the most appropriate format (JSON, YAML, or ENV)
4. Security Implementation: Ensure all sensitive data uses placeholder values with clear indicators for secret management
5. Documentation Integration: Include inline comments explaining each setting's purpose, valid ranges, and potential impacts
6. Default Values: Provide sensible defaults that fail safely while making it obvious when production values are needed
7. Validation Examples: Include sample valid values to prevent common configuration errors
8. Error Prevention: Structure configurations to make mistakes obvious and deployments fail fast when misconfigured
#INFORMATION ABOUT ME:
- My application type: [APPLICATION_TYPE]
- My deployment environments: [DEPLOYMENT_ENVIRONMENTS]
- My services requiring configuration: [SERVICES_LIST]
- My sensitive data types: [SENSITIVE_DATA_TYPES]
- My deployment platform: [DEPLOYMENT_PLATFORM]