@symbo.ls/mcp 1.0.0 → 1.0.4
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/settings.local.json +9 -0
- package/README.md +46 -150
- package/bin/symbols-mcp.js +17 -0
- package/generate-mcpb.sh +17 -0
- package/manifest.json +64 -0
- package/package.json +8 -13
- package/publish.sh +51 -0
- package/pyproject.toml +4 -10
- package/server.json +32 -0
- package/symbols_mcp/__init__.py +1 -1
- package/symbols_mcp/server.py +18 -773
- package/symbols_mcp/skills/AUDIT.md +287 -0
- package/symbols_mcp/skills/DEFAULT_COMPONENTS.md +1939 -0
- package/symbols_mcp/skills/DEFAULT_DESIGN_SYSTEM.md +468 -0
- package/symbols_mcp/skills/OPTIMIZATIONS_FOR_AGENT.md +253 -0
- package/symbols_mcp/skills/PROJECT_SETUP.md +217 -0
- package/symbols_mcp/skills/REMOTE_PREVIEW.md +144 -0
- package/symbols_mcp/skills/SEO-METADATA.md +110 -0
- package/uv.lock +826 -0
- package/.env.example +0 -16
- package/.env.railway +0 -13
- package/LICENSE +0 -21
- package/mcp.json +0 -57
- package/railway.toml +0 -26
- package/run.sh +0 -17
- package/symbols_mcp/skills/GARY_TAN.md +0 -80
- package/windsurf-mcp-config.json +0 -18
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
# Symbols / DOMQL v3 — Full Audit, Enforcement & Feedback Framework
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## 1. MCP Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install symbols-mcp
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 2. MCP Server Configuration
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"mcpServers": {
|
|
18
|
+
"symbols": {
|
|
19
|
+
"command": "uvx",
|
|
20
|
+
"args": ["symbols-mcp"],
|
|
21
|
+
"env": {
|
|
22
|
+
"SYMBOLS_SKILLS_DIR": "/path/to/your/skills"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 3. Authority Model
|
|
32
|
+
|
|
33
|
+
Force usage of the MCP server for all analysis.
|
|
34
|
+
|
|
35
|
+
No file is optional.
|
|
36
|
+
No rule is advisory.
|
|
37
|
+
|
|
38
|
+
Conflict resolution priority:
|
|
39
|
+
|
|
40
|
+
1. DOMQL v3 conventions
|
|
41
|
+
2. Architectural direction
|
|
42
|
+
3. Design system integrity
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## 4. Mandatory Skills Coverage
|
|
47
|
+
|
|
48
|
+
### Accessibility
|
|
49
|
+
|
|
50
|
+
- ACCESSIBILITY
|
|
51
|
+
- ACCESSIBILITY_AUDITORY
|
|
52
|
+
|
|
53
|
+
### Design System
|
|
54
|
+
|
|
55
|
+
- DEFAULT_DESIGN_SYSTEM
|
|
56
|
+
- DESIGN_SYSTEM_CONFIG
|
|
57
|
+
- DESIGN_SYSTEM_IN_PROPS
|
|
58
|
+
- DESIGN_SYSTEM_ARCHITECT
|
|
59
|
+
|
|
60
|
+
### DOMQL / Migration
|
|
61
|
+
|
|
62
|
+
- DOMQL_v2-v3_MIGRATION
|
|
63
|
+
- MIGRATE_TO_SYMBOLS
|
|
64
|
+
|
|
65
|
+
### UI / UX / Direction
|
|
66
|
+
|
|
67
|
+
- UI_UX_PATTERNS
|
|
68
|
+
- DESIGN_DIRECTION
|
|
69
|
+
- DESIGN_CRITIQUE
|
|
70
|
+
- DESIGN_TREND
|
|
71
|
+
- FIGMA_MATCHING
|
|
72
|
+
|
|
73
|
+
### Components
|
|
74
|
+
|
|
75
|
+
- BUILT_IN_COMPONENTS
|
|
76
|
+
- DEFAULT_COMPONENTS
|
|
77
|
+
|
|
78
|
+
### Architecture / Setup
|
|
79
|
+
|
|
80
|
+
- PROJECT_SETUP
|
|
81
|
+
- QUICKSTART
|
|
82
|
+
- CLI_QUICK_START
|
|
83
|
+
- SYMBOLS_LOCAL_INSTRUCTIONS
|
|
84
|
+
- REMOTE_PREVIEW
|
|
85
|
+
- OPTIMIZATIONS_FOR_AGENT
|
|
86
|
+
|
|
87
|
+
### Brand / Presentation
|
|
88
|
+
|
|
89
|
+
- BRAND_INDENTITY
|
|
90
|
+
- MARKETING_ASSETS
|
|
91
|
+
- THE_PRESENTATION
|
|
92
|
+
|
|
93
|
+
### Meta / Agent
|
|
94
|
+
|
|
95
|
+
- AGENT_INSTRUCTIONS
|
|
96
|
+
|
|
97
|
+
### SEO
|
|
98
|
+
|
|
99
|
+
- SEO-METADATA
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## 5. Full `smbls/` Codebase Audit Scope
|
|
104
|
+
|
|
105
|
+
Audit the entire `smbls/` directory without exception.
|
|
106
|
+
|
|
107
|
+
No partial scans.
|
|
108
|
+
No selective fixes.
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## 6. Audit Phases
|
|
113
|
+
|
|
114
|
+
### Phase 1 — Structural & Syntax Integrity
|
|
115
|
+
|
|
116
|
+
- Eliminate all critical syntax errors.
|
|
117
|
+
- Remove legacy DOMQL v2 patterns.
|
|
118
|
+
- Enforce DOMQL v3 structure.
|
|
119
|
+
- Normalize event handler conventions.
|
|
120
|
+
- Standardize shorthand props.
|
|
121
|
+
- Enforce correct atom usage.
|
|
122
|
+
- Enforce state patterns.
|
|
123
|
+
- Validate dynamic children handling.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
### Phase 2 — Design System Enforcement
|
|
128
|
+
|
|
129
|
+
- Replace hardcoded styles with tokens.
|
|
130
|
+
- Enforce design tokens in props.
|
|
131
|
+
- Validate spacing, typography, radii, color, shadows.
|
|
132
|
+
- Align with DEFAULT_DESIGN_SYSTEM.md and DESIGN_SYSTEM_CONFIG.md.
|
|
133
|
+
- Remove visual drift.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
### Phase 3 — Component Discipline
|
|
138
|
+
|
|
139
|
+
- Replace custom hacks with built-in components where applicable.
|
|
140
|
+
- Enforce BUILT_IN_COMPONENTS.md.
|
|
141
|
+
- Align with DEFAULT_COMPONENTS.md.
|
|
142
|
+
- Remove duplication.
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
### Phase 4 — Accessibility Compliance
|
|
147
|
+
|
|
148
|
+
- Semantic HTML validation.
|
|
149
|
+
- Keyboard navigation compliance.
|
|
150
|
+
- ARIA correctness.
|
|
151
|
+
- Auditory accessibility patterns.
|
|
152
|
+
- Contrast enforcement.
|
|
153
|
+
- Interaction feedback correctness.
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
### Phase 5 — Icons & Visual Consistency
|
|
158
|
+
|
|
159
|
+
- Standardize icon system.
|
|
160
|
+
- Remove mixed icon sets.
|
|
161
|
+
- Align with design system scale and weight.
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
### Phase 6 — SEO & Metadata
|
|
166
|
+
|
|
167
|
+
- Enforce structured metadata.
|
|
168
|
+
- Validate semantic markup.
|
|
169
|
+
- Apply SEO-METADATA.md rules.
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
### Phase 7 — UI / UX Coherence
|
|
174
|
+
|
|
175
|
+
- Align with DESIGN_DIRECTION.md.
|
|
176
|
+
- Enforce hierarchy discipline.
|
|
177
|
+
- Remove layout inconsistencies.
|
|
178
|
+
- Validate Figma-to-code fidelity.
|
|
179
|
+
- Remove visual noise.
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 7. Execution Order
|
|
184
|
+
|
|
185
|
+
1. Full static audit.
|
|
186
|
+
2. Categorized issue extraction.
|
|
187
|
+
3. Refactor plan generation.
|
|
188
|
+
4. Structural fixes.
|
|
189
|
+
5. Design system fixes.
|
|
190
|
+
6. Accessibility fixes.
|
|
191
|
+
7. Visual polish.
|
|
192
|
+
8. Final consistency sweep.
|
|
193
|
+
|
|
194
|
+
No cosmetic adjustments before structural compliance.
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## 8. Thread-Wide Findings Extraction
|
|
199
|
+
|
|
200
|
+
From the entire conversation history:
|
|
201
|
+
|
|
202
|
+
Collect and normalize:
|
|
203
|
+
|
|
204
|
+
- All reported bugs.
|
|
205
|
+
- All recurring friction points.
|
|
206
|
+
- All misuse of Symbols patterns.
|
|
207
|
+
- All unclear API usage.
|
|
208
|
+
- All architectural inconsistencies.
|
|
209
|
+
- All design complaints.
|
|
210
|
+
- All ambiguity in documentation.
|
|
211
|
+
|
|
212
|
+
Deduplicate and classify.
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## 9. Feedback Documentation Output
|
|
217
|
+
|
|
218
|
+
Generate or update the following files:
|
|
219
|
+
|
|
220
|
+
### symbols-feedback.md
|
|
221
|
+
|
|
222
|
+
Scope: Framework-level issues only.
|
|
223
|
+
|
|
224
|
+
Include:
|
|
225
|
+
|
|
226
|
+
- DOMQL v3 violations.
|
|
227
|
+
- Event handler misuse.
|
|
228
|
+
- Atom/state mispatterns.
|
|
229
|
+
- Shorthand inconsistencies.
|
|
230
|
+
- Dynamic children misuse.
|
|
231
|
+
- Design system misuse.
|
|
232
|
+
- Migration errors.
|
|
233
|
+
- Accessibility framework gaps.
|
|
234
|
+
- Architectural inconsistencies.
|
|
235
|
+
- Documentation ambiguity.
|
|
236
|
+
- Agent friction.
|
|
237
|
+
|
|
238
|
+
Strictly framework-level.
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
### project-feedback.md
|
|
243
|
+
|
|
244
|
+
Scope: Project-specific issues only.
|
|
245
|
+
|
|
246
|
+
Include:
|
|
247
|
+
|
|
248
|
+
- Design direction inconsistencies.
|
|
249
|
+
- UX confusion.
|
|
250
|
+
- Visual imbalance.
|
|
251
|
+
- Layout flaws.
|
|
252
|
+
- Component misuse specific to project.
|
|
253
|
+
- Brand drift.
|
|
254
|
+
- Interaction flaws.
|
|
255
|
+
- Missing states.
|
|
256
|
+
- SEO implementation errors.
|
|
257
|
+
- Bug reports.
|
|
258
|
+
|
|
259
|
+
Strictly implementation-level.
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## 10. Severity Classification
|
|
264
|
+
|
|
265
|
+
All findings must be categorized:
|
|
266
|
+
|
|
267
|
+
- Critical — Breaking, unsafe, or structurally invalid.
|
|
268
|
+
- Structural — Architecture misalignment.
|
|
269
|
+
- Systemic — Pattern-level or repeated misuse.
|
|
270
|
+
- Cosmetic — Visual or minor consistency issues.
|
|
271
|
+
|
|
272
|
+
No category mixing.
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## 11. Output Requirements
|
|
277
|
+
|
|
278
|
+
Deliver:
|
|
279
|
+
|
|
280
|
+
- Executive audit summary.
|
|
281
|
+
- Severity breakdown.
|
|
282
|
+
- Refactor roadmap.
|
|
283
|
+
- Clear separation between:
|
|
284
|
+
- Framework issues (Symbols-level)
|
|
285
|
+
- Project issues (Implementation-level)
|
|
286
|
+
|
|
287
|
+
Enforce full DOMQL v3 purity across the entire codebase.
|