project-scanner
10
总安装量
9
周安装量
#30278
全站排名
安装命令
npx skills add https://github.com/khaihuynhvn/mcp-server_ai-interaction --skill project-scanner
Agent 安装分布
claude-code
8
opencode
6
codex
6
antigravity
5
windsurf
4
Skill 文档
Project Scanner Workflow
Scanner Location
C:\Users\BLogic\.cursor\user-scripts\project-scanner\
Commands
# 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"
Output Files
| File | When |
|---|---|
output.json |
Full scan |
output-query.json |
Query mode |
When to Scan
| 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 |
When NOT to Scan
- Simple typo fix
- Private method internal change
- New isolated code (0 callers)
- Already have context
- Comment/doc updates
Quality Gates (MANDATORY)
| Trigger | MUST Check |
|---|---|
| Change method signature | calledBy |
| Class extends another | inheritance |
| Shared service | summary.mostUsedServices |
| Delete/rename | All references |
Reading Output (Token-Efficient)
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 services
Pattern-First Principle
Before CREATE â Query similar existing code
Before EDIT â Check existing patterns
Follow 100% existing style
Example Workflow
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
Integration
Scanner ÄÆ°á»£c reference từ:
angular-coding/SKILL.mdâ Pre-edit analysis