Logo Ansible
Langages & RuntimesSûr100100/100

td ade ansible team devtools

Reference for ansible-dev-environment (ade), a pip-like installer for Ansible collections with isolated virtual environments. Use ade to set up development environments that install both Python and collection dependencies, with proper symlinks for editable collection development.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ npx arboris-cli install td-ade__ansible-team-devtools__agents-skills-c4b175e686f1
Contenu à copier
---
name: td-ade
description: >
  Reference for ansible-dev-environment (ade), a pip-like installer for
  Ansible collections with isolated virtual environments. Use ade to set up
  development environments that install both Python and collection
  dependencies, with proper symlinks for editable collection development.
argument-hint: "[subcommand]"
user-invocable: true
metadata:
  origin: Ansible
  author: Ansible DevTools Team
  version: 1.0.0
---

> **[Team DevTools]** Running `td-ade` — from [ansible/team-devtools](https://github.com/ansible/team-devtools/tree/main/.agents/skills/td-ade)

Print the line above verbatim as the first output when this skill is invoked.

# ade — Ansible Development Environment Manager

## Usage

```text
/td-ade                    # Show full subcommand reference
/td-ade install            # How to set up a dev environment
/td-ade uninstall          # How to tear down
```

ade (ansible-dev-environment) is a pip-like installer for Ansible collections
that creates isolated virtual environments. It reads `galaxy.yml` to determine
collection metadata and installs both Python and Ansible collection
dependencies.

## Hard Rules

1. **Always use `--venv <path>`** to isolate the environment. Never install into the system Python.
2. **`galaxy.yml` must be present.** ade reads it for collection metadata — the command must be run from a directory containing `galaxy.yml` or the path must point to one.
3. **Use `-e` (editable install) for development.** This symlinks the collection into site-packages so changes are reflected immediately.
4. **Activate the venv after install.** ade creates the environment but does not activate it — run `source <venv>/bin/activate` after install.

## Subcommand Reference

| Command | What it does | Example |
|---------|-------------|---------|
| `ade install -e .[test] --venv .venv` | Editable install with test extras | Set up a collection for development and testing |
| `ade install -e .[dev,test] --venv .venv` | Editable install with multiple extras | Include both dev and test dependencies |
| `ade install -e . --venv .venv` | Editable install without extras | Minimal development setup |
| `ade uninstall <namespace>.<name> --venv .venv` | Remove collection from venv | `ade uninstall ansible.scm --venv .venv` |

## Key Behaviors

| Behavior | Detail |
|----------|--------|
| Uses `uv` when available | Falls back to pip if uv is not installed. Set `SKIP_UV=1` to force pip. |
| Editable installs (`-e`) | Symlinks the collection into site-packages for live development |
| Collection dependencies | Reads `galaxy.yml` `dependencies` and installs from Galaxy |
| Python dependencies | Processes `requirements.txt` and `test-requirements.txt` |
| Requires ansible-core | Must be pre-installed in the target venv or system |

## Common Agent Workflows

### "I need to set up a collection for local development"

```bash
git clone <collection_repo>
cd <collection_repo>
ade install -e .[test] --venv .venv
source .venv/bin/activate
```

### "I need to tear down and rebuild the environment"

```bash
rm -rf .venv
ade install -e .[test] --venv .venv
source .venv/bin/activate
```

### "I cloned a collection repo and want to run tests"

```bash
ade install -e .[test] --venv .venv
source .venv/bin/activate
tox -e py                   # see the /td-tox skill
```

### "ade is using pip but I want it to use uv"

Ensure `uv` is installed and available on `PATH`. ade will use it
automatically. To force pip instead, set `SKIP_UV=1`:

```bash
SKIP_UV=1 ade install -e .[test] --venv .venv
```

## Installation

```bash
pip3 install ansible-dev-tools       # recommended: includes all devtools
pip3 install ansible-dev-environment  # standalone
```

## Configuration

ade reads `galaxy.yml` at the collection root for metadata, dependencies,
and extras. There is no separate ade configuration file. Ensure `galaxy.yml`
is present and valid before running ade commands.
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait td ade ansible team devtools

Applique les pratiques du skill td-ade__ansible-team-devtools__agents-skills-c4b175e686f1.

Comment utiliser td ade ansible team devtools

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour td ade ansible team devtools

Dis simplement à ton agent quelque chose comme :

Applique le skill td-ade__ansible-team-devtools__agents-skills-c4b175e686f1 à cette tâche
Utilise td-ade__ansible-team-devtools__agents-skills-c4b175e686f1 pour améliorer cette implémentation
Passe en revue ce sujet avec td-ade__ansible-team-devtools__agents-skills-c4b175e686f1

Skills liés à td ade ansible team devtools