サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ChatGPT
docs.anthropic.com
Output styles allow you to use Claude Code as any type of agent while keeping its core capabilities, such as running local scripts, reading/writing files, and tracking TODOs. Built-in output styles Claude Code’s Default output style is the existing system prompt, designed to help you complete software engineering tasks efficiently. There are two additional built-in output styles focused on teachin
Claude Codeでタスク固有のワークフローと改善されたコンテキスト管理のために、専門化されたAIサブエージェントを作成・使用します。 Claude Codeのカスタムサブエージェントは、特定のタイプのタスクを処理するために呼び出すことができる専門化されたAIアシスタントです。これらは、カスタマイズされたシステムプロンプト、ツール、および独立したコンテキストウィンドウを持つタスク固有の設定を提供することで、より効率的な問題解決を可能にします。 サブエージェントとは? サブエージェントは、Claude Codeがタスクを委任できる事前設定されたAIパーソナリティです。各サブエージェントは: 特定の目的と専門分野を持つ メインの会話とは独立した独自のコンテキストウィンドウを使用する 使用を許可された特定のツールで設定できる その動作を導くカスタムシステムプロンプトを含む Claude Co
Create and use specialized AI subagents in Claude Code for task-specific workflows and improved context management. Custom subagents in Claude Code are specialized AI assistants that can be invoked to handle specific types of tasks. They enable more efficient problem-solving by providing task-specific configurations with customized system prompts, tools and a separate context window. What are suba
カスタムスラッシュコマンド カスタムスラッシュコマンドを使用すると、頻繁に使用するプロンプトをMarkdownファイルとして定義し、Claude Codeが実行できるようになります。コマンドはスコープ(プロジェクト固有または個人)で整理され、ディレクトリ構造を通じて名前空間をサポートします。
matcher: Pattern to match tool names, case-sensitive (only applicable for PreToolUse and PostToolUse) Simple strings match exactly: Write matches only the Write tool Supports regex: Edit|Write or Notebook.* Use * to match all tools. You can also use empty string ("") or leave matcher blank. hooks: Array of commands to execute when the pattern matches type: Currently only "command" is supported com
リファレンスdevcontainerセットアップと関連するDockerfileは、そのまま使用することも、ニーズに合わせてカスタマイズすることもできる事前設定済みの開発コンテナを提供します。このdevcontainerは、Visual Studio CodeのDev Containers拡張機能および類似のツールと連携します。 コンテナの強化されたセキュリティ対策(分離とファイアウォールルール)により、claude --dangerously-skip-permissionsを実行して、無人操作での権限プロンプトをバイパスできます。 devcontainerは実質的な保護を提供しますが、すべての攻撃に対して完全に免疫のあるシステムは存在しません。 --dangerously-skip-permissionsで実行された場合、devcontainerは悪意のあるプロジェクトがClaude C
このクイックスタートガイドでは、わずか数分でAI搭載のコーディング支援を使用できるようになります。最後には、一般的な開発タスクでClaude Codeを使用する方法を理解できるでしょう。
このドキュメントの各タスクには、Claude Codeを最大限に活用するための明確な手順、コマンド例、ベストプラクティスが含まれています。
Configure Claude Code with global and project-level settings, and environment variables. Claude Code offers a variety of settings to configure its behavior to meet your needs. You can configure Claude Code by running the /config command when using the interactive REPL. Settings files The settings.json file is our official mechanism for configuring Claude Code through hierarchical settings: User se
Learn about the Claude Code development container for teams that need consistent, secure environments. The reference devcontainer setup and associated Dockerfile offer a preconfigured development container that you can use as is, or customize for your needs. This devcontainer works with the Visual Studio Code Dev Containers extension and similar tools. The container’s enhanced security measures (i
Learn how to manage Claude Code’s memory across sessions with different memory locations and best practices. Claude Code can remember your preferences across sessions, like style guidelines and common commands in your workflow. Determine memory type Claude Code offers four memory locations in a hierarchical structure, each serving a different purpose: Memory TypeLocationPurposeUse Case ExamplesSha
システム要件を確認する オペレーティングシステム: macOS 10.15+、Ubuntu 20.04+/Debian 10+、またはWSL経由のWindows ハードウェア: 最低4GB RAM ソフトウェア: Node.js 18+ git 2.23+(オプション) PRワークフロー用のGitHubまたはGitLab CLI(オプション) ネットワーク: 認証とAI処理にインターネット接続が必要 地域: サポート対象国でのみ利用可能 WSLインストールのトラブルシューティング 現在、Claude CodeはWindowsで直接実行されず、代わりにWSLが必要です。WSLで問題が発生した場合: OS/プラットフォーム検出の問題: インストール中にエラーが発生した場合、WSLがWindows npmを使用している可能性があります。以下を試してください: インストール前にnpm config
Claude Codeは、あなたのニーズに合わせて動作を設定するための様々な設定を提供しています。インタラクティブREPLを使用する際に/configコマンドを実行することで、Claude Codeを設定できます。 設定ファイル settings.jsonファイルは、階層設定を通じてClaude Codeを設定するための公式メカニズムです: ユーザー設定は~/.claude/settings.jsonで定義され、すべてのプロジェクトに適用されます。 プロジェクト設定はプロジェクトディレクトリに保存されます: .claude/settings.jsonはソース管理にチェックインされ、チームと共有される設定用 .claude/settings.local.jsonはチェックインされない設定用で、個人の好みや実験に便利です。Claude Codeは作成時に.claude/settings.loc
Claude Codeは人気の統合開発環境(IDE)とシームレスに統合し、コーディングワークフローを強化します。この統合により、お好みの開発環境内でClaudeの機能を直接活用できます。 サポートされているIDE Claude Codeは現在、2つの主要なIDEファミリーをサポートしています: Visual Studio Code(CursorやWindsurfなどの人気フォークを含む) JetBrains IDE(PyCharm、WebStorm、IntelliJ、GoLandを含む) 機能 クイック起動: Cmd+Esc(Mac)またはCtrl+Esc(Windows/Linux)を使用してエディターから直接Claude Codeを開くか、UIのClaude Codeボタンをクリックします 差分表示: コードの変更をターミナルではなくIDE差分ビューアーで直接表示できます。これは/co
Each task in this document includes clear instructions, example commands, and best practices to help you get the most from Claude Code.
# Claude Codeをインストール npm install -g @anthropic-ai/claude-code # プロジェクトに移動 cd your-awesome-project # Claudeでコーディングを開始 claude Claude Codeがあなたのためにできること 説明から機能を構築:作りたいものを平易な英語でClaudeに伝えてください。計画を立て、コードを書き、動作することを確認します。 デバッグと問題修正:バグを説明するか、エラーメッセージを貼り付けてください。Claude Codeがコードベースを分析し、問題を特定し、修正を実装します。 あらゆるコードベースをナビゲート:チームのコードベースについて何でも質問すれば、思慮深い回答が得られます。Claude Codeはプロジェクト構造全体を把握し、ウェブから最新情報を見つけることができ、MCPを使用して
Claude Code works great with any Integrated Development Environment (IDE) that has a terminal. Just run claude, and you’re ready to go. In addition, Claude Code provides dedicated integrations for popular IDEs, which provide features like interactive diff viewing, selection context sharing, and more. These integrations currently exist for: Visual Studio Code (including popular forks like Cursor, W
このガイドでは、Claude 4モデル(Opus 4およびSonnet 4)向けの特定のプロンプトエンジニアリング技術を提供し、アプリケーションで最適な結果を得るのに役立ちます。これらのモデルは、以前のClaudeモデルよりも正確な指示に従うように訓練されています。
This guide provides specific prompt engineering techniques for Claude 4 models (Opus 4.1, Opus 4, and Sonnet 4) to help you achieve optimal results in your applications. These models have been trained for more precise instruction following than previous generations of Claude models.
Claude Codeの編集、検索、テスト、開発ワークフローの自動化のための強力な機能を探索しましょう。 Claude Codeはターミナル上で直接動作し、プロジェクトのコンテキストを理解して実際のアクションを実行します。コンテキストにファイルを手動で追加する必要はなく、Claudeは必要に応じてコードベースを探索します。
Claude Code GitHub ActionsはAI駆動の自動化をGitHubワークフローにもたらします。任意のPRやissueで簡単に@claudeとメンションするだけで、Claudeがコードを分析し、プルリクエストを作成し、機能を実装し、バグを修正します - すべてプロジェクトの標準に従いながら。 Claude Code GitHub Actionsは現在ベータ版です。エクスペリエンスを改善する過程で、機能や動作が変更される可能性があります。 Claude Code GitHub ActionsはClaude Code SDKの上に構築されており、Claude Codeをアプリケーションにプログラム的に統合することを可能にします。SDKを使用して、GitHub Actions以外のカスタム自動化ワークフローを構築できます。 Claude Code GitHub Actionsを使
Claude Code SDKを使用してアプリケーションにClaude Codeをプログラム的に統合する方法について学びます。 Claude Code SDKは、Claude CodeをサブプロセスとしてRunning可能にし、Claudeの機能を活用したAI駆動のコーディングアシスタントやツールを構築する方法を提供します。 SDKは、コマンドライン、TypeScript、およびPythonでの使用が可能です。
Learn about integrating Claude Code into your development workflow with Claude Code GitHub Actions Claude Code GitHub Actions brings AI-powered automation to your GitHub workflow. With a simple @claude mention in any PR or issue, Claude can analyze your code, create pull requests, implement features, and fix bugs - all while following your project’s standards. Claude Code GitHub Actions is current
Why use the Claude Code SDK? The Claude Code SDK provides all the building blocks you need to build production-ready agents: Optimized Claude integration: Automatic prompt caching and performance optimizations Rich tool ecosystem: File operations, code execution, web search, and MCP extensibility Advanced permissions: Fine-grained control over agent capabilities Production essentials: Built-in err
Claude is a family of highly performant and intelligent AI models built by Anthropic. While Claude is powerful and extensible, it’s also the most trustworthy and reliable AI available. It follows critical protocols, makes fewer mistakes, and is resistant to jailbreaks—allowing enterprise customers to build the safest AI-powered applications at scale. This guide introduces Claude’s enterprise capab
MCPは、アプリケーションがLLMにコンテキストを提供する方法を標準化するオープンプロトコルです。MCPは、AIアプリケーション向けのUSB-Cポートのようなものと考えてください。USB-Cがデバイスを様々な周辺機器やアクセサリーに接続する標準的な方法を提供するように、MCPはAIモデルを異なるデータソースやツールに接続する標準的な方法を提供します。
Use a compatible model Anthropic’s text editor tool is available for multiple Claude models: Claude 4 Opus & Sonnet: text_editor_20250728 Claude Sonnet 3.7: text_editor_20250124 Claude Sonnet 3.5 (deprecated): text_editor_20241022 Claude Sonnet 3.5 (deprecated) requires the computer-use-2024-10-22 beta header when using the text editor tool. The text editor tool is generally available in Claude 4
Claude Codeは、ターミナル上で動作し、コードベースを理解し、自然言語コマンドを通じてより速くコーディングできるようサポートするエージェント型コーディングツールです。開発環境に直接統合することで、追加のサーバーや複雑なセットアップを必要とせずにワークフローを効率化します。 Claude Codeの主な機能は以下の通りです: コードベース全体でのファイル編集やバグ修正 コードのアーキテクチャやロジックに関する質問への回答 テスト、リンティング、その他のコマンドの実行と修正 gitの履歴検索、マージ競合の解決、コミットとPRの作成 研究プレビュー Codeはベータ版として研究プレビュー中です。AIとの協業の好み、AIアシスタンスが最も役立つワークフロー、エージェント体験の改善方法について、開発者からのフィードバックを収集しています。 この初期バージョンはユーザーフィードバックに基づいて
次のページ
このページを最初にブックマークしてみませんか?
『docs.anthropic.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く