> 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
