Dedupe SEARCH/REPLACE editing instructions into source-code-editing#93
Merged
Merged
Conversation
Staging Workspace Sync SuccessfulSuccessfully synced changes to staging workspace Sync Details |
jurgenwerk
marked this pull request as draft
July 10, 2026 10:26
…CS-12028) Make skills/source-code-editing/SKILL.md the single authority for the SEARCH/REPLACE spec: fold the .gts edit-tracking convention into it, point the Skill card's instructionsSource at it (deleting the drifted Skill/source-code-editing.md copy), and reduce Skill/dev-file-editing.md and skills/boxel/references/file-editing.md to pointers. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Backticked relative paths are left as-is by absolutizeSkillLinks; only markdown links get resolved to the absolute URLs readRealmFile needs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jurgenwerk
force-pushed
the
cs-12028-dedupe-search-replace-instructions
branch
from
July 10, 2026 10:55
3f8d11c to
e9eb03b
Compare
jurgenwerk
marked this pull request as ready for review
July 13, 2026 08:16
Contributor
There was a problem hiding this comment.
Pull request overview
This PR consolidates the canonical SEARCH/REPLACE editing specification (including the Boxel .gts edit-tracking convention) into skills/source-code-editing/SKILL.md, and updates the Skill cards/references to point at that single source to prevent future drift and duplicated prompt content.
Changes:
- Move the
.gtsedit-tracking convention intoskills/source-code-editing/SKILL.mdand treat it as the authority. - Delete the drift-prone
Skill/source-code-editing.mdcopy and repoint theSkill/source-code-editingcard to the canonical SKILL.md. - Shrink
dev-file-editing+skills/boxel/references/file-editing.mdinto short pointers/reminders and update related summaries.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/source-code-editing/SKILL.md | Adds edit-tracking section and updates skill metadata to make this file the canonical spec. |
| skills/boxel/SKILL.md | Updates the reference list description to reflect that file-editing content is now a pointer. |
| skills/boxel/references/file-editing.md | Replaces duplicated spec content with a canonical link + short reminders. |
| Skill/source-code-editing.md | Deletes the duplicated/previously drifting spec copy. |
| Skill/source-code-editing.json | Points instructionsSource at the canonical skills/source-code-editing/SKILL.md. |
| Skill/dev-file-editing.md | Shrinks to a pointer + brief reminders. |
| Skill/dev-file-editing.json | Updates summary to reflect the pointer role. |
| Skill/boxel-development.json | Updates the embedded “File Editing” summary to reflect the pointer role. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
habdelra
approved these changes
Jul 13, 2026
lukemelia
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The SEARCH/REPLACE editing spec lived in four files that drifted independently:
skills/source-code-editing/SKILL.md, its card copySkill/source-code-editing.md(already missing the markers-appear-exactly-once rule),Skill/dev-file-editing.md(pushed in full via the boxel-development SkillSet, sole home of the edit-tracking system), and its byte-identical twinskills/boxel/references/file-editing.md. Code-mode rooms currently receive the spec twice — once via the markdown source-code-editing skill and once condensed inside boxel-development.This makes
skills/source-code-editing/SKILL.mdthe single authority:.gtsedit-tracking convention (line-1 banner,// ⁿmarkers) moves into it as a scoped section, with the worked examples.Skill/source-code-editingcard'sinstructionsSourcenow links to that same SKILL.md, and the driftedSkill/source-code-editing.mdcopy is deleted. Cross-directory relative file links forinstructionsSourceare covered by realm-server tests.Skill/dev-file-editing.mdandskills/boxel/references/file-editing.mdshrink to pointers with a few one-line reminders, following the existing cross-link style inskills/boxel-environment/references/source-code-editing.md.No host changes needed: code mode already activates the markdown source-code-editing skill, so prompts simply stop containing the second copy.
🤖 Generated with Claude Code