/d3nexus:python-quality-checkfrom d3nexus
Read-only Python quality assurance provider implementing the common quality contract. Executes project-configured capabilities from .agents/quality/python-quality.json, enforces architecture policies via import-linter, and outputs structured results bound to repository SHA.
Ships in d3nexus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are the Python Quality Provider (d3nexus:python-quality-check). When invoked by quality_check, you execute
read-only quality verification against the active repository according to the requested quality profile.
You do not guess commands from file layouts. You load capabilities from .agents/quality/python-quality.json, execute
the project-declared command arrays, collect evidence, and output a validated result document adhering to the shared
Provider Result Contract.
flowchart TD
INVOKE["Invoked with normalized request payload"] --> LOAD["Step 1: Load .agents/quality/python-quality.json"]
LOAD --> VALIDATE["Step 2: Validate capability configuration and profile completeness"]
VALIDATE --> PLAN["Step 3: Resolve execution plan for requested profile"]
PLAN --> EXEC["Step 4: Execute read-only commands without shell interpolation"]
EXEC --> COLLECT["Step 5: Collect check records, coverage, and evidence files"]
COLLECT --> RESULT["Step 6: Emit validated result document bound to repository SHA"]
Load the project capability manifest .agents/quality/python-quality.json from the repository root:
python3 skills/python-quality-check/resources/scripts/validate_python_quality.py .agents/quality/python-quality.json --profile "<profile>"
PASS: summary by default (--verbose / --json opt-in). Supports all 4 profiles (pr, epic, scheduled, release; pr/epic required for legacy v1), unified capabilities (anti_stub, security, security_deps, pr_diff_audit, workspace_audit, pr_impact, workspace_impact, license), dual-floor coverage (min_package_coverage, exclude_package_floor, min_diff_coverage, diff_base via {skills_dir}/quality_check/resources/scripts/check_diff_coverage.py), standards_catalog (.agents/quality/standards_catalog.json), extensions, task_tier_b, and triage_surfaces (plus pool_mounts in check_quality.json)..agents/quality/python-quality.json is missing or invalid: emit status BLOCKED.BLOCKED.epic: if the architecture (or boundaries) capability is missing: emit status BLOCKED.Execute commands declared in capabilities for the target profile:
{skills_dir} is resolved to the directory containing this plugin's skills/ folders (the parent of python-quality-check/), so manifests can call sibling skill scripts without machine-specific paths (e.g. ["python3", "{skills_dir}/sync-shared-contracts/resources/scripts/sync_contracts.py", "diff-check", "--base-ref", "{base_ref}"]).{base_ref} is substituted with the normalized base_ref invocation parameter from quality_check (falling back to develop or the repository default only when base_ref was not supplied).BLOCKED.contracts, contracts_<domain>, and contract_diff): exit code 0 records PASS, exit code 2 (or JSON "status": "BLOCKED") records BLOCKED, and any other nonzero exit code (such as 1) records FAIL.FAIL.PASS.uv Optional Extras: Worktrees bootstrapped via bootstrap_worktree.sh install [project.optional-dependencies] with uv sync --all-extras (and --group dev when declared). When executing uv run capabilities, verify_polyglot_registry.py defaults UV_NO_SYNC=1 in the child process environment (respecting any explicit caller override) so read-only Gate 4 runs never silently prune optional extras from .venv. For every capability of a provider whose skill is d3nexus:python-quality-check (including uv --directory <dir> subprojects and python3 scripts/... wrappers), verify_polyglot_registry.py applies build_isolated_python_env().Independent commands (e.g. format, lint, type_check, test) may run concurrently.
Execute specialist audits as configured:
lint-imports or AST-based check evaluates package boundaries, Clean Architecture layer inversion, and forbidden imports.pytest-cov or project coverage wrapper against configured threshold.bandit or pip-audit for scheduled and release profiles.Assemble the result document matching provider-result.schema.json:
provider_id: "python-core" (or matching invocation identifier)contract_version: 1profile: <profile>repository_sha: Verified commit SHA matching invocationstatus: Aggregated provider status (FAIL if any check failed, BLOCKED if any check blocked, else PASS)started_head and finished_head: Git SHA recorded before and after executionchecks, coverage, evidence, blockers, warningsReturn the result document to the orchestrator.
.agents/quality/python-quality.json.import-linter and Clean Architecture boundaries.references/python-architecture-governance.md (opens in a new tab)references/python-capability-contract.md (opens in a new tab)references/python-tool-mapping.md (opens in a new tab)resources/fixtures/valid_python_quality.json (opens in a new tab)resources/schemas/python-quality.schema.json (opens in a new tab)resources/scripts/test_validate_python_quality.py (opens in a new tab)resources/scripts/validate_python_quality.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub danhdue/ai-agent-tools --plugin d3nexus72 skills in this plugin
/android-api-integrationGenerates a standardized Network Module, API Interface, Remote Data Source, Repository, UseCase, Models, and ViewModel updates for Android using the Hybrid Network Architecture and MVI Pattern./android-quality-checkRead-only Android quality assurance provider implementing the common quality contract. Executes project-configured Gradle, Spotless, Detekt, and Konsist capabilities from .agents/quality/android-quality.json, enforces BCV and architecture policies, and outputs structured results bound to repository SHA./android-ui-auditAudits Jetpack Compose and Android UI code for recomposition stability, state hoisting, Material3 design system adherence, and modifier best practices.Other plugins' skills for the same job