[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NKBWJ1XKT4GX7V3YGD3PKW":3,"skill-same:01M6NKBWJ1XKT4GX7V3YGD3PKW":50},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M6NKBWJ1XKT4GX7V3YGD3PKW","validate-generated-artifact",null,"joelbarmettlerUZH\u002Fultrainit.sh","joelbarmettlerUZH","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F24369532?v=4","01M6NK9DS0035TVQP3EQ36E14N","Joel Barmettler","01M6NK9DXBM5D1GYV4414HX06T",8,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvalidate-generated-artifact\u002FSKILL.md",[],[18,19,20,21],"validate","generated","artifact","validate generated artifact","2026-11-10 10:12:30",false,"---\nname: validate-generated-artifact\ndescription: \"\n  Run validate-skill.sh or validate-subagent.sh on a generated artifact,\n  interpret validation errors, and apply targeted fixes. Use when validate\n  this skill, skill validation failed, fix validation errors in generated\n  output, or check this subagent passes validation. Do NOT use for hooks\n  — hooks are validated separately via validate_hook in lib\u002Fvalidate.sh.\n---\n\n## Before You Start\n\n- `scripts\u002Fvalidate-skill.sh` — skill validator (checks frontmatter, file refs, descriptions)\n- `scripts\u002Fvalidate-subagent.sh` — subagent validator\n- `tests\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md` — canonical passing skill example\n- `tests\u002Ffixtures\u002Fsubagents\u002Fvalid-subagent.md` — canonical passing subagent example\n\n## Running the Validators\n\n### Skill validation\n\n```bash\n# Skills must be inside a named subdirectory — validator derives name from parent dir\nmkdir -p .claude\u002Fskills\u002F\u003Cskill-name>\ncat > .claude\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md \u003C\u003C 'EOF'\n...\nEOF\n\nbash scripts\u002Fvalidate-skill.sh .claude\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md\n```\n\n### Subagent validation\n\n```bash\nbash scripts\u002Fvalidate-subagent.sh .claude\u002Fagents\u002F\u003Cagent-name>.md\n```\n\n## Interpreting Output\n\nOutput lines are prefixed with `ERROR:`, `WARNING:`, or informational text. Exit code `1` = at least one ERROR.\n\n```\nERROR: frontmatter: name field missing\nERROR: body: fewer than 3 codebase-specific file references found (got 1)\nWARNING: description: fewer than 3 trigger phrases detected\nVERDICT: FAIL\n```\n\n**Errors** block writing. **Warnings** count toward the threshold (>3 warnings in skills, >4 in subagents triggers `NEEDS REVISION`).\n\n## Fixing Common Errors\n\n### \"name field missing\" or \"kebab-case violation\"\n\nThe `name:` in frontmatter must match the parent directory name exactly and be kebab-case:\n\n```yaml\n---\nname: my-skill-name   # must match: .claude\u002Fskills\u002Fmy-skill-name\u002FSKILL.md\n```\n\n### \"fewer than 3 codebase-specific file references\"\n\nThe counter uses `grep -c` (counts lines, not occurrences). Spread file references across at least 3 **separate lines**:\n\n```markdown\n# Wrong — all on one line (counts as 1)\nSee `lib\u002Fagent.sh`, `lib\u002Fgather.sh`, `lib\u002Fsynthesize.sh`\n\n# Correct — separate lines (counts as 3)\n- `lib\u002Fagent.sh` handles agent spawning\n- `lib\u002Fgather.sh` wires agents into phases\n- `lib\u002Fsynthesize.sh` builds the synthesis context\n```\n\nRecognized formats: backtick-wrapped names (`` `file.sh` ``) and directory prefixes (`lib\u002F`, `tests\u002F`, `schemas\u002F`, `prompts\u002F`, `scripts\u002F`).\n\n### \"description contains angle brackets\"\n\nAngle brackets break YAML parsing. Replace:\n- `Use for \u003Cadding endpoints>` → `Use for adding endpoints`\n- `(e.g., \u003Cname>)` → `(e.g., my-name)`\n\n### \"generic phrase detected\"\n\nBanned phrases: \"best practice\", \"clean code\", \"SOLID principles\", \"maintainable\", \"readable\", \"scalable\", \"well-structured\", \"production-ready\", \"industry standard\". Remove them without replacement — just describe what the skill actually does.\n\n### \"no verification section\"\n\nAdd a `## Verify` section with concrete commands:\n\n```markdown\n## Verify\n\n```bash\nmake test-unit\nbash -n lib\u002Fgather.sh\n```\n```\n\n### \"description exceeds 1024 characters\"\n\nThe validator collapses the description to a single space-joined string before counting. Multi-line YAML folded scalars (`>`) are joined. Trim the description to under 1024 characters in the collapsed form.\n\n## Verify\n\n```bash\nbash scripts\u002Fvalidate-skill.sh .claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md\necho \"Exit: $?\"\n```\n\nExit 0 with `VERDICT: PASS` means it will be accepted by `lib\u002Fvalidate.sh`.\n","## Before You Start\n\n- `scripts\u002Fvalidate-skill.sh` — skill validator (checks frontmatter, file refs, descriptions)\n- `scripts\u002Fvalidate-subagent.sh` — subagent validator\n- `tests\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md` — canonical passing skill example\n- `tests\u002Ffixtures\u002Fsubagents\u002Fvalid-subagent.md` — canonical passing subagent example\n\n## Running the Validators\n\n### Skill validation\n\n```bash\n# Skills must be inside a named subdirectory — validator derives name from parent dir\nmkdir -p .claude\u002Fskills\u002F\u003Cskill-name>\ncat > .claude\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md \u003C\u003C 'EOF'\n...\nEOF\n\nbash scripts\u002Fvalidate-skill.sh .claude\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md\n```\n\n### Subagent validation\n\n```bash\nbash scripts\u002Fvalidate-subagent.sh .claude\u002Fagents\u002F\u003Cagent-name>.md\n```\n\n## Interpreting Output\n\nOutput lines are prefixed with `ERROR:`, `WARNING:`, or informational text. Exit code `1` = at least one ERROR.\n\n```\nERROR: frontmatter: name field missing\nERROR: body: fewer than 3 codebase-specific file references found (got 1)\nWARNING: description: fewer than 3 trigger phrases detected\nVERDICT: FAIL\n```\n\n**Errors** block writing. **Warnings** count toward the threshold (>3 warnings in skills, >4 in subagents triggers `NEEDS REVISION`).\n\n## Fixing Common Errors\n\n### \"name field missing\" or \"kebab-case violation\"\n\nThe `name:` in frontmatter must match the parent directory name exactly and be kebab-case:\n\n```yaml\n---\nname: my-skill-name   # must match: .claude\u002Fskills\u002Fmy-skill-name\u002FSKILL.md\n```\n\n### \"fewer than 3 codebase-specific file references\"\n\nThe counter uses `grep -c` (counts lines, not occurrences). Spread file references across at least 3 **separate lines**:\n\n```markdown\n# Wrong — all on one line (counts as 1)\nSee `lib\u002Fagent.sh`, `lib\u002Fgather.sh`, `lib\u002Fsynthesize.sh`\n\n# Correct — separate lines (counts as 3)\n- `lib\u002Fagent.sh` handles agent spawning\n- `lib\u002Fgather.sh` wires agents into phases\n- `lib\u002Fsynthesize.sh` builds the synthesis context\n```\n\nRecognized formats: backtick-wrapped names (`` `file.sh` ``) and directory prefixes (`lib\u002F`, `tests\u002F`, `schemas\u002F`, `prompts\u002F`, `scripts\u002F`).\n\n### \"description contains angle brackets\"\n\nAngle brackets break YAML parsing. Replace:\n- `Use for \u003Cadding endpoints>` → `Use for adding endpoints`\n- `(e.g., \u003Cname>)` → `(e.g., my-name)`\n\n### \"generic phrase detected\"\n\nBanned phrases: \"best practice\", \"clean code\", \"SOLID principles\", \"maintainable\", \"readable\", \"scalable\", \"well-structured\", \"production-ready\", \"industry standard\". Remove them without replacement — just describe what the skill actually does.\n\n### \"no verification section\"\n\nAdd a `## Verify` section with concrete commands:\n\n```markdown\n## Verify\n\n```bash\nmake test-unit\nbash -n lib\u002Fgather.sh\n```\n```\n\n### \"description exceeds 1024 characters\"\n\nThe validator collapses the description to a single space-joined string before counting. Multi-line YAML folded scalars (`>`) are joined. Trim the description to under 1024 characters in the collapsed form.\n\n## Verify\n\n```bash\nbash scripts\u002Fvalidate-skill.sh .claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md\necho \"Exit: $?\"\n```\n\nExit 0 with `VERDICT: PASS` means it will be accepted by `lib\u002Fvalidate.sh`.\n",{},"main","197708b955e457c87d304fdf3389621f7e2f202a",".claude\u002Fskills\u002Fvalidate-generated-artifact",1,"https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH","https:\u002F\u002Fjoelbarmettler.xyz","M. Sc. Artificial Intelligence \r\n& Senior A.I. Architect","2026-11-02 02:33:53",{"source":7,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add joelbarmettlerUZH\u002Fultrainit.sh --skill validate-generated-artifact",{"tool":42,"command":43},"bunx","bunx skills add joelbarmettlerUZH\u002Fultrainit.sh --skill validate-generated-artifact",{"tool":45,"command":46},"pnpm","pnpm dlx skills add joelbarmettlerUZH\u002Fultrainit.sh --skill validate-generated-artifact","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvalidate-generated-artifact\u002FSKILL.md",true,[],[51,77,86,100,105,115],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":22},"01M6NKEDBGZBAT592SECRS8E4N","valid-skill","Use when building or modifying API endpoints in src\u002Fapi\u002F. Covers route creation, middleware wiring, and request validation. Do NOT use for frontend components or static pages.","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76],"valid","valid skill","endpoints","request","do","route","creation","pages","middleware","frontend components","for","wiring","static","use","src","api","validation","components","frontend",{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":22},"01M6NKEAC2NAMBFHT0S0PRYQKN","invalid-skill-no-desc","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid-skill-no-desc\u002FSKILL.md",[],[83,84,85],"invalid skill no desc","invalid","invalid skill",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":22},"01M6NKE7MF1YCS3WCQA5AY3ZXP","invalid-skill-angle-brackets","Use when working with \u003Ccomponent> templates. Do NOT use for \u003Cother> things.","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid-skill-angle-brackets\u002FSKILL.md",[],[93,94,95,84,85,96,97,68,98,62,71,99],"invalid skill angle brackets","angle brackets","brackets","component","things","with","templates",{"skillNo":101,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":22},"01M6NKE4EJ5EWNN7S5FJ1SFZR5","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.ultrainit\u002Fvalidation\u002Fskills\u002Fvalidate-generated-artifact\u002FSKILL.md",[],[21,20,19,18],{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":22},"01M6NKE157C519F1W8WHGXPRTK","tune-synthesis-context","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.ultrainit\u002Fvalidation\u002Fskills\u002Ftune-synthesis-context\u002FSKILL.md",[],[111,112,113,114],"tune synthesis context","tune","Synthesis","context",{"skillNo":116,"name":117,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":22},"01M6NKDT0VD32KKE2HTHT30FWH","run-tests","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.ultrainit\u002Fvalidation\u002Fskills\u002Frun-tests\u002FSKILL.md",[],[121,122,123],"run","run tests","tests"]