agentsclimarketplace

Repository readiness eval

Skill fabioc-aloha/Alex_Skill_Mall/plugins/code-quality/repository-readiness-eval

284 curated plugins for AI assistants across 16 categories: security, Azure, documentation, code quality, cloud infrastructure, and more. Works with GitHub Copilot. Drop into .github/skills/local/ and go.

Install
npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill repository-readiness-eval

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Evaluate a repository's readiness for AI-assisted development across 4 axes: code understanding, dependency restore, build success, and test execution. Use when onboarding to a new repo, assessing CI readiness, or validating that an AI agent can work effectively in a codebase.

SKILL.md

9.5 KB, as published. Nobody here has run it

Repository Readiness Evaluation

Systematic 4-axis assessment of whether a repository is ready for productive AI-assisted development — from code comprehension through successful test execution.

When to Use

  • Onboarding to an unfamiliar repository
  • Assessing if a codebase is AI-agent-ready
  • Validating CI/CD pipeline health
  • Pre-engagement quality check before committing to a project
  • Measuring improvement after fixing build/test issues

The 4 Axes

AxisQuestionScore Range
A: Code UnderstandingCan you comprehend the project structure, tech stack, and architecture?0–5
B: Dependency RestoreCan you install/restore all dependencies successfully?0–5
C: Build SuccessDoes the project compile/build without errors?0–5
D: Test ExecutionDo tests run and pass?0–5

Total: 0–20 points → Tier classification (below)


Phase 1: Code Understanding (Axis A)

Investigation Steps

  1. Read README — does it explain setup, architecture, and conventions?
  2. Identify tech stack — languages, frameworks, build system, package manager
  3. Map project structure — entry points, module boundaries, config files
  4. Find build/run commands — documented or discoverable from manifests
  5. Identify test framework — what runs tests, where are they located

Scoring Rubric

ScoreCriteria
5Clear docs, standard structure, obvious entry points, well-organized
4Minor gaps but navigable — missing some docs, non-standard naming
3Understandable with effort — sparse docs, complex structure
2Confusing — unclear entry points, mixed concerns, minimal docs
1Barely comprehensible — no docs, non-standard everything
0Cannot determine project purpose or structure

Phase 2: Dependency Restore (Axis B)

Investigation Steps

  1. Identify package manager — npm, pip, dotnet, cargo, maven, etc.
  2. Run restore commandnpm install, pip install -r requirements.txt, dotnet restore, etc.
  3. Check for lock filespackage-lock.json, poetry.lock, Cargo.lock
  4. Identify private registries.npmrc, nuget.config, pip.conf
  5. Record failures — classify per taxonomy below

Common Restore Commands

EcosystemCommand
Node.jsnpm install or yarn install or pnpm install
Pythonpip install -r requirements.txt or poetry install
.NETdotnet restore
Gogo mod download
Rustcargo fetch
Javamvn dependency:resolve or gradle dependencies

Scoring Rubric

ScoreCriteria
5All dependencies restore cleanly on first attempt
4Minor warnings but functional — deprecated packages, peer dep warnings
3Partial success — some packages fail but core works
2Significant failures — private registry auth, version conflicts
1Most dependencies fail — broken lock file, missing registry
0Cannot restore any dependencies

Phase 3: Build Success (Axis C)

Investigation Steps

  1. Find build command — from README, package.json scripts, Makefile, etc.
  2. Run buildnpm run build, dotnet build, cargo build, make, etc.
  3. Capture output — record warnings and errors
  4. Classify failures — per taxonomy below
  5. Attempt fixes — if simple (missing env var, config), fix and retry

Common Build Commands

EcosystemCommand
Node.js/TSnpm run build or tsc
.NETdotnet build
Gogo build ./...
Rustcargo build
Pythonpython -m build or python setup.py build
Javamvn compile or gradle build

Scoring Rubric

ScoreCriteria
5Clean build, zero warnings
4Builds successfully with minor warnings
3Builds with significant warnings or non-critical errors suppressed
2Build fails but fixable (missing config, env vars, minor code issues)
1Build fails with deep issues (incompatible deps, missing system libs)
0Cannot determine how to build, or catastrophic failure

Phase 4: Test Execution (Axis D)

