Source profileQuality 98/100

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

python-ci-workflow

Design and maintain Python CI workflows around uv, pytest, Ruff, mypy, package build checks, dependency caching, Python version matrices, and local-command parity.

Source repository stars
6
Declared platforms
1
Static risk flags
0
Last source update
2026-08-21
Source checked
2026-08-25

Decision brief

What it does: where it fits

Design and maintain Python CI workflows around uv, pytest, Ruff, mypy, package build checks, dependency caching, Python version matrices, and local-command parity.

Best for

  • Use this skill when adding or changing CI for a Python repository.
  • Use this skill when local Python validation and CI disagree.
  • Use this skill when adding Python packages, services, FastAPI apps, FastMCP servers, or workspace members to an existing CI workflow.

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-ci-workflow"
Safe inspection promptEditorial

Inspect the Agent Skill "python-ci-workflow" from https://github.com/gaelic-ghost/socket/blob/1140bc0b60f2c938b81d67dcee88a5eeb2e2f39d/plugins/python-skills/skills/python-ci-workflow/SKILL.md at commit 1140bc0b60f2c938b81d67dcee88a5eeb2e2f39d. 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

    CI Planning Workflow

    1. Inspect local validation commands and project metadata:

    Inspect local validation commands and project metadata:Inspect existing workflow files:Check Python version sources:
  2. 02

    Purpose

    Make Python CI prove the same behavior maintainers care about locally.

    Make Python CI prove the same behavior maintainers care about locally.The practical job is to choose Python setup, uv installation, dependency sync, pytest, Ruff, mypy, package-build checks, path filters, and matrix scope without making CI broader or noisier than the project needs.
  3. 03

    When To Use

    Use this skill when adding or changing CI for a Python repository.

    Use this skill when adding or changing CI for a Python repository.Use this skill when local Python validation and CI disagree.Use this skill when adding Python packages, services, FastAPI apps, FastMCP servers, or workspace members to an existing CI workflow.
  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:

    GitHub Actions Python documentationuv GitHub Actions integrationpytest documentation
  5. 05

    Local And CI Command Boundaries

    For local development, prefer the narrowest useful shape:

    For local development, prefer the narrowest useful shape:Add formatting verification only when the repo enforces Ruff formatting:Add package validation only for package surfaces:

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score98/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-ci-workflow/SKILL.md
Commit
1140bc0b60f2c938b81d67dcee88a5eeb2e2f39d
License
Apache-2.0
Collected
2026-08-25
Default branch
main
View the original SKILL.md

Python CI Workflow

Purpose

Make Python CI prove the same behavior maintainers care about locally.

The practical job is to choose Python setup, uv installation, dependency sync, pytest, Ruff, mypy, package-build checks, path filters, and matrix scope without making CI broader or noisier than the project needs.

When To Use

  • Use this skill when adding or changing CI for a Python repository.
  • Use this skill when local Python validation and CI disagree.
  • Use this skill when adding Python packages, services, FastAPI apps, FastMCP servers, or workspace members to an existing CI workflow.
  • Use this skill before package or release workflows depend on CI results.

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:

CI Planning Workflow

  1. Inspect local validation commands and project metadata:
    rg --files -g 'pyproject.toml' -g 'uv.lock' -g '.python-version' -g '.github/workflows/*.yml' -g '.github/workflows/*.yaml'
    
  2. Inspect existing workflow files:
    rg --files .github/workflows -g '*.yml' -g '*.yaml'
    
  3. Check Python version sources:
    • requires-python
    • .python-version
    • workflow python-version
    • repository docs
  4. Decide job scope:
    • dependency sync
    • tests
    • lint
    • format check
    • type check
    • package build
  5. Decide matrix scope:
    • one Python version for app/service CI unless compatibility is the point
    • multiple Python versions for public packages that promise a version range
    • one OS unless filesystem, process, path, native dependency, or user-facing CLI behavior requires cross-platform checks
  6. Keep local and CI commands aligned.

Local And CI Command Boundaries

For local development, prefer the narrowest useful shape:

uv sync --dev
uv run pytest
uv run ruff check .
uv run mypy .

