Skip to content
Back to skills

2510 P2 Fix Pre Existing Linting Errors In Gitlabcontextpy 5fd8a333

ASecurity

plugins/gitlab-skill/skills/gitlab-skill/scripts/gitlab_context.py has 3 linting errors: PLC0415 x2 (deferred imports inside functions) and S607 (partial executable path in subprocess). Fix: move imports to top-level, use shutil.which() for glab path resolution. Same pattern was applied in fetch_gitlab_mr.py migration.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
databasespythongit

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2510-p2-fix-pre-existing-linting-errors-in-gitlabcontextpy_5fd8a333 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2510 P2 Fix Pre Existing Linting Errors In Gitlabcontextpy 5fd8a333?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2510 P2 Fix Pre Existing Linting Errors In Gitlabcontextpy 5fd8a333
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2510-p2-fix-pre-existing-linting-errors-in-gitlabc/badge)](https://www.skillsdirectory.com/skills/tools-only-2510-p2-fix-pre-existing-linting-errors-in-gitlabc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: Fix pre-existing linting errors in gitlab_context.py
description: 'plugins/gitlab-skill/skills/gitlab-skill/scripts/gitlab_context.py has 3 linting errors: PLC0415 x2 (deferred imports inside functions) and S607 (partial executable path in subprocess). Fix: move imports to top-level, use shutil.which() for glab path resolution. Same pattern was applied in fetch_gitlab_mr.py migration.'
metadata:
  topic: fix-pre-existing-linting-errors-in-gitlabcontextpy
  source: Discovered during fetch_gitlab_mr.py subprocess-to-python-gitlab migration
  added: '2026-02-24'
  priority: P2
  type: Tech Debt
  status: open
---

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.