coordinate-external-ag…
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts, services, queues, boards, pull…
Design and maintain Python CI workflows around uv, pytest, Ruff, mypy, package build checks, dependency caching, Python version matrices, and local-command parity.
$ npx -y skills add gaelic-ghost/socket --skill python-ci-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/python-ci-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Design and maintain Python CI workflows around uv, pytest, Ruff, mypy, package build checks, dependency caching, Python version matrices, and local-command parity.
name: python-ci-workflow description: Design and maintain Python CI workflows around uv, pytest, Ruff, mypy, package build checks, dependency caching, Python version matrices, and local-command parity. license: Apache-2.0 compatibility: Designed for Codex and compatible Agent Skills clients maintaining Python CI for uv-managed projects, packages, services, FastAPI apps, FastMCP servers, and workspaces. metadata: owner: gaelic-ghost repo: python-skills category: python-ci allowed-tools: Read Bash(rg:*) Bash(git:*) Bash(uv:*)
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.
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:
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:
4. Decide job scope:
5. Decide matrix scope:
6. Keep local and CI commands aligned.
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>
Use the repo's existing workflow style first.
For new GitHub Actions workflows:
`--all-extras` only when the job intentionally validates all extras
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.
Stuff for Agents on macOS Promo audio: Socket Codex Marketplace Promo
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts, services, queues, boards, pull…
Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker will inspect or modify…
Design framework-neutral agent and automation workflows before implementation. Use when choosing between Codex app automations, codex exec, Codex subagents,…
Design evaluation workflows for agent, skill, prompt, and automation behavior before implementation. Use when choosing eval cases, graders, thresholds,…
Design safe n8n workflows with deterministic routing, credentials, idempotency, recovery, local-model checks, drafts, and exact approval gates.
Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning, resuming, steering, cancelling,…