autoworkflow 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/audit.md +37 -0
- package/package.json +1 -1
|
@@ -49,6 +49,43 @@ Deep code review of a specific feature. Check for:
|
|
|
49
49
|
- [ ] No circular dependencies
|
|
50
50
|
- [ ] Proper separation of concerns
|
|
51
51
|
|
|
52
|
+
**Feature Completeness (AI Analysis):**
|
|
53
|
+
|
|
54
|
+
Claude analyzes the code itself to determine what's missing. **ALWAYS runs.**
|
|
55
|
+
|
|
56
|
+
| BLUEPRINT.md Status | Audit Behavior |
|
|
57
|
+
|---------------------|----------------|
|
|
58
|
+
| **Exists** | Check against BLUEPRINT requirements + AI code analysis |
|
|
59
|
+
| **Missing** | AI code analysis only (still fully functional) |
|
|
60
|
+
|
|
61
|
+
| If You Find... | Check For... |
|
|
62
|
+
|----------------|--------------|
|
|
63
|
+
| API endpoint | Frontend component that calls it |
|
|
64
|
+
| Form component | Validation, error states, loading state, success feedback |
|
|
65
|
+
| CRUD operations | All 4 operations? Delete confirmation modal? |
|
|
66
|
+
| Auth-protected route | Auth check? Redirect on unauthorized? |
|
|
67
|
+
| Data fetching | Loading skeleton? Error state? Empty state? Retry? |
|
|
68
|
+
| User action | Optimistic UI? Rollback on failure? Toast feedback? |
|
|
69
|
+
| List/table | Pagination? Search/filter? Sort? Empty state? |
|
|
70
|
+
| File upload | Progress indicator? Size/type validation? Error handling? |
|
|
71
|
+
| Modal/dialog | Close on escape? Click outside to close? Focus trap? |
|
|
72
|
+
| Navigation | Active state? Mobile menu? Breadcrumbs where needed? |
|
|
73
|
+
|
|
74
|
+
**Completeness Score:**
|
|
75
|
+
```
|
|
76
|
+
Feature: [Name]
|
|
77
|
+
├── Backend: ✅ API exists
|
|
78
|
+
├── Frontend: ✅ UI calls API
|
|
79
|
+
├── States: ⚠️ Missing error handling
|
|
80
|
+
├── UX: ⚠️ No loading indicator
|
|
81
|
+
└── Score: 75% complete
|
|
82
|
+
|
|
83
|
+
Missing for 100%:
|
|
84
|
+
1. Add error boundary around component
|
|
85
|
+
2. Add loading skeleton during fetch
|
|
86
|
+
3. Add empty state for no results
|
|
87
|
+
```
|
|
88
|
+
|
|
52
89
|
### Output Format (Feature Audit):
|
|
53
90
|
```
|
|
54
91
|
## Audit Report: [Feature Name]
|