スキル一覧に戻る
felipepimentel

safe-editing

by felipepimentel

0🍴 0📅 2026年1月21日
GitHubで見るManusで実行

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:

  1. Copy: Create a temporary copy of the file
  2. Edit: Apply changes to the shadow copy
  3. Validate: Run linters/type checkers on the shadow
  4. 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

  1. Identify the file and changes needed
  2. Use smart-edit tool with:
    • file_path: Target file
    • changes: Description of changes
  3. Tool validates before applying
  4. 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

レビュー

💬

レビュー機能は近日公開予定です