AgentSkillsCN

feature-review

在任何细致的评审开始时,使用此技能以确保结构一致。当您启动任何细致的评审工作流,需要统一的结构来捕捉上下文与发现,确保评审结果具有可比性时,可优先选用此技能。切勿在无需正式评审的快速补课中使用——请改用补课。切勿在:以差异分析为核心的场景中——请改用差异分析。

SKILL.md
--- frontmatter
name: feature-review
description: |
  Feature review and prioritization with RICE/WSJF/Kano scoring. Creates GitHub issues for suggestions.

  feature review, prioritization, RICE, WSJF, roadmap, backlog
  Use when: reviewing features or suggesting new features
  DO NOT use when: evaluating single feature scope - use scope-guard.
category: workflow-methodology
tags: [feature-review, prioritization, RICE, WSJF, Kano, roadmap, backlog]
dependencies:
  - imbue:scope-guard
  - imbue:review-core
tools:
  - gh (GitHub CLI)
usage_patterns:
  - feature-inventory
  - prioritization-scoring
  - suggestion-generation
  - github-integration
complexity: intermediate
estimated_tokens: 3500
modules:
  - modules/scoring-framework.md
  - modules/classification-system.md
  - modules/tradeoff-dimensions.md
  - modules/configuration.md
version: 1.4.0

Table of Contents

Verification

Run make test-feature-review to verify scoring logic after changes.

Feature Review

Review implemented features and suggest new ones using evidence-based prioritization. Create GitHub issues for accepted suggestions.

Philosophy

Feature decisions rely on data. Every feature involves tradeoffs that require evaluation. This skill uses hybrid RICE+WSJF scoring with Kano classification to prioritize work and generates actionable GitHub issues for accepted suggestions.

When To Use

  • Roadmap reviews (sprint planning, quarterly reviews).
  • Retrospective evaluations.
  • Planning new development cycles.

When NOT To Use

  • Emergency bug fixes.
  • Simple documentation updates.
  • Active implementation (use scope-guard).

Quick Start

1. Inventory Current Features

Discover and categorize existing features:

bash
/feature-review --inventory

2. Score and Classify

Evaluate features against the prioritization framework:

bash
/feature-review

3. Generate Suggestions

Review gaps and suggest new features:

bash
/feature-review --suggest

4. Upload to GitHub

Create issues for accepted suggestions:

bash
/feature-review --suggest --create-issues

Workflow

Phase 1: Feature Discovery (feature-review:inventory-complete)

Identify features by analyzing:

  1. Code artifacts: Entry points, public APIs, and configuration surfaces.
  2. Documentation: README lists, CHANGELOG entries, and user docs.
  3. Git history: Recent feature commits and branches.

Output: Feature inventory table.

Phase 2: Classification (feature-review:classified)

Classify each feature along two axes:

Axis 1: Proactive vs Reactive

TypeDefinitionExamples
ProactiveAnticipates user needs.Suggestions, prefetching.
ReactiveResponds to explicit input.Form handling, click actions.

Axis 2: Static vs Dynamic

TypeUpdate PatternStorage Model
StaticIncremental, versioned.File-based, cached.
DynamicContinuous, streaming.Database, real-time.

See classification-system.md for details.

Phase 3: Scoring (feature-review:scored)

Apply hybrid RICE+WSJF scoring:

code
Feature Score = Value Score / Cost Score

Value Score = (Reach + Impact + Business Value + Time Criticality) / 4
Cost Score = (Effort + Risk + Complexity) / 3

Adjusted Score = Feature Score * Confidence

Scoring Scale: Fibonacci (1, 2, 3, 5, 8, 13).

Thresholds:

  • > 2.5: High priority.
  • 1.5 - 2.5: Medium priority.
  • < 1.5: Low priority.

See scoring-framework.md for the framework.

Phase 4: Tradeoff Analysis (feature-review:tradeoffs-analyzed)

Evaluate each feature across quality dimensions:

DimensionQuestionScale
QualityDoes it deliver correct results?1-5
LatencyDoes it meet timing requirements?1-5
Token UsageIs it context-efficient?1-5
Resource UsageIs CPU/memory reasonable?1-5
RedundancyDoes it handle failures gracefully?1-5
ReadabilityCan others understand it?1-5
ScalabilityWill it handle 10x load?1-5
IntegrationDoes it play well with others?1-5
API SurfaceIs it backward compatible?1-5

See tradeoff-dimensions.md for criteria.

Phase 5: Gap Analysis & Suggestions (feature-review:suggestions-generated)

  1. Identify gaps: Missing Kano basics.
  2. Surface opportunities: High-value, low-effort features.
  3. Flag technical debt: Features with declining scores.
  4. Recommend actions: Build, improve, deprecate, or maintain.

Phase 6: GitHub Integration (feature-review:issues-created)

  1. Generate issue title and body from suggestions.
  2. Apply labels (feature, enhancement, priority/*).
  3. Link to related issues.
  4. Confirm with user before creation.

Configuration

Feature-review uses opinionated defaults but allows customization.

Configuration File

Create .feature-review.yaml in project root:

yaml
# .feature-review.yaml
version: 1

# Scoring weights (must sum to 1.0)
weights:
  value:
    reach: 0.25
    impact: 0.30
    business_value: 0.25
    time_criticality: 0.20
  cost:
    effort: 0.40
    risk: 0.30
    complexity: 0.30

# Score thresholds
thresholds:
  high_priority: 2.5
  medium_priority: 1.5

# Tradeoff dimension weights (0.0 to disable)
tradeoffs:
  quality: 1.0
  latency: 1.0
  token_usage: 1.0
  resource_usage: 0.8
  redundancy: 0.5
  readability: 1.0
  scalability: 0.8
  integration: 1.0
  api_surface: 1.0

See configuration.md for options.

Guardrails

These rules apply to all configurations:

  1. Minimum dimensions: Evaluate at least 5 tradeoff dimensions.
  2. Confidence requirement: Review scores below 50% confidence.
  3. Breaking change warning: Require acknowledgment for API surface changes.
  4. Backlog limit: Limit suggestion queue to 25 items.

Required TodoWrite Items

  1. feature-review:inventory-complete
  2. feature-review:classified
  3. feature-review:scored
  4. feature-review:tradeoffs-analyzed
  5. feature-review:suggestions-generated
  6. feature-review:issues-created (if requested)

Integration Points

  • imbue:scope-guard: Provides Worthiness Scores for suggestions.
  • sanctum:do-issue: Prioritizes issues with high scores.
  • superpowers:brainstorming: Evaluates new ideas against existing features.

Output Format

Feature Inventory Table

markdown
| Feature | Type | Data | Score | Priority | Status |
|---------|------|------|-------|----------|--------|
| Auth middleware | Reactive | Dynamic | 2.8 | High | Stable |
| Skill loader | Reactive | Static | 2.3 | Medium | Needs improvement |

Suggestion Report

markdown
## Feature Suggestions

### High Priority (Score > 2.5)

1. **[Feature Name]** (Score: 2.7)
   - Classification: Proactive/Dynamic
   - Value: High reach
   - Cost: Moderate effort
   - Recommendation: Build in next sprint

Related Skills

  • imbue:scope-guard: Prevent overengineering.
  • imbue:review-core: Structured review methodology.
  • sanctum:pr-review: Code-level feature review.

Reference

Troubleshooting

Common Issues

Command not found Ensure all dependencies are installed and in PATH

Permission errors Check file permissions and run with appropriate privileges

Unexpected behavior Enable verbose logging with --verbose flag