agentleFS
paulanunes85paulanunes85/three-horizons-accelerator/.github/skills/prerequisites/SKILL.md

prerequisites

Skill2 starsChanged 10 months agoMITView on GitHub

CLI tool prerequisites validation and setup

  • Installs packages

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
  1. Distinctive:

    Before any deployment workflow

    line 7
  2. Distinctive:

    Run prerequisite check before every deployment

    line 75
  3. Distinctive:

    Use version managers (asdf, mise)

    line 78

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

ToolMinimum VersionPurpose
az2.50.0Azure CLI
terraform1.5.0Infrastructure as Code
kubectl1.28.0Kubernetes CLI
helm3.12.0Kubernetes package manager
gh2.30.0GitHub CLI
argocd2.8.0ArgoCD CLI
jq1.6JSON processor
yq4.0.0YAML 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 yq

Ubuntu/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/kubectl

Best Practices

  1. Run prerequisite check before every deployment
  2. Pin tool versions in CI/CD
  3. Document version requirements
  4. Use version managers (asdf, mise)
  5. Include prerequisite check in pre-commit hooks

Output Format

  1. Tools checked
  2. Versions found
  3. Missing tools
  4. Installation instructions

Integration with Agents

Used by: All agents (prerequisite validation)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.