بنقرة واحدة
sh-analyze
Code quality, security, and performance scan with FIPD-classified findings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Code quality, security, and performance scan with FIPD-classified findings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Multi-expert AI/ML specification review with scoring gate — model architecture, evaluation rigor, safety/alignment, and production readiness for AI systems and LLM apps
Multi-expert architecture review — boundaries, integration patterns, failure modes, evolvability
Multi-expert business analysis with advisory recommendations (no scoring gate)
Multi-expert intelligence pipeline review — discovery quality, ingestion resilience, scoring validity, platform compliance, taxonomy coherence, cost efficiency
Multi-expert mobile/native app specification review with scoring gate — Android, iOS, Swift, SwiftUI
Multi-expert personal-development review with scoring gate — learnability, adoption, human-centeredness, and capability impact for talent/learning/AI-augmentation designs
| name | sh-analyze |
| description | Code quality, security, and performance scan with FIPD-classified findings |
| model | sonnet |
Comprehensive code scan across quality, security, performance, and architecture domains. Findings classified using FIPD taxonomy for actionable triage.
Identify the analysis target. Default: entire project. Determine focus: quality | security | performance | architecture | all.
Every finding gets exactly one classification:
| Class | Meaning | Action |
|---|---|---|
| F - Fix | Clear defect with known solution | Apply fix directly |
| I - Investigate | Suspicious pattern, root cause unclear | Debug before fixing |
| P - Plan | Improvement requiring design work | Create task/US first |
| D - Decide | Trade-off requiring human judgment | Present options to user |
Present findings grouped by FIPD class, then by severity (High/Medium/Low).
## Findings
### Fix (3)
- [HIGH] SQL injection in user_search() — src/api/users.py:42
- [MED] Hardcoded timeout of 30s — src/services/http.py:18
- [LOW] Unused import — src/utils/helpers.py:3
### Investigate (1)
- [MED] Memory grows linearly during batch — src/workers/processor.py:88
### Plan (2)
- [MED] ValidationService bypassed in 3 routes — needs refactor US
- [LOW] No pagination on /api/items endpoint
### Decide (1)
- [MED] Sync vs async for external API calls — perf vs complexity trade-off
End with metrics: total findings, breakdown by class, top 3 recommendations.
Will: Static analysis, pattern detection, severity-rated findings with FIPD classification.
Will not: Modify code, run dynamic analysis, or apply fixes (use /sh:debug for that).
Review findings. Use /sh:debug for Investigation items, create tasks for Plan items.