# Devsentinel

> Safe code editing for agents with impact analysis, breaking change detection, and visual regression testing.

Devsentinel is a paid AI agent skill on Agensi by Pritam Biswas, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Pritam Biswas](https://www.agensi.io/creators/pritam-biswas)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/devsentinel
- Tags: llm-ops, typescript, playwright, testing, refactoring

## About this skill

Coding agents often break complex projects because they lack context on how a single file edit affects the rest of the codebase. DevSentinel provides the missing safety layer for autonomous coding by performing static analysis and visual audits before changes are committed. It identifies every file that imports your target code, detects breaking API changes before they reach the disk, and runs visual regression tests to ensure UI edits do not break layouts.

### What it does
- **Impact analysis** maps the blast radius of any edit to see which consumers and tests are affected.
- **Contract validation** identifies breaking changes in exported functions, classes, or types before you write to disk.
- **Visual regression** captures before-and-after screenshots to detect pixel shifts, horizontal overflow, and text overlaps.
- **Safe checkpoints** creates full-state backups of the workspace to allow instant rollbacks of failed experiments or refactors.

### How it works
1. **Scan the radius** by calling `analyze_blast_radius` on a file or specific symbol to identify all direct and transitive dependencies.
2. **Verify the contract** using `detect_breaking_changes` with your proposed code to catch signature mismatches before they cause CI failures.
3. **Audit the UI** by running `capture_ui_state` to establish a baseline, then `diff_ui_visuals` after the edit to confirm layout integrity.
4. **Manage state** through `create_checkpoint` and `rollback_checkpoint` to safely test risky refactors without touching git history.

### Frameworks & tools
This skill interfaces with an MCP server (stdio/JSON-RPC). It supports TypeScript, JavaScript, and Python. Visual audits require Playwright and Chromium.

### Why this beats prompting it yourself
Standard LLM prompts cannot accurately track barrel file re-exports five hops deep or perform pixel-by-pixel comparisons of rendered DOM elements. This tool provides deterministic data from the actual filesystem and browser, replacing agent guesswork with verifiable facts.

### Use cases
- Refactoring shared utility functions used across a large monorepo.
- Upgrading dependencies or running codemods with a guaranteed safety net.
- Verifying that CSS changes do not cause unintended layout shifts on deep-linked pages.
- Protecting against silent failures in Python keyword arguments during symbol renames.

### Known limitations
Supports TS, JS, and limited Python regex scanning. Does not follow tsconfig extends chains or resolve computed dynamic imports. Checkpoints are limited to workspaces under 250MB.

## Requires

- Playwright
- Node.js
- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Devsentinel skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does DevSentinel prevent an AI agent from accidentally breaking my project?

DevSentinel prevents coding agents from breaking large codebases by performing impact analysis and visual regression testing to detect breaking changes before they are committed.

### Which AI agents or platforms are compatible with this skill?

The skill is compatible with any AI agent or IDE that supports the Model Context Protocol (MCP) via stdio or JSON-RPC, including Claude Desktop and various autonomous coding frameworks.

### What programming languages and technical dependencies are required?

DevSentinel supports TypeScript and JavaScript natively, with regex-based scanning for Python; visual audits require the Playwright library and Chromium to be installed on the host environment.

### Why should I use this skill instead of just prompting my agent to 'be careful' with edits?

Unlike a standard prompt, DevSentinel uses deterministic static analysis to track deep dependency chains and pixel-perfect visual diffing that LLMs cannot perform through text alone.

### How does the checkpoint system work during a complex refactor?

Checkpoints create a full-state backup of your workspace (up to 250MB) before an edit, allowing the agent to instantly revert to a functional state if a refactor fails or tests break.

### What is included in the purchase of this skill?

Your purchase includes the devsentinel MCP server, documentation for tool integration, and access to all future updates for the current version of the skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
