Agent skill
devtools-environment-configuration
Sub-skill of devtools: Environment Configuration (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/development/tools/devtools/environment-configuration
SKILL.md
Environment Configuration (+3)
Environment Configuration
# XDG Base Directory
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
# Tool-specific
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
export HISTFILE="$XDG_DATA_HOME/bash/history"
Dotfile Management
# Symlink configuration
link_dotfiles() {
local dotfiles_dir="$HOME/dotfiles"
ln -sf "$dotfiles_dir/.bashrc" "$HOME/.bashrc"
ln -sf "$dotfiles_dir/.gitconfig" "$HOME/.gitconfig"
ln -sf "$dotfiles_dir/config/nvim" "$XDG_CONFIG_HOME/nvim"
}
Tool Version Management
# Version switching pattern
use_tool_version() {
local tool="$1"
local version="$2"
case "$tool" in
node) nvm use "$version" ;;
python) pyenv shell "$version" ;;
ruby) rbenv shell "$version" ;;
go) goenv shell "$version" ;;
esac
}
Path Management
# Add to PATH safely
add_to_path() {
local dir="$1"
[[ ":$PATH:" != *":$dir:"* ]] && export PATH="$dir:$PATH"
}
add_to_path "$HOME/.local/bin"
add_to_path "$HOME/go/bin"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?