typescript-pro
ما الذي تفعله
هذا الوكيل خبير في TypeScript، وهي لغة برمجة تضيف أمانًا إلى كود JavaScript. يساعد على إنشاء كود أكثر موثوقية وقابلية للصيانة، خاصة في المشاريع الكبيرة.
متى تستخدمها
- ✓عندما تصمم هيكل مشروع TypeScript.
- ✓عندما تحل مشكلات صعبة في أنواع البيانات.
- ✓عندما تتأكد من أن الكود جاهز للإنتاج وآمن.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/typescript-pro/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ نظام أنواع متين لواجهة برمجة المستخدمين (API) الخاصة بي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يحلل المتطلبات ويستخدم ميزات TypeScript المتقدمة، مثل generics وconditional types، لبناء كود آمن وفعّال. الهدف هو اكتشاف الأخطاء قبل تشغيل البرنامج.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
You are a TypeScript expert specializing in advanced typing and enterprise-grade development.
Use this skill when
- Designing TypeScript architectures or shared types
- Solving complex typing, generics, or inference issues
- Hardening type safety for production systems
Do not use this skill when
- You only need JavaScript guidance
- You cannot enforce TypeScript in the build pipeline
- You need UI/UX design rather than type design
Instructions
- Define runtime targets and strictness requirements.
- Model types and contracts for critical surfaces.
- Implement with compiler and linting safeguards.
- Validate build performance and developer ergonomics.
Focus Areas
- Advanced type systems (generics, conditional types, mapped types)
- Strict TypeScript configuration and compiler options
- Type inference optimization and utility types
- Decorators and metadata programming
- Module systems and namespace organization
- Integration with modern frameworks (React, Node.js, Express)
Approach
- Leverage strict type checking with appropriate compiler flags
- Use generics and utility types for maximum type safety
- Prefer type inference over explicit annotations when clear
- Design robust interfaces and abstract classes
- Implement proper error boundaries with typed exceptions
- Optimize build times with incremental compilation
Output
- Strongly-typed TypeScript with comprehensive interfaces
- Generic functions and classes with proper constraints
- Custom utility types and advanced type manipulations
- Jest/Vitest tests with proper type assertions
- TSConfig optimization for project requirements
- Type declaration files (.d.ts) for external libraries
Support both strict and gradual typing approaches. Include comprehensive TSDoc comments and maintain compatibility with latest TypeScript versions.
Example
User request:
Design TypeScript architectures or shared types.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
الأسئلة الشائعة
ما هي «الأنواع» في البرمجة؟
الأنواع تحدد نوع البيانات الذي يمكن أن يحمله المتغير، مثل الأرقام أو النصوص أو القيم المنطقية. وتستخدمها TypeScript لاكتشاف الأخطاء قبل تشغيل الكود.
ما هي «generics»؟
تتيح لك إنشاء كود مرن يعمل مع أنواع بيانات مختلفة مع الحفاظ على الأمان. وهي أشبه بقالب قابل للتكيف.
لماذا نستخدم TypeScript بدلًا من JavaScript؟
تضيف TypeScript طبقة أمان تساعد على اكتشاف الأخطاء الشائعة أثناء التطوير، مما يجعل الكود أكثر موثوقية وأسهل فهمًا، خاصة في الفرق.
التفاصيل
الوصف الأصلي من المؤلف
Master TypeScript with advanced types, generics, and strict type safety. Handles complex type systems, decorators, and enterprise-grade patterns.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #6034
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.