@upgraide/ui-notes-cli 0.2.3 → 0.2.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/package.json +2 -2
- package/skills/ui-notes/SKILL.md +160 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upgraide/ui-notes-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "CLI for UI Notes - pull and manage UI feedback notes",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": ["cli", "ui", "notes", "feedback", "ui-notes"],
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"formatters/*.ts",
|
|
14
14
|
"resolvers/*.ts",
|
|
15
15
|
"schemas/*.json",
|
|
16
|
-
"skills
|
|
16
|
+
"skills/**/*.md"
|
|
17
17
|
],
|
|
18
18
|
"engines": {
|
|
19
19
|
"bun": ">=1.0.0"
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-notes
|
|
3
|
+
description: CLI commands for managing UI feedback notes — pull context, resolve issues, add comments, generate changelogs, and batch triage.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# UI Notes CLI
|
|
7
|
+
|
|
8
|
+
`uinotes` is the CLI for UI Notes. Use these commands to triage, resolve, and manage UI feedback notes from your terminal.
|
|
9
|
+
|
|
10
|
+
## Configuration
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
uinotes config # Show current config
|
|
14
|
+
uinotes config set apiUrl <url> # Set API URL
|
|
15
|
+
uinotes config set apiKey <key> # Set API key
|
|
16
|
+
uinotes set project <slug> # Bind project to current directory
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Context
|
|
20
|
+
|
|
21
|
+
Fetch an AI-optimized digest of open UI notes.
|
|
22
|
+
|
|
23
|
+
### When to use
|
|
24
|
+
- At the start of a task to understand what UI issues exist
|
|
25
|
+
- Before making UI changes to check for related notes
|
|
26
|
+
- When the user asks about UI bugs, feedback, or design issues
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
uinotes context --format markdown
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Add `--resolve-files --root-dir .` to map notes to source files.
|
|
33
|
+
Add `--type bug` to filter by type (bug, ux, feature, question).
|
|
34
|
+
Add `--project <slug>` to target a specific project.
|
|
35
|
+
|
|
36
|
+
## Explain
|
|
37
|
+
|
|
38
|
+
Get full context for a single note including comments, history, and visual diffs.
|
|
39
|
+
|
|
40
|
+
### When to use
|
|
41
|
+
- When investigating a specific note before fixing it
|
|
42
|
+
- When you need comments, history, or visual diff context
|
|
43
|
+
- When triaging a single note
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
uinotes explain <note-id>
|
|
47
|
+
uinotes explain <note-id> --format json
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Returns: note body, type, status, component, selector, URL, screenshot URL, all comments, status history, and visual diffs.
|
|
51
|
+
|
|
52
|
+
## Resolve
|
|
53
|
+
|
|
54
|
+
Mark notes as resolved after fixing the issue they describe.
|
|
55
|
+
|
|
56
|
+
### When to use
|
|
57
|
+
- After fixing a bug, UX issue, or implementing a feature request described in a note
|
|
58
|
+
- After verifying a fix addresses the feedback
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Resolve with a message explaining the fix
|
|
62
|
+
uinotes resolve <note-id> "Fixed by updating the component"
|
|
63
|
+
|
|
64
|
+
# Mark as won't fix with explanation
|
|
65
|
+
uinotes wontfix <note-id> "Working as intended"
|
|
66
|
+
|
|
67
|
+
# Bulk resolve all notes for a component
|
|
68
|
+
uinotes resolve-by-component <ComponentName> --message "Refactored component"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Always include a resolution message describing what was done.
|
|
72
|
+
|
|
73
|
+
## Comment
|
|
74
|
+
|
|
75
|
+
Add comments to notes to document progress or communicate.
|
|
76
|
+
|
|
77
|
+
### When to use
|
|
78
|
+
- To document what was tried or what's blocking a fix
|
|
79
|
+
- To ask clarifying questions about a note
|
|
80
|
+
- To provide a status update before resolving
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
uinotes comment <note-id> "Comment text here"
|
|
84
|
+
uinotes comments <note-id> # List existing comments
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Changelog
|
|
88
|
+
|
|
89
|
+
Generate a changelog from notes resolved since a git ref or date.
|
|
90
|
+
|
|
91
|
+
### When to use
|
|
92
|
+
- After resolving notes, to generate a summary for PR descriptions
|
|
93
|
+
- For release notes listing UI fixes
|
|
94
|
+
- To audit what was fixed in a time period
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
uinotes changelog --since HEAD~5
|
|
98
|
+
uinotes changelog --since v1.2.0 --format conventional
|
|
99
|
+
uinotes changelog --since 2026-02-01 --format json
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Formats: `markdown` (default), `conventional` (conventional commits), `json`.
|
|
103
|
+
|
|
104
|
+
## Batch
|
|
105
|
+
|
|
106
|
+
Execute multiple operations (resolve, wontfix, comment, reopen) in one invocation.
|
|
107
|
+
|
|
108
|
+
### When to use
|
|
109
|
+
- After triaging multiple notes and deciding actions for each
|
|
110
|
+
- When resolving several notes as part of a single fix
|
|
111
|
+
- For bulk operations that span multiple notes
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
echo '{"op":"resolve","id":"abc123","message":"Fixed overflow"}
|
|
115
|
+
{"op":"comment","id":"def456","text":"Needs design input"}
|
|
116
|
+
{"op":"wontfix","id":"ghi789","message":"Deprecated component"}' | uinotes batch -
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Operations: `resolve`, `wontfix`, `comment` (requires `text`), `reopen`.
|
|
120
|
+
Add `--dry-run` to preview without executing.
|
|
121
|
+
|
|
122
|
+
## Pull
|
|
123
|
+
|
|
124
|
+
Fetch raw note data from the API.
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
uinotes pull
|
|
128
|
+
uinotes pull --project my-app --status open --type bug --limit 50
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
| Option | Description |
|
|
132
|
+
|--------|-------------|
|
|
133
|
+
| `--project <name>` | Filter by project |
|
|
134
|
+
| `--status <status>` | Filter by status (`open`, `resolved`, `wontfix`) |
|
|
135
|
+
| `--type <type>` | Filter by type (`bug`, `ux`, `feature`, `question`) |
|
|
136
|
+
| `--limit <n>` | Max number of results |
|
|
137
|
+
| `--resolve-files` | Map notes to source files |
|
|
138
|
+
|
|
139
|
+
## Projects
|
|
140
|
+
|
|
141
|
+
Manage projects.
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
uinotes projects # List all projects
|
|
145
|
+
uinotes projects create <slug> <name> # Create a project
|
|
146
|
+
uinotes projects get <slug> # Get project details
|
|
147
|
+
uinotes projects rename <slug> <name> # Rename a project
|
|
148
|
+
uinotes projects add-url <slug> <pattern> # Add URL pattern
|
|
149
|
+
uinotes projects remove-url <slug> <pattern> # Remove URL pattern
|
|
150
|
+
uinotes projects delete <slug> # Archive a project
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## Visual Diff
|
|
154
|
+
|
|
155
|
+
Capture and compare page screenshots.
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
uinotes visual-diff --url https://myapp.com --project my-app
|
|
159
|
+
uinotes visual-diff --compare # Compare against previous screenshots
|
|
160
|
+
```
|