<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Headless Mode &#8211; 小人物看世界</title>
	<atom:link href="https://blog.che-ya.com/tag/headless-mode/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.che-ya.com</link>
	<description>軟體工程師的技術筆記</description>
	<lastBuildDate>Wed, 08 Apr 2026 08:08:41 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.che-ya.com/wp-content/uploads/2021/08/cropped-APP_icon-32x32.png</url>
	<title>Headless Mode &#8211; 小人物看世界</title>
	<link>https://blog.che-ya.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Headless Mode 與 CI/CD 整合：打造 Claude Code 自動化開發流程</title>
		<link>https://blog.che-ya.com/claude-code-headless-mode-cicd/</link>
		
		<dc:creator><![CDATA[ㄚ槌]]></dc:creator>
		<pubDate>Tue, 12 May 2026 03:41:00 +0000</pubDate>
				<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[自動化與 DevOps]]></category>
		<category><![CDATA[AI 編程工具]]></category>
		<category><![CDATA[Anthropic]]></category>
		<category><![CDATA[CI/CD]]></category>
		<category><![CDATA[Headless Mode]]></category>
		<guid isPermaLink="false">https://blog.che-ya.com/?p=912</guid>

					<description><![CDATA[當你已經熟悉在終端機中與 Claude Code 互動，下一步自然是思考：「能不能讓 Claude Code  ... <a title="Headless Mode 與 CI/CD 整合：打造 Claude Code 自動化開發流程" class="read-more" href="https://blog.che-ya.com/claude-code-headless-mode-cicd/" aria-label="Read more about Headless Mode 與 CI/CD 整合：打造 Claude Code 自動化開發流程">閱讀全文</a>]]></description>
										<content:encoded><![CDATA[
<p>當你已經熟悉在終端機中與 Claude Code 互動，下一步自然是思考：「能不能讓 Claude Code 在沒有人的情況下自動執行？」答案是肯定的——透過 <strong>Headless Mode</strong>（<code>claude -p</code>），你可以將 Claude Code 整合進 CI/CD Pipeline，實現自動化的程式碼審查、Bug 修復、甚至自動產生 Commit Message。</p>



<p>本篇文章將完整介紹 Headless Mode 的概念與使用方式，並示範如何與 GitHub Actions、GitLab CI/CD 等主流平台整合，讓 AI 成為你開發流程中不可或缺的自動化夥伴。</p>



<h2 class="wp-block-heading">什麼是 Headless Mode？</h2>



<p>Headless Mode 是 Claude Code 的<strong>非互動式執行模式</strong>，透過 <code>-p</code>（或 <code>--print</code>）旗標啟用。在這個模式下，Claude Code 會讀取你提供的 Prompt、執行任務，然後將結果輸出到 stdout，整個過程不需要任何人為介入。</p>



<p>官方文件將這個功能歸類在 <strong>Agent SDK</strong> 之下，CLI 模式（<code>claude -p</code>）正是 Agent SDK 的一部分。它適用於以下場景：</p>



<ul class="wp-block-list">
<li><strong>CI/CD Pipeline</strong>：在 Pull Request 建立時自動執行程式碼審查</li>



<li><strong>腳本自動化</strong>：批次處理檔案分析、程式碼重構等任務</li>



<li><strong>編輯器整合</strong>：作為 IDE 外掛的後端引擎</li>



<li><strong>排程任務</strong>：定時執行程式碼品質檢查或文件產生</li>
</ul>



<h2 class="wp-block-heading">Headless Mode 基本用法</h2>



<p>最基本的使用方式非常簡單，只要在 <code>claude</code> 指令後加上 <code>-p</code> 旗標和你的 Prompt：</p>



<pre class="wp-block-code"><code class=""># 詢問程式碼庫相關問題
claude -p "這個專案的 auth 模組做了什麼？"

# 執行程式碼分析並修復
claude -p "找出 auth.py 中的 Bug 並修復" --allowedTools "Read,Edit,Bash"</code></pre>



<p>所有在互動模式下可用的 CLI 選項都可以搭配 <code>-p</code> 使用，包括 <code>--continue</code>（繼續對話）、<code>--allowedTools</code>（自動授權工具）、<code>--output-format</code>（輸出格式控制）等。</p>



<h3 class="wp-block-heading">使用 &#8211;bare 加速啟動</h3>



<p>在 CI/CD 環境中，你通常不需要載入本地的 Hooks、Skills、MCP Server 或 CLAUDE.md 等設定。加上 <code>--bare</code> 旗標可以跳過這些自動探索步驟，<strong>大幅縮短啟動時間</strong>，並確保每次執行的環境一致：</p>



<pre class="wp-block-code"><code class="">claude --bare -p "摘要這個檔案" --allowedTools "Read"</code></pre>



<p>在 Bare Mode 下，Claude 預設可使用 Bash、檔案讀取和檔案編輯工具。如果需要額外的設定，可以透過旗標明確指定：</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>載入項目</th><th>對應旗標</th></tr></thead><tbody><tr><td>System Prompt 附加內容</td><td><code>--append-system-prompt</code>、<code>--append-system-prompt-file</code></td></tr><tr><td>設定檔</td><td><code>--settings &lt;file-or-json&gt;</code></td></tr><tr><td>MCP Server</td><td><code>--mcp-config &lt;file-or-json&gt;</code></td></tr><tr><td>自訂 Agent</td><td><code>--agents &lt;json&gt;</code></td></tr><tr><td>Plugin 目錄</td><td><code>--plugin-dir &lt;path&gt;</code></td></tr></tbody></table></figure>



<h2 class="wp-block-heading">輸出格式控制</h2>



<p>Headless Mode 支援三種輸出格式，透過 <code>--output-format</code> 旗標設定：</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>格式</th><th>說明</th><th>適用場景</th></tr></thead><tbody><tr><td><code>text</code></td><td>純文字輸出（預設）</td><td>簡單的文字結果、人類可讀的報告</td></tr><tr><td><code>json</code></td><td>結構化 JSON，包含 result、session_id 和 metadata</td><td>CI/CD 整合、程式化處理結果</td></tr><tr><td><code>stream-json</code></td><td>以換行分隔的 JSON，支援即時串流</td><td>即時顯示進度、長時間任務監控</td></tr></tbody></table></figure>



<h3 class="wp-block-heading">JSON 輸出範例</h3>



<pre class="wp-block-code"><code class=""># 取得 JSON 格式的專案摘要
claude -p "摘要這個專案" --output-format json

# 搭配 jq 擷取特定欄位
claude -p "摘要這個專案" --output-format json | jq -r '.result'</code></pre>



<h3 class="wp-block-heading">結構化輸出（JSON Schema）</h3>



<p>你還可以搭配 <code>--json-schema</code> 來指定輸出的資料結構，這在需要後續程式處理時特別有用：</p>



<pre class="wp-block-code"><code class="">claude -p "從 auth.py 中擷取所有函式名稱" \
  --output-format json \
  --json-schema '{"type":"object","properties":{"functions":{"type":"array","items":{"type":"string"}}},"required":["functions"]}'</code></pre>



<h3 class="wp-block-heading">串流輸出</h3>



<p>使用 <code>stream-json</code> 格式搭配 <code>--verbose</code> 和 <code>--include-partial-messages</code>，可以在 Token 產生的同時即時接收：</p>



<pre class="wp-block-code"><code class="">claude -p "解釋遞迴" --output-format stream-json \
  --verbose --include-partial-messages | \
  jq -rj 'select(.type == "stream_event" and .event.delta.type? == "text_delta") | .event.delta.text'</code></pre>



<h2 class="wp-block-heading">allowedTools 安全設定</h2>



<p>在 CI/CD 環境中，安全性至關重要。<code>--allowedTools</code> 讓你精確控制 Claude 可以使用哪些工具，避免未經授權的操作：</p>



<pre class="wp-block-code"><code class=""># 只允許讀取和編輯檔案
claude -p "修正所有 TypeScript 型別錯誤" --allowedTools "Read,Edit"

# 允許特定的 Git 指令（使用前綴匹配）
claude -p "檢視暫存區變更並建立 Commit" \
  --allowedTools "Bash(git diff *),Bash(git log *),Bash(git status *),Bash(git commit *)"</code></pre>



<p>注意 <code>--allowedTools</code> 使用<strong>權限規則語法</strong>，其中 <code>Bash(git diff *)</code> 表示允許所有以 <code>git diff</code> 開頭的指令。<code>*</code> 前面的空格很重要——沒有空格的話，<code>Bash(git diff*)</code> 也會匹配到 <code>git diff-index</code> 這類指令。</p>



<h3 class="wp-block-heading">Permission Mode</h3>



<p>除了個別指定工具，你也可以使用 <code>--permission-mode</code> 設定全域權限模式：</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>模式</th><th>行為</th><th>適用場景</th></tr></thead><tbody><tr><td><code>dontAsk</code></td><td>拒絕所有不在 permissions.allow 規則中的操作</td><td>嚴格鎖定的 CI 環境</td></tr><tr><td><code>acceptEdits</code></td><td>允許檔案編輯，但 Shell 指令和網路請求仍需授權</td><td>需要自動修改程式碼的場景</td></tr></tbody></table></figure>



<pre class="wp-block-code"><code class=""># 使用 acceptEdits 模式自動修復 Lint 問題
claude -p "修復所有 lint 錯誤" --permission-mode acceptEdits</code></pre>



<h2 class="wp-block-heading">環境變數與 API Key 管理</h2>



<p>在 CI/CD 環境中，Claude Code 透過環境變數 <code>ANTHROPIC_API_KEY</code> 進行認證，自動略過互動式的 OAuth 流程。這是最安全的做法，因為它能與所有主流 CI/CD 平台的 Secrets 管理系統無縫整合。</p>



<h3 class="wp-block-heading">各平台的 Secrets 設定方式</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>平台</th><th>設定位置</th><th>參考文件</th></tr></thead><tbody><tr><td>GitHub Actions</td><td>Settings → Secrets and variables → Actions</td><td>GitHub Docs &#8211; Using secrets</td></tr><tr><td>GitLab CI/CD</td><td>Settings → CI/CD → Variables（勾選 Masked）</td><td>GitLab Docs &#8211; CI/CD Variables</td></tr><tr><td>Jenkins</td><td>Manage Jenkins → Credentials → System</td><td>Jenkins Credentials Plugin</td></tr></tbody></table></figure>



<p><strong>重要安全提醒</strong>：絕對不要將 API Key 直接寫死在程式碼或設定檔中。務必使用各平台提供的 Secrets 機制來管理敏感資訊。</p>



<h2 class="wp-block-heading">GitHub Actions 整合</h2>



<p>GitHub Actions 是目前最主流的 CI/CD 平台之一，Anthropic 官方也提供了 <code>anthropics/claude-code-action</code> 這個 Action，讓整合變得非常簡單。</p>



<h3 class="wp-block-heading">快速設定</h3>



<p>最快的設定方式是在 Claude Code 終端機中執行 <code>/install-github-app</code>，它會引導你完成 GitHub App 安裝和 Secrets 設定。如果你偏好手動設定，步驟如下：</p>



<ol class="wp-block-list">
<li>安裝 <a href="https://github.com/apps/claude" rel="nofollow noopener" target="_blank">Claude GitHub App</a> 到你的 Repository</li>



<li>在 Repository 的 Settings → Secrets 中新增 <code>ANTHROPIC_API_KEY</code></li>



<li>將 Workflow 檔案複製到 <code>.github/workflows/</code> 目錄</li>
</ol>



<h3 class="wp-block-heading">基本 Workflow：@claude 互動</h3>



<p>這個 Workflow 讓團隊成員可以在 PR 或 Issue 中透過 <code>@claude</code> 觸發 Claude：</p>



<pre class="wp-block-code"><code class="">name: Claude Code
on:
  issue_comment:
    types: [created]
  pull_request_review_comment:
    types: [created]
jobs:
  claude:
    runs-on: ubuntu-latest
    steps:
      - uses: anthropics/claude-code-action@v1
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}</code></pre>



<h3 class="wp-block-heading">自動化 PR Code Review</h3>



<p>每當 PR 被建立或更新時，Claude 會自動進行程式碼審查：</p>



<pre class="wp-block-code"><code class="">name: Code Review
on:
  pull_request:
    types: [opened, synchronize]
jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: anthropics/claude-code-action@v1
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
          prompt: "Review this pull request for code quality, correctness, and security. Analyze the diff, then post your findings as review comments."
          claude_args: "--max-turns 5"</code></pre>



<h3 class="wp-block-heading">自動修復與 Commit</h3>



<p>結合 Headless Mode 的工具權限控制，你可以讓 Claude 自動檢視暫存區變更並建立 Commit：</p>



<pre class="wp-block-code"><code class="">claude -p "檢視我的暫存區變更並建立適當的 Commit" \
  --allowedTools "Bash(git diff *),Bash(git log *),Bash(git status *),Bash(git commit *)"</code></pre>



<h2 class="wp-block-heading">GitLab CI/CD 整合</h2>



<p>GitLab CI/CD 的整合方式是在 <code>.gitlab-ci.yml</code> 中新增一個 Claude 任務，目前此功能為 <strong>Beta</strong> 階段，由 GitLab 官方維護。</p>



<h3 class="wp-block-heading">基本設定</h3>



<ol class="wp-block-list">
<li>在 Settings → CI/CD → Variables 中新增 <code>ANTHROPIC_API_KEY</code>（勾選 Masked）</li>



<li>在 <code>.gitlab-ci.yml</code> 中加入 Claude 任務</li>
</ol>



<pre class="wp-block-code"><code class="">stages:
  - ai

claude:
  stage: ai
  image: node:24-alpine3.21
  rules:
    - if: '$CI_PIPELINE_SOURCE == "web"'
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
  variables:
    GIT_STRATEGY: fetch
  before_script:
    - apk update
    - apk add --no-cache git curl bash
    - curl -fsSL https://claude.ai/install.sh | bash
  script:
    - |
      claude \
        -p "${AI_FLOW_INPUT:-'Review this MR and implement the requested changes'}" \
        --permission-mode acceptEdits \
        --allowedTools "Bash Read Edit Write mcp__gitlab" \
        --debug</code></pre>



<p>設定完成後，你可以在 Merge Request 中使用 <code>@claude</code> 觸發 Claude，或從 CI/CD → Pipelines 手動執行任務。</p>



<h2 class="wp-block-heading">Jenkins 整合</h2>



<p>雖然 Anthropic 官方目前沒有提供 Jenkins 專用的外掛，但你可以透過 Headless Mode 輕鬆整合。核心概念是在 Jenkins Pipeline 中安裝 Claude Code CLI，然後使用 <code>claude -p</code> 執行任務。</p>



<pre class="wp-block-code"><code class="">pipeline {
  agent any
  environment {
    ANTHROPIC_API_KEY = credentials('anthropic-api-key')
  }
  stages {
    stage('Install Claude Code') {
      steps {
        sh 'curl -fsSL https://claude.ai/install.sh | bash'
      }
    }
    stage('Code Review') {
      steps {
        sh '''
          claude --bare -p "Review the changes in this build and report any issues" \
            --allowedTools "Read,Bash(git diff *),Bash(git log *)" \
            --output-format json &gt; review-report.json
        '''
      }
    }
    stage('Process Results') {
      steps {
        sh 'cat review-report.json | jq -r .result'
      }
    }
  }
}</code></pre>



<h2 class="wp-block-heading">對話延續與多步驟任務</h2>



<p>Headless Mode 支援對話延續功能，讓你可以在多個步驟之間保持上下文。這在複雜的 CI/CD 流程中特別有用：</p>



<pre class="wp-block-code"><code class=""># 第一步：進行程式碼審查
claude -p "審查這個程式碼庫的效能問題"

# 第二步：延續上一次對話，深入分析
claude -p "現在專注於資料庫查詢的部分" --continue

# 第三步：產生總結報告
claude -p "產生所有發現問題的摘要報告" --continue</code></pre>



<p>如果你同時執行多個對話，可以擷取 Session ID 來指定要延續的對話：</p>



<pre class="wp-block-code"><code class=""># 擷取 Session ID
session_id=$(claude -p "開始審查" --output-format json | jq -r '.session_id')

# 使用 --resume 延續特定對話
claude -p "繼續剛才的審查" --resume "$session_id"</code></pre>



<h3 class="wp-block-heading">自訂 System Prompt</h3>



<p>使用 <code>--append-system-prompt</code> 可以在保留 Claude Code 預設行為的同時，加入你自己的指令。例如，將 PR Diff 導入 Claude 並指示它以安全工程師的角度進行審查：</p>



<pre class="wp-block-code"><code class="">gh pr diff "$PR_NUMBER" | claude -p \
  --append-system-prompt "你是一位安全工程師。請審查是否有安全漏洞。" \
  --output-format json</code></pre>



<h2 class="wp-block-heading">實際 Workflow 範例：完整的 PR 自動化流程</h2>



<p>以下是一個結合多種功能的完整 GitHub Actions Workflow，涵蓋了自動 Code Review、問題分類和 @claude 互動回應：</p>



<pre class="wp-block-code"><code class="">name: Claude Code Complete Workflow
on:
  pull_request:
    types: [opened, synchronize]
  issue_comment:
    types: [created]
  pull_request_review_comment:
    types: [created]

jobs:
  # Job 1: PR 開啟時自動進行 Code Review
  auto-review:
    if: github.event_name == 'pull_request'
    runs-on: ubuntu-latest
    steps:
      - uses: anthropics/claude-code-action@v1
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
          prompt: |
            Review this PR for:
            1. Code quality and best practices
            2. Potential bugs or edge cases
            3. Security vulnerabilities
            4. Performance concerns
            Post findings as review comments.
          claude_args: "--max-turns 5 --model claude-sonnet-4-6"

  # Job 2: 回應 @claude 互動
  respond:
    if: |
      (github.event_name == 'issue_comment' &amp;&amp; contains(github.event.comment.body, '@claude')) ||
      (github.event_name == 'pull_request_review_comment' &amp;&amp; contains(github.event.comment.body, '@claude'))
    runs-on: ubuntu-latest
    steps:
      - uses: anthropics/claude-code-action@v1
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}</code></pre>



