一键导入
project-scanner
Codebase analysis tool for quality-first editing. Scan before edit to understand relationships, patterns, and impact.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Codebase analysis tool for quality-first editing. Scan before edit to understand relationships, patterns, and impact.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Continuous communication channel via MCP AI Interaction tool. Activate with 'khởi động ai_interaction'. Enables real-time Vietnamese conversation with action-first principle - execute first, explain minimally.
Angular coding standards with version-aware patterns. Automatically detects Angular version from package.json and applies appropriate patterns. Use when writing Angular components, services, or TypeScript code.
Web research with automatic fallback mechanism. WebFetch → Browser MCP → User assistance via ai_interaction. Use when need to browse web.
| name | project-scanner |
| description | Codebase analysis tool for quality-first editing. Scan before edit to understand relationships, patterns, and impact. |
C:\Users\BLogic\.cursor\user-scripts\project-scanner\
# Full scan
npx tsx scan.ts --path "<project-src-path>" --framework angular
# Query specific
npx tsx scan.ts --path "<project-src-path>" --framework angular --query "ClassName"
| File | When |
|---|---|
output.json | Full scan |
output-query.json | Query mode |
| Situation | Action |
|---|---|
| First time với project | Full scan |
| Edit shared service/utility | Query class |
| Change method signature | Query class → check calledBy |
| Delete/rename | Query → check all references |
| Create new code | Query similar existing |
| Trigger | MUST Check |
|---|---|
| Change method signature | calledBy |
| Class extends another | inheritance |
| Shared service | summary.mostUsedServices |
| Delete/rename | All references |
Full scan → Read ONLY summary section first
Query → Read calledBy + inheritance
Key sections:
calledBy: Ai gọi method nàycallChain: Multi-level call pathinheritance: Parent/child classesdeadCode: Unused methodssummary.mostUsedServices: High-impact servicesBefore CREATE → Query similar existing code
Before EDIT → Check existing patterns
Follow 100% existing style
User: "Sửa SalonService.list()"
1. Query SalonService
2. Read calledBy → Biết SalonsComponent gọi
3. Check signature → Không đổi thì OK
4. Edit safely
Scanner được reference từ:
angular-coding/SKILL.md → Pre-edit analysis