Skip to content

Features Health

Ali Sadeghi edited this page Jan 27, 2026 · 2 revisions

Features Health

Shows health status for all feature modules in the project at a glance.

Usage:

/features-health

What Gets Checked

For each feature module in feature/*/:

Check Description
Spec Does .claude/docs/{feature}/spec.md exist?
Tests How many *Test.kt files exist in commonTest?
Review Does .claude/docs/{feature}/review.md exist?

Health Criteria

Check ✅ Pass ⚠️ Warning ❌ Fail
Spec spec.md exists - spec.md missing
Tests 5+ test files 1-4 test files 0 test files
Review review.md exists - review.md missing

Example Output

## Feature Health Report

| Feature | Spec | Tests | Review | Actions |
|---------|------|-------|--------|---------|
| sample || ✅ 7 files || - |
| profile || ⚠️ 2 files || Run `/feature-review profile` |
| login || ❌ 0 files || Run `/audit-spec login` |

### Summary
- **Total Features:** 3
- **With Spec:** 2/3
- **With Tests:** 2/3
- **With Review:** 1/3

### Recommended Actions
1. `login` - Missing spec, run `/audit-spec login`
2. `login` - No tests, run `/feature-test login`
3. `profile` - No review, run `/feature-review profile`

After Health Check

Based on findings, run the appropriate command:

# For missing specs
/audit-spec {featurename}

# For missing/low tests
/feature-test {featurename}

# For missing review
/feature-review {featurename}

# For full coverage report
/coverage

Notes

  • Provides quick overview of project status
  • Spec check looks for .claude/docs/{feature}/spec.md
  • Test count is based on *Test.kt files in commonTest
  • Review check looks for .claude/docs/{feature}/review.md
  • Does not run tests or reviews (use commands for that)
  • Helps identify features needing attention

Back to Commands

Clone this wiki locally