Compétences circleci-automation
📦

circleci-automation

Sûr 🌐 Accès réseau

自動化 CircleCI pipelines 和 workflows

透過自然語言觸發 CircleCI pipelines、監控 workflow 狀態和擷取 build artifacts,簡化您的 CI/CD 作業。消除手動儀表板導航並加速您的開發回饋迴路。

Prend en charge: Claude Codex Code(CC)
🥉 74 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "circleci-automation". Trigger a pipeline for gh/myorg/myrepo on the develop branch

Résultat attendu:

Pipeline 成功觸發。Pipeline ID:5034460f-c7c4-4c43-9457-de07e2029e7b。Workflow 現在正在運行。您可以要求我檢查 workflow 狀態來監控其進度。

Utilisation de "circleci-automation". What is the status of pipeline 5034460f-c7c4-4c43-9457-de07e2029e7b?

Résultat attendu:

Pipeline 狀態:運行中。包含 2 個 workflows:build(運行中)和 deploy(待處理)。build workflow 有 3 個 jobs:test(成功)、lint(運行中)、security-scan(待處理)。

Utilisation de "circleci-automation". Get artifacts from job 123

Résultat attendu:

Job 123 產生了 5 個 artifacts:coverage-report.html(2.3 MB)、test-results.xml(156 KB)、build.log(45 KB)、app-binary.zip(12 MB)、documentation.pdf(1.8 MB)。所有 artifacts 均可下載。

Audit de sécurité

Sûr
v1 • 2/25/2026

Static analysis detected 64 patterns but all are false positives. The SKILL.md file is Markdown documentation, not executable code. Backtick patterns are code formatting syntax, not Ruby execution. The network reference is a legitimate MCP endpoint configuration. No security concerns identified after manual review.

1
Fichiers analysés
183
Lignes analysées
1
résultats
1
Total des audits

Facteurs de risque

🌐 Accès réseau (1)
Audité par: claude

Score de qualité

38
Architecture
100
Maintenabilité
87
Contenu
50
Communauté
100
Sécurité
91
Conformité aux spécifications

Ce que vous pouvez construire

CI/CD Pipeline 管理

當代碼變更被推送時觸發新的 pipeline 運行、監控執行進度,並在 workflows 完成或失敗時接收通知。

Build 除錯與分析

透過擷取 job 日誌、檢查測試失敗詳細資訊和下載 artifacts 進行本地分析來調查失敗的 builds。

Release 自動化

使用特定參數自動化 release pipeline 觸發、追蹤部署 workflows,並收集 build artifacts 進行分發。

Essayez ces prompts

基本 Pipeline 觸發
Trigger a CircleCI pipeline for the repository gh/myorg/myrepo on the main branch.
Workflow 狀態檢查
Check the status of all workflows for the most recent pipeline of gh/myorg/myrepo and tell me which jobs have failed.
Artifact 擷取
Get the list of artifacts produced by job number 123 in gh/myorg/myrepo and provide the download URLs for any PDF files.
測試結果分析
Retrieve test metadata for job 456 in gh/myorg/myrepo, summarize the test results, and list all failed tests with their error messages.

Bonnes pratiques

  • 在執行任何 CircleCI 作業之前,始終使用 RUBE_SEARCH_TOOLS 搜尋可用工具,以確保您擁有最新的 schemas。
  • 在擷取大型結果集時使用 pagination tokens,以避免遺漏 API 回應中的資料。
  • 在嘗試擷取 artifacts 或測試中繼資料之前,驗證 job 完成狀態以確保資料可用。

Éviter

  • 不要快速連續輪詢 workflow 狀態。使用 5-10 秒間隔以尊重 API 速率限制。
  • 觸發 pipeline 時不要同時提供 branch 和 tag 參數。它們是互斥的,會導致錯誤。
  • 不要假設 job numbers 是 UUIDs。Job numbers 是整數,不同於 pipeline 和 workflow IDs(它們是 UUIDs)。

Foire aux questions

使用此 skill 之前需要什麼?
您需要在客戶端配置 Rube MCP 和有效的 CircleCI 連線。如果尚未連線,請使用 RUBE_MANAGE_CONNECTIONS 與 toolkit 'circleci' 進行認證。
project slugs 的正確格式是什麼?
Project slugs 必須包含 VCS 前綴:'gh/org/repo' 用於 GitHub repositories 或 'bb/org/repo' 用於 Bitbucket。Organization 和 repository 名稱區分大小寫。
為什麼我無法擷取 job 的測試結果?
測試中繼資料僅在 job 上傳了 JUnit XML 格式結果時可用。如果在 job 執行期間沒有上傳測試結果,回應將為空。
pipeline IDs、workflow IDs 和 job numbers 之間有什麼區別?
Pipeline IDs 和 workflow IDs 是 UUIDs(例如 5034460f-c7c4-4c43-9457-de07e2029e7b)。Job numbers 是整數(例如 123)。為每個 API endpoint 使用正確的格式。
如何處理分頁回應?
檢查 API 回應中的 'next_page_token' 欄位。將此 token 作為 'page_token' 參數傳遞到您的下一個請求中。持續進行直到 token 不存在或為 null。
此 skill 可以修改 CircleCI 配置檔案嗎?
不可以。此 skill 只能透過 CircleCI API 讀取資料和觸發 pipelines。它無法建立、編輯或刪除 .circleci/config.yml 檔案或其他 repository 內容。

Détails du développeur

Structure de fichiers

📄 SKILL.md