<h2 class="wp-block-heading">成本與效能優化建議</h2>



<p>在 CI/CD 環境中使用 Claude Code 時，需要注意以下成本和效能相關的事項：</p>



<ul class="wp-block-list">
<li><strong>設定 &#8211;max-turns</strong>：限制對話輪次，避免無限迴圈造成不必要的 API 費用</li>



<li><strong>使用 &#8211;bare 模式</strong>：跳過不必要的初始化，加速 CI 任務執行</li>



<li><strong>精確指定 @claude 觸發</strong>：避免不必要的 API 呼叫</li>



<li><strong>設定 Workflow 層級的 Timeout</strong>：防止任務失控</li>



<li><strong>善用 CLAUDE.md</strong>：在專案根目錄建立 CLAUDE.md，定義程式碼風格、審查標準和專案規則，讓 Claude 的回應更精準</li>



<li><strong>使用 GitHub 的 Concurrency 控制</strong>：限制平行執行的數量</li>
</ul>



<h2 class="wp-block-heading">延伸閱讀</h2>



<ul class="wp-block-list">
<li><a href="https://code.claude.com/docs/en/headless" rel="nofollow noopener" target="_blank">官方文件：Run Claude Code programmatically</a></li>



<li><a href="https://code.claude.com/docs/en/github-actions" rel="nofollow noopener" target="_blank">Claude Code GitHub Actions</a></li>



