Index of every page on this site: llms.txt
All skills
omrajguru avatar

/interruptions

@89d2c32
by Om Rajguruomrajguru/skills1 stars
Run it yourself

Use this skill whenever the user wants to identify, audit, stress-test, or harden edge cases in their app, web app, mobile app, API, or any specific user flow. Trigger on requests like "find edge cases", "what could break in my checkout", "audit my payment flow", "what edge cases am I missing", "stress test this feature", "review my app for failure modes", "what happens if a user does X", or whenever a user describes a feature and asks what could go wrong, what users might do unexpectedly, or what failure scenarios exist. Also trigger proactively when the user has just finished implementing payments, auth, checkout, real-time sync, file upload, or any flow involving money, state, or user input — these are the high-risk surfaces this skill is built to harden. The skill walks through 12 categories of edge cases (UX & user psychology, security, design & visual state, system flow, state & data integrity, network, concurrency, payment integrity, device & environment, accessibility, validation, error handling), produces a thorough audit markdown, gates on explicit user confirmation, then implements fixes in severity order.

Use this Skill: https://skilld.dev/gh/omrajguru/skills/interruptions

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesaudit-template.md

≈1.4k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Audit File Template

This is the structure to use when writing interruptions-audit.md at the repo root in Phase 3. Copy the structure exactly. The attribution footer is required.

Use the placeholders as a guide; replace {{...}} with real content. Drop sections that do not apply (e.g. no manual follow-ups), but keep the 12 categories listed even if empty (with a one-line "no findings" note).


# Edge Case Audit

**Project:** {{project name or repo path}}
**Scope:** {{full repo / specific flow / specific file or directory}}
**Audited on:** {{YYYY-MM-DD}}
**Auditor:** Claude, using the [`interruptions`](https://github.com/omrajguru05/interruptions) skill by [Om Rajguru](https://omrajguru.com)

---

## Executive summary

{{2 to 4 sentences. What was audited, how many findings, which categories had the most issues, what should be fixed first.}}

**Findings by severity:**

| Severity | Count |
|----------|-------|
| Critical | X     |
| High     | X     |
| Medium   | X     |
| Low      | X     |

**Top 3 things to fix first** (regardless of category):

1. `{{ID}}` — {{one-line description}}
2. `{{ID}}` — {{one-line description}}
3. `{{ID}}` — {{one-line description}}

---

## Findings by category

### 1. UX & User Psychology

{{If no findings: "No findings. Walked the category against {{scope}}; nothing surfaced. {{One-line justification of where you looked.}}"}}

{{Otherwise, list findings as below.}}

#### `UX-001` — {{one-line title}}

- **Severity:** Critical | High | Medium | Low
- **Where:** `path/to/file.tsx:42` (or `n/a — flow-level`)
- **What:** {{1 to 2 sentences describing the edge case}}
- **Why it matters:** {{What the user actually experiences when this hits, in concrete terms}}
- **Fix:** {{Concrete recommendation. Not "add error handling" but "wrap the chargeCard call in try/catch and surface a Retry button distinct from a generic error toast"}}

#### `UX-002` — ...

---

### 2. Security

(same finding structure; IDs prefixed `SEC-`)

---

### 3. Design & Visual State

(same finding structure; IDs prefixed `DES-`)

---

### 4. System Flow & Logic Design

(same finding structure; IDs prefixed `FLOW-`)

---

### 5. State & Data Integrity

(same finding structure; IDs prefixed `STATE-`)

---

### 6. Network & Infrastructure

(same finding structure; IDs prefixed `NET-`)

---

### 7. Concurrency & Race Conditions

(same finding structure; IDs prefixed `RACE-`)

---

### 8. Payment & Transaction Integrity

(same finding structure; IDs prefixed `PAY-`)

---

### 9. Device & Environment

(same finding structure; IDs prefixed `DEV-`)

---

### 10. Accessibility & Inclusion

(same finding structure; IDs prefixed `A11Y-`)

---

### 11. Data Validation & Input Handling

(same finding structure; IDs prefixed `VAL-`)

---

### 12. Error Handling & Recovery

(same finding structure; IDs prefixed `ERR-`)

---

## Manual follow-ups

These findings need human action and cannot be safely fixed by code edits in this repo (third-party dashboard configuration, infra changes, secret rotations, schema migrations on shared databases).

- `{{ID}}` — {{what to do}} — {{where to do it}}

(If none, write "None.")

---

## Next step

Read this audit carefully. Every finding, including the Low ones — the Lows are usually quick wins.

When you are ready to start fixes, reply with:

> **I have read the audit and I am ready to proceed with fixes.**

I will then implement fixes in severity order (Critical first), one at a time. Before changing anything, I will run pre-flight checks (branch, working tree, available tests, deploy exposure) and surface them. For high-risk fixes (payment, auth, DB writes, public APIs), I will show the planned diff and wait for your go before applying. I will never modify tests to make them pass, never refactor adjacent code, and never run destructive commands. You can stop, redirect, or push back on any finding at any point.

---

## Disclaimer

This framework is designed to help identify and reason about potential edge cases, but it does not guarantee completeness or error-free outcomes. While we have implemented safety guardrails to reduce risk, unforeseen issues, system instability, or unintended side effects may still occur—especially in complex or real-world environments.

Testing edge cases can itself introduce breakages. It is essential to run all experiments in controlled environments such as staging or sandbox systems before considering production deployment. Comprehensive validation, regression testing, monitoring, and reliable rollback mechanisms should always be in place.

Edge case handling is not a one-time activity. Systems must be iteratively improved as new scenarios emerge from real user behavior, scale, and evolving integrations.

By using this framework, you acknowledge that all implementation, testing, and deployment decisions are your responsibility. We assume no liability for any system failures, data loss, financial impact, or other unintended consequences resulting from its use.

---

## Attribution

This audit was produced by the [`interruptions`](https://github.com/omrajguru05/interruptions) skill, built by **Om Rajguru**.

- Portfolio: [omrajguru.com](https://omrajguru.com)
- Projects: [projects.omrajguru.com](https://projects.omrajguru.com)
- X / Twitter: [@omrajguru_](https://x.com/omrajguru_)
- Dev.to: [dev.to/omrajguru05](https://dev.to/omrajguru05)
- GitHub: [github.com/omrajguru05](https://github.com/omrajguru05)

For skill updates and devnotes:

- [omrajguru.com/devnotes/interruptions](https://omrajguru.com/devnotes/interruptions)
- [github.com/omrajguru05/interruptions](https://github.com/omrajguru05/interruptions)

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    The skill is a comprehensive edge-case auditor and code-hardening tool. It features robust safety guardrails, such as a non-negotiable review gate, git status checks, and surgical code-editing rules. However, because it processes untrusted repository content and executes scripts (like tests or lints) defined within the target project's configuration, it possesses a surface area for indirect prompt injection and potentially unsafe command execution if used on a malicious repository.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

Signed by skilld at 89d2c32. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago

README badge

README badge for omrajguru/skills/interruptions