tyroneross/build-loop/rules

Claude Code and agent skill by tyroneross/build-loop

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Detect structural rule violations — layer violations, circular dependencies, and connection hotspots. Use when the user asks to "check for violations" or "find circular deps". Not for code with zero callers (use `architecture-dead`) or a full narrative review (use `architecture-review`).

Install

npx vskill@latest install tyroneross/build-loop/rules

SKILL.md

The same SKILL.md was published earlier as tyroneross/build-loop/rules.

Architecture Rules / Violation Check

Run NavGator's rules engine to detect architectural violations using the mcp__plugin_navgator__rules MCP tool. Classifies findings as blocking (circular dependency, layer violation, database isolation breach, frontend-direct-DB at error level) vs warning (hotspot, high-fan-out, orphan, shallow-module).

Divergence note: NavGator has no discrete SKILL.md for rules. The canonical wrapper is commands/test.md, which orchestrates navgator rules + navgator dead + pipeline traces. This skill extracts the rules-only workflow.

When to Activate

  • Phase 4 Review-D Fact-Check: when code changed in this build, run rules to detect new violations
  • Phase 1 Assess: optionally run as a baseline so Review-D can diff
  • User asks "any architecture violations", "is this safe to merge", "what did I break"

Pre-flight

  1. If .navgator/architecture/index.json does not exist → no-op with NavGator: no architecture snapshot found — skipping rules check. Recommend build-loop:architecture-scan.
  2. Check index.json generated_at timestamp. If >24 hours old, warn: "Architecture data is N hours old — consider running build-loop:architecture-scan first for accurate results."

Rules Workflow

  1. Run mcp__plugin_navgator__rules (or navgator rules --json)
  2. Classify each finding:
SeverityCategories
Blockingcircular-dependency, layer-violation, database-isolation, frontend-direct-db (error level)
Warninghotspot, high-fan-out, orphan, shallow-module (thin pass-through: high fan-out, low fan-in — advisory design guidance, never blocks)
  1. Diff against the Phase 1 baseline if present in .build-loop/state.json.architecture.rules.baseline
  2. Flag recurrences against .navgator/lessons/lessons.json (lessons with matching signature)
  3. Write the result to .build-loop/state.json.architecture.rules with {blocking_count, warning_count, new_violations[], recurrences[]}

Decision

  • Blocking findings → route back to Phase 5 Iterate with the violation as a fresh criterion
  • Warning findings → log to .build-loop/issues/ and surface in Review-G Report
  • No new violations → continue Review pipeline; report "No new architectural violations introduced"

Report Format

ARCHITECTURE RULES
==================
Blocking: N (N new this build)
Warnings: N (N new this build)
Recurrences against lessons: N
[BLOCKING] Layer violation: ComponentA (frontend) → ComponentB (database)
File: src/pages/users.tsx:45
Recurrence: matches lesson 'frontend-direct-db' (last seen 2026-03-15)

If no findings: report "No connection-integrity issues found" — do not omit the section.

Sibling Skills

  • build-loop:architecture-scan — refresh data first
  • build-loop:architecture-impact — pre-flight blast-radius for any blocking finding's affected component
  • build-loop:architecture-dead — orphan-only scan (warnings flagged here too)
  • build-loop:architecture-review — runs rules as part of a 5-phase integrity review

Source: NavGator `commands/test.md` (the orchestrator that calls `navgator rules`). The canonical rules engine is the MCP tool. Drift-checked by `build-loop:sync-skills`.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tyroneross/build-loop/rules/badge)](https://verified-skill.com/skills/tyroneross/build-loop/rules)

Something wrong with this skill or its page? Tell us.