getaero-io/gtm-eng-skills / engineering/warm-intro-scoring
warm-intro-scoring
Verifiedplays/guardrails.ts
View on GitHub/* eslint-disable @typescript-eslint/no-explicit-any -- Ported JSON contract/parity boundary; runtime validators reject malformed values. */
/** Strict cloud boundaries; reference compatibility is not source verification. */
export function requireEvidenceRegistry(data:any):void {
if(!data||!Array.isArray(data.evidence))throw new Error('An explicit evidence registry is required, including [] for zero evidence');
}
export function expandFeatureCatalog(data:any):void {
if(data.feature_catalog===undefined)return;
if(!Array.isArray(data.feature_catalog)||!Array.isArray(data.paths))throw Error('Invalid feature catalog');
for(const path of data.paths)for(const key of Object.keys(path.features||{})){
const index=path.features[key];
if(!Number.isInteger(index)||index<0||index>=data.feature_catalog.length||!data.feature_catalog[index])throw Error('Invalid feature catalog index');
path.features[key]=data.feature_catalog[index];
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |