Consistency Reviewer Skill

SkillDev tools

Review codebase for CLEAN code practices and DRY violations

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Consistency Reviewer Skill skill

What this skill tells your AI

The instructions your AI receives, as published by davidban77/gns3fy in .claude/skills/consistency-reviewer/SKILL.md and read by ahel’s review.

Perform a read-only review of the codebase for CLEAN code practices and DRY violations.

Target

Review: $ARGUMENTS (default: gns3fy/)

CLEAN Code Checklist

Evaluate each principle and report findings:

  • Cohesion: Does each function/class have a single, clear responsibility?
  • Loose coupling: Are dependencies between components minimized?
  • Encapsulation: Is internal state properly hidden behind interfaces?
  • Assertive: Do objects manage their own data (tell, don't ask)?
  • Nonredundant: Are there DRY violations? (HEAVY FOCUS on this)

DRY Analysis (Primary Focus)

Look specifically for:

  1. Duplicated code blocks in gns3fy/gns3fy.py (~2200 lines) — similar methods across Node, Link, Project classes
  2. Repeated API call patterns that could be abstracted into a shared helper
  3. Copy-paste patterns across the core classes (e.g., similar get(), update(), delete() implementations)
  4. Repeated test setup in tests/ that could become shared fixtures or base classes

Output Format

Produce a structured report with three severity levels:

Critical

Issues that actively cause maintenance burden or bugs. Include:

  • File path and line numbers
  • Description of the violation
  • Suggested improvement

Recommended

Improvements that would meaningfully reduce complexity. Include:

  • File path and line numbers
  • Description of the pattern
  • Suggested refactoring approach

Nice-to-Have

Minor style or organization improvements. Include:

  • File path and line numbers
  • Brief description

Rules

  • DO NOT modify any files — this is a read-only review
  • Include specific file paths and line numbers for every finding
  • Focus on actionable, concrete improvements rather than abstract advice
  • Consider the project's constraints: Pydantic v1, Python 3.9+, requests-based HTTP

Signals

GitHub stars
69
Forks
32
Last commit
Mar 2026
Advanced
Catalog kind
skill
Gateway key
consistency-reviewer
Source
github.com/davidban77/gns3fy