Skip to content

opensite-ai/opensite-skills / linux-dev-workstation

linux-dev-workstation

Flagged

Configure a senior-grade Linux development environment on the machine: GPU drivers and compute stacks (NVIDIA CUDA, AMD ROCm, Intel XPU, Apple Silicon/Asahi), shell and terminal (zsh/fish, starship, modern CLI tools, tmux/zellij), advanced editor setup (Neovim/Vim, VS Code, Zed), language toolchains for Rust, Python, Ruby, and JavaScript/TypeScript via mise/uv/pixi, Docker/Podman containers, reproducible declarative setup (chezmoi, Ansible, Nix/home-manager), and security hardening (SSH keys, commit signing, secrets, firewall, backups). Use when setting up or upgrading a Linux dev box, installing GPU drivers, managing language versions and updates, configuring editors or dotfiles, or making a workstation reproducible. It runs commands on the machine.

templates/ansible-workstation.yml

View on GitHub
---
# ansible-workstation.yml — provision a senior Linux dev workstation.
# Run locally against the machine you are on:
#   ansible-playbook -i "localhost," -c local ansible-workstation.yml --ask-become-pass
# Roles are collapsed into tagged task blocks so this is a single self-contained
# file. Versions and package names "as of 2026-07 — verify" per distro.
- name: Configure senior Linux dev workstation
  hosts: all
  become: true
  vars:
    target_user: youruser
    base_packages:
      - git
      - curl
      - build-essential   # note: 'base-devel' on Arch, '@development-tools' on Fedora
      - tmux
    modern_cli_packages:
      - ripgrep
      - fd-find
      - bat
      - fzf
      - zoxide
      - eza
      - btop

  tasks:
    - name: Base — install core build + git tooling
      ansible.builtin.package:
        name: "{{ base_packages }}"
        state: present
      tags: [base]

    - name: Shell — install zsh and the modern CLI set
      ansible.builtin.package:
        name: "{{ ['zsh'] + modern_cli_packages }}"
        state: present
      tags: [shell]

    - name: Shell — install starship prompt
      ansible.builtin.shell: |
        set -o pipefail
        curl -sS https://starship.rs/install.sh | sh -s -- --yes
      args:
        executable: /bin/bash
        creates: /usr/local/bin/starship
      tags: [shell]

    - name: Dev — install mise (meta version manager) for the user
      become: true
      become_user: "{{ target_user }}"
      ansible.builtin.shell: |
        set -o pipefail
        curl https://mise.run | sh
      args:
        executable: /bin/bash
        creates: "/home/{{ target_user }}/.local/bin/mise"
      tags: [dev]

    - name: Dev — install rootless Podman (or use the docker role)
      ansible.builtin.package:
        name: podman
        state: present
      tags: [dev, containers]

    - name: Security — enable a default-deny firewall (Debian/Ubuntu)
      community.general.ufw:
        rule: allow
        name: OpenSSH
      when: ansible_facts['os_family'] == "Debian"
      tags: [security]

    - name: Security — turn the firewall on (SSH already allowed above)
      community.general.ufw:
        state: enabled
        policy: deny
        direction: incoming
      when: ansible_facts['os_family'] == "Debian"
      tags: [security]

    - name: Security — enable unattended security upgrades (Debian/Ubuntu)
      ansible.builtin.package:
        name: unattended-upgrades
        state: present
      when: ansible_facts['os_family'] == "Debian"
      tags: [security]
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall