Refactor references, examples and skill istructions#8
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
This PR refactor references, examples and skill istructions.
Refreshed existing reference files
best_practices.mddiscovery.mdplaybook.mdrole.mdmeta/argument_specs.yml.first_found-style variable loading pattern.collection.mdgalaxy.yml,meta/runtime.yml, plugin expectations, collection roles, and collection testing expectations.inventory.mdgroup_vars,host_vars, dynamic inventory notes, and secret-safe inventory examples.ansible_cfg.mdcollections_path, security-sensitive comments, and configuration review heuristics.Added new reference files
testing.mdansible-lint, role smoke tests, andansible-testexpectations.security_vault.mdplugins.mdDOCUMENTATION,EXAMPLES,RETURN,AnsibleModule, and plugin usage guidance.Overall reference outcome
The references now form a more coherent runtime knowledge base for:
Examples
The example layer was expanded and corrected so it better matches the new references and is more usable for validation and learning.
Updated existing examples
examples/simple-playbook/common,nginx, andpostgres.ignore_errorspattern from the main playbook.examples/role-rhel/examples/role-multiplatform/first_foundlookup pattern for vars.ntp.conf.j2template.examples/local-collection/ansible-testusage.ansible.cfgto a more current style.meta/runtime.ymland a collection-local example playbook.Added new examples
examples/ansible-cfg-profiles/ansible.dev.cfg,ansible.ci.cfg, andansible.awx.cfg.examples/inventory-vault/inventory/,group_vars/,host_vars/, and a placeholdervault.example.yml.Overall example outcome
The examples now cover:
ansible.cfgprofile patternsThey also provide clearer validation paths and better alignment with the documented skill behavior.
Skills
The skill entrypoints were updated so they explicitly use the refreshed references instead of leaving new guidance disconnected from the command flows.
Root skill update
skills/ansible-designer/SKILL.mdbest_practices.mdsecurity_vault.mdtesting.mdUpdated sub-skills
All sub-skills were reviewed and updated where needed:
new-playbookreview-playbookupdate-playbooknew-rolereview-roleupdate-rolenew-collectionreview-collectionupdate-collectionnew-confreview-confupdate-confWhat changed across the sub-skills
Playbook skills
Role skills
security_vault.mdandtesting.md.Collection skills
plugins.mdandtesting.md.Config skills
collections_pathin new examples.Overall skill outcome
The skill layer is now better aligned with the refreshed knowledge base:
Validation Status
Validation after the refresh produced the following results:
python3 scripts/validate_structure.pypython3 scripts/validate_frontmatter.pypyyamlis unavailable offlineansible-playbook --syntax-checkansible-lintansible.windowsis not installed here, so static loading of Windows tasks still fails during full lintScope of the Refresh
In practical terms, this update delivered:
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION