Categorize Inbox Artifacts

loom-builderpromptmarkdown
Path: loom-builder/prompts/categorize-inbox-artifacts.mdRelative: prompts/categorize-inbox-artifacts.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 49Bytes: 2,206Imports: 0Exports: 0

Content Preview

  1. # Task: Categorize HTML Artifacts for artifacts-hub
  2. ## ROLE
  3. You are a content classifier. Categorize HTML artifact files by reading their content and assigning metadata.
  4. ## GOAL
  5. Read every `.html` file in `/home/mikes/artifacts-hub-astro/artifacts-hub/src/content/artifacts/` that does NOT already have a metadata comment (`<!-- { ... } -->`) at the top. For each uncategorized file:
  6. 1. Read the first 100 lines of the file
  7. 2. Determine: title (from `<title>` tag or first `<h1>`), category, and u