common-fixes

common-fixes is a cursor rule for Cursor from bia-technologies/yaxunit. It costs 0 tokens per session (825 once invoked), scanned B, original, Apache-2.0.

Utility for VAN QA common validation fixes.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/bia-technologies/yaxunit/common-fixes
Clone the repo
git clone --depth 1 https://github.com/bia-technologies/yaxunit

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 825 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00825
Opus 5 $0.00000 $0.00413
Sonnet 5 $0.00000 $0.00165
Haiku 4.5 $0.00000 $0.00082

Measured 2d ago against content hash 3e50ad19bce6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

common-fixes scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| **Permission denied** | Run terminal as administrator (Windows) or use sudo (Mac/Linux) |
Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-utils/common-fixes.mdc · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VAN QA: COMMON VALIDATION FIXES

TL;DR: This component provides common fixes for issues that may arise during the QA validation process.

🧪 COMMON QA VALIDATION FIXES BY CATEGORY

Dependency Issues

Issue Fix
Missing Node.js Download and install Node.js from https://nodejs.org/
Outdated npm Run npm install -g npm@latest to update
Missing packages Run npm install or npm install [package-name]
Package version conflicts Adjust versions in package.json and run npm install
Dependency resolution issues Run npm cache clean -f and try installing again

Configuration Issues

Issue Fix
Invalid JSON Use a JSON validator (e.g., jsonlint) to check syntax
Missing React plugin Add import react from '@vitejs/plugin-react' and plugins: [react()] to vite.config.js
Incompatible TypeScript config Update tsconfig.json with correct React settings
Mismatched version references Ensure consistent versions across configuration files
Missing entries in config files Add required fields to configuration files

Environment Issues

Issue Fix
Permission denied Run terminal as administrator (Windows) or use sudo (Mac/Linux)
Port already in use Kill process using the port: netstat -ano | findstr :PORT then taskkill /F /PID PID (Windows) or lsof -i :PORT then kill -9 PID (Mac/Linux)
Missing build tools Install required command-line tools (git, node, etc.)
Environment variable issues Set required environment variables: $env:VAR_NAME = "value" (PowerShell) or export VAR_NAME="value" (Bash)
Disk space issues Free up disk space, clean npm/package cache files

Build Test Issues

Issue Fix
Build fails Check console for specific error messages
Test fails Verify minimal configuration is correct
Path issues Ensure paths use correct separators for the platform (\ for Windows, / for Mac/Linux)
Missing dependencies Make sure all required dependencies are installed
Script permissions Ensure script files have execution permissions (chmod +x on Unix)

Read the full file on GitHub · 92 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 92 lines · 0 tokens per session scan B 3e50ad19bce6

Subscribe to this mod's changes

common-fixes is a cursor rule published in the GitHub repository bia-technologies/yaxunit (322 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 825 tokens. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.