@skillkit/tui 1.6.4 → 1.8.0
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/README.md +78 -163
- package/dist/index.d.ts +642 -163
- package/dist/index.js +2701 -3544
- package/dist/index.js.map +1 -1
- package/package.json +9 -12
package/README.md
CHANGED
|
@@ -5,216 +5,131 @@
|
|
|
5
5
|
|
|
6
6
|
**Interactive terminal UI for SkillKit** - browse, install, translate, and manage skills visually in your terminal.
|
|
7
7
|
|
|
8
|
+
## Requirements
|
|
9
|
+
|
|
10
|
+
- **Bun runtime** (>=1.2.0) - Required for OpenTUI rendering
|
|
11
|
+
- Terminal with 80x24 minimum (120x40 recommended)
|
|
12
|
+
|
|
13
|
+
Install Bun: https://bun.sh
|
|
14
|
+
|
|
8
15
|
## Installation
|
|
9
16
|
|
|
10
17
|
```bash
|
|
11
|
-
npm install
|
|
12
|
-
# or
|
|
13
|
-
npm install -g skillkit # includes TUI
|
|
18
|
+
npm install -g skillkit
|
|
14
19
|
```
|
|
15
20
|
|
|
16
21
|
## Quick Start
|
|
17
22
|
|
|
18
23
|
```bash
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
# Launch TUI with Bun
|
|
25
|
+
bun skillkit ui
|
|
26
|
+
|
|
27
|
+
# Or via pnpm in monorepo
|
|
28
|
+
pnpm ui
|
|
22
29
|
```
|
|
23
30
|
|
|
24
31
|
## Features
|
|
25
32
|
|
|
26
|
-
- **
|
|
27
|
-
- **
|
|
28
|
-
- **
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
|
|
33
|
-
## Screens
|
|
34
|
-
|
|
35
|
-
### Home (h)
|
|
36
|
-
Overview of your project and quick actions. Shows detected agents, installed skills count, and navigation hints.
|
|
37
|
-
|
|
38
|
-
### Marketplace (m)
|
|
39
|
-
Browse curated skill marketplace:
|
|
40
|
-
- Search across 33+ repositories
|
|
41
|
-
- Filter by tags and categories
|
|
42
|
-
- View popularity metrics
|
|
43
|
-
- Install with one key
|
|
44
|
-
|
|
45
|
-
### Browse (b)
|
|
46
|
-
Explore available skills from curated repositories:
|
|
47
|
-
- Search skills with `/`
|
|
48
|
-
- Filter by tags
|
|
49
|
-
- View skill details
|
|
50
|
-
- One-key installation
|
|
51
|
-
|
|
52
|
-
### Workflow (w)
|
|
53
|
-
Manage and execute workflows:
|
|
54
|
-
- List available workflows
|
|
55
|
-
- View workflow steps
|
|
56
|
-
- Execute workflows
|
|
57
|
-
- Monitor progress
|
|
58
|
-
|
|
59
|
-
### Execute (x)
|
|
60
|
-
Execute skills with checkpoints:
|
|
61
|
-
- Task-based execution
|
|
62
|
-
- Decision and review checkpoints
|
|
63
|
-
- Dry-run mode
|
|
64
|
-
- Git integration
|
|
65
|
-
|
|
66
|
-
### Team (a)
|
|
67
|
-
Team collaboration management:
|
|
68
|
-
- Create and share skill bundles
|
|
69
|
-
- Import team bundles
|
|
70
|
-
- Sync with remote registry
|
|
71
|
-
- Manage team members
|
|
72
|
-
|
|
73
|
-
### Plugins (p)
|
|
74
|
-
Plugin system management:
|
|
75
|
-
- List installed plugins
|
|
76
|
-
- Install new plugins
|
|
77
|
-
- Enable/disable plugins
|
|
78
|
-
- View plugin details
|
|
79
|
-
|
|
80
|
-
### Methodology (o)
|
|
81
|
-
Development methodologies:
|
|
82
|
-
- Browse 5 methodologies (Agile, TDD, DevOps, Design Thinking, Feature Flags)
|
|
83
|
-
- View methodology skills
|
|
84
|
-
- Apply to project
|
|
85
|
-
- Track adoption
|
|
86
|
-
|
|
87
|
-
### Plan (n)
|
|
88
|
-
Structured plan system:
|
|
89
|
-
- Parse plan files
|
|
90
|
-
- Validate plan structure
|
|
91
|
-
- Execute plans step-by-step
|
|
92
|
-
- Track progress
|
|
93
|
-
|
|
94
|
-
### Recommend (r)
|
|
95
|
-
AI-powered skill suggestions based on your project:
|
|
96
|
-
- Analyzes your package.json, configs, and file structure
|
|
97
|
-
- Shows match percentage for each skill
|
|
98
|
-
- Explains why skills are recommended
|
|
99
|
-
- Filter by minimum score
|
|
100
|
-
|
|
101
|
-
### Translate (t)
|
|
102
|
-
Convert skills between agent formats:
|
|
103
|
-
- Select source skill
|
|
104
|
-
- Choose target agent(s)
|
|
105
|
-
- Preview translation
|
|
106
|
-
- Apply with confirmation
|
|
107
|
-
|
|
108
|
-
### Context (c)
|
|
109
|
-
View and manage project context:
|
|
110
|
-
- Detected languages and frameworks
|
|
111
|
-
- Found testing tools and databases
|
|
112
|
-
- Installed agents
|
|
113
|
-
- Sync context to all agents
|
|
114
|
-
|
|
115
|
-
### Memory (e)
|
|
116
|
-
Session memory system:
|
|
117
|
-
- View learnings
|
|
118
|
-
- Search past sessions
|
|
119
|
-
- Compress observations
|
|
120
|
-
- Export as skills
|
|
121
|
-
|
|
122
|
-
### Installed (i)
|
|
123
|
-
Manage your installed skills:
|
|
124
|
-
- View all installed skills
|
|
125
|
-
- Enable/disable skills
|
|
126
|
-
- Remove skills
|
|
127
|
-
- Update from source
|
|
128
|
-
|
|
129
|
-
### Sync (s)
|
|
130
|
-
Sync skills across agents:
|
|
131
|
-
- Select target agents
|
|
132
|
-
- Preview changes
|
|
133
|
-
- Apply sync
|
|
134
|
-
|
|
135
|
-
### Settings (,)
|
|
136
|
-
Configure SkillKit:
|
|
137
|
-
- Default agent
|
|
138
|
-
- Auto-sync settings
|
|
139
|
-
- Skill directories
|
|
33
|
+
- **Monochromatic Design** - Clean B&W theme with colored accents
|
|
34
|
+
- **Animated UI** - Smooth entrance animations and transitions
|
|
35
|
+
- **Browse Skills** - Explore skill repositories with search and filtering
|
|
36
|
+
- **Smart Recommendations** - AI-powered skill suggestions with match scores
|
|
37
|
+
- **Cross-Agent Translation** - Convert skills between 32 agent formats
|
|
38
|
+
- **Team Collaboration** - Share and sync skills across teams
|
|
39
|
+
- **Responsive Design** - Adapts to any terminal size
|
|
140
40
|
|
|
141
41
|
## Keyboard Shortcuts
|
|
142
42
|
|
|
143
|
-
|
|
43
|
+
### Navigation
|
|
44
|
+
| Key | Screen |
|
|
144
45
|
|-----|--------|
|
|
145
|
-
| `h` | Home
|
|
146
|
-
| `m` | Marketplace |
|
|
46
|
+
| `h` | Home |
|
|
147
47
|
| `b` | Browse skills |
|
|
48
|
+
| `m` | Marketplace |
|
|
49
|
+
| `r` | Recommendations |
|
|
50
|
+
| `i` | Installed skills |
|
|
51
|
+
| `s` | Sync settings |
|
|
52
|
+
|
|
53
|
+
### Actions
|
|
54
|
+
| Key | Screen |
|
|
55
|
+
|-----|--------|
|
|
56
|
+
| `t` | Translate skills |
|
|
148
57
|
| `w` | Workflows |
|
|
149
58
|
| `x` | Execute |
|
|
150
|
-
| `
|
|
59
|
+
| `n` | Plan |
|
|
60
|
+
| `y` | History |
|
|
61
|
+
|
|
62
|
+
### Team & Config
|
|
63
|
+
| Key | Screen |
|
|
64
|
+
|-----|--------|
|
|
65
|
+
| `a` | Team |
|
|
66
|
+
| `c` | Context |
|
|
67
|
+
| `e` | Memory |
|
|
151
68
|
| `p` | Plugins |
|
|
152
69
|
| `o` | Methodology |
|
|
153
|
-
| `n` | Plan system |
|
|
154
|
-
| `r` | Recommendations |
|
|
155
|
-
| `t` | Translate skills |
|
|
156
|
-
| `c` | Context management |
|
|
157
|
-
| `e` | Memory/Learnings |
|
|
158
|
-
| `i` | Installed skills |
|
|
159
|
-
| `s` | Sync skills |
|
|
160
70
|
| `,` | Settings |
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
|
164
|
-
|
|
165
|
-
|
|
|
166
|
-
|
|
|
71
|
+
|
|
72
|
+
### Global
|
|
73
|
+
| Key | Action |
|
|
74
|
+
|-----|--------|
|
|
75
|
+
| `/` | Help screen |
|
|
76
|
+
| `esc` | Go back / Home |
|
|
167
77
|
| `q` | Quit |
|
|
78
|
+
| `j/k` | Navigate lists |
|
|
79
|
+
| `enter` | Select item |
|
|
80
|
+
|
|
81
|
+
## Screens Overview
|
|
82
|
+
|
|
83
|
+
- **Home** - Dashboard with stats, detected agents, and features
|
|
84
|
+
- **Browse** - Search and explore skill repositories
|
|
85
|
+
- **Marketplace** - Curated skill marketplace with popularity metrics
|
|
86
|
+
- **Recommend** - AI-powered suggestions based on your project
|
|
87
|
+
- **Installed** - Manage installed skills (enable/disable/remove)
|
|
88
|
+
- **Sync** - Sync skills across multiple agents
|
|
89
|
+
- **Translate** - Convert skills between agent formats
|
|
90
|
+
- **Workflow** - Manage and execute automation workflows
|
|
91
|
+
- **Execute** - Run skills with checkpoints
|
|
92
|
+
- **Plan** - Structured plan creation and execution
|
|
93
|
+
- **Team** - Share skills and bundles with team members
|
|
94
|
+
- **Context** - View detected stack and project context
|
|
95
|
+
- **Memory** - Session memory and learnings
|
|
96
|
+
- **Plugins** - Plugin management
|
|
97
|
+
- **Methodology** - Development methodology frameworks
|
|
98
|
+
- **Settings** - Configure SkillKit preferences
|
|
168
99
|
|
|
169
100
|
## Programmatic Usage
|
|
170
101
|
|
|
171
102
|
```typescript
|
|
172
|
-
import { startTUI
|
|
103
|
+
import { startTUI } from '@skillkit/tui';
|
|
173
104
|
|
|
174
|
-
// Launch with defaults
|
|
175
105
|
await startTUI();
|
|
176
|
-
|
|
177
|
-
// Launch with options
|
|
178
|
-
await startTUI({
|
|
179
|
-
projectPath: './my-project',
|
|
180
|
-
initialScreen: 'browse',
|
|
181
|
-
theme: 'dark',
|
|
182
|
-
});
|
|
183
106
|
```
|
|
184
107
|
|
|
185
108
|
## Architecture
|
|
186
109
|
|
|
187
110
|
Built with:
|
|
188
|
-
- **
|
|
111
|
+
- **OpenTUI** - High-performance terminal UI framework
|
|
189
112
|
- **React** - Component architecture
|
|
190
113
|
- **@skillkit/core** - Core functionality
|
|
191
114
|
|
|
192
115
|
```
|
|
193
116
|
src/
|
|
194
|
-
├──
|
|
117
|
+
├── index.tsx # Entry point and startTUI
|
|
118
|
+
├── App.tsx # Main app component
|
|
195
119
|
├── screens/ # Screen components
|
|
196
120
|
│ ├── Home.tsx
|
|
197
121
|
│ ├── Browse.tsx
|
|
198
|
-
│ ├──
|
|
199
|
-
│ ├── Translate.tsx
|
|
200
|
-
│ ├── Context.tsx
|
|
122
|
+
│ ├── Help.tsx
|
|
201
123
|
│ └── ...
|
|
202
124
|
├── components/ # Reusable UI components
|
|
203
|
-
│ ├──
|
|
204
|
-
│ ├──
|
|
125
|
+
│ ├── Sidebar.tsx
|
|
126
|
+
│ ├── Splash.tsx
|
|
205
127
|
│ └── ...
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
└── ...
|
|
128
|
+
├── state/ # State types and navigation
|
|
129
|
+
├── theme/ # Colors and symbols
|
|
130
|
+
└── utils/ # Helper functions
|
|
210
131
|
```
|
|
211
132
|
|
|
212
|
-
## Terminal Requirements
|
|
213
|
-
|
|
214
|
-
- Minimum: 80x24 characters
|
|
215
|
-
- Recommended: 120x40 characters
|
|
216
|
-
- Supports: True Color, 256 colors, basic ANSI
|
|
217
|
-
|
|
218
133
|
## Documentation
|
|
219
134
|
|
|
220
135
|
Full documentation: https://github.com/rohitg00/skillkit
|