AgentSkillsCN

assess

【质量】通过优缺点分析,以 0–10 分对质量进行评分。在评估代码、设计或解决方案时使用。

SKILL.md
--- frontmatter
name: assess
description: "[QUALITY] Assess and rate quality 0-10 with pros/cons analysis. Use when evaluating code, designs, or approaches."
context: fork
version: 1.1.0
author: OrchestKit
tags: [assessment, evaluation, quality, comparison, pros-cons, rating]
user-invocable: true
allowedTools: [AskUserQuestion, Read, Grep, Glob, Task, TaskCreate, TaskUpdate, TaskList, mcp__memory__search_nodes, Bash]
skills: [code-review-playbook, assess-complexity, quality-gates, architecture-decision-record, memory]
argument-hint: [code-path-or-topic]

Assess

Comprehensive assessment skill for answering "is this good?" with structured evaluation, scoring, and actionable recommendations.

Quick Start

bash
/assess backend/app/services/auth.py
/assess our caching strategy
/assess the current database schema
/assess frontend/src/components/Dashboard

STEP 0: Verify User Intent with AskUserQuestion

BEFORE creating tasks, clarify assessment dimensions:

python
AskUserQuestion(
  questions=[{
    "question": "What dimensions to assess?",
    "header": "Dimensions",
    "options": [
      {"label": "Full assessment (Recommended)", "description": "All dimensions: quality, maintainability, security, performance"},
      {"label": "Code quality only", "description": "Readability, complexity, best practices"},
      {"label": "Security focus", "description": "Vulnerabilities, attack surface, compliance"},
      {"label": "Quick score", "description": "Just give me a 0-10 score with brief notes"}
    ],
    "multiSelect": false
  }]
)

Based on answer, adjust workflow:

  • Full assessment: All 7 phases, parallel agents
  • Code quality only: Skip security and performance phases
  • Security focus: Prioritize security-auditor agent
  • Quick score: Single pass, brief output

Task Management (CC 2.1.16)

python
# Create main assessment task
TaskCreate(
  subject="Assess: {target}",
  description="Comprehensive evaluation with quality scores and recommendations",
  activeForm="Assessing {target}"
)

# Create subtasks for 7-phase process
for phase in ["Understand target", "Rate quality", "List pros/cons",
              "Compare alternatives", "Generate suggestions",
              "Estimate effort", "Compile report"]:
    TaskCreate(subject=phase, activeForm=f"{phase}ing")

What This Skill Answers

QuestionHow It's Answered
"Is this good?"Quality score 0-10 with reasoning
"What are the trade-offs?"Structured pros/cons list
"Should we change this?"Improvement suggestions with effort
"What are the alternatives?"Comparison with scores
"Where should we focus?"Prioritized recommendations

Workflow Overview

PhaseActivitiesOutput
1. Target UnderstandingRead code/design, identify scopeContext summary
2. Quality Rating6-dimension scoring (0-10)Scores with reasoning
3. Pros/Cons AnalysisStrengths and weaknessesBalanced evaluation
4. Alternative ComparisonScore alternativesComparison matrix
5. Improvement SuggestionsActionable recommendationsPrioritized list
6. Effort EstimationTime and complexity estimatesEffort breakdown
7. Assessment ReportCompile findingsFinal report

Phase 1: Target Understanding

Identify what's being assessed (code, design, approach, decision, pattern) and gather context:

python
# PARALLEL - Gather context
Read(file_path="$ARGUMENTS")  # If file path
Grep(pattern="$ARGUMENTS", output_mode="files_with_matches")
mcp__memory__search_nodes(query="$ARGUMENTS")  # Past decisions

Phase 2: Quality Rating (6 Dimensions)

Rate each dimension 0-10 with weighted composite score. See Scoring Rubric for details.

DimensionWeightWhat It Measures
Correctness0.20Does it work correctly?
Maintainability0.20Easy to understand/modify?
Performance0.15Efficient, no bottlenecks?
Security0.15Follows best practices?
Scalability0.15Handles growth?
Testability0.15Easy to test?

Composite Score: Weighted average of all dimensions.

Launch 6 parallel agents (one per dimension) with run_in_background=True.


Phase 3: Pros/Cons Analysis

markdown
## Pros (Strengths)
| # | Strength | Impact | Evidence |
|---|----------|--------|----------|
| 1 | [strength] | High/Med/Low | [example] |

## Cons (Weaknesses)
| # | Weakness | Severity | Evidence |
|---|----------|----------|----------|
| 1 | [weakness] | High/Med/Low | [example] |

**Net Assessment:** [Strengths outweigh / Balanced / Weaknesses dominate]
**Recommended action:** [Keep as-is / Improve / Reconsider / Rewrite]

Phase 4: Alternative Comparison

See Alternative Analysis for full comparison template.

CriteriaCurrentAlternative AAlternative B
Composite[N.N][N.N][N.N]
Migration EffortN/A[1-5][1-5]

Phase 5: Improvement Suggestions

See Improvement Prioritization for effort/impact guidelines.

SuggestionEffort (1-5)Impact (1-5)Priority (I/E)
[action][N][N][ratio]

Quick Wins = Effort <= 2 AND Impact >= 4. Always highlight these first.


Phase 6: Effort Estimation

TimeframeTasksTotal
Quick wins (< 1hr)[list]X min
Short-term (< 1 day)[list]X hrs
Medium-term (1-3 days)[list]X days

Phase 7: Assessment Report

See Scoring Rubric for full report template.

markdown
# Assessment Report: $ARGUMENTS

**Overall Score: [N.N]/10** (Grade: [A+/A/B/C/D/F])

**Verdict:** [EXCELLENT | GOOD | ADEQUATE | NEEDS WORK | CRITICAL]

## Answer: Is This Good?
**[YES / MOSTLY / SOMEWHAT / NO]**
[Reasoning]

Grade Interpretation

ScoreGradeVerdict
9.0-10.0A+EXCELLENT
8.0-8.9AGOOD
7.0-7.9BGOOD
6.0-6.9CADEQUATE
5.0-5.9DNEEDS WORK
0.0-4.9FCRITICAL

Key Decisions

DecisionChoiceRationale
6 dimensionsComprehensive coverageAll quality aspects without overwhelming
0-10 scaleIndustry standardEasy to understand and compare
Parallel assessment6 agentsFast, thorough evaluation
Effort/Impact scoring1-5 scaleSimple prioritization math

Related Skills

  • assess-complexity - Task complexity assessment
  • verify - Post-implementation verification
  • code-review-playbook - Code review patterns
  • quality-gates - Quality gate patterns

Version: 1.0.0 (January 2026)