content-validator
스타0
포크1
업데이트2026년 4월 26일 09:29
Validate workbook content JSON files against the Zod schema and report issues
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SKILL.md
readonly메뉴
Validate workbook content JSON files against the Zod schema and report issues
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | content-validator |
| description | Validate workbook content JSON files against the Zod schema and report issues |
Validate workbook lesson JSON files against the project's Zod schema.
dashboard/lib/workbook-schema.ts to understand the current data structure.content_*.json files in the project and all lesson JSON files under dashboard/projects/*/.WorkbookLessonSchema (or LessonContentSchema for individual lessons).activities.vocabulary[2].definition: Required).dashboard/lib/workbook-schema.tsschema.json (root directory)template_data_structure.json (root directory)Use node -e with the Zod schema to perform validation directly:
cd /home/daniel-bo/Desktop/Workbooks/dashboard
node -e "
const { WorkbookLessonSchema } = require('./lib/workbook-schema');
const fs = require('fs');
const data = JSON.parse(fs.readFileSync(process.argv[1], 'utf8'));
const result = WorkbookLessonSchema.safeParse(data);
if (!result.success) {
console.log(JSON.stringify(result.error.issues, null, 2));
process.exit(1);
}
console.log('Valid');
" <file-path>
If the TypeScript import doesn't work directly, use the JSON schema at schema.json with a JSON schema validator instead.