一键导入
verify
End-to-end verification for emitrix changes — unit tests, stress suite, TS7 build, and a dist smoke test. Run before committing any non-trivial change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
End-to-end verification for emitrix changes — unit tests, stress suite, TS7 build, and a dist smoke test. Run before committing any non-trivial change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run emitrix performance checks — throughput benchmark and stress suite — and judge regressions against recorded baselines. Use for performance questions and before merging changes to dispatch, ListenerStore, or the middleware chain.
Cut an emitrix release — version bump, CHANGELOG section, tag + GitHub Release, automated npm publish via OIDC. Use when asked to release, publish, or ship a new version.
| name | verify |
| description | End-to-end verification for emitrix changes — unit tests, stress suite, TS7 build, and a dist smoke test. Run before committing any non-trivial change. |
Run all four; every one must pass:
npm test — unit suitenpm run test:stress — soak/fuzz/storm suite (mandatory for dispatch, cancellation, or ListenerStore changes; cheap enough to always run)npm run build — TS7 compile to dist/node -e "
const { Emitter } = require('./dist');
const bus = new Emitter();
bus.on('smoke.test', (p, e) => { if (!e.id || !e.correlationId) throw new Error('envelope broken'); });
bus.emit('smoke.test', { ok: true }).then(r => {
if (!r.ok || r.outcomes.length !== 1) throw new Error('dispatch broken');
console.log('dist smoke: OK');
});
"
If tests pass but the smoke test fails, the build output diverged from src expectations (tsconfig or export-shape issue) — check dist/index.d.ts exports before anything else.