dependency-manager
Safely resolve and install isolated dependencies for isolated sandboxes (PoC execution).
ソース情報
- リポジトリ
- gemini-cli-extensions/security
- ソースの最終更新活動
- 2026年3月26日 03:09
- 検出された SKILL.md の言語
- 英語
- スター
- 794
- フォーク
- 58
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- name
- dependency-manager
- description
- Safely resolve and install isolated dependencies for isolated sandboxes (PoC execution).
Proceed with these steps to ensure isolated execution while bypassing full installer locks.
**Instructions:**
1. **Locate and Read Dependency Files**:
* Use an MCP read_file tool to locate and read the closest dependency manifest files walking up from the `targetFile` coordinate.
* **TypeScript/Node.js**: Grab `package.json` and `package-lock.json`.
* **Python**: Grab `requirements.txt` or `Pipfile.lock`.
* **C++**: Check for `conanfile.txt` or `CMakeLists.txt`.
* **Go**: Grab `go.mod` and `go.sum`.
* **Java**: Grab `pom.xml` (Maven) or `build.gradle`/`build.gradle.kts` (Gradle).
2. **Extract Version Constraints**:
* Read the manifest files to find the exact version constraints for packages used in the PoC/verification code.
3. **Bypass Full Installs (Node.js)**:
* Instruct commands to utilize prefixes like `npm_config_cache=.npx_cache` so downloads bypass global proxy auth locks.
4. **Write Deterministic Running Script**:
* Generate a standalone dependency runner file on disk named deterministically e.g., `install_deps_<target_file_base>.sh` (or `.js`/`.py`).
5. **Trigger Isolated Execute**:
* Call the `install_dependencies` Tool passing the absolute path to the generated script in the `scriptPath` argument AND providing `targetFile` as an argument to let the tool calculate isolated execution contexts.
GitHubで見る