tyroneross/build-loop/rules
Claude Code and agent skill by tyroneross/build-loop
- community
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/rulesSKILL.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 iscommands/test.md, which orchestratesnavgator 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
- If
.navgator/architecture/index.jsondoes not exist → no-op withNavGator: no architecture snapshot found — skipping rules check. Recommendbuild-loop:architecture-scan. - Check
index.jsongenerated_attimestamp. If >24 hours old, warn: "Architecture data is N hours old — consider runningbuild-loop:architecture-scanfirst for accurate results."
Rules Workflow
- Run
mcp__plugin_navgator__rules(ornavgator rules --json) - Classify each finding:
| Severity | Categories | |
|---|---|---|
| Blocking | circular-dependency, layer-violation, database-isolation, frontend-direct-db (error level) | |
| Warning | hotspot, high-fan-out, orphan, shallow-module (thin pass-through: high fan-out, low fan-in — advisory design guidance, never blocks) |
- Diff against the Phase 1 baseline if present in
.build-loop/state.json.architecture.rules.baseline - Flag recurrences against
.navgator/lessons/lessons.json(lessons with matchingsignature) - Write the result to
.build-loop/state.json.architecture.ruleswith{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
If no findings: report "No connection-integrity issues found" — do not omit the section.
Sibling Skills
build-loop:architecture-scan— refresh data firstbuild-loop:architecture-impact— pre-flight blast-radius for any blocking finding's affected componentbuild-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
- SKILL.md in the repositoryCheckingskills/architecture/rules/SKILL.md
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
[](https://verified-skill.com/skills/tyroneross/build-loop/rules)