원클릭으로
ansible-generator
Generate, create, or scaffold Ansible playbooks, roles, tasks, handlers, inventory, vars.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate, create, or scaffold Ansible playbooks, roles, tasks, handlers, inventory, vars.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | ansible-generator |
| description | Generate, create, or scaffold Ansible playbooks, roles, tasks, handlers, inventory, vars. |
Use this skill when the request is to generate or scaffold Ansible content, for example:
Do not use this skill as the primary workflow when the request is validation/debug-only (syntax errors, lint failures, Molecule/test failures). Use ansible-validator for those cases.
Run these stages in order. Do not skip a stage unless the Validation Exceptions Matrix explicitly allows it.
Determine one mode first:
| Mode | Typical user intent | Deliverable |
|---|---|---|
full-generation | "create/build/generate" a full playbook/role/inventory/project file set | Complete file(s), production-ready |
snippet-only | "quick snippet/example" without full file context | Focused task/play snippet |
docs-only | explanation, pattern comparison, or conceptual guidance only | Explanatory content, optional examples |
If details are missing, ask briefly. If the user does not provide them, proceed with safe defaults and state assumptions.
| Resource type | Required inputs | Safe defaults if missing |
|---|---|---|
| Playbook | target hosts, privilege (become), OS family, objective | hosts: all, become: false, OS-agnostic modules |
| Role | role name, primary service/package, supported OS | role name from task domain, Debian + RedHat vars |
| Tasks file | operation scope, required vars, execution context | standalone reusable tasks with documented vars |
| Inventory | environments, host groups, hostnames/IPs | production/staging groups with placeholders |
| Project config | collections/roles dependencies, lint policy | minimal ansible.cfg, requirements.yml, .ansible-lint |
Before drafting content, extract the following from local references/templates.
references/best-practices.md
references/module-patterns.md
assets/templates/playbook/basic_playbook.ymlassets/templates/role/ (including meta/argument_specs.yml and molecule/default/ for test scaffolding)assets/templates/inventory/hostsassets/templates/inventory/hosts.ymlassets/templates/project/ansible.cfg, assets/templates/project/requirements.yml, assets/templates/project/.ansible-lint[PLACEHOLDER] that must be replaced.ansible.builtin.* first).Apply these generation standards:
ansible.builtin.* first choice).state, creates/removes, changed_when when needed).true/false booleans (not yes/no).no_log: true for sensitive values.ansible.builtin.dnf for RHEL 8+/CentOS 8+ (legacy yum only for older systems).Use the matrix below to keep validation deterministic and non-blocking.
| Scenario | Default behavior | Allowed fallback | What to report |
|---|---|---|---|
full-generation | Run ansible-validator after generation and after each fix pass | If validator/tools are unavailable, run manual static checks (YAML shape, placeholder scan, FQCN/idempotency/security review) and provide exact deferred validation commands | Explicitly list which checks ran, which were skipped, and why |
snippet-only | Skip full validator by default; do inline sanity checks | Run full validator only if user asks or snippet is promoted to full file | State that validation was limited because output is snippet-only |
docs-only | No runtime validation | None needed | State that no executable artifact was generated |
| Offline environment (no web/docs access) | Continue with local references and templates | Skip external doc lookups; prefer builtin-module implementations; provide notes for later external verification | State offline constraint and impacted checks/lookups |
assets/templates/playbook/basic_playbook.yml as structure.pre_tasks/tasks/post_tasks as needed, handlers, tags.assets/templates/role/ structure.defaults/main.yml; keep higher-priority role vars in vars/main.yml.vars/Debian.yml, vars/RedHat.yml) when relevant.meta/argument_specs.yml for variable validation.molecule/default/ scaffold (from assets/templates/role/molecule/) for production-ready roles.group_vars/all.yml -> group -> host.hosts) for simple topologies; use YAML format (hosts.yml) when the user requests it or when the hierarchy is complex.ansible.cfg, requirements.yml, and .ansible-lint.When the request depends on non-builtin modules/collections:
references/module-patterns.md first.mcp__context7__resolve-library-idmcp__context7__query-docsAlways include collection installation guidance when collection modules are used.
User prompt: "Create a playbook to deploy nginx with TLS on Ubuntu and RHEL."
full-generation.best-practices.md, module-patterns.md) and playbook template.apt/dnf), handlers, validation for config templates.ansible-validator.User prompt: "Give me a snippet to create a user and SSH key."
snippet-only.ansible.builtin.user and ansible.builtin.authorized_key.For generated executable artifacts, use this response structure:
## Generated [Resource Type]: [Name]
**Validation Status:** [Passed / Partially validated / Skipped with reason]
- YAML syntax: [status]
- Ansible syntax: [status]
- Lint: [status]
**Summary:**
- [What was generated]
- [Key implementation choices]
**Assumptions:**
- [Defaults or inferred values]
**Usage:**
```bash
[Exact command(s)]
Prerequisites:
## Done Criteria
This skill execution is complete only when all applicable items are true:
- Trigger decision is explicit (`full-generation`, `snippet-only`, or `docs-only`).
- Required references/templates were consulted for the selected artifact type.
- Generated output has no unresolved placeholders.
- Validation followed default behavior or a documented exception from the matrix.
- Any skipped checks include a concrete reason and deferred command(s).
- Final output includes summary, assumptions, usage, and prerequisites.
Writers Room Story Engine mega-skill. Creates, structures, drafts, and revises compelling standalone stories from zero using premise generation, audience engagement, thematic design, character arcs, Story Spine structure, causal beats, worldbuilding in service of story, scene construction, and revision diagnostics. Use when developing short stories, standalone fiction, scripts, or narrative concepts from scratch or when improving weak drafts.
Deliver real-time websocket updates for intent, quote, negotiation, order, and payment events. Use when implementing push channels, subscription authorization, and connection/session lifecycle for market clients.
Adaptive RAG 引擎 — 从线性检索到自主认知循环。集成胶囊预筛选、智能路由、CRAG纠错、L3校验。当需要搜索记忆/检索信息/回答复杂问题时触发。关键词:RAG、检索、记忆搜索、向量检索、Agentic RAG、CRAG。
Adopt a virtual Drift AI-native pet at animalhouse.ai. Wanders between states. Location is never the same twice. Feeding every 6 hours. Common tier creature.
Complete methodology for building production-grade React applications with architecture decisions, component design, state management, performance optimization, testing, and deployment.
Control Android over LAN without USB, ADB, or root.