Delete

From dlt/faultline · View interactive version

Delete is an AI agent skill from the GitHub repository dlt/faultline. Permanently delete a Faultline error group and all of its occurrences. Destructive and irreversible.

How to use this skill

Skill file

Delete Faultline error group $ARGUMENTS. This is destructive — the group and all of its occurrences will be gone. Almost always prefer /resolve or /ignore instead; reserve delete for genuine garbage (test errors, errors from a since-removed code path).

  1. Call get_error_group with the id and show: exception_class, message, file_path:line_number, occurrences_count, first_seen_at, last_seen_at, current status.
  2. Strongly recommend resolving or ignoring instead unless the user has a clear reason to delete (e.g., test data, removed code path, group was created by mistake). Ask them why they want to delete rather than ignore.
  3. Require an explicit confirmation. Spell out: "this will permanently delete the group and N occurrences. Type 'yes delete' to confirm."
  4. Only on the explicit confirmation, call delete_error_group with id.
  5. Report the response: id, occurrences_deleted.

If the tool returns error: "Tool disabled: mcp_readonly is true", tell the user to set c.mcp_readonly = false in their Faultline initializer.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.