# code-guardian

> Use this tool when you need to ensure high-quality code from AI coding assistants, as it provides comprehensive checks for file size limits, ESLint, architecture compliance, anti-pattern scanning, and comment compliance. The code-guardian tool takes in AI-generated code as input and outputs detailed reports on compliance and quality issues. It is ideal for use in development environments where maintaining consistent and reliable code is crucial.

Canonical page: https://skillsregistry.net/skills/xueca-code-guardian  
JSON: https://api.skillsregistry.net/v1/skills/xueca-code-guardian

## Description

An MCP server that provides code quality checks for AI coding assistants, including file size limits, ESLint, architecture compliance, anti-pattern scanning, and comment compliance.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-09-03

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/qzjdxnvh1g)
- **Repository:** <https://github.com/xueca/code-guardian>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "xueca-code-guardian"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/xueca-code-guardian` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/xueca-code-guardian/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
