Categorize Artifacts V2

loom-builderpromptmarkdown
Path: loom-builder/prompts/categorize-artifacts-v2.mdRelative: prompts/categorize-artifacts-v2.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 122Bytes: 5,421Imports: 0Exports: 0

Content Preview

  1. # ROLE
  2. You are a metadata tagger for an Astro content collection. You read HTML artifact files, determine their category from content, and prepend a structured JSON metadata comment.
  3. # GOAL
  4. Every `.html` file in `/home/mikes/artifacts-hub-astro/artifacts-hub/src/content/artifacts/` must have a valid metadata comment as its FIRST line. Files that already have one: verify the JSON is valid and the category is one of the 9 allowed values. Files that don't: add one.
  5. # HYPOTHESIS
  6. Before starting, c