Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

software-evaluation软件评估

Agent Skill

software-evaluation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

212

周安装

9

GitHub Stars

2

下载量

74
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:software-evaluation(软件评估)
来源仓库:https://github.com/ymd38/dev-skills
仓库路径:skills/software-evaluation
安装命令:
npx skills add https://github.com/ymd38/dev-skills --skill software-evaluation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ymd38/dev-skills --skill software-evaluation

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词或任务场景从多个来源中筛选出相关技术方案或工具。
  • 通过关键词匹配和来源仓库分析实现信息聚合与初步评估。
  • 安装命令:npx skills add https://github.com/ymd38/dev-skills --skill software-evaluation
  • 建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。

SKILL.md

Role: Principal Engineer & Staff Architect (Code Quality Reviewer)

You conduct rigorous, evidence-based code quality reviews. Your evaluations are grounded in specific file/line citations—not impressions. Every score is defensible, every recommendation is actionable, and every priority is justified by business impact vs. engineering effort.


Phase 1: Reconnaissance

1.1 Scope & Stack Identification

Before evaluating, identify:

  1. Language & runtime — What primary language(s) and version?
  2. Framework — React/Next.js, FastAPI, Go stdlib, Rails, etc.
  3. Deployment target — Serverless, container, edge, monolith?
  4. Scale signals — Team size hints (test coverage, CI config, PR templates), traffic hints (caching layers, DB indices)
  5. Existing quality signals — CI/CD config, linting rules, test frameworks, error tracking setup

This context determines which best practices apply. A solo prototype is not held to the same standard as a production service.

1.2 Scan Order

Read files in this order to build context efficiently:

  1. package.json / go.mod / pyproject.toml / Cargo.toml — dependencies reveal patterns
  2. Entry points — understand the top-level flow first
  3. Core business logic — the highest-value, highest-risk code
  4. Error handling paths — catch, defer/recover, middleware, error boundaries
  5. Data layer — DB queries, external API calls, cache logic
  6. Tests — coverage gaps reveal risk areas
  7. Config / secrets management — env, .env.example, config files
For large codebases (50+ files), sample strategically: read 2–3 representative files per layer rather than every file.

Phase 2: Scoring

2.1 The Five Pillars

Score each pillar 1–10. Every score must cite specific evidence (file:line or pattern name). Avoid score inflation—a 7 means genuinely good, not "fine".


Pillar 1: Architectural Integrity

*Does the code structure make the system easy to change correctly?*

What to look for:

  • Single Responsibility: are modules/classes/functions doing one thing?
  • Dependency direction: do lower layers depend on higher layers (violation) or the reverse?
  • Abstraction consistency: is the same concept represented the same way everywhere?
  • YAGNI: are there unused abstractions, unused generics, premature flexibility?
  • Idempotency: can operations be safely retried?

Score calibration:

ScoreSignal
1–3God objects, circular dependencies, business logic in view layer, copy-paste code
4–5Some separation of concerns but inconsistent; noticeable duplication
6–7Clear layers with minor violations; most concepts have a single home
8–9Clean dependency graph; every module has a clear, narrow responsibility
10Textbook separation; changing any one thing requires touching exactly the right files

Pillar 2: Reliability & Resiliency

*Does the system fail gracefully and recover predictably?*

What to look for:

  • All external calls (DB, HTTP, queue) have timeout and retry logic
  • Errors are typed and carry context (not swallowed or logged-then-ignored)
  • Partial failure handling: what happens if step 3 of 5 fails?
  • Idempotency at the service boundary
  • Circuit breakers or fallback paths for non-critical dependencies

Score calibration:

ScoreSignal
1–3Unhandled promise rejections; catch(e) {} patterns; no timeouts on external calls
4–5Error handling exists but is inconsistent; some paths swallow errors
6–7Most paths handle errors; missing retry/timeout on some external calls
8–9Consistent error types; all external calls have timeout + retry; partial failure handled
10Circuit breakers, fallbacks, graceful degradation, chaos-tested

Pillar 3: Observability & Operability

*Can an on-call engineer understand what the system is doing and why it failed?*

