feat: ClassIsland / ClassHelper 灵动岛提示词套件
- 重构版主提示词(14 parts,面向 ClassHelper 灵动岛重构) - ClassIsland 全量规格提示词(20 parts,含分卷与逐章版本) - 投喂指南、分卷、逐节文件 - 调研记录、一致性基线、生成与质检脚本
This commit is contained in:
commit
22c1784bab
117 files changed
+47759
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import { readFileSync } from 'node:fs';
|
||||
const t = readFileSync('ClassHelper灵动岛重构-给ChatGPT的完整提示词.md', 'utf8');
|
||||
const checks = [
|
||||
['fixed窗口宽 min(工作区,960)', /宽 = min\(目标显示器工作区宽, 960\)/],
|
||||
['fixed窗口高 40+40=80', /40 \+ 2 × 20 = 80/],
|
||||
['family只影响fixed', /family` 只影响 `fixed`/],
|
||||
['custom 始终 ClassIsland', /custom` 始终使用 ClassIsland 规格|custom.*始终.*ClassIsland/],
|
||||
['气泡行高恒40', /行高恒为 40|行高恒 40/],
|
||||
['配置版本 v2', /islandLayout\.version/],
|
||||
['无头验证', /verify :desktop|verify:desktop/],
|
||||
['强提醒', /Topmost|强提醒/],
|
||||
['迁移回滚', /回滚/],
|
||||
];
|
||||
for (const [n, re] of checks) console.log((re.test(t) ? 'OK ' : 'MISS ') + n);
|
||||
const stale = ['宽 = 行内容自然宽 + 2 × 12', '8 条裁决', 'NotificationCenter', 'schemaVersion: 2 落盘'];
|
||||
for (const s of stale) console.log(`stale [${s}]: ${t.split(s).length - 1}`);
|
||||
console.log('sections:', (t.match(/^## \d+\./gm) || []).length, 'lines:', t.split('\n').length, 'chars:', t.length);
|
||||
console.log('has 07 fixed section:', t.includes('A. `family=`') || t.includes("A. `family='classisland'`"));
|
||||
Reference in new issue
Block a user