@mohammadhprp/system-prompt 0.12.0 → 0.12.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.
Files changed (124) hide show
  1. package/framework/agents/README.md +0 -1
  2. package/framework/commands/mr.md +8 -9
  3. package/framework/mcps/README.md +0 -3
  4. package/framework/skills/README.md +5 -4
  5. package/framework/skills/effective-html/SKILL.md +63 -0
  6. package/framework/skills/effective-html/examples.md +19 -0
  7. package/framework/skills/effective-html/references/charts-and-data.md +32 -0
  8. package/framework/skills/effective-html/references/creative-direction.md +48 -0
  9. package/framework/skills/effective-html/references/design-artifact.md +78 -0
  10. package/framework/skills/effective-html/references/diagrams.md +68 -0
  11. package/framework/skills/effective-html/references/documents-and-presentations.md +28 -0
  12. package/framework/skills/effective-html/references/html-diagram.md +43 -0
  13. package/framework/skills/effective-html/references/html-plan.md +40 -0
  14. package/framework/skills/effective-html/references/html-prototype.md +97 -0
  15. package/framework/skills/effective-html/references/html-wireframe.md +81 -0
  16. package/framework/skills/effective-html/references/html.md +72 -0
  17. package/framework/skills/effective-html/references/interfaces.md +17 -0
  18. package/framework/skills/glab/SKILL.md +222 -0
  19. package/framework/skills/glab/references/commands-detailed.md +616 -0
  20. package/framework/skills/glab/references/quick-reference.md +145 -0
  21. package/framework/skills/glab/references/troubleshooting.md +669 -0
  22. package/framework/skills/great-interface/SKILL.md +43 -0
  23. package/framework/skills/great-interface/references/animations.md +205 -0
  24. package/framework/skills/great-interface/references/better-accessibility.md +106 -0
  25. package/framework/skills/great-interface/references/better-colors.md +100 -0
  26. package/framework/skills/great-interface/references/better-interface.md +132 -0
  27. package/framework/skills/great-interface/references/better-layout.md +76 -0
  28. package/framework/skills/great-interface/references/better-typography.md +157 -0
  29. package/framework/skills/great-interface/references/better-ui.md +107 -0
  30. package/framework/skills/great-interface/references/better-writing.md +109 -0
  31. package/framework/skills/great-interface/references/choosing-fonts.md +64 -0
  32. package/framework/skills/great-interface/references/color-formats.md +90 -0
  33. package/framework/skills/great-interface/references/color-usage.md +118 -0
  34. package/framework/skills/great-interface/references/contrast.md +79 -0
  35. package/framework/skills/great-interface/references/css-cheat-sheet.md +65 -0
  36. package/framework/skills/great-interface/references/details-and-accessibility.md +119 -0
  37. package/framework/skills/great-interface/references/enter-exit.md +147 -0
  38. package/framework/skills/great-interface/references/explain-interface.md +126 -0
  39. package/framework/skills/great-interface/references/find-the-effect.md +94 -0
  40. package/framework/skills/great-interface/references/focus-and-keyboard.md +131 -0
  41. package/framework/skills/great-interface/references/forms.md +84 -0
  42. package/framework/skills/great-interface/references/from-an-image.md +55 -0
  43. package/framework/skills/great-interface/references/grouping-and-alignment.md +123 -0
  44. package/framework/skills/great-interface/references/hit-areas.md +94 -0
  45. package/framework/skills/great-interface/references/icon-transitions.md +102 -0
  46. package/framework/skills/great-interface/references/icons.md +110 -0
  47. package/framework/skills/great-interface/references/interface-review.md +148 -0
  48. package/framework/skills/great-interface/references/motion-and-zoom.md +79 -0
  49. package/framework/skills/great-interface/references/no-browser.md +73 -0
  50. package/framework/skills/great-interface/references/palette-generation.md +104 -0
  51. package/framework/skills/great-interface/references/palette-structure.md +76 -0
  52. package/framework/skills/great-interface/references/performance.md +88 -0
  53. package/framework/skills/great-interface/references/picker.md +76 -0
  54. package/framework/skills/great-interface/references/read-the-system.md +178 -0
  55. package/framework/skills/great-interface/references/removed-signals.md +38 -0
  56. package/framework/skills/great-interface/references/review-format.md +46 -0
  57. package/framework/skills/great-interface/references/scope-resolution.md +88 -0
  58. package/framework/skills/great-interface/references/screen-readers.md +101 -0
  59. package/framework/skills/great-interface/references/semantics-and-aria.md +84 -0
  60. package/framework/skills/great-interface/references/spacing-and-adaptivity.md +159 -0
  61. package/framework/skills/great-interface/references/spacing-and-sizing.md +121 -0
  62. package/framework/skills/great-interface/references/surfaces.md +219 -0
  63. package/framework/skills/great-interface/references/token-naming.md +97 -0
  64. package/framework/skills/great-interface/references/variable-fonts-and-opentype.md +105 -0
  65. package/framework/skills/great-interface/references/variant.md +104 -0
  66. package/framework/skills/great-interface/references/wrapping-and-punctuation.md +55 -0
  67. package/framework/skills/improve/SKILL.md +137 -0
  68. package/framework/skills/improve/examples.md +19 -0
  69. package/framework/skills/improve/references/audit-playbook.md +130 -0
  70. package/framework/skills/improve/references/closing-the-loop.md +96 -0
  71. package/framework/skills/improve/references/plan-template.md +197 -0
  72. package/framework/skills/jira-cli/SKILL.md +260 -0
  73. package/framework/skills/jira-cli/references/commands-detailed.md +268 -0
  74. package/framework/skills/jira-cli/references/quick-reference.md +111 -0
  75. package/framework/skills/jira-cli/references/troubleshooting.md +114 -0
  76. package/framework/styles/README.md +9 -4
  77. package/framework/styles/factory/DESIGN.md +360 -0
  78. package/framework/styles/factory/README.md +32 -0
  79. package/framework/styles/factory/assets/preview.jpg +0 -0
  80. package/framework/styles/huly/DESIGN.md +449 -0
  81. package/framework/styles/huly/README.md +32 -0
  82. package/framework/styles/huly/assets/preview.jpg +0 -0
  83. package/framework/styles/notion/DESIGN.md +423 -0
  84. package/framework/styles/notion/README.md +32 -0
  85. package/framework/styles/notion/assets/preview.jpg +0 -0
  86. package/package.json +1 -1
  87. package/src/catalog.js +8 -8
  88. package/framework/agents/backend-architect.md +0 -146
  89. package/framework/mcps/github-mcp/README.md +0 -51
  90. package/framework/mcps/github-mcp/capabilities.md +0 -83
  91. package/framework/mcps/github-mcp/configs/.env.example +0 -1
  92. package/framework/mcps/github-mcp/configs/opencode.json +0 -13
  93. package/framework/mcps/github-mcp/install.md +0 -60
  94. package/framework/mcps/github-mcp/troubleshooting.md +0 -79
  95. package/framework/mcps/gitlab-mcp/README.md +0 -53
  96. package/framework/mcps/gitlab-mcp/capabilities.md +0 -216
  97. package/framework/mcps/gitlab-mcp/configs/.env.example +0 -2
  98. package/framework/mcps/gitlab-mcp/configs/opencode.json +0 -13
  99. package/framework/mcps/gitlab-mcp/install.md +0 -99
  100. package/framework/mcps/gitlab-mcp/troubleshooting.md +0 -116
  101. package/framework/mcps/jira-mcp/README.md +0 -52
  102. package/framework/mcps/jira-mcp/capabilities.md +0 -79
  103. package/framework/mcps/jira-mcp/configs/.env.example +0 -2
  104. package/framework/mcps/jira-mcp/configs/opencode.json +0 -13
  105. package/framework/mcps/jira-mcp/install.md +0 -94
  106. package/framework/mcps/jira-mcp/troubleshooting.md +0 -113
  107. package/framework/skills/brand-guidelines/LICENSE.txt +0 -202
  108. package/framework/skills/brand-guidelines/SKILL.md +0 -73
  109. package/framework/skills/gitlab-mcp/SKILL.md +0 -83
  110. package/framework/skills/gitlab-mcp/examples.md +0 -31
  111. package/framework/skills/gitlab-mcp/references/code-review.md +0 -110
  112. package/framework/skills/gitlab-mcp/references/issues.md +0 -141
  113. package/framework/skills/gitlab-mcp/references/merge-requests.md +0 -120
  114. package/framework/skills/gitlab-mcp/references/pipelines.md +0 -67
  115. package/framework/skills/gitlab-mcp/references/search.md +0 -17
  116. package/framework/skills/gitlab-mcp/references/webhooks.md +0 -32
  117. package/framework/skills/gitlab-mcp/references/work-items.md +0 -50
  118. package/framework/skills/jira-mcp/SKILL.md +0 -57
  119. package/framework/skills/jira-mcp/examples.md +0 -31
  120. package/framework/skills/jira-mcp/references/comments.md +0 -27
  121. package/framework/skills/jira-mcp/references/issues.md +0 -97
  122. package/framework/skills/jira-mcp/references/projects.md +0 -39
  123. package/framework/skills/lavish/SKILL.md +0 -67
  124. package/framework/skills/lavish/examples.md +0 -31
