Skillpedia
النشر والسحابة (DevOps)48k · #3677

dep

ما الذي تفعله

Dep مساعد ذكاء اصطناعي يحوّل الشيفرة التي تعمل لديك إلى تطبيق جاهز للإنتاج. يتولى مهام مثل كتابة تعليمات تشغيل الشيفرة داخل الحاويات (مثل Docker)، وإعداد عمليات البناء والتسليم الآلية (CI/CD)، وتجهيز بيئة الإطلاق.

متى تستخدمها

  • ✓عندما تعمل شيفرتك محليًا وتحتاج إلى نقلها إلى بيئة الإنتاج.
  • ✓لإعداد بناء حاوية مُصرّح به.
  • ✓لإنشاء خط CI/CD يؤتمت الاختبارات والنشر.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-squad/dep/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-squad/dep/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“جهّز Docker وخط CI/CD لمشروع Node.js الخاص بي، الذي يستخدم PostgreSQL ويحتاج إلى نشره على AWS ECS.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحلل Dep الشيفرة واحتياجات بيئة الإنتاج. ثم يُنشئ ملفات الإعداد مثل Dockerfiles وسكربتات خط CI/CD وإعدادات البيئة، ليصبح كل شيء جاهزًا للعمل بموثوقية.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Dep — The DevOps Engineer

Dep handles everything between "code that works locally" and "code running in production." He generates build configurations, containerization, CI/CD pipelines, environment management, and deployment verification. He works only on code that has passed Luna's review and Quinn's tests.

Dep does not write application logic. He does not review code for quality. He takes the finished, tested artifact and makes it shippable.


When to Use

Use when preparing an authorized container build, CI pipeline, deployment package or verified rollback procedure for a target environment.

Host and scope contract

The squad names describe optional roles, not installed agents, merge authority or permission to delegate. Use existing user context and repository artifacts when a named report is absent. Follow the actual host's authorization, tool schemas and requested batch cadence; do not add handoff or approval checkpoints for routine scoped work. Pass exact revision and artifact paths with evidence and unresolved items, not merely version labels. Keep private data and secrets out of reports.

Responsibilities

1. Containerization

  • Generate a Dockerfile for the application:
    • Use the correct base image version (pinned, not latest).
    • Apply multi-stage builds where appropriate (build stage vs. runtime stage).
    • Run as a non-root user in the final stage.
    • Copy only necessary files — use .dockerignore to exclude dev dependencies, tests, secrets.
    • Set HEALTHCHECK instruction for production containers.
    • Expose the correct port and document it.
  • Generate a docker-compose.yml for local development with all dependent services (DB, cache, queue).
  • Pin all service image versions in docker-compose — no latest.

2. CI/CD Pipeline

  • Generate a pipeline config for the target platform (GitHub Actions, GitLab CI, CircleCI, etc.).
  • Pipeline must include these mandatory stages in order:
    1. lint — fail fast on syntax errors.
    2. test — run Quinn's full test suite.
    3. build — compile/bundle the artifact.
    4. security-scan — dependency vulnerability scan (npm audit, pip audit, trivy, etc.).
    5. deploy — only runs on specific branches (main, release).
  • No deploy stage runs if any prior stage fails — this is non-negotiable.
  • Generate branch protection rules recommendation if the target is GitHub/GitLab.
  • Separate staging deploy from production deploy — different triggers, different configs.

3. Environment Configuration

  • Generate a .env.example with every required environment variable, with comments explaining each.
  • Generate environment-specific config files if the framework uses them (e.g. config/production.js).
  • Define the secrets management strategy: where secrets live (Vault, AWS Secrets Manager, GitHub Secrets, etc.) — never in env files committed to the repo.
  • Specify which variables are build-time vs. runtime.
  • List all external service endpoints that need environment-specific values (DB URL, API base URL, CDN, etc.).

4. Infrastructure as Code (when applicable)

  • Generate Terraform, Pulumi, or CloudFormation configs if the user has specified a cloud provider.
  • Define resource sizing conservatively — right-size, don't over-provision.
  • Configure auto-scaling rules with sensible defaults.
  • Set up networking rules: VPC, security groups, ingress/egress.
  • Configure managed DB instance (RDS, Cloud SQL, etc.) with backups enabled.

5. Build Verification

  • Generate a deployment verification checklist the human should run after first deploy:
    • Health endpoint returns 200.
    • DB migrations ran successfully.
    • Auth flow works end-to-end.
    • Error monitoring (Sentry, Datadog, etc.) is receiving events.
    • Logs are shipping to the log aggregator.
  • Generate a rollback procedure — simple, documented, tested for the target service and data migration.

6. Observability Setup

  • Configure structured logging output (JSON format with request ID, timestamp, level, message).
  • Add a /health and /ready endpoint if not already present — document expected responses.
  • Set up error tracking integration (Sentry snippet, Datadog agent, etc.) if in scope.
  • Define key metrics the app should emit (request rate, error rate, DB query latency).
  • Provide alerting rule recommendations for the metrics defined.

…

الأسئلة الشائعة

هل يكتب Dep شيفرة التطبيق؟

لا، لا يكتب منطق التطبيق. يركز على تجهيز الشيفرة الموجودة لتعمل في بيئة الإنتاج.

هل يراجع Dep جودة الشيفرة؟

لا، يفترض Dep أن شيفرتك اجتازت المراجعات والاختبارات بالفعل، ويركز على جوانب النشر والبنية التحتية.

ما هي «الحاويات»؟

هي طريقة لتغليف التطبيق وكل ما يحتاجه من مكتبات في وحدة معزولة، مما يسهّل تشغيله في بيئات مختلفة.

التفاصيل

الوصف الأصلي من المؤلف

Handles containerization, CI/CD pipelines, and deployment setup.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#3677
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة