> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/hajimeni/manage-teams-and-applications/assign-team-responsibilities-with-codeowners.md).

# Code Ownersでチームの責任を割り当てる

Aikido では **コードオーナー** Aikido でチーム割り当てを自動管理できます。これにより、大規模組織での課題管理が効率化され、手動設定なしでより細かなレポートが可能になります。

{% hint style="info" %}
Code Owners はソースコード管理ツールとは独立しています。GitHub、GitLab、Bitbucket、さらには Local Scanning のワークスペースでも簡単に使用できます。
{% endhint %}

### ユースケース <a href="#use-cases" id="use-cases"></a>

* **多数のリポジトリにわたる明確な所有権**: 大規模な組織では、各リポジトリに担当チームが明確に定義されるため、誰が責任者かを追跡しやすくなります。
* **パス単位の所有権:** 複数のチームが異なるディレクトリやパスを所有しているコードベース（例: モノレポ）の場合、Aikido は CODEOWNERS のパスをチームに直接マッピングします。手動での割り当ては不要です。
* **自動オンボーディング**: 新しいリポジトリが適切なトピック付きで作成されると、Aikido で即座に正しいチームに割り当てられます。

### 設定 <a href="#assigning-specific-paths" id="assigning-specific-paths"></a>

{% hint style="warning" %}
この機能は **デフォルトでは有効になっていません** であり、お使いのアカウントで有効化する必要があります。までご連絡ください **Aikido サポート** サポートを受けるには。
{% endhint %}

1. GitHub/GitLab/Bitbucket で、次の名前の新しいファイルを作成します `CODEOWNERS。` 参照 [GitHub ドキュメント](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners), [GitLab ドキュメント](https://docs.gitlab.com/user/project/codeowners/) と [Bitbucket ドキュメント](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-code-owners/)。Aikido は Codeowners ファイルが 1 つだけ存在すると想定し、最初に見つかったものを使用します。
2. Aikido が自動的にチームを作成（または更新）し、リポジトリを割り当てます。
3. Codeowners ファイルが後で変更された場合、Aikido はリポジトリの割り当てを自動的に解除または再割り当てします。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aikido.dev/docs/docs-ja/hajimeni/manage-teams-and-applications/assign-team-responsibilities-with-codeowners.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
