Files
ClassIsland Prompt Kit 22c1784bab feat: ClassIsland / ClassHelper 灵动岛提示词套件
- 重构版主提示词(14 parts,面向 ClassHelper 灵动岛重构)
- ClassIsland 全量规格提示词(20 parts,含分卷与逐章版本)
- 投喂指南、分卷、逐节文件
- 调研记录、一致性基线、生成与质检脚本
2026-11-12 21:59:58 +08:00

10 lines
445 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { readFileSync, writeFileSync } from 'node:fs';
const p = 'parts-r/07-island-components.md';
let t = readFileSync(p, 'utf8');
const before = 'classisland` fixed 的窗口高恒为 40 + 2×`ISLAND_SHADOW_PAD`';
const after = 'classisland` fixed 的窗口高恒为 40 + 2×20 = 80 DIP';
if (!t.includes(before)) throw new Error('未找到验收第 5 条');
t = t.replace(before, after);
writeFileSync(p, t, 'utf8');
console.log('patched');