developing-ansible
developing-ansible skill
This skill covers any task involving writing, reviewing, or refactoring Ansible playbooks, roles, or tasks.
Rule of Thumb
If the project already has existing examples, always follow them in terms of structure, naming, and style to maintain consistency. If no relevant examples exist, apply the guidelines defined in this skill and its reference documents.
Reference Documents
Always load:
- common.md — baseline requirements that apply to all Ansible files.
- developing-tasks.md — task key ordering, FQCN, module selection,
loop; tasks are the fundamental unit present in both playbooks and roles.
Then load only the documents that match the request:
- developing-playbooks.md — Load when writing or reviewing playbook files: play definitions,
import_*vsinclude_*, error handling at play level. - developing-roles.md — Load when creating or modifying a role: directory layout,
defaults/,vars/,handlers/,meta/. - handling-boolean-values.md — Load when the code involves boolean variables,
| ansible.builtin.bool, oris ansible.builtin.truthyexpressions. - jinja2-templates.md — Load when working with
.j2template files or Jinja2 filter/macro expressions. - reference-code-blocks.md — Load when composing
block/rescue/alwayspatterns or other reusable canonical patterns.
More from ak1ra-komj/agents-skills
summarize-current-session
Use when the user asks to summarize this session, write a session log, save what we did today, or similar.
20developing-bash-scripts
Use when writing, reviewing, or refactoring a Bash script.
14developing-posix-shell-scripts
Use when writing, reviewing, or refactoring a POSIX shell script (/bin/sh), or when targeting Alpine, BusyBox, or any environment where Bash cannot be assumed.
13keep-a-changelog
Use when the user mentions preparing or publishing a new release, or asks to review or refactor CHANGELOG.md, following Keep a Changelog format and Semantic Versioning.
9init-agents-md
Generate or overwrite AGENTS.md in the project root. Use when the user asks to "create AGENTS.md", "write an agent guide", "document the project for AI agents", or wants to orient AI coding tools to a new repository.
7update-changelog-md
Maintains CHANGELOG.md following Keep a Changelog format and Semantic Versioning. Covers adding new version entries from git history and restructuring existing content.
6