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에서 보기