project-scanner

Codebase analysis tool for quality-first editing. Scan before edit to understand relationships, patterns, and impact.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "project-scanner" with this command: npx skills add khaihuynhvn/mcp-server_ai-interaction/khaihuynhvn-mcp-server-ai-interaction-project-scanner

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

FileWhen
output.jsonFull scan
output-query.jsonQuery mode

When to Scan

SituationAction
First time với projectFull scan
Edit shared service/utilityQuery class
Change method signatureQuery class → check calledBy
Delete/renameQuery → check all references
Create new codeQuery 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)

TriggerMUST Check
Change method signaturecalledBy
Class extends anotherinheritance
Shared servicesummary.mostUsedServices
Delete/renameAll references

Reading Output (Token-Efficient)

Full scan → Read ONLY summary section first
Query → Read calledBy + inheritance

Key sections:

  • calledBy: Ai gọi method này
  • callChain: Multi-level call path
  • inheritance: Parent/child classes
  • deadCode: Unused methods
  • summary.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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

angular-coding

No summary provided by upstream source.

Repository SourceNeeds Review
General

web-browsing

No summary provided by upstream source.

Repository SourceNeeds Review
General

ai-interaction

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

brave-api-free-search

Free Brave API alternative for OpenClaw. Completely FREE web search. Secure localhost-only deployment. Supports hidden --dev flag.

Registry SourceRecently Updated