jfrog/ai-agent-examples/github-configure-package-managers
Claude Code and agent skill by jfrog/ai-agent-examples
- community
Checking that the SKILL.md file is still in the repository.
Configure package manager settings in GitHub repositories to resolve dependencies from JFrog Artifactory. Handles npm (.npmrc), Maven (settings.xml), pip (pip.conf), Go (GOPROXY), Docker, and Helm. Use when setting up local developer dependency resolution through Artifactory.
Install
npx vskill@latest install jfrog/ai-agent-examples/github-configure-package-managersSKILL.md
GitHub Configure Package Managers
Updates package manager configuration files in remote GitHub repositories so that developers resolve dependencies from Artifactory virtual repositories.
Inputs
github_repos-- list of owner/repo (e.g.,["myorg/my-app", "myorg/my-lib"])project_key-- JFrog project key (used in repo naming)ecosystems-- list from:npm,maven,pip,go,docker,helmjfrog_url-- JFrog Platform URL (from$JFROG_URL)github_host-- GitHub host URL (e.g.,https://github.comorhttps://github.mycompany.com)
Approach
For each repo in github_repos:
- Shallow-clone the repo into a temp directory
- Create a feature branch:
jfrog-onboarding - Add/update the appropriate config files
- Push the branch
- Instruct the user to open a PR
Cloning and creating a branch
After pushing, instruct the user:
Branchjfrog-onboardinghas been pushed to{repo}. Please open a PR to merge the package manager configuration changes.
Per-Ecosystem Configuration
npm
File: .npmrc (project root) Template: templates/package-managers/.npmrc
Maven
File: .mvn/settings.xml Template: templates/package-managers/settings.xml
- Configures
<mirror>to point all repos to the Artifactory virtual - Configures
<server>with credential placeholders
pip (Python)
File: pip.conf (project root) Template: templates/package-managers/pip.conf
Go
File: .env or README update Template: templates/package-managers/go-env.sh
Docker
No config file needed in the repo for authentication. However, Dockerfiles should be updated to pull base images through the JFrog virtual Docker repository.
Docker login instructions
Document in a DOCKER.md or commit message:
Dockerfile FROM rewriting
Find all Dockerfiles in the repository:
For each Dockerfile, update FROM directives to use the JFrog virtual Docker registry:
Before (pulling directly from Docker Hub):
After (pulling through JFrog proxy):
For multi-stage Dockerfiles, update all FROM statements.
To make the registry configurable via build arguments:
Benefits: Faster builds (cached in Artifactory), reliability (no Docker Hub dependency), security scanning via Xray, audit trail, and consistent images across developers and CI.
Also update docker-compose.yml if present -- replace image references with JFrog registry paths:
For detailed Docker configuration including multi-platform builds and troubleshooting, see docker.md.
Helm
No config file needed in the repo. Document in a HELM.md or commit message:
Template Substitution
Replace these placeholders in templates before committing:
{{JFROG_URL}}-- JFrog Platform URL{{JFROG_HOSTNAME}}-- hostname portion only (no protocol){{PROJECT_KEY}}-- JFrog project key{{VIRTUAL_REPO}}-- virtual repo key (e.g.,myproj-npm)
Additional Resources
For detailed per-ecosystem configuration options, see reference.md.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingonboarding-workflows/skills/github-configure-package-managers/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jfrog/ai-agent-examples/github-configure-package-managers)