Skillpedia
الأتمتة48k · #4132

circleci-automation

ما الذي تفعله

تتيح لك هذه المهارة التحكم في CircleCI، وهي خدمة تساعد على أتمتة مهام تطوير البرمجيات. يمكنك بدء عمليات البناء الجديدة، ومتابعة حالتها، والحصول على معلومات عن الاختبارات والملفات الناتجة.

متى تستخدمها

  • ✓بدء عملية بناء جديدة للشيفرة.
  • ✓التحقق مما إذا كانت عملية البناء قد نجحت.
  • ✓تنزيل الملفات التي أنشأتها عملية بناء.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/circleci-automation/SKILL.md

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

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

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

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

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

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

“ابدأ عملية بناء للمشروع gh/my-user/my-repo على الفرع الرئيسي main.”

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

كيف تعمل

تتصل هذه المهارة بـ CircleCI باستخدام بيانات اعتمادك. ترسل أوامر لبدء عمليات البناء، أو جلب معلومات الحالة، أو استرجاع الملفات ونتائج الاختبارات.

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

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

CircleCI Automation via Rube MCP

Automate CircleCI CI/CD operations through Composio's CircleCI toolkit via Rube MCP.

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active CircleCI connection via RUBE_MANAGE_CONNECTIONS with toolkit circleci
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit circleci
  3. If connection is not ACTIVE, follow the returned auth link to complete CircleCI authentication
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Trigger a Pipeline

When to use: User wants to start a new CI/CD pipeline run

Tool sequence:

  1. CIRCLECI_TRIGGER_PIPELINE - Trigger a new pipeline on a project [Required]
  2. CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID - Monitor resulting workflows [Optional]

Key parameters:

  • project_slug: Project identifier in format gh/org/repo or bb/org/repo
  • branch: Git branch to run the pipeline on
  • tag: Git tag to run the pipeline on (mutually exclusive with branch)
  • parameters: Pipeline parameter key-value pairs

Pitfalls:

  • project_slug format is {vcs}/{org}/{repo} (e.g., gh/myorg/myrepo)
  • branch and tag are mutually exclusive; providing both causes an error
  • Pipeline parameters must match those defined in .circleci/config.yml
  • Triggering returns a pipeline ID; workflows start asynchronously

2. Monitor Pipelines and Workflows

When to use: User wants to check the status of pipelines or workflows

Tool sequence:

  1. CIRCLECI_LIST_PIPELINES_FOR_PROJECT - List recent pipelines for a project [Required]
  2. CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID - List workflows within a pipeline [Required]
  3. CIRCLECI_GET_PIPELINE_CONFIG - View the pipeline configuration used [Optional]

Key parameters:

  • project_slug: Project identifier in {vcs}/{org}/{repo} format
  • pipeline_id: UUID of a specific pipeline
  • branch: Filter pipelines by branch name
  • page_token: Pagination cursor for next page of results

Pitfalls:

  • Pipeline IDs are UUIDs, not numeric IDs
  • Workflows inherit the pipeline ID; a single pipeline can have multiple workflows
  • Workflow states include: success, running, not_run, failed, error, failing, on_hold, canceled, unauthorized
  • page_token is returned in responses for pagination; continue until absent

3. Inspect Job Details

When to use: User wants to drill into a specific job's execution details

Tool sequence:

  1. CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID - Find workflow containing the job [Prerequisite]
  2. CIRCLECI_GET_JOB_DETAILS - Get detailed job information [Required]

Key parameters:

  • project_slug: Project identifier
  • job_number: Numeric job number (not UUID)

Pitfalls:

  • Job numbers are integers, not UUIDs (unlike pipeline and workflow IDs)
  • Job details include executor type, parallelism, start/stop times, and status
  • Job statuses: success, running, not_run, failed, retried, timedout, infrastructure_fail, canceled

4. Retrieve Build Artifacts

When to use: User wants to download or list artifacts produced by a job

Tool sequence:

  1. CIRCLECI_GET_JOB_DETAILS - Confirm job completed successfully [Prerequisite]
  2. CIRCLECI_GET_JOB_ARTIFACTS - List all artifacts from the job [Required]

Key parameters:

  • project_slug: Project identifier
  • job_number: Numeric job number

Pitfalls:

  • Artifacts are only available after job completion
  • Each artifact has a path and url for download
  • Artifact URLs may require authentication headers to download
  • Large artifacts may have download size limits

5. Review Test Results

When to use: User wants to check test outcomes for a specific job

Tool sequence:

  1. CIRCLECI_GET_JOB_DETAILS - Verify job ran tests [Prerequisite]
  2. CIRCLECI_GET_TEST_METADATA - Retrieve test results and metadata [Required]

Key parameters:

  • project_slug: Project identifier
  • job_number: Numeric job number

Pitfalls:

  • Test metadata requires the job to have uploaded test results (JUnit XML format)
  • If no test results were uploaded, the response will be empty

…

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

كيف يتصل CircleCI؟

تحتاج إلى إعداد اتصال نشط بـ CircleCI عبر Rube MCP، واتباع رابط المصادقة إذا لزم الأمر.

ما هو « project_slug »؟

هو معرّف فريد لمشروعك في CircleCI، بالصيغة « gh/organization/repository » (لـ GitHub) أو « bb/organization/repository » (لـ Bitbucket).

ما هي « Artifacts » وبيانات الاختبار؟

Artifacts هي الملفات التي تنتجها عملية البناء، مثل الملفات التنفيذية أو التقارير. أما بيانات الاختبار فهي النتائج التفصيلية لعمليات الاختبار.

التفاصيل

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

Automate CircleCI tasks via Rube MCP (Composio): trigger pipelines, monitor workflows/jobs, retrieve artifacts and test metadata. Always search tools first for current schemas.

repo: sickn33/agentic-awesome-skills

الشعبية

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

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

0

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

التعليقات

  • …

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

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