feat(插件): 新增产品需求提交 Skill

This commit is contained in:
cc
2026-08-11 11:42:58 +08:00
commit dcbbe886fa
10 changed files with 387 additions and 0 deletions
@@ -0,0 +1,10 @@
#!/usr/bin/env node
import { normalize, preview, readStdin, tokens } from './intake-lib.mjs';
try {
const value = normalize(await readStdin());
console.log(JSON.stringify({ ok: true, preview: preview(value), ...tokens(value) }, null, 2));
} catch (error) {
console.error(JSON.stringify({ ok: false, error: error instanceof Error ? error.message : '未知错误' }));
process.exitCode = 1;
}