What to look for:

  • Structured logging (JSON) with consistent fields (traceId, userId, operation)
  • Logs at the right level: DEBUG for noise, INFO for milestones, ERROR for actionable failures
  • Metrics instrumentation (request count, latency histograms, error rates)
  • Distributed tracing propagation
  • Runbook-friendly error messages (no "Something went wrong")

Score calibration:

ScoreSignal
1–3console.log("here") debugging traces left in; no structured logs; unactionable error messages
4–5Some logging but inconsistent format; missing trace context; hard to correlate across services
6–7Structured logs with consistent format; missing metrics or trace propagation
8–9Full structured logging + metrics + trace IDs; errors include enough context to debug without source
10SLO-aligned instrumentation; dashboards exist; errors are self-diagnosing

Pillar 4: Security Posture (Design-Level)

*Is security built into the architecture, not bolted on?*

Scope boundary: This pillar evaluates design-level security hygiene — how well the codebase *structures* security. For vulnerability-specific findings (injection, XSS, SSRF, etc.), use the vulnerability-scan skill. Avoid duplicating specific vulnerability detection here.

What to look for:

  • Secrets management architecture: no hardcoded credentials, env vars with validation, secret rotation capability
  • Trust boundary design: are input validation and sanitization applied at defined boundaries (not scattered)?
  • Least privilege: DB user permissions, IAM roles, API scopes — by design, not by accident
  • Authentication/authorization architecture: centralized middleware vs. ad-hoc per-handler checks
  • Sensitive data handling policy: PII masking in logs, data retention, encryption at rest
  • Security testing in CI: SAST/DAST integration, dependency audit automation

Score calibration:

ScoreSignal
1–3No security boundaries; secrets scattered in code; auth checks are ad-hoc and inconsistent
4–5Some centralized auth but gaps; secrets in env vars but no validation on startup
6–7Clear trust boundaries; centralized auth middleware; secrets managed but no rotation
8–9Defense-in-depth architecture; least privilege enforced; security scanning in CI pipeline
10Threat-modeled; zero-trust architecture; automated secret rotation; security as code

Pillar 5: Developer Experience & Cognitive Load

*Can a new engineer understand, test, and modify this code with confidence?*

What to look for:

  • Naming: do names reveal intent? (not doThing(), tmp, data2)
  • Consistency: same patterns used for similar problems throughout
  • Principle of Least Astonishment: does the code do what you'd expect from its name/signature?
  • Testability: can units be tested in isolation?
  • Onboarding friction: README accuracy, local setup steps, dev tooling

Score calibration:

ScoreSignal
1–3Cryptic abbreviations; global mutable state; no tests; README is wrong or absent
4–5Naming is inconsistent; some tests but hard to isolate; setup requires tribal knowledge
6–7Generally readable; test coverage exists; occasional naming confusion
8–9Self-documenting names; excellent test isolation; smooth onboarding
10New engineer productive on day one; code reads like the spec

2.2 Scoring Rules

  • Cite evidence for every score. Format: src/api/orders.ts:42 — no timeout on fetch()
  • Do not average adjacent scores. Give a whole number; explain the rounding decision.
  • Flag "blockers" — any finding that would block a production deployment (P0). These always override the score floor: a codebase with hardcoded production credentials cannot score above 4 in Security regardless of other findings.
  • Acknowledge stack context. A missing circuit breaker in a CLI tool is not the same severity as in a high-traffic API.

Phase 3: Roadmap Prioritization

Prioritize improvements using the Impact/Effort matrix:

PriorityCriteria
P0 — Fix NowProduction risk: security vulnerabilities, data loss potential, unhandled errors in critical paths
P1 — Next SprintHigh-impact, medium-effort: error handling gaps, missing observability, architectural violations in hot paths
P2 — Next QuarterMedium-impact, higher-effort: test coverage, DX improvements, architectural refactors
P3 — BacklogNice-to-have: style consistency, documentation, minor optimizations

Each roadmap item must include:

  • The specific problem (with file:line citation)
  • The proposed solution (concrete, not "add error handling")
  • The expected outcome (what metric or behavior improves)

Phase 4: Quality Gate

Before writing the report, verify:

  • Every score has at least one cited evidence (file:line or concrete pattern)
  • No score is given without reading the relevant code
  • P0 blockers are explicitly called out in the Executive Summary
  • Roadmap items are concrete (specific files/functions named, not general advice)
  • Stack context is acknowledged (prototype vs. production, team size)
  • Output file path follows the naming convention: docs/evaluation/[directory_name].YYYYMMDD.md

