fix(gates): stop pointing skill authors at README.md
Skills no longer carry a README.md, so the size advice in skill-size-check and factory-audit's validator now names a references/ file instead. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -339,7 +339,7 @@ if desc:
|
||||
f"ADR-0020 ceiling. It is preloaded into every session whether or not the "
|
||||
f"skill is invoked. Keep a trigger clause, at most one capability clause, "
|
||||
f"and a boundary clause; move capability enumeration, output-format detail, "
|
||||
f"composition notes and implementation detail to the body or README.md")
|
||||
f"composition notes and implementation detail to the body or a references/ file")
|
||||
elif dlen > DESC_SUGGEST_CHARS and not by_hand:
|
||||
suggest(f"description is {dlen} chars — over the {DESC_SUGGEST_CHARS}-character "
|
||||
f"ADR-0020 target (hard fail at {DESC_MAX_CHARS}). The SUGGESTION tier is "
|
||||
|
||||
@@ -358,7 +358,7 @@ for path in files:
|
||||
"(ADR-0020). It is preloaded into every session. Keep a trigger clause, "
|
||||
"at most one capability clause, and a boundary clause; move capability "
|
||||
"enumeration, output-format detail, composition notes and implementation "
|
||||
"detail to the body or README.md."
|
||||
"detail to the body or a references/ file."
|
||||
% (path, dlen, DESC_MAX_CHARS))
|
||||
elif dlen > DESC_SUGGEST_CHARS and not by_hand:
|
||||
# The 250-character TARGET is a routing-quality budget: it exists to
|
||||
|
||||
Reference in New Issue
Block a user