coder-xieshijie/dev-skills / skills/repo-readiness/assets/verify-skill
verify-<app>
FlaggedStarts isolated <app> instances, drives them through <entry points> and reports one result per sub-feature and entry with evidence. Use when verifying a change, reproducing a bug, or running, writing or checking feature maps and their scenario scripts.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.7 KB |
| features/README.md | markdown | 1.4 KB |
| references/maps.md | markdown | 11.4 KB |
| scripts/config.mjs | script | 5.2 KB |
| scripts/contract.mjs | script | 16.6 KB |
| scripts/map-check.mjs | script | 22.2 KB |
| scripts/primitives.mjs | script | 7.2 KB |
| scripts/runner.mjs | script | 24.0 KB |
| scripts/test/contract-check.test.mjs | script | 3.7 KB |
| scripts/test/contract.test.mjs | script | 1.4 KB |
| scripts/test/fixture/notes-entry.mjs | script | 3.5 KB |
| scripts/test/fixture/proc-app.mjs | script | 1.3 KB |
| scripts/test/fixture/proc-entry.mjs | script | 5.5 KB |
| scripts/test/fixture/web-entry.mjs | script | 535 B |
| scripts/test/helpers.mjs | script | 5.0 KB |
| scripts/test/map-check.test.mjs | script | 9.5 KB |
| scripts/test/primitives.test.mjs | script | 4.1 KB |
| scripts/test/runner.test.mjs | script | 17.3 KB |
| scripts/verify.mjs | script | 9.7 KB |
| verify.config.json | config | 1016 B |
scripts/test/contract.test.mjs
View on GitHub// The adapter contract on this repository's own entries (verify.config.json next to scripts/): every
// entry's adapter starts, proves and stops its instances as contract.mjs checks. An entry whose
// `contract.skip` gives a reason is skipped with it. VERIFY_CONTRACT_ENTRIES=<slug>,<slug> runs only
// those. In the kit's own unfilled template (`kit` still holds a <placeholder>) there is nothing to run.
import assert from 'node:assert/strict';
import test from 'node:test';
import { SKILL_DIR, loadConfig } from '../config.mjs';
import { checkContract } from '../contract.mjs';
const config = loadConfig({ skillDir: SKILL_DIR });
const template = /<[^>]*>/.test(config.kit ?? '') && 'verify.config.json is the kit template: fill it for this repository';
const only = process.env.VERIFY_CONTRACT_ENTRIES?.split(',').map((name) => name.trim());
for (const entry of config.entryList.filter((item) => !only || only.includes(item.slug))) {
const skip = template || entry.contract?.skip;
test(`adapter contract: ${entry.slug}`, { skip, timeout: 300_000 }, async (t) => {
const result = await checkContract({ config, slug: entry.slug });
for (const check of result.checks.filter((item) => item.skipped)) t.diagnostic(`not exercised: ${check.name} (${check.skipped})`);
const failed = result.checks.filter((item) => !item.skipped && !item.ok);
assert.deepEqual(failed, [], `evidence in ${result.runDir}`);
});
}
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 |