##### SUMMARY

When I run `ansible-galaxy [type] init`, I would like to be able to use my own configured 'skeleton' to init that content.

For Ansible roles, when running `ansible-galaxy role init myrole`, I can configure a [`GALAXY_ROLE_SKELETON`](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#galaxy-role-skeleton) in my `ansible.cfg`, and the init command will use that skeleton as the source for the new role.

For Ansible collections, currently there's a bug (https://github.com/ansible/ansible/issues/66255) that causes collections to use that skeleton if its set (which can lead to some confusion)—but once that bug's fixed, there's no way to specify a skeleton for a collection.

So this feature request is to add a new configuration option `GALAXY_COLLECTION_SKELETON` (environment variable `ANSIBLE_GALAXY_COLLECTION_SKELETON`) which allows a collection skeleton to be specified.

Note: the docs for `GALAXY_ROLE_SKELETON` currently state:

> Role or collection skeleton directory to use as a template for the `init` action in `ansible-galaxy`, same as `--role-skeleton`.

Therefore that would need adjusting too, if the previously mentioned bug doesn't fix that.

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME

ansible-galaxy init

##### ADDITIONAL INFORMATION

N/A
display.display(yaml_dump(collections_in_paths))
        return 0
    def execute_publish(self):
        """
        Publish a collection into Ansible Galaxy. Requires the path to the collection tarball to publish.
        """
        collection_path = GalaxyCLI._resolve_path(context.CLIARGS['args'])
        wait = context.CLIARGS['wait']
        timeout = context.CLIARGS['import_timeout']
        publish_collection(collection_path, self.api, wait, timeout)
    def execute_search(self):
        ''' searches for roles on the Ansible Galaxy server'''
        page_size = 1000
        search = None
        if context.CLIARGS['args']:
            search = '+'.join(context.CLIARGS['args'])
        if not search and not context.CLIARGS['platforms'] and not context.CLIARGS['galaxy_tags'] and not context.CLIARGS['author']:
            raise AnsibleError("Invalid query. At least one search term, platform, galaxy tag or author must be provided.")
        response = self.api.search_roles(search, platforms=context.CLIARGS['platforms'],
                                         tags=context.CLIARGS['galaxy_tags'], author=context.CLIARGS['author'], page_size=page_size)
        if response['count'] == 0:
            display.display("No roles match your search.", color=C.COLOR_ERROR)
            return True
        data = [u'']
        if response['count'] > page_size:
            data.append(u"Found %d roles matching your search. Showing first %s." % (response['count'], page_size))
        else:
            data.append(u"Found %d roles matching your search:" % response['count'])
        max_len = []
        for role in response['results']: