/server-setup:server-setup-devfrom server-setup
Develop, fix, or extend the ahmz1833.server_setup Ansible collection. Covers maintainer release workflow, PR authoring, and local workarounds for consumer projects.
Ships in server-setup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Repository: https://github.com/ahmz1833/server-setup (namespace ahmz1833, collection
server_setup). The repo's own AGENTS.md is authoritative for contributor rules; this
skill summarizes and adds the workflow around it.
Check: is the current directory a clone with push access (git remote -v,
gh repo view --json viewerPermission if gh is available), or are you in a consumer
project?
| Situation | Path |
|---|---|
| Maintainer (write access) | §2 release workflow |
| Not an owner, have a fork / can open PRs | §2 on a fork, open a PR, no tag/publish |
| Consumer project, no time for upstream | §3 local workaround now + issue |
master: feat/<role>-<topic> or fix/<role>-<topic>.example.com
and RFC 5737 addresses.AGENTS.md §1): start by grepping
roles docs examples skills README.md for every variable/tag/behaviour you touched and
update every hit. In short:
roles/<role>/defaults/main.yml (new var with a commented default)roles/<role>/meta/argument_specs.yml — every user-settable var; permissive types
(raw for templated/polymorphic, no required unless the role cannot work without
it); never {{, {% or {# anywhere in the spec (Ansible templates the spec
and the role breaks at runtime).roles/<role>/README.md, root README.md if user-facing.examples/, roles that include this one, root README.md (overview, quick
examples, cross-role variables), docs/ guidance and examples/ projects that use it,
skills/*/SKILL.md if a workflow/rule changes, CHANGELOG.md.scripts/sync.sh → regenerates docs/roles-index.md and copies docs, starter and
shared files into skills/ and other examples. Never edit the copies directly.ansible-lint roles, scripts/check-consistency.py (defaults ⇄ argument specs),
scripts/test-examples.sh (examples vs specs, lint)ansible-galaxy collection build + install to a temp path;
ansible-doc -t role ahmz1833.server_setup.<role> renders.COLLECTION_SRC=<this repo> make setup), run make validate.make check then apply).
Never test on production hosts without the owner's explicit OK.scripts/sync.sh --check clean.feat(nginx): …,
fix(core): …, docs: …); bump galaxy.yml version (semver: patch = fix,
minor = feature/new var, major = breaking); add CHANGELOG.md entry
## [X.Y.Z] - YYYY-MM-DD with Added/Changed/Fixed; tag vX.Y.Z. Pushing the tag
publishes to Galaxy and builds ghcr.io/ahmz1833/server-setup:X.Y.Z (CI).
Commit, push and tag only when the user asks.Breaking changes (renamed/removed variables, changed defaults that alter running systems): avoid; if needed, keep the old name working with a deprecation note for one minor release and call it out in CHANGELOG.
roles/<name>/), idempotent,
variables prefixed with the role name, marked at the top of tasks/main.yml:
# UPSTREAM-CANDIDATE: <what and why it's generic>.collections/ (they are overwritten by make setup).gh issue create -R ahmz1833/server-setup only if the user asks —
and strip any project-specific names, IPs and domains first (public repo).COLLECTION_SRC=../server-setup make setup symlinks a local checkout
into the project so you can test a collection change against real inventory
(make validate, make check).changed_when/creates on commands; no_log for secrets.<role>_<feature>_install / _enabled /
<role>_manage_<area> patterns; tags <role> and <role>-<area>.asset role.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ahmz1833/server-setup --plugin server-setup4 skills in this plugin
/infra-bootstrapCreate a new infrastructure-as-code project (Ansible + ahmz1833.server_setup collection) for a server, a set of servers, a cluster, or a new organization/startup/event - from an interview to a runnable, vaulted, validated repo. Use when the user wants to set up, provision or bootstrap new servers/infrastructure and there is no IaC repo for it yet, or asks for a new infra repo. For changing an existing project use infra-iac instead./infra-iacOperate servers and infrastructure the IaC way - Ansible with the ahmz1833.server_setup collection as the baseline, plus local roles, DNS/cloud (Terraform/OpenTofu, provider modules) and Kubernetes manifests where needed. Use for ANY request touching servers, clusters, DNS, networks or an infrastructure repository - inspecting or debugging hosts ("why is X down", "check disk"), one-off jobs ("restart nginx", "reboot", "drain node", "fetch kubeconfig"), and persistent changes ("open a port", "add a site/app/user/host", "change config", "upgrade k3s"). Enforces that state changes go through code, secrets and exposure-sensitive values go to ansible-vault (repo assumed public), and that attack surface is minimized and risks are reported. Routes to infra-bootstrap for new projects and server-setup-dev for work on the collection itself./server-diagnosticsDebug availability and performance of servers and the services on them, and measure/vet machines - outages, downtime, flapping, restarts, slowness, saturation, resource exhaustion, packet loss, throughput; using every metrics/logging source available (Prometheus-style metrics, exporters, logs, Kubernetes metrics, sysstat, provider graphs); plus benchmarks (CPU/memory/disk), network tests between servers or to the internet (iperf3, mtr) and egress/IP reputation checks. Use for any "why is X down/slow/unstable", "is this server good enough", "test bandwidth", "is this IP clean" request, whatever the workload (Kubernetes, VPN/tunnels, web, databases, mail, CI...). Read-only and ephemeral by default; fixes go through infra-iac.