ansible-scaffold-collection

Scaffold Ansible content collections with Red Hat CoP compliance.

27|3|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/leogallego/claude-ansible-skills --skill ansible-scaffold-collection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ansible-scaffold-collection
Source: https://github.com/leogallego/claude-ansible-skills/tree/main/ansible-scaffold-collection/skills/ansible-scaffold-collection
Command: npx skills add https://github.com/leogallego/claude-ansible-skills --skill ansible-scaffold-collection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold a new Ansible content collection in full compliance with Red Hat CoP good practices, reducing setup time and ensuring consistency across projects.

Core Features & Use Cases

  • Automated skeleton generation: Creates the complete collection skeleton (galaxy.yml, meta/runtime.yml, README, LICENSE, and changelog config).
  • Ansibe-creator integration: Leverages ansible-creator when available to bootstrap workflows and modules.
  • Post-scaffold customization guidance: Helps add roles, plugins, and CI/CD pipelines after scaffolding.

Quick Start

Answer prompts to specify namespace, collection name, path, description, author, license, and optional plugins, then review and finalize the scaffold.

Frequently Asked Questions about ansible-scaffold-collection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new Ansible collection that follows Red Hat CoP good practices?

To scaffold an Ansible collection compliant with Red Hat CoP practices, this Skill automates the generation of the complete collection skeleton, including galaxy.yml, meta/runtime.yml, README, LICENSE, and changelog config. It validates semantic versioning and cleans placeholder content to ensure consistency across projects.

What inputs are required to generate an Ansible collection skeleton?

Generating an Ansible collection skeleton requires inputs for the namespace, collection name, path, description, author, license, repository URL, initial roles, plugins, and CI/CD preferences. These inputs ensure the automated skeleton generation meets your specific project requirements.

Does the Ansible collection scaffolding process integrate with ansible-creator?

Yes, the Ansible collection scaffolding process integrates with ansible-creator. It leverages ansible-creator when available to bootstrap workflows and modules, providing faster bootstrapping across projects while ensuring compliant configuration.

Can I add roles and CI/CD pipelines after scaffolding my Ansible collection?

You can add roles, plugins, and CI/CD pipelines after scaffolding your Ansible collection. The Skill provides post-scaffold customization guidance to help you expand the initial skeleton with additional automation components and deployment workflows.

What is the best way to ensure semantic versioning when creating an Ansible collection?

The best way to ensure semantic versioning when creating an Ansible collection is using an automated scaffolding process. This Skill validates semantic versioning during the generation of your galaxy.yml and collection skeleton, preventing manual configuration errors.