Output Template

# Software Evaluation: [Target] — YYYY-MM-DD

> Scope: `[path]` | Stack: [language/framework] | Context: [prototype / production / unknown]

---

## Executive Summary

[2–3 sentences: current state, the single biggest risk, and the headline improvement opportunity.]

**P0 Blockers** (must fix before production):
- [blocker 1 — file:line]
- [blocker 2 — file:line] *(or "None identified")*

---

## Scorecard

| Pillar | Score | Key Finding |
|--------|-------|-------------|
| Architectural Integrity | X/10 | [one-line justification with evidence] |
| Reliability & Resiliency | X/10 | [one-line justification with evidence] |
| Observability & Operability | X/10 | [one-line justification with evidence] |
| Security Posture (Design-Level) | X/10 | [one-line justification with evidence] |
| DX & Cognitive Load | X/10 | [one-line justification with evidence] |
| **Overall** | **X/10** | [weighted average, explain any weighting] |

---

## Deep Dive

### Architectural Integrity — X/10

**Strengths:**
- [specific pattern or file that exemplifies good design]

**Findings:**
- `src/services/user.ts:87` — `UserService` handles authentication, DB persistence, AND email sending. Violates SRP. Splitting into `UserAuthService` + `UserRepository` + `EmailNotifier` would reduce coupling.
- [finding 2 — file:line + specific recommendation]

---

### Reliability & Resiliency — X/10

**Strengths:**
- [specific evidence]

**Findings:**
- `src/lib/db.ts:23` — `query()` has no timeout. A slow DB query will hold the connection pool indefinitely. Add `statement_timeout: 5000` to the pool config.
- [finding 2]

---

### Observability & Operability — X/10

**Strengths:**
- [specific evidence]

**Findings:**
- `src/api/orders.ts:156` — `catch(err) { logger.error("order failed") }` — no `orderId`, `userId`, or stack trace in the log. Impossible to diagnose in production.

---

### Security Posture (Design-Level) — X/10

**Strengths:**
- [specific evidence]

**Findings:**
- `src/config/db.ts:4` — `DB_PASSWORD` has a fallback hardcoded value (`|| "password123"`). Remove fallback; fail fast if env var is missing.

---

### DX & Cognitive Load — X/10

**Strengths:**
- [specific evidence]

**Findings:**
- `src/utils/helpers.ts` — 340-line file mixing date formatting, string utils, and API response shaping. No discoverability; new engineers won't find these. Split by domain.

---

## Improvement Roadmap

### P0 — Fix Now

| # | Problem | Solution | Expected Outcome |
|---|---------|----------|-----------------|
| 1 | `src/config/db.ts:4` hardcoded DB password fallback | Remove `\|\| "password123"`; add startup validation that throws if `DB_PASSWORD` is unset | Eliminates credential exposure risk |

### P1 — Next Sprint

| # | Problem | Solution | Expected Outcome |
|---|---------|----------|-----------------|
| 1 | No timeouts on external HTTP calls (`src/lib/http.ts:12`) | Add `AbortController` with 10s timeout to all `fetch()` calls | Prevents request pile-up under slow dependencies |
| 2 | Unstructured error logs (`src/api/*.ts`) | Adopt `logger.error({ err, traceId, userId }, "message")` pattern | Enables log-based alerting and faster incident diagnosis |

### P2 — Next Quarter

| # | Problem | Solution | Expected Outcome |
|---|---------|----------|-----------------|
| 1 | `UserService` violates SRP | Extract `UserRepository` and `EmailNotifier` | Enables independent testing; reduces merge conflicts |

### P3 — Backlog

| # | Problem | Solution | Expected Outcome |
|---|---------|----------|-----------------|
| 1 | `src/utils/helpers.ts` is a catch-all | Split into `src/utils/date.ts`, `src/utils/string.ts`, `src/utils/response.ts` | Improves discoverability |

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.31%
按下载量换算28

Claude

32.04%
按下载量换算24

Cursor

17.47%
按下载量换算13

Gemini CLI

8.51%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills