# サンプル プラグインのクローンを作成する

### 既存の FormIt プラグイン リポジトリのクローンを作成する

FormIt チームが作成したさまざまなプラグイン リポジトリのクローンを作成できます。これらのプラグインを確認すると、プラグインで実現可能なさまざまな UI タイプと高度な機能がわかります。

各プラグインは、独自のリポジトリに保存されています。FormIt3D Organization のリポジトリは[こちら](https://github.com/FormIt3D)から検索できます。

### GitHub Desktop

[GitHub Desktop](https://desktop.github.com) では、リポジトリのクローン作成、ファイルへの変更の確認、ローカル コンピュータのリポジトリとオンライン リポジトリ間の変更のプッシュとプルを行うための、使いやすいインタフェースが提供されます。GitHub Desktop には次のような機能があります。

* 新しいリポジトリを作成して GitHub にプラグインをホストする。
* GitHub Desktop を使用して、新しい(空の) GitHub リポジトリのクローンをローカル コンピュータに作成する。
* ローカルでリポジトリ フォルダに新しいファイルを追加して、プラグインを開発する。
* GitHub Desktop を使用して、プラグインのファイルとフォルダをリポジトリにプッシュする。
* リポジトリで GitHub Pages を有効にし、GitHub にホストされているプラグインを FormIt でロードして表示できるようにする。

### GitHub Desktop を使用してサンプル プラグイン リポジトリのクローンを作成する

GitHub で、クローン作成または変更するプラグイン プロジェクトを選択します。**\[Code]** ボタンをクリックし、ドロップダウンからアドレスをコピーします。

![](/files/4Tb4kINMf04q3G85PNzK)

GitHub Desktop アプリケーションを開き、**\[Current Repository]** をクリックして、**\[Clone Repository]** を選択します。

![](/files/chGt62Uv7KYUsnyLR2tY)

**URL** タブを選択し、コピーしたリンクを最初のフィールドに貼り付け、これらのファイルを保存するコンピュータ上のローカル フォルダ パスを選択します。**\[Clone]** をクリックします。

![](/files/NMYyMwqDP0XJpOk6ydNU)

### Visual Studio Code でプロジェクトを開く

Visual Studio Code を起動します。**\[File]** > **\[Open Folder]** に移動し、プラグインのファイルとフォルダを含むフォルダ(C:\Users\Documents\GenerateStringLights\v22\_0 など)を選択します。


---

# Agent Instructions: 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:

```
GET https://windows.help.formit.autodesk.com/ja/plugins/how-to-develop-plugins/advanced-development/cloning-a-sample-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
