prerequisites
Skill2 starsChanged 10 months agoMITView on GitHub
CLI tool prerequisites validation and setup
- Installs packages
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- ai-foundry-operationsSkill
- argocd-cliSkill
- aro-deploymentSkill
- azure-cliSkill
- azure-infrastructureSkill
- database-managementSkill
- deploy-orchestrationSkill
- github-cliSkill
- helm-cliSkill
- kubectl-cliSkill
- mcp-cliSkill
- observability-stackSkill
- oc-cliSkill
- openshift-operationsSkill
- rhdh-portalSkill
- terraform-cliSkill
- validation-scriptsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Before any deployment workflow
- Distinctive: line 75
Run prerequisite check before every deployment
- Distinctive: line 78
Use version managers (asdf, mise)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to Use
- Before any deployment workflow
- Environment setup validation
- CI/CD pipeline prerequisite checks
Prerequisites
- Bash shell
- Access to download tools if missing
Required CLI Tools
| Tool | Minimum Version | Purpose |
| az | 2.50.0 | Azure CLI |
| terraform | 1.5.0 | Infrastructure as Code |
| kubectl | 1.28.0 | Kubernetes CLI |
| helm | 3.12.0 | Kubernetes package manager |
| gh | 2.30.0 | GitHub CLI |
| argocd | 2.8.0 | ArgoCD CLI |
| jq | 1.6 | JSON processor |
| yq | 4.0.0 | YAML processor |
Validation Script
#!/bin/bash
set -euo pipefail
# Check required tools
TOOLS=("az" "terraform" "kubectl" "helm" "gh" "argocd" "jq" "yq")
MISSING=()
for tool in "${TOOLS[@]}"; do
if ! command -v "$tool" &> /dev/null; then
MISSING+=("$tool")
fi
done
if [ ${#MISSING[@]} -ne 0 ]; then
echo "Missing tools: ${MISSING[*]}"
exit 1
fi
echo "All prerequisites satisfied"Installation Commands
macOS (Homebrew)
brew install azure-cli terraform kubectl helm gh argocd jq yqUbuntu/Debian
# Azure CLI
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
# Terraform
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install terraform
# kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectlBest Practices
- Run prerequisite check before every deployment
- Pin tool versions in CI/CD
- Document version requirements
- Use version managers (asdf, mise)
- Include prerequisite check in pre-commit hooks
Output Format
- Tools checked
- Versions found
- Missing tools
- Installation instructions
Integration with Agents
Used by: All agents (prerequisite validation)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