<li><a href="https://code.claude.com/docs/en/gitlab-ci-cd" rel="nofollow noopener" target="_blank">Claude Code GitLab CI/CD</a></li>



<li><a href="https://platform.claude.com/docs/en/agent-sdk/overview" rel="nofollow noopener" target="_blank">Agent SDK Overview</a></li>



<li><a href="https://code.claude.com/docs/en/cli-reference" rel="nofollow noopener" target="_blank">CLI Reference：完整的 CLI 選項參考</a></li>



<li><a href="https://github.com/anthropics/claude-code-action" rel="nofollow noopener" target="_blank">claude-code-action GitHub Repository</a></li>
</ul>



<h2 class="wp-block-heading">總結</h2>



<p>Headless Mode 是將 Claude Code 從個人開發工具提升為<strong>團隊級自動化基礎設施</strong>的關鍵功能。透過 <code>claude -p</code>，你可以在任何 CI/CD 平台上執行 AI 驅動的程式碼審查、自動修復、文件生成等任務，而 <code>--allowedTools</code> 和 <code>--permission-mode</code> 則確保了執行過程的安全性。</p>



<p>無論你使用 GitHub Actions、GitLab CI/CD 還是 Jenkins，整合的核心概念都相同：設定 API Key → 安裝 Claude Code → 使用 <code>claude -p</code> 執行任務。從今天開始，讓 AI 成為你 CI/CD Pipeline 中最可靠的自動化夥伴吧！</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='ㄚ槌' src='https://secure.gravatar.com/avatar/9914399915f96350f302945e8ddddee1a9b1995350182f513fd2e1fa816c100a?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/9914399915f96350f302945e8ddddee1a9b1995350182f513fd2e1fa816c100a?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://blog.che-ya.com/author/a3230230/" class="vcard author" rel="author"><span class="fn">ㄚ槌</span></a></div><div class="saboxplugin-desc"><div itemprop="description"></div></div><div class="saboxplugin-web "><a href="https://blog.che-ya.com" target="_self">blog.che-ya.com</a></div><div class="clearfix"></div></div></div><p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fblog.che-ya.com%2Fclaude-code-headless-mode-cicd%2F&amp;linkname=Headless%20Mode%20%E8%88%87%20CI%2FCD%20%E6%95%B4%E5%90%88%EF%BC%9A%E6%89%93%E9%80%A0%20Claude%20Code%20%E8%87%AA%E5%8B%95%E5%8C%96%E9%96%8B%E7%99%BC%E6%B5%81%E7%A8%8B" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_line" href="https://www.addtoany.com/add_to/line?linkurl=https%3A%2F%2Fblog.che-ya.com%2Fclaude-code-headless-mode-cicd%2F&amp;linkname=Headless%20Mode%20%E8%88%87%20CI%2FCD%20%E6%95%B4%E5%90%88%EF%BC%9A%E6%89%93%E9%80%A0%20Claude%20Code%20%E8%87%AA%E5%8B%95%E5%8C%96%E9%96%8B%E7%99%BC%E6%B5%81%E7%A8%8B" title="Line" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_x" href="https://www.addtoany.com/add_to/x?linkurl=https%3A%2F%2Fblog.che-ya.com%2Fclaude-code-headless-mode-cicd%2F&amp;linkname=Headless%20Mode%20%E8%88%87%20CI%2FCD%20%E6%95%B4%E5%90%88%EF%BC%9A%E6%89%93%E9%80%A0%20Claude%20Code%20%E8%87%AA%E5%8B%95%E5%8C%96%E9%96%8B%E7%99%BC%E6%B5%81%E7%A8%8B" title="X" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fblog.che-ya.com%2Fclaude-code-headless-mode-cicd%2F&#038;title=Headless%20Mode%20%E8%88%87%20CI%2FCD%20%E6%95%B4%E5%90%88%EF%BC%9A%E6%89%93%E9%80%A0%20Claude%20Code%20%E8%87%AA%E5%8B%95%E5%8C%96%E9%96%8B%E7%99%BC%E6%B5%81%E7%A8%8B" data-a2a-url="https://blog.che-ya.com/claude-code-headless-mode-cicd/" data-a2a-title="Headless Mode 與 CI/CD 整合：打造 Claude Code 自動化開發流程"></a></p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