Investigation Steps

  1. Find test commandnpm test, dotnet test, pytest, cargo test
  2. Run tests — capture pass/fail/skip counts
  3. Classify failures — infrastructure vs logic vs flaky
  4. Calculate pass rate — passing / (passing + failing)
  5. Note coverage if available

Common Test Commands

EcosystemCommand
Node.jsnpm test or npx jest or npx vitest
.NETdotnet test
Pythonpytest or python -m unittest
Gogo test ./...
Rustcargo test
Javamvn test or gradle test

Scoring Rubric

ScoreCriteria
5All tests pass, good coverage, fast execution
4>95% pass rate, minor flaky tests
3>80% pass rate, some infrastructure failures
250–80% pass rate, significant issues
1<50% pass rate or tests barely run
0No tests exist, or test framework cannot execute

Failure Taxonomy

Tag every failure encountered during evaluation:

TagDefinitionExample
MISSING_TOOLRequired tool/runtime not installedNode 18 needed, only 16 available
AUTH_REQUIREDCredentials needed for private resourcePrivate npm registry, Azure artifact feed
ENV_CONFIGMissing environment variable or config file.env not present, appsettings.local.json missing
VERSION_CONFLICTDependency version incompatibilityPeer dep mismatch, lockfile drift
PLATFORM_SPECIFICWorks on one OS but not anotherLinux paths on Windows, missing system lib
FLAKY_TESTTest passes/fails non-deterministicallyTiming-dependent, external service dependency

Scoring & Tier Classification

Compute Total Score

Total = A + B + C + D  (range: 0–20)

Tier Mapping

TierScoreInterpretation
Excellent18–20Ready for immediate productive work
Good14–17Minor friction, workable with small fixes
Fair10–13Significant setup needed before productive work
Poor6–9Major blockers — investment required before engagement
Critical0–5Not ready — fundamental issues must be resolved first

Output Artifact

# Repository Readiness Report

**Repository:** <name>
**Date:** <date>
**Evaluator:** <who/what>

## Summary

| Axis | Score | Notes |
| ---- | ----- | ----- |
| A: Code Understanding | X/5 | <brief> |
| B: Dependency Restore | X/5 | <brief> |
| C: Build Success | X/5 | <brief> |
| D: Test Execution | X/5 | <brief> |
| **Total** | **X/20** | **Tier: <tier>** |

## Failures Encountered

| # | Phase | Tag | Description | Resolution |
| - | ----- | --- | ----------- | ---------- |
| 1 | B | AUTH_REQUIRED | Private npm registry needs token | Set NPM_TOKEN env var |
| 2 | C | ENV_CONFIG | Missing DATABASE_URL | Added to .env from .env.example |

## Recommendations

### Immediate (blocks productive work)
1. <fix>

### Short-term (improves experience)
1. <improvement>

### Nice-to-have
1. <suggestion>

Intervention Tracking

When you fix issues during evaluation, track them:

InterventionClassificationImpact on Score
Filled missing env var from exampleConfig fixScore reflects post-fix state
Installed missing toolSetup fixScore reflects post-fix state
Fixed code to make build passCode changeDeduct 1 point from that axis
Skipped failing testsWorkaroundScore reflects skip (not pass)

Autonomy penalty: If you had to modify source code (not config) to achieve a passing build/test, deduct 1 point from that axis. The repo should work without code changes for a new developer.


Troubleshooting Common Blockers

SymptomLikely CauseResolution
ENOENT on installWrong working directoryCheck for monorepo, find correct root
401 Unauthorized on restorePrivate registryCheck .npmrc, nuget.config, set auth token
Cannot find module after installMissing build stepRun build before test
Tests pass locally but timeoutExternal service dependencyMock or skip integration tests
Build warns "deprecated"Old dependenciesUsually safe to ignore for eval
ENOMEM during buildLarge project, low memoryIncrease memory or build in parts

Integration with Other Skills

SkillRelationship
architecture-auditUse readiness score to prioritize audit targets
tech-debt-discoveryLow readiness scores indicate tech debt
testing-strategiesAxis D failures feed test improvement planning
bootstrap-learningPhase 1 aligns with bootstrap's Orient step

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.