pkg lint: missing discovery_triggers is only a warning, and pkg init's placeholder triggers/pitch pass silently
adom-wiki 1.7.77 · checked 2026-10-22
pkg lint: a missing discovery_triggers is only a warning, and placeholder triggers from pkg init pass silently.
Severity. For an app/skill package with no
discovery_triggers, lint printswarning [LINT]: no discovery_triggers: ... without them this app/skill is unfindable in discovery search.That warning sits between "README.md has no inline screenshots" and "README has no video", and publish goes ahead. A missing hero, by contrast, is an error that--skip-lintcan't downgrade. 19 of the 58 untriggered adom apps/skills I backfilled today had packages, so they were published with this warning showing. Unfindable is a bigger problem than a missing screenshot. Ask: for type app|skill, make missing (or empty)discovery_triggersan error, or at least the first warning in the list with distinct wording.Placeholders.
pkg init --type skill|app <slug>scaffoldsdiscovery_triggers: ["use <slug>", "replace with a few short everyday phrasings a user would actually say"],discovery_pitch: "One line: when should an agent reach for <slug>?"and an examplesample_promptsentry. Lint on the untouched scaffold says nothing about any of them (I tested it in a scratch directory). In the live index, adrianwowk/test shipped all of the placeholders, and adom/wiki-notify-gchat still carriesuse wiki-notify-gchat. Ask: flag the scaffold's placeholder strings (the "replace with" trigger, the "One line:" pitch, the example prompt), and treat a bareuse <slug>as not counting toward the minimum.