EWC Community Hub
Use this skill to onboard items into the EWC Community Hub catalog: preparing
the contribution, writing the item's metadata entry in items.yaml, validating
it against the schema, and opening the pull request that publishes it. It does
not cover deploying or operating Hub items — hand those requests to the
ewccli skill (ewc hub list/show/deploy).
Grounded in the ewcloud/ewc-community-hub main branch and its generated
schema reference inspected on 2026-10-31. The schema is versioned
(communityhub.europeanweather.cloud/v1alpha1); if validation fails with
unexpected errors, re-fetch the schema reference before assuming the skill is
wrong.
Operating Rules
- Only EWC users can contribute. If eligibility is in question, point to the access page from official-links.md instead of promising acceptance.
- Never invent metadata values: SPDX license names, categories, technologies, image names, flavors, URLs, or maintainer contacts. Use metadata-schema.md for allowed values and official-links.md for official pages; otherwise ask the user.
- The
spec.itemskey must equal the item'sname. Always check this pair when drafting or reviewing an entry. - Every maintainer needs
emailorurl; flag the omission, ask the user. - In
values.inputSpec, an entry withdefaultis optional and without it is mandatory — state which inputs the user must collect before submission. - Use
values.*for catalogue metadata. For anEWCCLI-compatibleitem also list every input underewccli.inputs:ewccli0.3.1 reads inputs only fromewccli.inputs(hub_command.py:409-410), while the catalogue schema readsvalues.inputSpec. Keep the two lists identical. The schema keepsexternalIPandcheckDNScurrent and marks the otherewccli.*keys deprecated;ewccli0.3.1 still reads them, so mirror them fromvalues.*as metadata-schema.md shows. - Never claim an item is accepted or published: submission ends at the pull request; maintainers review it, and outside-org PRs need manual approval before CI runs.
- Report two statuses. Schema validation: quote the validator output
(
/tmp/items.yaml valid) only after you ran it; otherwise writeNot run. Policy review: findings from reading, such asspec.itemskey equal tonameor a maintainer withoutemailorurl; the schema does not enforce these, so never present them as schema errors or invent an error count. When you propose validation, give both commands from submission.md (docker build, thendocker run) and the success line/tmp/items.yaml valid, so the user can confirm by exact output. - If the item is tagged
EWCCLI-compatible, say first: schema validation does not exercise theewccliblock, and theewc hubcommands belong to theewccliskill. Then recommend the custom-catalogue dry-run from submission.md, and do not call the PR ready because the dry-run passed; the dry-run stops before any deployment.
Response Contract
When the answer drafts or reviews metadata or proposes submission steps, include:
-
Workflow type: metadata drafting, validation, or submission.
-
Prerequisites: EWC access, publicly accessible versioned source (a Git repo with
LICENSEwhen the source is Git), GitHub account, Docker (for local validation). -
Metadata or diff: the YAML entry (or the exact fields to change), following metadata-schema.md. When reviewing or correcting user YAML, return only the fields to change, never a complete corrected file with filled-in unknowns. In any fix snippet, write a missing contact as
email: <ask the maintainer>; never an example address or URL. Do not report issues the pasted entry does not have: an absent optional block (ewccli,values.inputSpec) is not an error. -
Validation status: schema validation (run / not run, output quoted only if run) and policy review, as two lines.
-
Next step: local validator command, then the PR.
For short factual questions about fields or links, answer directly without the template.
Workflow
- Route by intent using the table below; load only the matching reference.
For an onboarding question (how do I add an item), explain the path first:
fork, branch,
items.yamlentry, local Docker validation, pull request, maintainer review. Ask for item details only when drafting. - Capture context: item name, technology (Ansible/Terraform/other), source repo URL, license, maintainers, and whether the entry is new or an edit.
- Draft or review the
items.yamlentry against metadata-schema.md. - Give the local validation commands from
submission.md — including the custom-catalogue
dry-run when the item is
EWCCLI-compatible. - Emit the Response Contract when proposing metadata or submission steps.
Routing Table
| User wants to | Load |
|---|---|
| Draft or review item metadata: fields, annotations, values, inputSpec, examples | metadata-schema.md |
| Submit an item: workflow, PR, local Docker validation, review expectations | submission.md |
| Official links: repo, schema reference, onboarding guide, images, VM plans | official-links.md |
Deploy or operate a Hub item (ewc hub ...) | Hand off to the ewccli skill |
When To Use This Skill
Activate when:
- Creating or editing an entry in the Community Hub
items.yamlcatalog. - Explaining item metadata fields, annotations,
values, orinputSpec. - Validating catalog metadata locally or diagnosing schema validation errors.
- Opening or debugging a pull request against
ewcloud/ewc-community-hub. - Answering who can contribute, support levels, or the publication process.


