juniper/py-junos-eznc/run-code-quality-tool

Claude Code and agent skill by juniper/py-junos-eznc

Trust tier 2
  • community
LLM review pending
Source check pending

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

Use when source code changes under lib/jnpr/junos and the user wants to run static code analysis and code format using pylint and ruff

Install

npx vskill@latest install juniper/py-junos-eznc/run-code-quality-tool

SKILL.md

Run Code Quality Tool

Goal

Run formatting checks and static analysis for Python changes under lib/jnpr/junos.

Required Workflow

1) Install required code-quality tools

Install pylint and ruff before running checks:

  • python3 -m pip install pylint ruff
2) Detect changed Python source files

Collect changed files under lib/jnpr/junos and keep only .py files.

Preferred commands:

  • git diff --name-only -- lib/jnpr/junos | grep -E '\\.py$'
  • git diff --name-only --cached -- lib/jnpr/junos | grep -E '\\.py$'
3) Run ruff format check for diff files

Run formatting check for only changed Python files under lib/jnpr/junos:

  • CHANGED=$( (git diff --name-only -- lib/jnpr/junos; git diff --name-only --cached -- lib/jnpr/junos) | grep -E '\\.py$' | sort -u )
  • if [ -n "$CHANGED" ]; then echo "$CHANGED" | xargs -I{} ruff format --check "{}"; else echo "No changed Python files under lib/jnpr/junos"; fi
4) Run pylint for changed files under lib/jnpr/junos

Run pylint for only changed Python files first:

  • CHANGED=$( (git diff --name-only -- lib/jnpr/junos; git diff --name-only --cached -- lib/jnpr/junos) | grep -E '\\.py$' | sort -u )
  • if [ -n "$CHANGED" ]; then pylint $CHANGED --exit-zero; else echo "No changed Python files under lib/jnpr/junos"; fi
5) Optional full ruff format for all Python files

If requested, run ruff format across all tracked Python files:

  • git ls-files '*.py' | xargs -I{} ruff format "{}"
6) Optional full pylint command

If requested, run the broader pylint command:

  • pylint $(git ls-files '*.py' | grep -vE '^(docs/|build/|tests/|samples/|setup.py|versioneer.py)') --exit-zero

Output Contract

When this skill is invoked, the final response must include:

  1. Changed Python files detected under lib/jnpr/junos.
  2. ruff format --check result for changed files.
  3. pylint result for changed files.
  4. If optional full ruff format was run, include that result separately.
  5. If full pylint was run, include that result separately.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

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

Source

Popularity

Repository stars
717
Repository forks
347
7-day trend score
33

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/juniper/py-junos-eznc/run-code-quality-tool/badge)](https://verified-skill.com/skills/juniper/py-junos-eznc/run-code-quality-tool)

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