You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- C: collapse the twin if-let/else-if-let arms in
`replace_or_append_marked_block` — resolve the target range once (this
target's slugged block, else the legacy unslugged one) and splice via a
single `splice_range` helper.
- D: derive the prompt-block target subset in `remove_all_marked_blocks`
from `ALL_SKILL_INSTALL_TARGETS` via a new
`SkillInstallTarget::writes_prompt_index()` predicate instead of a
hardcoded 5-entry list, so the two stay in sync. The derived set equals
the previous {Claude, Agents, OpenCode, Kimi, Kiro} exactly.
- K: point the local `PROMPT_INDEX_START` at the identical
`prompt_rules::SKILL_INDEX_START` literal. `remove_range` and
`splice_out` differ in trailing-newline normalization, so they are left
separate.
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments