executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
lov-image-translation-errata核对截图中的原文与机翻,生成保留错误痕迹、给出正确译文且尽量维持原布局的勘误图;用于“图片翻译勘误”“指出机翻错误”和 create an in-image translation errata。
Independent GitHub snapshot · Automated classification · Original documentation governs
name: lov-image-translation-errata description: > 核对截图中的原文与机翻,生成保留错误痕迹、给出正确译文且尽量维持原布局的勘误图;用于“图片翻译勘误”“指出机翻错误”和 create an in-image translation errata。 license: MIT depends_on:
把含有原文与自动翻译的截图改成可直接传播的校样式勘误图:读者既能看懂 正确译文,也能看出旧机翻错在哪里,同时保留原图的身份、版式和信息层级。
Read skill.yaml on every run and resolve the shared user-profile/v1 context.
Current request and project context take precedence over Skill records and shared
preferences. Persist only direct durable user statements through
scripts/profile_store.py; never persist source images, quoted private text,
credentials, or inferred personal data.
The safe default is an unlabeled track-changes treatment: visible strikethroughs and replacement color already communicate correction. Do not add “勘误”, “Correction”, or another heading unless the user requests it or the marks would otherwise be ambiguous.
Read references/skill-composition.md before composing adjacent capabilities.
This Skill owns the final corrected image and its acceptance criteria. Upstream
research notes and downstream rendering tools are optional artifact handoffs,
not hidden sibling dependencies.
SKILL_DIR from the active Skill context.skill.yaml, references/errata-protocol.md, and
references/skill-composition.md completely.Before translating, record:
Do not start from a visually similar reconstruction. The supplied image is the edit target and immutable base.
For each translated block, transcribe the source and old translation exactly.
Then classify each problem using references/errata-protocol.md, including:
For current, niche, technical, legal, medical, or source-attributed terms, verify the meaning with primary sources before rendering. Prefer official UI strings, product documentation, standards, or the original speaker's usage. Do not rely on a general machine translator as final evidence.
Produce an internal correction map with the old fragment, corrected fragment, reason, evidence strength, and exact target block. Stabilize this map before calling an image editor.
Use inline track changes by default:
The corrected reading must still form a complete, grammatical translation when the struck-out words are mentally skipped. Mark enough of the old wording to show why it failed, but do not strike whole paragraphs when one phrase proves the issue.
If inline changes do not fit, use the fallback order from
references/errata-protocol.md: tighten only target-language leading, reduce
only target-language type slightly, shorten the marked fragment without losing
evidence, then use a compact margin callout. Never solve fit by resizing the
whole interface or moving unrelated UI.
Use the host-supported reference-image editing capability and follow its local image inspection rules. The rendering brief must include:
Prefer a surgical edit of target-language regions. Do not add a poster frame, footer, side panel, watermark, emoji, explanation box, or decorative badge. When the runtime permits deterministic text overlays on the original raster, they are acceptable for typography fidelity; otherwise iterate the reference-image editor with one targeted correction at a time.
Inspect the final raster at readable scale and verify all five gates:
If any gate fails, make one narrowly scoped edit and inspect again. Do not call the result complete merely because an image was generated.
Lead with the final image. Briefly list the corrected term or phrase and any remaining visual limitation. Do not force the reader to consult a long report before understanding the image.
python3 "$SKILL_DIR/scripts/validate_skill.py" "$SKILL_DIR"
The activation phrase “给这张截图做机翻勘误图” must route here. “只翻译这段 英文,不用改图片” must remain outside this Skill.
用户在 Skill 驱动任务中提出修改意见时,继续当前产物前必须执行:
task-specific(仅本次)还是 reusable(可跨任务复用)。task-specific 只修改当前任务,不改 Skill。reusable 先确定作用域:领域规则先更新对应 canonical Skill;适用于所有 Skill 的规则先更新共享规范。reusable 修改会使此前的“确认”“继续”“发吧”失效;完成当前产物修改和回读后必须停下,等待用户下一步指示,不自动进入发布、提交或其他外部写入。