Skip to content
Back to skills

Tech Stack Evaluator

ASecurity

Evaluate and compare technology stacks with TCO analysis, security assessment, and ecosystem health scoring from figures you supply (nothing is fetched). Use when comparing frameworks or cloud providers, calculating 5-year total cost of ownership, vetting a library's security and maintenance health, or sizing a migration, and you need a verdict with findings, not a guess.

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added May 30, 2026
ai-agentspythongobashawsgcpazuretestingdebugginggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill tech-stack-evaluator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tech Stack Evaluator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tech Stack Evaluator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-tech-stack-evaluator/badge)](https://www.skillsdirectory.com/skills/borghei-tech-stack-evaluator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tech-stack-evaluator
description: >
  Evaluate and compare technology stacks with TCO analysis, security assessment, and ecosystem
  health scoring from figures you supply (nothing is fetched). Use when comparing frameworks
  or cloud providers, calculating 5-year total cost of ownership, vetting a library's security
  and maintenance health, or sizing a migration, and you need a verdict with findings, not a guess.
license: MIT + Commons Clause
metadata:
  version: 1.1.0
  author: borghei
  category: engineering
  domain: technology-evaluation
  updated: 2026-11-08
  tags: [framework-comparison, tco-analysis, technology-evaluation]
---
# Technology Stack Evaluator

Evaluate and compare technologies, frameworks, and cloud providers with data-driven, weighted analysis and actionable recommendations.

## Core Capabilities

- **Technology comparison** — weighted multi-criteria scoring of frameworks and libraries across 8 categories.
- **TCO analysis** — 5-year total cost of ownership including hidden costs (technical debt, vendor lock-in, turnover).
- **Ecosystem health** — viability scoring from GitHub, npm, community, and corporate-backing metrics.
- **Security assessment** — vulnerability/patch scoring and compliance readiness for GDPR, SOC2, HIPAA, PCI-DSS.
- **Migration analysis** — complexity, effort, risk, and recommended approach (direct/phased/strangler).
- **Cloud comparison** — compare AWS, Azure, GCP for specific workloads.

## When to Use

- Comparing frontend/backend frameworks for new projects
- Evaluating cloud providers for specific workloads
- Planning technology migrations with risk assessment
- Calculating build vs. buy decisions with TCO
- Assessing open-source library viability

**When NOT to use:** trivial decisions between similar tools (use team preference), mandated technology choices (decision already made), emergency production issues (use monitoring tools).

## Clarify First

Before the evaluation, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Candidates:** the specific frameworks / libraries / cloud providers to compare (the subject of the analysis).
- **Analysis type:** comparison / TCO / ecosystem health / security / migration (selects which module runs).
- **Decision criteria & weights:** which of the 8 categories matter most for this context (drives the weighted scoring and recommendation).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

## Tools Overview

`scripts/evaluate.py` is the command-line entry point; the other scripts are the library
modules it calls. Nothing fetches live data: every number comes from the input file, so the
output is only as good as the inputs.

```bash
python3 scripts/evaluate.py compare assets/sample_compare_evidenced.json   # exit 0, CLEAR winner
python3 scripts/evaluate.py compare assets/sample_input_structured.json    # exit 1, UNSUPPORTED
python3 scripts/evaluate.py tco assets/sample_input_tco.json
python3 scripts/evaluate.py ecosystem assets/flawed_input_ecosystem.json   # exit 1
python3 scripts/evaluate.py security assets/flawed_input_security.json --format json
python3 scripts/evaluate.py migration assets/sample_input_migration.json
python3 scripts/evaluate.py parse assets/sample_input_text.json            # free text -> structured request
```

Real output of `python3 scripts/evaluate.py security assets/flawed_input_security.json` (tail):

```
FIX 3 issues
  1. critical_last_12m=3 open-window critical CVEs
     fix: pin to a patched release and confirm each advisory is fixed before adoption
  2. overall_security_score 31.0 is below 70 (heuristic)
     fix: Improve overall security posture - score below acceptable threshold
  3. GDPR: Partial (3/5 controls)
     fix: implement: consent_management, data_portability
```

Every figure the analysis needs must be in the file. A missing field is an input error (exit 2,
the message names it), never a default: the tool will not score a number you did not give.
Thresholds (health below 60, security below 70, complexity 7 or higher) are this tool's
heuristics, not published benchmarks.

| Subcommand | Library module | Input section |
|------|---------|-------------|
| `compare` | `stack_comparator.py` | `comparison`: candidates with a 0-100 `score` and an `evidence` note per category, plus `weights` and `use_case` |
| `tco` | `tco_calculator.py` | `tco_analysis`: initial, operational, scaling and productivity costs |
| `ecosystem` | `ecosystem_analyzer.py` | `ecosystem`: repository, registry, community and backing metrics |
| `security` | `security_assessor.py` | `security`: CVE counts, patch times, security features, compliance targets |
| `migration` | `migration_analyzer.py` | `migration`: codebase stats, constraints, team |

`parse` uses `format_detector.py` to turn a free-text request into candidates, use case and
priorities. `--format markdown` renders a paste-ready report through `report_generator.py`
(any subcommand but `parse`); for `compare` it opens with the verdict and shows a recommendation
only when the verdict is `CLEAR`.

Flags: `--format text|json|markdown` (`--json` is an alias); `compare` also takes `--margin`
(default 5 points).

## Exit codes

| Code | Meaning |
|------|---------|
| `0` | clean: `compare` has evidence on every score and a lead of at least the margin; `ecosystem`, `security`, `migration` raise no finding; `tco` and `parse` ran |
| `1` | findings: `compare` is `UNSUPPORTED` or `TOO_CLOSE`; ecosystem health below 60 or a sub-score below 50; security score below 70, open critical CVEs or a compliance target not Ready; migration complexity 7 or higher |
| `2` | unusable input: missing file, invalid JSON, absent section, a required field missing or not an allowed value, or `parse` finds no candidates |

## Workflow

1. Settle candidates, constraints and weights with the user (Clarify First). Weights come from the decision context, not from defaults.
2. Research each score before writing it down: release cadence, open CVEs and patch times, registry downloads, the team's measured experience, a prototype benchmark. Put the source in `evidence`.
3. Run `evaluate.py compare` and the analyses the decision needs (`tco`, `security`, `migration`).
4. Validate before recommending: the compare verdict must be `CLEAR`. On `TOO_CLOSE`, present the trade-offs and the deciding constraint instead of a winner; on `UNSUPPORTED`, return to step 2.
5. Report the recommendation with the evidence table, the assumptions behind any cost figure, and what would change the decision.

## References

Load the reference that matches the task — keep this file lean and pull detail on demand:

- **[references/tool-reference.md](references/tool-reference.md)** — full constructor parameters, methods, scoring weights, and output formats for all 7 scripts. Read when wiring up or debugging any tool.
- **[references/usage-and-criteria.md](references/usage-and-criteria.md)** — example prompts, input formats (text/YAML/JSON), analysis depth tiers, confidence levels, troubleshooting table, and success criteria. Read before invoking the evaluator.
- **[references/metrics.md](references/metrics.md)** — detailed scoring algorithms and calculation formulas.
- **[references/examples.md](references/examples.md)** — input/output examples for all analysis types.
- **[references/workflows.md](references/workflows.md)** — step-by-step evaluation workflows for common scenarios.

## Scope & Limitations

**Covers:**
- Weighted multi-criteria comparison of frameworks, libraries, and cloud providers
- Multi-year TCO projections including hidden costs (technical debt, vendor lock-in, turnover)
- Ecosystem viability assessment using GitHub, npm, and community metrics
- Security posture scoring and compliance readiness for GDPR, SOC2, HIPAA, PCI-DSS

**Does NOT cover:**
- Live data fetching from GitHub API, npm registry, or vulnerability databases (all data must be provided in the input file; research it first)
- Performance benchmarking or load testing (use `engineering/senior-qa` for test execution)
- Licensing legal review or contract negotiation (use `ra-qm-team` compliance skills for regulatory guidance)
- Team hiring or organizational design decisions (use `hr-operations/talent-acquisition` for staffing analysis)

## Anti-Patterns

### Scoring From Memory
**Mistake:** Filling the 0-100 category scores from general impressions and presenting the weighted total as an objective result.
**Why it happens:** The tool accepts any number and returns a precise-looking total.
**Instead:** Attach evidence to every score (that is why `compare` exits 1 without it). If a fact cannot be found, say the score is a judgement and lower its weight.

### Declaring a Winner on a Small Gap
**Mistake:** Recommending the top scorer when it leads by two or three points.
**Why it happens:** A ranked list always has a first place.
**Instead:** Treat gaps under the margin as a tie and decide on the constraint the scores do not capture (team skills, existing contracts, migration cost).

### Reusing Reference Cost Figures
**Mistake:** Quoting hosting prices or salaries from the references as current.
**Why it happens:** They sit next to the formulas and look authoritative.
**Instead:** They are illustrative. Price from the provider's calculator and the user's own payroll data, with an as-of date.

## Files

| File | Purpose |
|------|---------|
| `scripts/evaluate.py` | CLI entry point with evidence and margin checks |
| `scripts/stack_comparator.py`, `tco_calculator.py`, `ecosystem_analyzer.py`, `security_assessor.py`, `migration_analyzer.py` | Analysis libraries |
| `scripts/format_detector.py` | Free-text request parser (`evaluate.py parse`) |
| `scripts/report_generator.py` | Markdown report rendering (`evaluate.py --format markdown`) |
| `assets/sample_compare_evidenced.json` | Comparison with evidence on every score (exit 0) |
| `assets/sample_input_structured.json` | Comparison without evidence (exit 1, `UNSUPPORTED`) |
| `assets/expected_output_comparison.json` | JSON output of the unsupported comparison |
| `assets/sample_input_*.json` (sound), `assets/flawed_input_*.json` (exit 1), `assets/malformed_*.json` (exit 2) | Inputs for the other subcommands |
| `assets/contract.json` | Declared runs checked by `scripts/skill_contract_check.py` |
| `assets/sample_input_text.json` | Free-text request example for `evaluate.py parse` |
| `references/*.md` | Tool reference, criteria, metrics (illustrative figures), examples, workflows |

Files in this skill

  • SKILL.md24.3 KB
  • assets/expected_output_comparison.json1.9 KB
  • assets/sample_input_structured.json1.1 KB
  • assets/sample_input_tco.json1.1 KB
  • assets/sample_input_text.json237 B
  • references/examples.md10.3 KB
  • references/metrics.md6.5 KB
  • references/workflows.md8 KB
  • scripts/ecosystem_analyzer.py16.1 KB
  • scripts/format_detector.py12.3 KB
  • scripts/migration_analyzer.py20.1 KB
  • scripts/report_generator.py15.5 KB
  • scripts/security_assessor.py17.3 KB
  • scripts/stack_comparator.py12.1 KB
  • scripts/tco_calculator.py15.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.