← スキル一覧に戻る

safe-editing
by felipepimentel
⭐ 0🍴 0📅 2026年1月21日
SKILL.md
name: safe-editing description: Best practices for making safe, verified code edits tags: [editing, code, safety, validation]
Safe Code Editing Skill
Use this skill when making code changes that need verification.
Shadow Workspace Pattern
The Smart Edit plugin uses a "shadow workspace" approach:
- Copy: Create a temporary copy of the file
- Edit: Apply changes to the shadow copy
- Validate: Run linters/type checkers on the shadow
- Apply: Only apply changes if validation passes
When to Use
- Making structural code changes
- Refactoring existing code
- Editing files with type annotations
- Changes that need syntax validation
Workflow
- Identify the file and changes needed
- Use
smart-edittool with:file_path: Target filechanges: Description of changes
- Tool validates before applying
- Review the diff and confirm
Benefits
- Safety: Changes validated before applying
- Rollback: Original preserved until confirmed
- Validation: Catch errors before they happen
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です