@tyroneross/navgator 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +23 -0
- package/.claude-plugin/plugin.json +10 -7
- package/CLAUDE.md +72 -0
- package/README.md +49 -80
- package/hooks/hooks.json +5 -5
- package/package.json +5 -3
- package/scripts/install-plugin.sh +98 -0
- package/skills/check/SKILL.md +64 -0
- package/skills/connections/SKILL.md +54 -0
- package/skills/diagram/SKILL.md +64 -0
- package/skills/export/SKILL.md +49 -0
- package/skills/impact/SKILL.md +58 -0
- package/skills/install/SKILL.md +94 -0
- package/skills/scan/SKILL.md +75 -0
- package/skills/status/SKILL.md +37 -0
- package/skills/ui/SKILL.md +43 -0
- package/skills/update/SKILL.md +43 -0
- package/web/.next/standalone/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/web/.next/build-manifest.json +2 -2
- package/web/.next/standalone/web/.next/prerender-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/standalone/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.html +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.html +1 -1
- package/web/.next/standalone/web/.next/server/app/index.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/pages/404.html +1 -1
- package/web/.next/standalone/web/.next/server/pages/500.html +2 -2
- package/web/.next/standalone/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/server-reference-manifest.json +1 -1
- package/commands/nav-check.md +0 -64
- package/commands/nav-connections.md +0 -58
- package/commands/nav-diagram.md +0 -106
- package/commands/nav-export.md +0 -71
- package/commands/nav-impact.md +0 -58
- package/commands/nav-scan.md +0 -46
- package/commands/nav-status.md +0 -44
- package/skills/architecture-awareness/SKILL.md +0 -141
- /package/web/.next/standalone/web/.next/static/{WH0NvTGUEDs9QVUjcPJKx → P-ZMQO7_Wnj487ks3guqa}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{WH0NvTGUEDs9QVUjcPJKx → P-ZMQO7_Wnj487ks3guqa}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/{WH0NvTGUEDs9QVUjcPJKx → P-ZMQO7_Wnj487ks3guqa}/_ssgManifest.js +0 -0
- /package/web/.next/static/{WH0NvTGUEDs9QVUjcPJKx → P-ZMQO7_Wnj487ks3guqa}/_buildManifest.js +0 -0
- /package/web/.next/static/{WH0NvTGUEDs9QVUjcPJKx → P-ZMQO7_Wnj487ks3guqa}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{WH0NvTGUEDs9QVUjcPJKx → P-ZMQO7_Wnj487ks3guqa}/_ssgManifest.js +0 -0
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Architecture Awareness
|
|
3
|
-
description: Use this skill BEFORE making architectural changes. Triggers on "what packages", "what framework", "dependencies", "tech stack", "what version", "upgrade", "update packages", "add library", "install", "architecture", "what uses", "what calls", "impact of changing", database changes, API modifications, service integrations, or refactoring discussions.
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Architecture Awareness Workflow
|
|
8
|
-
|
|
9
|
-
**Core principle:** Know your stack before you change it.
|
|
10
|
-
|
|
11
|
-
## CRITICAL: When to Check NavGator
|
|
12
|
-
|
|
13
|
-
### ALWAYS check NavGator impact BEFORE modifying:
|
|
14
|
-
|
|
15
|
-
1. **Database schemas/models**
|
|
16
|
-
```bash
|
|
17
|
-
navgator impact "users-table" # See which APIs touch this table
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
2. **API endpoints**
|
|
21
|
-
```bash
|
|
22
|
-
navgator connections "api-endpoint" # See frontend components that call it
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
3. **External service integrations** (Stripe, OpenAI, Twilio, etc.)
|
|
26
|
-
```bash
|
|
27
|
-
navgator impact "Stripe" # See all files using this service
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
4. **Queue workers/job handlers**
|
|
31
|
-
```bash
|
|
32
|
-
navgator connections "bullmq" # See what triggers and is triggered by queues
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
5. **Shared utilities** (lib/, utils/, helpers/)
|
|
36
|
-
```bash
|
|
37
|
-
navgator impact "utility-name" # These often have wide impact
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Quick Reference
|
|
41
|
-
|
|
42
|
-
| Situation | Command | Why |
|
|
43
|
-
|-----------|---------|-----|
|
|
44
|
-
| Before changing DB schema | `navgator impact <table>` | Find all APIs that need updating |
|
|
45
|
-
| Before modifying API | `navgator connections <endpoint>` | Find frontend code to update |
|
|
46
|
-
| Before touching service code | `navgator impact <service>` | Find all usage locations |
|
|
47
|
-
| After npm install | `navgator scan --quick` | Update package tracking |
|
|
48
|
-
| After migrations | `navgator scan` | Update schema connections |
|
|
49
|
-
| Starting new session | `navgator status` | Check if data is fresh |
|
|
50
|
-
|
|
51
|
-
## Workflow Examples
|
|
52
|
-
|
|
53
|
-
### Example 1: Changing a Database Table
|
|
54
|
-
|
|
55
|
-
**Before:**
|
|
56
|
-
```bash
|
|
57
|
-
navgator impact "users"
|
|
58
|
-
```
|
|
59
|
-
This shows:
|
|
60
|
-
- Which API endpoints read/write this table
|
|
61
|
-
- Which services depend on user data
|
|
62
|
-
- File:line locations to update
|
|
63
|
-
|
|
64
|
-
**Then:** Make your changes knowing what else needs updating.
|
|
65
|
-
|
|
66
|
-
**After:**
|
|
67
|
-
```bash
|
|
68
|
-
navgator scan
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
### Example 2: Adding a New Service Integration
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
# Check current architecture
|
|
75
|
-
navgator status
|
|
76
|
-
|
|
77
|
-
# Add the package
|
|
78
|
-
npm install stripe
|
|
79
|
-
|
|
80
|
-
# Update architecture
|
|
81
|
-
navgator scan --quick
|
|
82
|
-
|
|
83
|
-
# Start implementing - NavGator now tracks your Stripe calls
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Example 3: Refactoring an API Endpoint
|
|
87
|
-
|
|
88
|
-
```bash
|
|
89
|
-
# Before refactoring
|
|
90
|
-
navgator connections "api/users"
|
|
91
|
-
|
|
92
|
-
# Shows:
|
|
93
|
-
# - Frontend components calling this endpoint
|
|
94
|
-
# - Services that depend on it
|
|
95
|
-
# - Exact file:line references
|
|
96
|
-
|
|
97
|
-
# Now you know what else needs updating when you change the API contract
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## Session Start Checklist
|
|
101
|
-
|
|
102
|
-
When starting work on a project:
|
|
103
|
-
|
|
104
|
-
1. Check if architecture data exists: `navgator status`
|
|
105
|
-
2. If missing or stale (>24h): `navgator setup` or `navgator scan`
|
|
106
|
-
3. Before any architectural change: `navgator impact <component>`
|
|
107
|
-
|
|
108
|
-
## What NavGator Tracks
|
|
109
|
-
|
|
110
|
-
**Components:**
|
|
111
|
-
- Packages (npm, pip, cargo, go, gem, composer)
|
|
112
|
-
- Frameworks (Next.js, React, Django, FastAPI)
|
|
113
|
-
- Databases (PostgreSQL, MongoDB, Redis, Supabase)
|
|
114
|
-
- Queues (BullMQ, Celery, SQS)
|
|
115
|
-
- Infrastructure (Railway, Vercel, Docker)
|
|
116
|
-
- External Services (Stripe, OpenAI, Twilio)
|
|
117
|
-
|
|
118
|
-
**Connections:**
|
|
119
|
-
- API → Database (which endpoints touch which tables)
|
|
120
|
-
- Frontend → API (which components call which endpoints)
|
|
121
|
-
- Queue → Handler (which jobs trigger which code)
|
|
122
|
-
- Service calls (where external APIs are used, with file:line)
|
|
123
|
-
|
|
124
|
-
## Commands
|
|
125
|
-
|
|
126
|
-
| Command | Use When |
|
|
127
|
-
|---------|----------|
|
|
128
|
-
| `navgator setup` | First time scanning a project |
|
|
129
|
-
| `navgator scan` | Refresh after changes |
|
|
130
|
-
| `navgator scan --quick` | After package install |
|
|
131
|
-
| `navgator status` | Check scan freshness |
|
|
132
|
-
| `navgator impact <X>` | Before modifying component X |
|
|
133
|
-
| `navgator connections <X>` | Understanding how X is connected |
|
|
134
|
-
| `navgator diagram` | Generate visual architecture |
|
|
135
|
-
| `navgator ui` | Launch visual dashboard |
|
|
136
|
-
|
|
137
|
-
## Key Principle
|
|
138
|
-
|
|
139
|
-
**Don't modify architecture-critical code without checking impact first.**
|
|
140
|
-
|
|
141
|
-
The few seconds to run `navgator impact` can save hours of debugging missed updates.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|