MCPcopy Create free account
hub / github.com/pbakaus/impeccable / appendDesignSystemNote

Function appendDesignSystemNote

skill/scripts/hook-lib.mjs:1337–1340  ·  view source on GitHub ↗
(text, scanOptions)

Source from the content-addressed store, hash-verified

1335}
1336
1337export function appendDesignSystemNote(text, scanOptions) {
1338 if (!text || !scanOptions?.designSystem?.mdNewerThanJson) return text;
1339 return `${text}\n\n${ENVELOPE_PREFIX} DESIGN.md is newer than .impeccable/design.json. Run /impeccable document to refresh the design-system sidecar.`;
1340}
1341
1342// The directive footer is the part of the hook output that steers model
1343// behavior. Three intentional moves:

Callers 2

mainFunction · 0.90
runHookFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected