coding-agent
について
コーディングエージェントスキルは、複雑なコーディングタスクをシェルコマンド経由でClaude Codeなどの外部エージェントに委任します。このスキルは、機能開発、PRレビュー、別プロジェクトでの大規模リファクタリングなど、多段階の開発作業を想定して設計されています。ファイル探索を伴う反復的なコーディングに使用しますが、単純な編集や既存コードの参照には適しません。
クイックインストール
Claude Code
推奨npx skills add swarmclawai/swarmclaw -a claude-code/plugin add https://github.com/swarmclawai/swarmclawgit clone https://github.com/swarmclawai/swarmclaw.git ~/.claude/skills/coding-agentこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
Coding Agent
Delegate coding tasks to external coding agents via shell tools.
Agent Execution Modes
Claude Code (recommended)
Use --print --permission-mode bypassPermissions for non-interactive execution:
cd /path/to/project && claude --permission-mode bypassPermissions --print 'Your task here'
For background execution, use the shell tool's background mode.
Do NOT use PTY mode with Claude Code — --print mode keeps full tool access and avoids interactive confirmation dialogs.
Codex
Codex requires a git repository and PTY mode:
# Quick one-shot (auto-approves changes)
cd /path/to/project && codex exec --full-auto 'Build a dark mode toggle'
# Codex refuses to run outside a git directory. For scratch work:
SCRATCH=$(mktemp -d) && cd $SCRATCH && git init && codex exec "Your prompt"
Pi Coding Agent
# Install: npm install -g @mariozechner/pi-coding-agent
cd /path/to/project && pi 'Your task'
# Non-interactive mode
pi -p 'Summarize src/'
# Different provider/model
pi --provider openai --model gpt-4o-mini -p 'Your task'
OpenCode
cd /path/to/project && opencode run 'Your task'
PR Reviews
Clone to a temp folder or use git worktree — never review PRs in the SwarmClaw project directory:
# Clone to temp for safe review
REVIEW_DIR=$(mktemp -d)
git clone https://github.com/user/repo.git $REVIEW_DIR
cd $REVIEW_DIR && gh pr checkout 130
codex review --base origin/main
# Or use git worktree
git worktree add /tmp/pr-130-review pr-130-branch
cd /tmp/pr-130-review && codex review --base main
Parallel Issue Fixing
Use git worktrees to fix multiple issues in parallel:
# Create worktrees
git worktree add -b fix/issue-78 /tmp/issue-78 main
git worktree add -b fix/issue-99 /tmp/issue-99 main
# Launch agents (use background shell execution)
cd /tmp/issue-78 && codex --yolo 'Fix issue #78: <description>. Commit when done.'
cd /tmp/issue-99 && codex --yolo 'Fix issue #99: <description>. Commit when done.'
# Create PRs after
cd /tmp/issue-78 && git push -u origin fix/issue-78
gh pr create --repo user/repo --head fix/issue-78 --title "fix: ..." --body "..."
# Cleanup
git worktree remove /tmp/issue-78
git worktree remove /tmp/issue-99
Rules
- Use the right execution mode per agent: Claude Code uses
--print(no PTY); Codex/Pi/OpenCode may need interactive terminal. - Respect tool choice — if the user asks for Codex, use Codex. Don't silently switch agents.
- Be patient — don't kill sessions because they seem slow.
- Monitor progress — check output periodically without interfering.
- Never run coding agents inside the SwarmClaw project directory — use a separate project directory or temp folder.
Progress Updates
When spawning coding agents in the background:
- Send a short message when you start (what's running, where).
- Update only when something changes (milestone, error, completion).
- If you kill a session, say so immediately and explain why.
GitHub リポジトリ
関連スキル
content-collections
メタこのスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。
polymarket
メタこのスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。
creating-opencode-plugins
メタこのスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。
sglang
メタSGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。
