Source profileQuality 94/100

gaelic-ghost/socket/plugins/python-skills/skills/python-tooling-style-workflow/SKILL.md

python-tooling-style-workflow

Align Python formatting, linting, type checking, pytest configuration, dependency groups, local tooling, and CI validation around uv without overriding repo-local conventions.

Source repository stars
6
Declared platforms
1
Static risk flags
1
Last source update
2026-08-26
Source checked
2026-08-28

Decision brief

What it does: where it fits

Align Python formatting, linting, type checking, pytest configuration, dependency groups, local tooling, and CI validation around uv without overriding repo-local conventions.

Best for

  • Use this skill when adding or changing Ruff, mypy, pytest, dependency groups, or Python tooling config.
  • Use this skill when local validation and CI disagree.
  • Use this skill when style drift causes noisy diffs.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexDeclaredSource recordInstall path and trigger
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/gaelic-ghost/socket --skill "plugins/python-skills/skills/python-tooling-style-workflow"
Safe inspection promptEditorial

Inspect the Agent Skill "python-tooling-style-workflow" from https://github.com/gaelic-ghost/socket/blob/ccbde05d2d542ce20d1645b425c75dc531b53721/plugins/python-skills/skills/python-tooling-style-workflow/SKILL.md at commit ccbde05d2d542ce20d1645b425c75dc531b53721. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Inspection Workflow

    1. Inspect tooling files:

    Inspect tooling files:Read existing repo guidance and CI.Identify what is already enforced:
  2. 02

    Purpose

    Keep Python formatting, linting, type checking, and test tooling explicit.

    Keep Python formatting, linting, type checking, and test tooling explicit.The practical job is to respect existing repo conventions, use uv for commands and dependency groups, keep Ruff and mypy behavior understandable, and make local validation match CI.
  3. 03

    When To Use

    Use this skill when adding or changing Ruff, mypy, pytest, dependency groups, or Python tooling config.

    Use this skill when adding or changing Ruff, mypy, pytest, dependency groups, or Python tooling config.Use this skill when local validation and CI disagree.Use this skill when style drift causes noisy diffs.
  4. 04

    Source Check

    Use repo-local files, checked-out dependency sources, Dash MCP or Dash HTTP for installed docsets, and then official project documentation when Dash/local coverage is missing or stale:

    uv documentationRuff documentationmypy documentation
  5. 05

    Ruff Guidance

    Use Ruff lint checks for code-quality and style rules:

    Use Ruff lint checks for code-quality and style rules:Use Ruff formatting only when the repo has adopted it or the user asked for formatting:Keep formatting-only sweeps separate from behavior changes when practical.

Permission review

Static risk signals and limitations

Reads files

low · line 33

The documentation asks the agent to read local files, directories, or repositories.

Read existing repo guidance and CI.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score94/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars6SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
gaelic-ghost/socket
Skill path
plugins/python-skills/skills/python-tooling-style-workflow/SKILL.md
Commit
ccbde05d2d542ce20d1645b425c75dc531b53721
License
Apache-2.0
Collected
2026-08-28
Default branch
main
View the original SKILL.md

Python Tooling And Style Workflow

Purpose

Keep Python formatting, linting, type checking, and test tooling explicit.

The practical job is to respect existing repo conventions, use uv for commands and dependency groups, keep Ruff and mypy behavior understandable, and make local validation match CI.

When To Use

  • Use this skill when adding or changing Ruff, mypy, pytest, dependency groups, or Python tooling config.
  • Use this skill when local validation and CI disagree.
  • Use this skill when style drift causes noisy diffs.
  • Use this skill when a repository needs one documented Python validation story.

Source Check

Use repo-local files, checked-out dependency sources, Dash MCP or Dash HTTP for installed docsets, and then official project documentation when Dash/local coverage is missing or stale:

Inspection Workflow

  1. Inspect tooling files:
    rg --files -g 'pyproject.toml' -g 'uv.lock' -g 'ruff.toml' -g '.ruff.toml' -g 'mypy.ini' -g '.mypy.ini' -g 'pytest.ini' -g 'tox.ini' -g 'noxfile.py' -g '.pre-commit-config.yaml' -g '.github/workflows/*.yml' -g '.github/workflows/*.yaml'
    
  2. Read existing repo guidance and CI.
  3. Identify what is already enforced:
    • uv sync
    • pytest
    • Ruff lint
    • Ruff format
    • mypy
    • coverage
    • pre-commit
    • custom scripts
  4. Decide the smallest alignment:
    • document existing commands
    • add missing dev dependency groups
    • add or adjust Ruff config
    • add or adjust mypy config
    • register pytest markers
    • align CI commands with local commands
  5. Run validation.

Ruff Guidance

Use Ruff lint checks for code-quality and style rules:

uv run ruff check .

Use Ruff formatting only when the repo has adopted it or the user asked for formatting:

uv run ruff format .
uv run ruff format --check .

Keep formatting-only sweeps separate from behavior changes when practical.

mypy Guidance

Respect existing strictness first.

When adding type-checking:

  • start with a clear package scope
  • keep missing-stub decisions explicit
  • avoid blanket ignores
  • stage stricter settings when an existing codebase is noisy
  • check Python-version settings against project metadata

Do not suppress type errors to make a check pass unless the suppression is narrow and documented.

pytest Guidance

Keep pytest configuration close to the repo's existing pattern.

Use pyproject.toml for new configuration unless the repo already keeps pytest settings in a dedicated file.

Register custom marks to avoid marker warnings, and keep fixtures scoped narrowly unless expensive setup requires a wider scope.

Dependency Groups

Keep maintainer tools in dependency groups rather than runtime dependencies:

[dependency-groups]
dev = [
  "pytest",
  "ruff",
  "mypy",
]

Use repo-local version bounds when the project already pins tooling. Do not introduce global-tool assumptions into docs or CI.

Output Shape

Return:

  1. Existing tooling: pytest, Ruff, mypy, dependency groups, CI, and custom scripts.
  2. Change: documentation, dependency, config, formatting, linting, typing, or CI alignment.
  3. Commands: exact uv commands.
  4. Validation: results from relevant checks.
  5. Residual risk: anything still manual or intentionally unenforced.

Guardrails

  • Do not make broad formatting sweeps inside unrelated behavior changes.
  • Do not turn every lint or type suggestion into a blocking rule at once.
  • Do not move maintainer tools into runtime dependencies.
  • Do not depend on globally installed Python tools.
  • Do not add pre-commit, tox, nox, or CI complexity unless the repo or user needs that surface.

Frequently asked questions

What to verify before installation and use

What does the python-tooling-style-workflow source document cover?

Align Python formatting, linting, type checking, pytest configuration, dependency groups, local tooling, and CI validation around uv without overriding repo-local conventions.

How do I install python-tooling-style-workflow?

The source record exposes this install command: npx skills add https://github.com/gaelic-ghost/socket --skill "plugins/python-skills/skills/python-tooling-style-workflow". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: codex.

Which permission-related actions were detected?

Static rules flagged read-files in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing