# Review Fix Violations

> Use when architecture violations were found and need automated fixing by priority.

- **Type:** Skill
- **Install:** `agentstack add skill-herbert-julio-azion-specialist-agent-review-fix-violations`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [herbert-julio-azion](https://agentstack.voostack.com/s/herbert-julio-azion)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [herbert-julio-azion](https://github.com/herbert-julio-azion)
- **Source:** https://github.com/herbert-julio-azion/specialist-agent/tree/main/packs/nuxt/skills/review-fix-violations
- **Website:** https://specialistagent.com.br

## Install

```sh
agentstack add skill-herbert-julio-azion-specialist-agent-review-fix-violations
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

Identify and fix `docs/ARCHITECTURE.md` violations in the specified module.

Module: $ARGUMENTS

## Steps

1. Run `/review-check-architecture` to find violations.

2. For each violation found, fix in priority order:

   **Critical (fix first):**
   - try/catch in services -> remove, move error handling to composable
   - Transformation in services -> move to adapter
   - v-html without sanitization -> remove or sanitize
   - Hardcoded secrets -> move to env vars / runtimeConfig
   - Server routes without Zod validation -> add validation

   **Important:**
   - Options API -> migrate to script setup (`/migration-migrate-component`)
   - Server state in Pinia -> migrate to useAsyncData/useFetch
   - Explicit Vue imports -> remove (use auto-imports)
   - any types -> type correctly
   - Nuxt 2 patterns ($axios, asyncData, this.$store) -> Nuxt 3 equivalents

   **Improvements:**
   - Components > 200 lines -> decompose
   - Console.log -> remove
   - TODO/FIXME -> resolve or create issue

3. Validate after each fix:
```bash
nuxi typecheck && nuxi build && npx vitest run --passWithNoTests
```

4. Report what was fixed and what remains.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [herbert-julio-azion](https://github.com/herbert-julio-azion)
- **Source:** [herbert-julio-azion/specialist-agent](https://github.com/herbert-julio-azion/specialist-agent)
- **License:** MIT
- **Homepage:** https://specialistagent.com.br

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-herbert-julio-azion-specialist-agent-review-fix-violations
- Seller: https://agentstack.voostack.com/s/herbert-julio-azion
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
