技能 agentic-workflow
🔄

agentic-workflow

安全

掌握 AI 代理工作流程

學習 AI 代理(如 Claude Code、Gemini 和 Codex)的最佳化工作流程。此技能提供命令、快捷鍵和多代理模式,以提升日常開發效率。

支援: Claude Codex Code(CC)
⚠️ 62
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「agentic-workflow」。 如何在 Claude Code 中取消執行中的任務?

預期結果:

按 Esc Esc 可立即取消上一個任務。這是 Claude Code 中最高優先級的快捷鍵。

正在使用「agentic-workflow」。 我應該使用哪些 MCP 伺服器來進行瀏覽器自動化?

預期結果:

使用 Playwright MCP 伺服器來控制網頁瀏覽器。它專為 E2E 測試和瀏覽器自動化任務而設計。

正在使用「agentic-workflow」。 如何同時在多個分支上工作?

預期結果:

使用 git worktree:'git worktree add ../myapp-feature-auth feature/auth' 為每個分支建立獨立的工作目錄。對每個 worktree 執行獨立的 AI 工作階段。

安全審計

安全
v1 • 3/11/2026

All static findings are false positives. This is a documentation/guide skill providing productivity tips for AI agents (Claude Code, Gemini, Codex). The scanner detected markdown table delimiters as shell commands, standard Docker install URLs as malicious URLs, git worktree syntax as path traversal, and environment variable references as credential access. No actual security risks present.

2
已掃描檔案
299
分析行數
7
發現項
1
審計總數

嚴重問題 (1)

Prompt Injection Attempt Detected
FALSE POSITIVE - No prompt injection present. Static scanner triggered on markdown documentation format.
中風險問題 (6)
False Positive: Markdown Table Delimiters Detected as Shell Commands
The static scanner detected 'Ruby/shell backtick execution' patterns at lines 31-77, 84-261. These are markdown table delimiters (|) and slash commands (/init, /usage, /clear) in documentation, not executable shell commands. This is a documentation skill, not executable code.
False Positive: Official Claude Installation URL
The scanner detected 'Hardcoded URL' at line 214: https://claude.ai/install.sh. This is the official Claude CLI installation script - legitimate and safe.
False Positive: Git Worktree Syntax
The scanner detected 'Path traversal sequence' at lines 123-124. This is standard git worktree syntax (../myapp-feature-auth), not a path traversal vulnerability.
False Positive: Shell Configuration File Reference
The scanner detected 'Hidden file in home directory' at line 97. This is ~/.zshrc or ~/.bashrc - a documentation comment about shell configuration.
False Positive: Docker Environment Variable Reference
The scanner detected 'Generic API/secret keys' at line 225. The $ANTHROPIC_API_KEY is a Docker environment variable reference, not a hardcoded secret.
False Positive: Pipe to Shell Pattern
The scanner detected 'Pipe to shell pattern' at line 214 (curl | sh). This is the standard official method for installing Claude CLI.
審計者: claude

品質評分

38
架構
100
可維護性
87
內容
32
社群
55
安全
83
規範符合性

你能建構什麼

開發者效率提升

學習鍵盤快捷鍵和斜線命令以更快地導航 Claude Code,降低上下文切換時間。

多代理編排

設定結合 Claude 用於規劃、Gemini 用於大規模分析、Codex 用於命令執行的工作流程。

Git 工作流程自動化

使用 AI 代理自動產生 commit 訊息、建立 PR,並管理 git worktree 以進行平行開發。

試試這些提示

檢查工作階段狀態
使用適當的 Claude Code 命令顯示目前的權杖使用量和上下文視窗狀態。
自動 commit 變更
分析目前的 git 變更並撰寫適當的 commit 訊息,然後執行 commit。
建立 Docker 沙盒
設定一個已安裝 Claude Code 的 Docker 容器以進行安全的實驗。包含掛載工作區的說明。
多代理程式碼審查
使用多代理模式:請 Gemini 分析程式碼庫結構,然後讓 Codex 在變更上執行測試。

最佳實務

  • 定期使用 /clear 或 /context 防止上下文污染並維持效能
  • 將 MCP 伺服器保持在 10 個以下,作用中工具保持在 80 個以下,以獲得最佳效能
  • 策略性地組合代理:Claude 用於規劃/編碼,Gemini 用於大規模分析,Codex 用於執行命令

避免

  • 避免在單一工作階段中連續使用 Claude 数週而不重置 - 上下文會隨著時間衰退
  • 不要同時啟用太多 MCP 伺服器 - 會導致工具選擇混淆
  • 避免將 AI 用於手動執行更快的簡單任務 - 上下文切換的開銷過大

常見問題

Claude Code 中最重要的快捷鍵是什麼?
Esc Esc 是最高優先級的快捷鍵。連續按兩下可立即取消上一個任務。
如何繼續之前的對話?
使用 'claude --continue' 繼續上一次對話,或使用 'claude --resume <工作階段名稱>' 恢復特定工作階段。
我應該從哪些 MCP 伺服器開始?
從 Playwright(瀏覽器自動化)、Supabase(資料庫存取)和 Firecrawl(網頁抓取)開始。將總數保持在 10 個伺服器以下。
我可以將此技能與 Gemini 或 Codex 一起使用嗎?
是的。此技能涵蓋 Claude Code、Gemini CLI 和 Codex CLI 命令。許多模式在這三個工具中都能運作。
如何設定安全的實驗環境?
使用技能中的 Docker 容器設定。使用 'docker build -t ai-sandbox .' 建置,並透過 -e 旗標傳遞環境變數來執行。
推薦的多代理工作流程是什麼?
使用編排模式:Claude 用於規劃和程式碼產生,Gemini 用於大規模程式碼庫分析,Codex 用於執行建置和測試命令。

開發者詳情

檔案結構

📄 SKILL.md

📄 SKILL.toon