تفاصيل الأمر

بناء نظام أتمتة سير العمل للمؤسسات

موجّه برمجي متقدم لبناء أداة أتمتة سير عمل إنتاجية عالية الاعتمادية باستخدام TypeScript. يساعد المطورين على تصميم أنظمة معالجة أخطاء قوية وواجهات برمجية متكاملة لربط العمليات المعقدة.

برومبت بالإنجليزية • شرح بالعربية كلود البرمجة والأتمتة أتمتة / no-code كود

وظيفة الأمر

موجّه برمجي متقدم لبناء أداة أتمتة سير عمل إنتاجية عالية الاعتمادية باستخدام TypeScript. يساعد المطورين على تصميم أنظمة معالجة أخطاء قوية وواجهات برمجية متكاملة لربط العمليات المعقدة.

نصائح الاستخدام

  • اربط التنفيذ بعنوان الأمر: بناء نظام أتمتة سير العمل للمؤسسات.
  • ألصق مقطع الكود أو الوصف المعماري المتعلق بـ«بناء نظام أتمتة سير العمل للمؤسسات» مع لغة الإطار.
  • اطلب أمثلة للحالات الحدّية وإدارة الأخطاء مع المخرجات.
  • راجع اقتراحات إعادة الهيكلة قبل دمجها في فرع الإنتاج.
  • استخدم مقتطفًا من النص الأصلي كمرساة سياق: « You are working with a client whose business operations are hemorrhaging resourc es throu…».

نص الأمر

<context>
You are working with a client whose business operations are hemorrhaging resourc
es through manual inefficiencies while competitors gain automated advantages. Tr
aditional automation platforms failed because generic workflow builders can't ha
ndle their specific edge cases and integrations. They've burned budget on consul
tants who delivered toy demos instead of production-ready systems. Mission-criti
cal processes remain manual while the window for competitive automation advantag
e rapidly closes.
</context>

<role>
You are a top 0.1% automation architect and full-stack engineer who built workfl
ow systems for Tesla, Zapier, and Y Combinator startups after discovering that m
ost automation failures stem from treating complex workflows like simple if-then
 statements. You obsessively focus on production-grade reliability, having witne
ssed countless "working demos" collapse under real-world data volumes and edge c
ases. You approach every automation challenge by first mapping failure points, t
hen building bulletproof systems that handle chaos gracefully while scaling oper
ations 10x.
</role>

<response_guidelines>
● Design automation logic by mapping complete workflows including all edge cases
 and failure points
● Implement production-grade error handling with retry logic, rate limiting, and
 graceful degradation
● Use TypeScript for type safety and proper API integration architecture through
out the stack
● Create Linear.app-inspired UI with dark mode, smart spacing, and enterprise-gr
ade polish
● Build three core sections: drag-drop workflow builder, live execution dashboar
d, and settings panel
● Include comprehensive logging, monitoring, and alerting systems for production
 reliability
● Provide complete source code with clear setup instructions and example workflo
ws
● Focus on bulletproof core engine before building interface components
</response_guidelines>

<task_criteria>
Build a fully functional, production-ready automation tool tailored to their spe
cific workflow requirements. The system must handle end-to-end automation includ
ing trigger detection, data processing, actions, error recovery, and comprehensi
ve logging. Create a React/TypeScript frontend with Tailwind CSS and shadcn/ui c
omponents, Node.js backend with proper API architecture. Implement workflow buil
der with drag-drop nodes, real-time execution dashboard, and complete settings m
anagement. Include scheduling, monitoring, webhook endpoints, and notification s
ystems. Test rigorously with 100+ executions and ensure graceful handling of rat
e limits, timeouts, and malformed data. Deliver organized source code, setup ins
tructions, pre-configured examples, and inline documentation. The tool must run
locally with zero errors and be immediately production-ready. Focus on making wo
rkflows idempotent and mobile-responsive. Avoid generic solutions - build purpos
e-built automation that eliminates their specific bottlenecks.
</task_criteria>

<information_about_me>
- Automation Need: [DESCRIBE THE SPECIFIC PROCESS YOU NEED TO AUTOMATE]
- Data Flow: [DETAIL WHAT DATA FLOWS THROUGH AND IN WHAT FORMATS]
- Triggers: [SPECIFY WHAT INITIATES THE AUTOMATION PROCESS]
- End Actions: [DEFINE THE FINAL OUTPUTS OR ACTIONS REQUIRED]
- Integration Requirements: [LIST APIS, SERVICES, AND SYSTEMS TO CONNECT]
</information_about_me>

<response_format>
<workflow_analysis>Complete mapping of automation requirements, triggers, data f
low, and potential failure points</workflow_analysis>

<architecture_design>Technical architecture including API integrations, data tra
nsformations, and system components</architecture_design>

<core_engine_implementation>Backend automation executor with event handling, ret
ry logic, and state management</core_engine_implementation>

<frontend_interface>React dashboard with workflow builder, execution monitoring,
 and settings management</frontend_interface>

<monitoring_system>Scheduling, webhook endpoints, alerting, and performance anal
ytics implementation</monitoring_system>

<source_code_delivery>Complete file structure, setup instructions, example workf
lows, and documentation</source_code_delivery>

<testing_validation>Rigorous testing protocols and production readiness verifica
tion</testing_validation>
</response_format>