Quality stack

From joaquimscosta/arkhe-claude-plugins · View interactive version

Quality stack is an AI agent skill from the GitHub repository joaquimscosta/arkhe-claude-plugins. Scan a project to detect configured quality and testing tools across JVM (Gradle/Maven), Android (AGP/Compose/KMP), Node.js/TypeScript, and Python ecosystems. Cross-reference against research-backed recommendations and assist with setup. Auto-detects project type(s) including monorepos with mixed ec

How to use this skill

Skill file

Quality Stack

Scan a project's build configuration across JVM, Android, Node.js, and Python ecosystems, cross-reference against curated research documents, and assist with tool setup.

Pre-flight

  1. Run the orchestrator — it auto-detects ecosystems:

```bash

python3 <skill-path>/scripts/scan_project.py <project-root>

```

  1. If "error": "no_ecosystem_detected", check nearby_project_files for subproject paths.
  2. Monorepo? — use --recursive or --ecosystem to force a specific scanner:

```bash

python3 <skill-path>/scripts/scan_project.py --recursive <project-root>

python3 <skill-path>/scripts/scan_project.py --ecosystem node <project-root>

```

  1. Legacy (JVM only) — scan_tooling.py still works as a backwards-compatible wrapper.

Two-Phase Workflow

Phase 1: Recommend

  1. Run the scanner on the project root (see Pre-flight above).
  1. Fetch research documents via WebFetch — only for detected ecosystems:

Android (when ecosystems contains "android"):

```

https://raw.githubusercontent.com/joaquimscosta/arkhe-claude-plugins/main/docs/research/android-ecosystem-tooling.md

https://raw.githubusercontent.com/joaquimscosta/arkhe-claude-plugins/main/docs/research/android-testing-ecosystem.md

```

JVM (when ecosystems contains "jvm"):

```

https://raw.githubusercontent.com/joaquimscosta/arkhe-claude-plugins/main/docs/research/jvm-quality-tools-evaluation.md

https://raw.githubusercontent.com/joaquimscosta/arkhe-claude-plugins/main/docs/research/kotlin-spring-boot-testing-ecosystem.md

```

Node.js (when ecosystems contains "node"):

```

https://raw.githubusercontent.com/joaquimscosta/arkhe-claude-plugins/main/docs/research/node-quality-tools-evaluation.md

```

Python (when ecosystems contains "python"):

```

https://raw.githubusercontent.com/joaquimscosta/arkhe-claude-plugins/main/docs/research/python-quality-tools-evaluation.md

```

Cross-cutting (always):

```

https://raw.githubusercontent.com/joaquimscosta/arkhe-claude-plugins/main/docs/research/cross-cutting-devtools-evaluation.md

```

If WebFetch fails, warn the user and proceed using scanner results + LLM knowledge only.

  1. Cross-reference scanner output against research recommendations per ecosystem:
  1. Generate the recommendation report using the format in WORKFLOW.md.

Phase 2: Setup

After presenting the report, present tools for selection using the multi-round

protocol in WORKFLOW.md. Group by ecosystem and priority tier.

Include effort estimates. After user completes selection across all rounds:

  1. Read the relevant research doc section for setup instructions
  2. Apply Setup Guards — resolve versions, check compatibility
  3. For each selected tool, apply changes per ecosystem:
  1. Verify each tool after configuration — run the tool's check command,

verify filter patterns against actual codebase paths, and check for config

inheritance conflicts. See WORKFLOW.md Post-Setup Verification.

  1. Re-run the scanner to confirm all tools detected

Priority Classification

| Priority | Criteria |

|----------|----------|

| NOW | Essential missing tools, zero-dependency additions |

| SOON | High-value additions requiring minor setup |

| LATER | Nice-to-have with prerequisites |

| SKIP | Not applicable (wrong ecosystem, incompatible version, deprecated) |

Ecosystem-aware rules — see WORKFLOW.md for full classification tables per ecosystem.

Key rules:

mockwebserver → mockwebserver3; Detekt 2.x → dev.detekt; Room 3 → androidx.room3

Cross-Cutting Tools

| Tool | When to Recommend | Priority |

|------|------------------|----------|

| Lefthook | No git hook manager + has linters | SOON |

| commitlint | No commit conventions + has team | LATER |

| EditorConfig | Missing .editorconfig | NOW |

| Renovate/Dependabot | No dependency automation | SOON |

| Trivy/gitleaks | No security scanning | SOON |

Research Documents

Fetch via WebFetch at runtime — only for detected ecosystems:

Scanner Architecture

scripts/
  scan_project.py          # Orchestrator — auto-detects + merges
  scan_jvm.py              # JVM scanner (Gradle/Maven)
  scan_android.py          # Android scanner (AGP/Compose/KMP)
  scan_node.py             # Node.js/TypeScript scanner
  scan_python.py           # Python scanner
  scan_cross_cutting.py    # Cross-cutting tools (CI, hooks, security)
  shared.py                # Shared utilities
  scan_tooling.py          # Legacy wrapper → scan_jvm.py

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.