matthewwong525/WongStack / .agents/plugins/access
access
VerifiedSee who can sign in and what each person may use; add, change or remove a person.
scripts/lib/check-definitions.mjs
View on GitHub// The check on each outside service's definition: does it parse, describe every call, fit its examples, hold no
// private value, and match its types file? wiki/stack/service-catalogue.md#each-services-definition owns the rules.
import { checkServices, layout, serviceKeys, writeTypes } from './services.mjs';
/** The check's result for one repo: `ok`, and the lines to print, `out` for a pass and `err` for problems. `types`
* rewrites each service's types file from its definition first. */
export async function checkDefinitions(root, { types = false } = {}) {
const keys = serviceKeys(root);
const folder = layout(root).definitions;
if (!keys.length) return { ok: true, out: `service definitions: no ${folder ? `${folder}/` : 'definitions folder'}, so nothing to check`, err: [] };
if (types) writeTypes(root, keys);
const problems = await checkServices({ root, keys });
if (problems.length) return { ok: false, out: null,
err: [...problems, `\n${problems.length} problem(s) in the service definitions: wiki/stack/service-catalogue.md#each-services-definition`] };
return { ok: true, out: `service definitions: ${keys.length} service(s) described, their examples fit and hold no private value`, err: [] };
}
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: 194k | 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: 194k | 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: 194k | Updated | Claude CodeCodex | Verified | Install |