validate-manifests globs skill-*.json and validates 5 manifests of 60

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, python
Domain
ci-cd, tooling

Research direction

Start with .github/workflows/validate-manifests.yml and its three Path('.').glob calls, then compare them with gen_skill_list.py lines 29 to 33. Check the 14 listed ovos-skill manifests against REQUIRED_FIELDS, widen validation to match the generator's manifest set, and run the workflow or its validation commands until all manifests are checked successfully.

Written by the indexing model from the issue text.

Description

Auto-generated by Claude, reviewed by the localize lane.

Observed

.github/workflows/validate-manifests.yml globs skill-*.json in all three
of its steps. That pattern does not match ovos-skill-*.json.

The repository holds 60 manifests. 5 are named skill-*.json. The other 55
are named ovos-skill-*.json and are never validated. The workflow passes
green on every one of them.

Checked against the workflow's own REQUIRED_FIELDS
(skill_id, source, name, description), 14 of the 55 unvalidated
manifests fail it:

Missing Manifests
name and description application-launcher, audio-recording, cmd, color-picker, screenshot
name alerts, laugh
description bandcamp, mass, music-assistant, somafm, soundcloud, spelling, tunein

alerts and laugh spell the field title. src/components/SkillCard.astro
and src/components/FeaturedSkill.astro render skill.name, so all seven
manifests without a name show an empty name in the store.

Expected

The validator reads every manifest the generator reads. gen_skill_list.py
takes all *.json except renovate.json and skills.json. The validator
takes 5 files. The two sets must agree, and a manifest without a name
must turn the workflow red.

Reproduce

python3 -c "
from pathlib import Path
print(len(list(Path('.').glob('skill-*.json'))), 'validated')
print(len([p for p in Path('.').glob('*skill*.json')
           if p.name != 'skills.json']), 'present')
"

Prints 5 validated and 60 present.

Where

.github/workflows/validate-manifests.yml, the three Path('.').glob
calls. Compare gen_skill_list.py lines 29 to 33, which exclude
renovate.json and skills.json instead of matching a prefix.

The 14 manifests above need their fields before the glob widens, or the
workflow turns red on main at once.

Found while measuring locale skill.json coverage across the skill fleet
under T-5133.

Dominant language
TypeScript
Stars
9
Forks
6
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenVoiceOS/OVOS-skills-store

All issues in OpenVoiceOS/OVOS-skills-store

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.