coordinate-external-ag…
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Diagnose Python uv sync, lock, import, test, Ruff, mypy, FastAPI, FastMCP, packaging, and CI failures with concrete phase classification and next checks.
Claude Code
$ npx -y skills add gaelic-ghost/socket --skill diagnose-python-project --agent claude-code
Codex
$ npx skills add gaelic-ghost/socket --skill diagnose-python-project -a codex -y
Cursor
$ npx skills add gaelic-ghost/socket --skill diagnose-python-project -a cursor -y
Gemini CLI
$ npx skills add gaelic-ghost/socket --skill diagnose-python-project -a gemini-cli -y
GitHub Copilot
$ npx skills add gaelic-ghost/socket --skill diagnose-python-project -a github-copilot -y
OpenCode
$ npx skills add gaelic-ghost/socket --skill diagnose-python-project -a opencode -y
Windsurf
$ npx skills add gaelic-ghost/socket --skill diagnose-python-project -a windsurf -y
name: diagnose-python-project description: Diagnose Python uv sync, lock, import, test, Ruff, mypy, FastAPI, FastMCP, packaging, and CI failures with concrete phase classification and next checks. license: Apache-2.0 compatibility: Designed for Codex and compatible Agent Skills clients diagnosing Python projects that use uv, pytest, Ruff, mypy, FastAPI, FastMCP, and Python package metadata. metadata: owner: gaelic-ghost repo: python-skills category: python-diagnostics allowed-tools: Read Bash(rg:*) Bash(git:*) Bash(uv:*)
Find the first meaningful cause of a Python failure and explain it in human terms.
The useful answer is not "tests failed." It is what command failed, which project or package failed, which phase failed, why it most likely failed, and the smallest next check or fix.
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. Capture repository shape:
rg --files -g 'pyproject.toml' -g 'uv.lock' -g '.python-version' -g 'requirements*.txt' -g 'setup.py' -g 'setup.cfg' -g 'tox.ini' -g 'noxfile.py' -g '*.py'
2. Identify the exact failing command. 3. Re-run only the narrowest failing command when reproduction is needed. 4. Classify the failure phase:
5. Identify the first meaningful error. 6. Explain the likely cause and smallest next check.
Look for `requires-python`, `.python-version`, CI setup, and `uv` interpreter selection.
Report when the repo asks for a Python version that local or CI does not provide.
Look for dependency groups, optional dependencies, extras, index configuration, lockfile drift, and private package sources.
Do not turn authenticated index failures into generic network diagnoses. Name the package source or credential surface when visible.
Separate installed-package import failures from test-context import failures.
For `src/` layouts, check whether commands run through `uv` with the package installed. For workspaces, check whether the command targets the intended package member.
Discovery failures usually point at package imports, pytest configuration, plugin availability, markers, or test file naming.
Execution failures usually point at behavior, fixtures, environment, timing, async boundaries, or external dependencies.
Separate lint failures from format failures.
Use `uv run ruff check .` for lint and `uv run ruff format --check .` only when the repo enforces formatting.
Check configuration scope, missing stubs, optional dependencies, package exports, and Python-version settings before suppressing errors.
Check import paths, app object names, lifespan handling, settings loading, dependency initialization, and environment variables.
For combined FastAPI/FastMCP apps, verify that mounted app lifespan behavior was preserved.
Return:
1. `Command`: exact failing command. 2. `Phase`: failure phase. 3. `Project`: package, workspace member, app, or workflow involved. 4. `First meaningful error`: short quoted or paraphrased error. 5. `Likely cause`: concrete explanation. 6. `Next check`: one or two smallest useful commands or edits.
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker…
Design framework-neutral agent and automation workflows before implementation. Use when choosing between Codex app automations,…
Design evaluation workflows for agent, skill, prompt, and automation behavior before implementation. Use when choosing eval…
Design safe n8n workflows with deterministic routing, credentials, idempotency, recovery, local-model checks, drafts, and exact…
Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.