Overview
Migrate skills/design-md-agent/design-md-generator/scripts/validate-design-md.sh from Bash to JavaScript with Jest test coverage.
Current Implementation
The script validates DESIGN.md files by:
- Locating the design.md CLI from various sources (installed command, local repo, npx package, or zip files)
- Running spec and lint checks against the DESIGN.md file
- Generating a Markdown report with validation results
- Performing manual checks (frontmatter, required headings, filename)
Requirements
Related
Part of #[bash-to-js-migration-epic] - Remove all shell scripts from the codebase
Overview
Migrate
skills/design-md-agent/design-md-generator/scripts/validate-design-md.shfrom Bash to JavaScript with Jest test coverage.Current Implementation
The script validates DESIGN.md files by:
Requirements
scripts/design-md-agent/validateDesignMd.jsequivalentDESIGN_MD_FILE,DESIGN_MD_REPORT,DESIGNMD_REPO_PATH,DESIGNMD_CLI_CMDvalidate-design-md.shafter verificationRelated
Part of #[bash-to-js-migration-epic] - Remove all shell scripts from the codebase