> 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、さらには当社のローカルスキャン用ワークスペースでも簡単に使用できます。
{% 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は、codeownerファイルが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.
