Overview
Migrate skills/design-md-agent/*/scripts/quick_check_skill.sh (appears in 2 locations) from Bash to JavaScript with Jest test coverage.
Current Implementation
The script validates skill structure by checking:
- Skill directory exists
SKILL.md file exists
agents/openai.yaml file exists
- SKILL.md starts with YAML frontmatter (
---)
- Frontmatter
name is lowercase hyphen-case
- Frontmatter
description field is present
- Folder name matches frontmatter name
- No package noise (macOS, Python, Node artifacts)
- Optional: warnings for TODO/placeholder text
Locations
skills/design-md-agent/figma-wordpress-skill-creator/scripts/quick_check_skill.sh
skills/design-md-agent/wordpress-plugin-packaging-review/scripts/quick_check_skill.sh
Requirements
Related
Part of #[bash-to-js-migration-epic]
Overview
Migrate
skills/design-md-agent/*/scripts/quick_check_skill.sh(appears in 2 locations) from Bash to JavaScript with Jest test coverage.Current Implementation
The script validates skill structure by checking:
SKILL.mdfile existsagents/openai.yamlfile exists---)nameis lowercase hyphen-casedescriptionfield is presentLocations
skills/design-md-agent/figma-wordpress-skill-creator/scripts/quick_check_skill.shskills/design-md-agent/wordpress-plugin-packaging-review/scripts/quick_check_skill.shRequirements
scripts/skill-utils/validateSkillStructure.js(single source of truth).shfiles after verificationRelated
Part of #[bash-to-js-migration-epic]