Add formatting verification only when the repo enforces Ruff formatting:

uv run ruff format --check .

Add package validation only for package surfaces:

uv build

For reproducible CI in a repository that commits uv.lock, use a locked sync. Include all extras only when the job intentionally validates every extra:

# Typical locked CI job
uv sync --locked --dev

# Use only when every optional feature is part of this job's contract
uv sync --locked --all-extras --dev

Do not copy --all-extras into application CI by default. A service with no published extras should validate its actual runtime and development dependency groups instead.

For workspaces, target package-specific jobs explicitly when the repo does not need a full workspace sweep:

uv run --package <package-name> pytest
uv run --package <package-name> mypy .
uv build --package <package-name>

GitHub Actions Shape

Use the repo's existing workflow style first.

For new GitHub Actions workflows:

  • install uv through the official setup action or documented installer path
  • use uv sync --locked --dev when the repository commits uv.lock; add --all-extras only when the job intentionally validates all extras
  • cache only when it measurably helps and the cache key includes lockfile state
  • keep package build or publish steps separate from normal validation
  • avoid CI secrets unless a workflow truly needs private package sources or publishing

Output Shape

Return:

  1. Existing CI: workflows, Python versions, uv setup, and checks.
  2. Local parity: local commands CI should mirror.
  3. Change: workflow, matrix, cache, package build, or docs update.
  4. Commands: exact local commands and CI job commands.
  5. Residual risk: checks still manual, secrets needed, or matrix not covered.

Guardrails

  • Do not publish packages from CI unless the user explicitly asked for release automation.
  • Do not add broad OS or Python matrices without a concrete compatibility reason.
  • Do not make CI depend on globally installed Python tools.
  • Do not add machine-local paths, private checkout paths, or local package sources to workflows.
  • Do not hide failing local validation by making CI narrower than the repo's documented checks.

Frequently asked questions

What to verify before installation and use

What does the python-ci-workflow source document cover?

Design and maintain Python CI workflows around uv, pytest, Ruff, mypy, package build checks, dependency caching, Python version matrices, and local-command parity.

How do I install python-ci-workflow?

The source record exposes this install command: npx skills add https://github.com/gaelic-ghost/socket --skill "plugins/python-skills/skills/python-ci-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.

Alternatives

Compare before choosing

Computed 961,074

TencentCloudBase/CloudBase-AI-Toolkit

cloudbase-agent-python

Build production-ready AI agent backends using the CloudBase Agent Python SDK — create agents with LangGraph/CrewAI/LlamaIndex, serve them via FastAPI with AG-UI protocol streaming + OpenAI-compatible endpoints, add tools (bash, filesystem, MCP, code execution), memory (in-memory, TDAI, MySQL, MongoDB), observability (OpenTelemetry/Langfuse), and middleware (auth, logging). Use this skill when the user wants to create an AI agent server, build a chatbot backend, set up human-in-the-loop workflow

Computed 9539

dcc-mcp/dcc-mcp-core

dcc-mcp

Use it for design and operations tasks; the detail page covers purpose, installation, and practical steps.

Computed 9425

Borda/AI-Rig

review

Multi-agent code review of local Python files, directories, or the current git diff covering architecture, tests, performance, docs, lint, security, and API design. Scope: Python source files in local working tree. Python-file-free targets (pure JS/TS/Go/Rust projects) are out of scope. TRIGGER when: user asks to review local Python files, a directory, or the current git diff/working-tree changes, with no GitHub PR number involved; phrases: "review this", "review my changes", "code review this d

Computed 9324,921

alirezarezvani/claude-skills

chaos-engineering

Use when planning, running, or learning from chaos engineering experiments. Triggers on "chaos experiment", "fault injection", "gameday", "resilience test", "blast radius", "steady state", "abort criteria", "Chaos Toolkit", "Chaos Mesh", "Litmus", "Gremlin", "AWS FIS", or any deliberate failure-injection question. Ships experiment designer, blast-radius calculator, and postmortem generator (all stdlib Python), 4 references on chaos principles + experiment design + attack taxonomy + tooling lands