@@ -0,0 +1,669 @@
1
+ # glab Troubleshooting Guide
2
+
3
+ Comprehensive troubleshooting guide for common glab CLI issues and errors.
4
+
5
+ ## Installation Issues
6
+
7
+ ### Command Not Found
8
+
9
+ **Error:**
10
+ ```
11
+ command not found: glab
12
+ ```
13
+ or
14
+ ```
15
+ glab: command not found
16
+ ```
17
+
18
+ **Causes:**
19
+ - glab is not installed
20
+ - glab is not in PATH
21
+
22
+ **Solutions:**
23
+ 1. Verify installation:
24
+ ```bash
25
+ which glab
26
+ ```
27
+
28
+ 2. Install glab if missing (see main README for installation instructions)
29
+
30
+ 3. If installed but not in PATH, add to PATH:
31
+ ```bash
32
+ # Find where glab is installed
33
+ find / -name glab 2>/dev/null
34
+
35
+ # Add to PATH in ~/.bashrc or ~/.zshrc
36
+ export PATH="$PATH:/path/to/glab"
37
+ ```
38
+
39
+ 4. For Go installation, ensure `$GOPATH/bin` is in PATH:
40
+ ```bash
41
+ export PATH="$PATH:$(go env GOPATH)/bin"
42
+ ```
43
+
44
+ ### Version Conflicts
45
+
46
+ **Error:**
47
+ ```
48
+ glab: incompatible version
49
+ ```
50
+
51
+ **Solution:**
52
+ Update to the latest version:
53
+ ```bash
54
+ # macOS
55
+ brew upgrade glab
56
+
57
+ # Linux (depends on package manager)
58
+ sudo apt update && sudo apt upgrade glab
59
+ ```
60
+
61
+ ## Authentication Issues
62
+
63
+ ### 401 Unauthorized
64
+
65
+ **Error:**
66
+ ```
67
+ failed to get current user: GET https://gitlab.com/api/v4/user: 401 {message: 401 Unauthorized}
68
+ ```
69
+
70
+ **Causes:**
71
+ - Not authenticated
72
+ - Token expired
73
+ - Invalid token
74
+ - Wrong GitLab instance
75
+
76
+ **Solutions:**
77
+ 1. Authenticate:
78
+ ```bash
79
+ glab auth login
80
+ ```
81
+
82
+ 2. Check authentication status:
83
+ ```bash
84
+ glab auth status
85
+ ```
86
+
87
+ 3. Re-authenticate with new token:
88
+ ```bash
89
+ glab auth login --hostname gitlab.com --token YOUR_TOKEN
90
+ ```
91
+
92
+ 4. Verify token has correct scopes (api, read_user, write_repository)
93
+
94
+ 5. For self-hosted GitLab, ensure correct hostname:
95
+ ```bash
96
+ glab auth login --hostname gitlab.example.org
97
+ ```
98
+
99
+ ### Token Permissions
100
+
101
+ **Error:**
102
+ ```
103
+ 403 Forbidden
104
+ ```
105
+ or
106
+ ```
107
+ insufficient permissions
108
+ ```
109
+
110
+ **Causes:**
111
+ - Token lacks required scopes
112
+ - User doesn't have project permissions
113
+
114
+ **Solutions:**
115
+ 1. Create new token with required scopes:
116
+ - api
117
+ - read_api
118
+ - read_user
119
+ - write_repository
120
+ - read_repository
121
+
122
+ 2. Verify project access in GitLab web UI
123
+
124
+ 3. Check if project is private and token has access
125
+
126
+ ### Multiple Accounts
127
+
128
+ **Issue:** Working with multiple GitLab instances
129
+
130
+ **Solution:**
131
+ glab supports multiple authenticated accounts:
132
+
133
+ ```bash
134
+ # Authenticate with gitlab.com
135
+ glab auth login --hostname gitlab.com
136
+
137
+ # Authenticate with self-hosted instance
138
+ glab auth login --hostname gitlab.example.org
139
+
140
+ # Check all authenticated accounts
141
+ glab auth status
142
+
143
+ # Use specific host for command
144
+ glab mr list -R gitlab.example.org/namespace/project
145
+ ```
146
+
147
+ ## Repository Context Issues
148
+
149
+ ### Not a Git Repository
150
+
151
+ **Error:**
152
+ ```
153
+ fatal: not a git repository (or any of the parent directories): .git
154
+ ```
155
+
156
+ **Causes:**
157
+ - Running glab outside a Git repository
158
+ - Git repository not initialized
159
+
160
+ **Solutions:**
161
+ 1. Navigate to a Git repository:
162
+ ```bash
163
+ cd /path/to/your/repo
164
+ ```
165
+
166
+ 2. Or specify repository explicitly:
167
+ ```bash
168
+ glab mr list -R owner/repo
169
+ ```
170
+
171
+ 3. Initialize Git repository if needed:
172
+ ```bash
173
+ git init
174
+ git remote add origin git@gitlab.com:owner/repo.git
175
+ ```
176
+
177
+ ### Wrong Repository Detected
178
+
179
+ **Issue:** glab operating on wrong repository
180
+
181
+ **Solution:**
182
+ 1. Check current repository remote:
183
+ ```bash
184
+ git remote -v
185
+ ```
186
+
187
+ 2. Specify correct repository:
188
+ ```bash
189
+ glab mr list -R owner/correct-repo
190
+ ```
191
+
192
+ 3. Update Git remote if wrong:
193
+ ```bash
194
+ git remote set-url origin git@gitlab.com:owner/correct-repo.git
195
+ ```
196
+
197
+ ### 404 Project Not Found
198
+
199
+ **Error:**
200
+ ```
201
+ 404 Project Not Found
202
+ ```
203
+
204
+ **Causes:**
205
+ - Repository doesn't exist
206
+ - Wrong namespace/project name
207
+ - No access permissions
208
+ - Wrong GitLab instance
209
+
210
+ **Solutions:**
211
+ 1. Verify repository name:
212
+ ```bash
213
+ # Check in GitLab web UI
214
+ # Correct format: namespace/project
215
+ ```
216
+
217
+ 2. Check you have access to the project
218
+
219
+ 3. Verify GitLab instance:
220
+ ```bash
221
+ glab auth status
222
+ ```
223
+
224
+ 4. For self-hosted, set correct host:
225
+ ```bash
226
+ GITLAB_HOST=gitlab.example.org glab repo view
227
+ ```
228
+
229
+ ## Merge Request Issues
230
+
231
+ ### Source Branch Already Has MR
232
+
233
+ **Error:**
234
+ ```
235
+ failed to create merge request: source branch already has a merge request
236
+ ```
237
+
238
+ **Cause:**
239
+ - A merge request already exists for this branch
240
+
241
+ **Solutions:**
242
+ 1. List existing MRs to find it:
243
+ ```bash
244
+ glab mr list
245
+ glab mr list --source-branch=$(git branch --show-current)
246
+ ```
247
+
248
+ 2. View the existing MR:
249
+ ```bash
250
+ glab mr view <mr-number>
251
+ ```
252
+
253
+ 3. Update existing MR instead of creating new one:
254
+ ```bash
255
+ glab mr update <mr-number> --title "New title"
256
+ ```
257
+
258
+ ### Cannot Merge: Conflicts Exist
259
+
260
+ **Error:**
261
+ ```
262
+ Cannot merge: merge conflicts exist
263
+ ```
264
+
265
+ **Solutions:**
266
+ 1. Checkout MR locally:
267
+ ```bash
268
+ glab mr checkout <mr-number>
269
+ ```
270
+
271
+ 2. Fetch latest target branch:
272
+ ```bash
273
+ git fetch origin main
274
+ ```
275
+
276
+ 3. Merge or rebase:
277
+ ```bash
278
+ git merge origin/main
279
+ # or
280
+ git rebase origin/main
281
+ ```
282
+
283
+ 4. Resolve conflicts and push:
284
+ ```bash
285
+ git add .
286
+ git commit
287
+ git push
288
+ ```
289
+
290
+ ### Pipeline Must Succeed
291
+
292
+ **Error:**
293
+ ```
294
+ cannot merge: pipeline must succeed
295
+ ```
296
+
297
+ **Cause:**
298
+ - Project requires successful pipeline before merge
299
+ - Pipeline is failing or pending
300
+
301
+ **Solutions:**
302
+ 1. Check pipeline status:
303
+ ```bash
304
+ glab ci status
305
+ ```
306
+
307
+ 2. View pipeline details:
308
+ ```bash
309
+ glab pipeline ci view
310
+ ```
311
+
312
+ 3. Fix pipeline failures and retry:
313
+ ```bash
314
+ glab ci retry
315
+ ```
316
+
317
+ 4. If project settings allow, force merge (not recommended):
318
+ ```bash
319
+ # Only if you have maintainer permissions
320
+ glab mr merge <mr-number> --when-pipeline-succeeds
321
+ ```
322
+
323
+ ### Cannot Push to Source Branch
324
+
325
+ **Error:**
326
+ ```
327
+ You cannot push commits to this source branch
328
+ ```
329
+
330
+ **Cause:**
331
+ - MR is from a fork
332
+ - No write access to source repository
333
+
334
+ **Solution:**
335
+ Ask MR author to make changes, or:
336
+ 1. Checkout MR:
337
+ ```bash
338
+ glab mr checkout <mr-number>
339
+ ```
340
+
341
+ 2. Make changes on their fork (requires special permissions)
342
+
343
+ ## Pipeline/CI Issues
344
+
345
+ ### Pipeline Not Found
346
+
347
+ **Error:**
348
+ ```
349
+ pipeline not found
350
+ ```
351
+
352
+ **Causes:**
353
+ - No pipeline exists for current branch
354
+ - Pipeline hasn't started yet
355
+
356
+ **Solutions:**
357
+ 1. Trigger a pipeline:
358
+ ```bash
359
+ glab ci run
360
+ ```
361
+
362
+ 2. Check if .gitlab-ci.yml exists:
363
+ ```bash
364
+ ls -la .gitlab-ci.yml
365
+ ```
366
+
367
+ 3. Verify CI/CD is enabled in project settings
368
+
369
+ ### CI Lint Errors
370
+
371
+ **Error:**
372
+ ```
373
+ .gitlab-ci.yml is invalid
374
+ ```
375
+
376
+ **Solutions:**
377
+ 1. Lint locally:
378
+ ```bash
379
+ glab ci lint
380
+ ```
381
+
382
+ 2. Common issues:
383
+ - YAML syntax errors (tabs vs spaces)
384
+ - Invalid job names
385
+ - Missing required fields
386
+ - Incorrect indentation
387
+
388
+ 3. Use GitLab CI/CD config validation in web UI
389
+
390
+ 4. Check GitLab CI/CD documentation for syntax
391
+
392
+ ### Cannot Download Artifacts
393
+
394
+ **Error:**
395
+ ```
396
+ failed to download artifacts
397
+ ```
398
+
399
+ **Causes:**
400
+ - Artifacts expired
401
+ - Job didn't produce artifacts
402
+ - Permission issues
403
+
404
+ **Solutions:**
405
+ 1. Check if job has artifacts:
406
+ ```bash
407
+ glab ci view <pipeline-id>
408
+ ```
409
+
410
+ 2. Verify artifacts haven't expired (check project settings)
411
+
412
+ 3. Run job again if needed:
413
+ ```bash
414
+ glab ci retry
415
+ ```
416
+
417
+ ## Network and Connection Issues
418
+
419
+ ### Connection Timeout
420
+
421
+ **Error:**
422
+ ```
423
+ dial tcp: i/o timeout
424
+ ```
425
+
426
+ **Causes:**
427
+ - Network connectivity issues
428
+ - Firewall blocking connection
429
+ - GitLab instance down
430
+
431
+ **Solutions:**
432
+ 1. Check network connection:
433
+ ```bash
434
+ ping gitlab.com
435
+ ```
436
+
437
+ 2. Verify GitLab status:
438
+ ```bash
439
+ curl -I https://gitlab.com
440
+ ```
441
+
442
+ 3. Check firewall/proxy settings
443
+
444
+ 4. For self-hosted, verify hostname:
445
+ ```bash
446
+ ping gitlab.example.org
447
+ ```
448
+
449
+ ### SSL Certificate Issues
450
+
451
+ **Error:**
452
+ ```
453
+ x509: certificate signed by unknown authority
454
+ ```
455
+
456
+ **Causes:**
457
+ - Self-signed certificate
458
+ - Corporate proxy
459
+ - Invalid SSL certificate
460
+
461
+ **Solutions:**
462
+ 1. For development/testing only (NOT production):
463
+ ```bash
464
+ export GIT_SSL_NO_VERIFY=true
465
+ ```
466
+
467
+ 2. Add certificate to system trust store (preferred)
468
+
469
+ 3. Configure Git to use specific CA bundle:
470
+ ```bash
471
+ git config --global http.sslCAInfo /path/to/cert.pem
472
+ ```
473
+
474
+ ## Environment Variable Issues
475
+
476
+ ### GITLAB_HOST Not Recognized
477
+
478
+ **Issue:** Commands still using gitlab.com instead of self-hosted instance
479
+
480
+ **Solutions:**
481
+ 1. Export variable in current shell:
482
+ ```bash
483
+ export GITLAB_HOST=gitlab.example.org
484
+ ```
485
+
486
+ 2. Add to shell profile (~/.bashrc, ~/.zshrc):
487
+ ```bash
488
+ echo 'export GITLAB_HOST=gitlab.example.org' >> ~/.bashrc
489
+ source ~/.bashrc
490
+ ```
491
+
492
+ 3. Or use flag for each command:
493
+ ```bash
494
+ glab mr list -R gitlab.example.org/owner/repo
495
+ ```
496
+
497
+ ### GITLAB_TOKEN Not Working
498
+
499
+ **Issue:** Token set but authentication still failing
500
+
501
+ **Solutions:**
502
+ 1. Verify token is exported:
503
+ ```bash
504
+ echo $GITLAB_TOKEN
505
+ ```
506
+
507
+ 2. Ensure no spaces in token:
508
+ ```bash
509
+ export GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx
510
+ ```
511
+
512
+ 3. Token should not be quoted in export:
513
+ ```bash
514
+ # Correct
515
+ export GITLAB_TOKEN=glpat-xxx
516
+
517
+ # Incorrect
518
+ export GITLAB_TOKEN="glpat-xxx"
519
+ ```
520
+
521
+ 4. Verify token is valid in GitLab web UI
522
+
523
+ ## Output and Display Issues
524
+
525
+ ### Garbled or Missing Output
526
+
527
+ **Issue:** Terminal output is corrupted or incomplete
528
+
529
+ **Solutions:**
530
+ 1. Disable glamour styling:
531
+ ```bash
532
+ export GLAMOUR_STYLE=notty
533
+ ```
534
+
535
+ 2. Use plain text output:
536
+ ```bash
537
+ glab mr list --output=text
538
+ ```
539
+
540
+ 3. Update terminal emulator
541
+
542
+ 4. Try different pager:
543
+ ```bash
544
+ export PAGER=less
545
+ ```
546
+
547
+ ### JSON Parsing Errors
548
+
549
+ **Issue:** Cannot parse JSON output
550
+
551
+ **Solutions:**
552
+ 1. Ensure command supports JSON:
553
+ ```bash
554
+ glab mr list --output=json
555
+ ```
556
+
557
+ 2. Pipe through jq for validation:
558
+ ```bash
559
+ glab mr list --output=json | jq '.'
560
+ ```
561
+
562
+ 3. Check for error messages mixed with JSON
563
+
564
+ ## Performance Issues
565
+
566
+ ### Commands Running Slowly
567
+
568
+ **Causes:**
569
+ - Large repository
570
+ - Many results being fetched
571
+ - Network latency
572
+
573
+ **Solutions:**
574
+ 1. Limit results:
575
+ ```bash
576
+ glab mr list --per-page=10 --page=1
577
+ ```
578
+
579
+ 2. Use specific filters:
580
+ ```bash
581
+ glab mr list --assignee=@me --state=opened
582
+ ```
583
+
584
+ 3. Disable web browser opening:
585
+ ```bash
586
+ glab mr view 123 --web=false
587
+ ```
588
+
589
+ ## Configuration Issues
590
+
591
+ ### Config File Corruption
592
+
593
+ **Error:**
594
+ ```
595
+ failed to load config
596
+ ```
597
+
598
+ **Solutions:**
599
+ 1. Check config file:
600
+ ```bash
601
+ cat ~/.config/glab-cli/config.yml
602
+ ```
603
+
604
+ 2. Backup and recreate:
605
+ ```bash
606
+ mv ~/.config/glab-cli/config.yml ~/.config/glab-cli/config.yml.bak
607
+ glab auth login
608
+ ```
609
+
610
+ 3. Manually edit config:
611
+ ```bash
612
+ vim ~/.config/glab-cli/config.yml
613
+ ```
614
+
615
+ ## General Troubleshooting Steps
616
+
617
+ When encountering any error:
618
+
619
+ 1. **Check version:**
620
+ ```bash
621
+ glab version
622
+ ```
623
+
624
+ 2. **Update glab:**
625
+ ```bash
626
+ glab check-update
627
+ ```
628
+
629
+ 3. **Enable verbose output:**
630
+ ```bash
631
+ glab <command> --verbose
632
+ ```
633
+
634
+ 4. **Check authentication:**
635
+ ```bash
636
+ glab auth status
637
+ ```
638
+
639
+ 5. **Verify repository context:**
640
+ ```bash
641
+ git remote -v
642
+ ```
643
+
644
+ 6. **Use --help:**
645
+ ```bash
646
+ glab <command> --help
647
+ ```
648
+
649
+ 7. **Check GitLab API status:**
650
+ Visit https://status.gitlab.com
651
+
652
+ 8. **Review logs:**
653
+ ```bash
654
+ # Check recent commands
655
+ history | grep glab
656
+ ```
657
+
658
+ ## Getting Additional Help
659
+
660
+ If issues persist:
661
+
662
+ 1. Check glab documentation: https://docs.gitlab.com/editor_extensions/gitlab_cli/
663
+ 2. Search glab issues: https://gitlab.com/gitlab-org/cli/-/issues
664
+ 3. Create a new issue with:
665
+ - glab version
666
+ - Operating system
667
+ - Full error message
668
+ - Steps to reproduce
669
+ - Output with --verbose flag
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: great-interface
3
+ description: >-
4
+ Build, explain, review, and refine product interfaces across accessibility, layout,
5
+ writing, typography, color, UI polish, holistic review, change review, and design variants.
6
+ Use when creating frontend interfaces, reviewing interface quality, explaining how an
7
+ interface works, or comparing UI directions.
8
+ ---
9
+
10
+ # Great Interface
11
+
12
+ Use the domain references below as the sources of truth. Load the smallest set that covers
13
+ the request, except for a holistic review, which loads every applicable review domain.
14
+
15
+ ## Build and refine
16
+
17
+ - Accessibility: [better-accessibility.md](references/better-accessibility.md)
18
+ - Layout: [better-layout.md](references/better-layout.md)
19
+ - Writing: [better-writing.md](references/better-writing.md)
20
+ - Typography: [better-typography.md](references/better-typography.md)
21
+ - Colors: [better-colors.md](references/better-colors.md)
22
+ - UI polish and motion: [better-ui.md](references/better-ui.md)
23
+
24
+ ## Review
25
+
26
+ - Holistic screen or flow review: [better-interface.md](references/better-interface.md)
27
+ - Change, branch, or pull request review: [interface-review.md](references/interface-review.md)
28
+
29
+ ## Explore alternatives
30
+
31
+ - Explain how an interface or effect was built: [explain-interface.md](references/explain-interface.md)
32
+ - Build and compare multiple UI directions: [variant.md](references/variant.md)
33
+
34
+ ## Ownership
35
+
36
+ Do not duplicate rules across domains. Accessibility owns keyboard support, focus, ARIA,
37
+ semantic structure, hit areas, announcements, and reduced motion. Layout owns grouping,
38
+ spacing, responsive structure, and spatial RTL. Writing owns interface copy. Typography owns
39
+ how text renders and wraps. Colors owns palette systems and color measurement. UI owns
40
+ surfaces, icons, and visual motion. The review references own orchestration and reporting.
41
+
42
+ When domains overlap, report or apply the rule in the owning domain and mention secondary
43
+ effects only where useful.