Manusで任意のスキルを実行
ワンクリックで
ワンクリックで
ワンクリックでManusで任意のスキルを実行
始める$pwd:
$ git log --oneline --stat
stars:214
forks:29
updated:2026年1月21日 11:17
SKILL.md
| name | code-quality |
| description | Analyze code quality using ESLint and project-specific patterns |
Analyze and improve code quality for the quantified-self Angular application.
# Run linter
npm run lint
# Run linter with auto-fix
ng lint --fix
# Type check without emit
npx tsc --noEmit
# Build check (catches AOT issues)
npm run build
[ ] Components use OnPush change detection (preferred)
[ ] Services use inject() function (preferred) or constructor DI
[ ] Signals used for local component state (preferred)
[ ] NgModules structure maintained (standalone: false)
[ ] RxJS observables properly unsubscribed
[ ] Async pipe used in templates where possible
Per material-design-strict.md:
[ ] Using native Angular Material components
[ ] All colors use --mat-sys-* variables
[ ] Typography uses var(--mat-sys-*)
[ ] No custom utility classes for colors/borders/shadows
[ ] Dialogs use global qs-dialog-container class
[ ] Bailout-first / return-early patterns
[ ] No deep if/else nesting
[ ] SCSS used for component styling
[ ] Firebase modular SDK imports (@angular/fire/*)
[ ] BrowserCompatibilityService used for modern APIs
## Code Quality Report: [Component/Feature]
### Files Analyzed
- [list of files]
### Summary
| Category | Issues |
|----------|--------|
| Critical | X |
| High | X |
| Medium | X |
| Low | X |
### Findings
#### [Severity] Issue Title
- **File**: `path/to/file.ts:line`
- **Issue**: Description
- **Fix**: Recommended solution
### Recommendations
1. [Priority action items]
# Build with stats
ng build --stats-json
# Analyze (if using webpack-bundle-analyzer)
npx webpack-bundle-analyzer dist/browser/stats.json
| Issue | Detection | Fix |
|---|---|---|
| Large bundles | Build output size | Lazy load modules |
| Memory leaks | Repeated subscriptions | takeUntilDestroyed() |
| Slow change detection | Frequent re-renders | OnPush + Signals |
| N+1 Firestore queries | Multiple doc reads | Batch with collectionData |