@olegkoval/agent-skills 1.17.0 → 1.18.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/.grok-plugin/index.json +120 -0
- package/README.md +26 -3
- package/catalog/skills.json +46 -23
- package/package.json +3 -2
- package/packages/marketing/search-console-indexing-audit/adapters/grok/plugin.json +6 -0
- package/packages/marketing/search-console-indexing-audit/adapters/grok/skills/search-console-indexing-audit/SKILL.md +69 -0
- package/packages/marketing/search-console-indexing-audit/adapters/grok/skills/search-console-indexing-audit/scripts/summarize_gsc_coverage.py +151 -0
- package/packages/marketing/viral-launch/adapters/grok/plugin.json +6 -0
- package/packages/marketing/viral-launch/adapters/grok/skills/viral-launch/SKILL.md +105 -0
- package/packages/music/fill-music-player/adapters/grok/plugin.json +6 -0
- package/packages/music/fill-music-player/adapters/grok/skills/fill-music-player/SKILL.md +111 -0
- package/packages/photography/gallery/adapters/grok/plugin.json +6 -0
- package/packages/photography/gallery/adapters/grok/skills/gallery/SKILL.md +237 -0
- package/packages/software-development/apple-store-submit/adapters/grok/plugin.json +6 -0
- package/packages/software-development/apple-store-submit/adapters/grok/skills/apple-store-submit/SKILL.md +158 -0
- package/packages/software-development/cloudflare-block-countries/adapters/grok/plugin.json +6 -0
- package/packages/software-development/cloudflare-block-countries/adapters/grok/skills/cloudflare-block-countries/SKILL.md +177 -0
- package/packages/software-development/crash-course/adapters/grok/plugin.json +6 -0
- package/packages/software-development/crash-course/adapters/grok/skills/crash-course/SKILL.md +271 -0
- package/packages/software-development/docs-index-keeper/adapters/grok/plugin.json +6 -0
- package/packages/software-development/docs-index-keeper/adapters/grok/skills/docs-index-keeper/SKILL.md +65 -0
- package/packages/software-development/gh-cli/adapters/grok/plugin.json +6 -0
- package/packages/software-development/gh-cli/adapters/grok/skills/gh-cli/SKILL.md +2200 -0
- package/packages/software-development/git-commit/adapters/grok/plugin.json +6 -0
- package/packages/software-development/git-commit/adapters/grok/skills/git-commit/SKILL.md +133 -0
- package/packages/software-development/macos-menubar-app/adapters/grok/plugin.json +6 -0
- package/packages/software-development/macos-menubar-app/adapters/grok/skills/macos-menubar-app/SKILL.md +238 -0
- package/packages/software-development/mvp-oneshot/adapters/grok/plugin.json +6 -0
- package/packages/software-development/mvp-oneshot/adapters/grok/skills/mvp-oneshot/SKILL.md +176 -0
- package/packages/software-development/obsidian-pr-sync/adapters/grok/plugin.json +6 -0
- package/packages/software-development/obsidian-pr-sync/adapters/grok/skills/obsidian-pr-sync/SKILL.md +154 -0
- package/packages/software-development/obsidian-task-rollover/adapters/grok/plugin.json +6 -0
- package/packages/software-development/obsidian-task-rollover/adapters/grok/skills/obsidian-task-rollover/SKILL.md +198 -0
- package/packages/software-development/open-source-publisher/adapters/grok/plugin.json +6 -0
- package/packages/software-development/open-source-publisher/adapters/grok/skills/open-source-publisher/SKILL.md +471 -0
- package/packages/software-development/product-builder/adapters/grok/plugin.json +6 -0
- package/packages/software-development/product-builder/adapters/grok/skills/product-builder/SKILL.md +224 -0
- package/packages/software-development/promptctl/adapters/grok/plugin.json +6 -0
- package/packages/software-development/promptctl/adapters/grok/skills/promptctl/SKILL.md +90 -0
- package/packages/software-development/relay/adapters/grok/plugin.json +6 -0
- package/packages/software-development/relay/adapters/grok/skills/relay/SKILL.md +117 -0
- package/packages/software-development/review-past-performance/adapters/grok/plugin.json +6 -0
- package/packages/software-development/review-past-performance/adapters/grok/skills/review-past-performance/SKILL.md +212 -0
- package/packages/software-development/self-critique/adapters/grok/plugin.json +6 -0
- package/packages/software-development/self-critique/adapters/grok/skills/self-critique/SKILL.md +149 -0
- package/packages/software-development/self-critique/adapters/grok/skills/self-critique/scripts/critique-nudge.mjs +57 -0
- package/packages/software-development/semantic-release-beta/adapters/grok/plugin.json +6 -0
- package/packages/software-development/semantic-release-beta/adapters/grok/skills/semantic-release-beta/SKILL.md +59 -0
- package/packages/software-development/skill-budget-audit/adapters/grok/plugin.json +6 -0
- package/packages/software-development/skill-budget-audit/adapters/grok/skills/skill-budget-audit/SKILL.md +146 -0
- package/packages/software-development/starter-rules/adapters/grok/plugin.json +6 -0
- package/packages/software-development/starter-rules/adapters/grok/skills/starter-rules/SKILL.md +73 -0
- package/scripts/build-adapters.sh +47 -4
- package/scripts/validate-catalog.sh +10 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: git-commit
|
|
3
|
+
description: 'Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping'
|
|
4
|
+
license: MIT
|
|
5
|
+
allowed-tools: Bash
|
|
6
|
+
compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, and other Agent Skills compatible tools. Requires git and a writable repository.
|
|
7
|
+
metadata:
|
|
8
|
+
targets: [_source-only]
|
|
9
|
+
author: Oleg Koval
|
|
10
|
+
tags:
|
|
11
|
+
- git
|
|
12
|
+
- commit
|
|
13
|
+
- conventional-commits
|
|
14
|
+
---
|
|
15
|
+
<!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->
|
|
16
|
+
|
|
17
|
+
# Git Commit with Conventional Commits
|
|
18
|
+
|
|
19
|
+
## Overview
|
|
20
|
+
|
|
21
|
+
Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.
|
|
22
|
+
|
|
23
|
+
## Conventional Commit Format
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
<type>[optional scope]: <description>
|
|
27
|
+
|
|
28
|
+
[optional body]
|
|
29
|
+
|
|
30
|
+
[optional footer(s)]
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Commit Types
|
|
34
|
+
|
|
35
|
+
| Type | Purpose |
|
|
36
|
+
| ---------- | ------------------------------ |
|
|
37
|
+
| `feat` | New feature |
|
|
38
|
+
| `fix` | Bug fix |
|
|
39
|
+
| `docs` | Documentation only |
|
|
40
|
+
| `style` | Formatting/style (no logic) |
|
|
41
|
+
| `refactor` | Code refactor (no feature/fix) |
|
|
42
|
+
| `perf` | Performance improvement |
|
|
43
|
+
| `test` | Add/update tests |
|
|
44
|
+
| `build` | Build system/dependencies |
|
|
45
|
+
| `ci` | CI/config changes |
|
|
46
|
+
| `chore` | Maintenance/misc |
|
|
47
|
+
| `revert` | Revert commit |
|
|
48
|
+
|
|
49
|
+
## Breaking Changes
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
# Exclamation mark after type/scope
|
|
53
|
+
feat!: remove deprecated endpoint
|
|
54
|
+
|
|
55
|
+
# BREAKING CHANGE footer
|
|
56
|
+
feat: allow config to extend other configs
|
|
57
|
+
|
|
58
|
+
BREAKING CHANGE: `extends` key behavior changed
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Workflow
|
|
62
|
+
|
|
63
|
+
### 1. Analyze Diff
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# If files are staged, use staged diff
|
|
67
|
+
git diff --staged
|
|
68
|
+
|
|
69
|
+
# If nothing staged, use working tree diff
|
|
70
|
+
git diff
|
|
71
|
+
|
|
72
|
+
# Also check status
|
|
73
|
+
git status --porcelain
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### 2. Stage Files (if needed)
|
|
77
|
+
|
|
78
|
+
If nothing is staged or you want to group changes differently:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Stage specific files
|
|
82
|
+
git add path/to/file1 path/to/file2
|
|
83
|
+
|
|
84
|
+
# Stage by pattern
|
|
85
|
+
git add *.test.*
|
|
86
|
+
git add src/components/*
|
|
87
|
+
|
|
88
|
+
# Interactive staging
|
|
89
|
+
git add -p
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Never commit secrets** (.env, credentials.json, private keys).
|
|
93
|
+
|
|
94
|
+
### 3. Generate Commit Message
|
|
95
|
+
|
|
96
|
+
Analyze the diff to determine:
|
|
97
|
+
|
|
98
|
+
- **Type**: What kind of change is this?
|
|
99
|
+
- **Scope**: What area/module is affected?
|
|
100
|
+
- **Description**: One-line summary of what changed (present tense, imperative mood, <72 chars)
|
|
101
|
+
|
|
102
|
+
### 4. Execute Commit
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
# Single line
|
|
106
|
+
git commit -m "<type>[scope]: <description>"
|
|
107
|
+
|
|
108
|
+
# Multi-line with body/footer
|
|
109
|
+
git commit -m "$(cat <<'EOF'
|
|
110
|
+
<type>[scope]: <description>
|
|
111
|
+
|
|
112
|
+
<optional body>
|
|
113
|
+
|
|
114
|
+
<optional footer>
|
|
115
|
+
EOF
|
|
116
|
+
)"
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Best Practices
|
|
120
|
+
|
|
121
|
+
- One logical change per commit
|
|
122
|
+
- Present tense: "add" not "added"
|
|
123
|
+
- Imperative mood: "fix bug" not "fixes bug"
|
|
124
|
+
- Reference issues: `Closes #123`, `Refs #456`
|
|
125
|
+
- Keep description under 72 characters
|
|
126
|
+
|
|
127
|
+
## Git Safety Protocol
|
|
128
|
+
|
|
129
|
+
- NEVER update git config
|
|
130
|
+
- NEVER run destructive commands (--force, hard reset) without explicit request
|
|
131
|
+
- NEVER skip hooks (--no-verify) unless user asks
|
|
132
|
+
- NEVER force push to main/master
|
|
133
|
+
- If commit fails due to hooks, fix and create NEW commit (don't amend)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "olko:macos-menubar-app",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Build a production-quality macOS menubar or notch app in SwiftUI — MenuBarExtra, sandbox entitlements, keyboard shortcuts, sound effects, accessibility permissions, and App Store preparation.",
|
|
5
|
+
"skills": "skills/"
|
|
6
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: macos-menubar-app
|
|
3
|
+
description: Build a production-quality macOS menubar or notch app in SwiftUI — covering MenuBarExtra setup, sandbox entitlements, keyboard shortcuts, sound effects, accessibility permissions, and /critique-driven polish cycles. Use when starting or extending a macOS agent app that lives in the status bar or Mac notch area.
|
|
4
|
+
license: MIT
|
|
5
|
+
allowed-tools: Bash, Read, Write, Edit
|
|
6
|
+
compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, and other Agent Skills compatible tools. Requires Xcode 15+, macOS 13+ deployment target, and an Apple Developer account for App Store distribution.
|
|
7
|
+
metadata:
|
|
8
|
+
targets: [_source-only]
|
|
9
|
+
author: Oleg Koval
|
|
10
|
+
tags:
|
|
11
|
+
- macos
|
|
12
|
+
- swiftui
|
|
13
|
+
- menubar
|
|
14
|
+
- notch
|
|
15
|
+
- xcode
|
|
16
|
+
- apple
|
|
17
|
+
- sandbox
|
|
18
|
+
---
|
|
19
|
+
<!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->
|
|
20
|
+
|
|
21
|
+
> 🤖 *Auto-generated by **weekly-pattern-learner** · SwiftUI macOS menubar app pattern observed in FocusNotch session, Jun 2026 (364 user turns, ~48 MB transcript covering idea → spec → impl → critique cycles → App Store)*
|
|
22
|
+
|
|
23
|
+
# macOS Menubar / Notch App (SwiftUI)
|
|
24
|
+
|
|
25
|
+
## Overview
|
|
26
|
+
|
|
27
|
+
Build a macOS app that lives in the menu bar or notch using SwiftUI's `MenuBarExtra`. Covers the full lifecycle: project setup, window management, entitlements, user interaction (keyboard shortcuts, sound), and App Store preparation.
|
|
28
|
+
|
|
29
|
+
## When to Use
|
|
30
|
+
|
|
31
|
+
- User asks to build an app for the macOS menubar, status bar, or notch
|
|
32
|
+
- Adding a menubar presence to an existing macOS app
|
|
33
|
+
- Debugging sandbox rejections or entitlement errors in a SwiftUI app
|
|
34
|
+
|
|
35
|
+
## Workflow
|
|
36
|
+
|
|
37
|
+
### 1. Project Setup
|
|
38
|
+
|
|
39
|
+
Create a new macOS App target in Xcode:
|
|
40
|
+
|
|
41
|
+
- **Interface**: SwiftUI
|
|
42
|
+
- **App Sandbox**: Enabled (required for App Store)
|
|
43
|
+
- **Bundle ID**: `com.yourname.AppName`
|
|
44
|
+
- **Deployment target**: macOS 13+ (for `MenuBarExtra`)
|
|
45
|
+
|
|
46
|
+
In `Info.plist`, set:
|
|
47
|
+
|
|
48
|
+
```xml
|
|
49
|
+
<key>LSUIElement</key>
|
|
50
|
+
<true/>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
This hides the app from the Dock — the menu bar becomes the only entry point.
|
|
54
|
+
|
|
55
|
+
### 2. MenuBarExtra (SwiftUI native)
|
|
56
|
+
|
|
57
|
+
```swift
|
|
58
|
+
@main
|
|
59
|
+
struct FocusApp: App {
|
|
60
|
+
var body: some Scene {
|
|
61
|
+
MenuBarExtra {
|
|
62
|
+
ContentView()
|
|
63
|
+
.frame(width: 320, height: 480)
|
|
64
|
+
} label: {
|
|
65
|
+
Label("Focus", systemImage: "timer")
|
|
66
|
+
}
|
|
67
|
+
.menuBarExtraStyle(.window)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Use `.menuBarExtraStyle(.window)` for a popover-style panel. Use `.menuBarExtraStyle(.menu)` for a dropdown menu.
|
|
73
|
+
|
|
74
|
+
### 3. Notch Detection
|
|
75
|
+
|
|
76
|
+
On MacBooks with a notch, the safe area changes. Detect and adapt:
|
|
77
|
+
|
|
78
|
+
```swift
|
|
79
|
+
func isNotchPresent() -> Bool {
|
|
80
|
+
guard let screen = NSScreen.main else { return false }
|
|
81
|
+
// The notch area is excluded from visibleFrame top
|
|
82
|
+
let screenHeight = screen.frame.height
|
|
83
|
+
let visibleTop = screen.visibleFrame.maxY
|
|
84
|
+
return visibleTop < screenHeight
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Position windows below the notch:
|
|
89
|
+
|
|
90
|
+
```swift
|
|
91
|
+
window.setFrameOrigin(NSPoint(
|
|
92
|
+
x: window.frame.origin.x,
|
|
93
|
+
y: NSScreen.main!.frame.height - window.frame.height - notchOffset
|
|
94
|
+
))
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### 4. Sandbox Entitlements
|
|
98
|
+
|
|
99
|
+
Minimum `.entitlements` for a sandboxed menubar app:
|
|
100
|
+
|
|
101
|
+
```xml
|
|
102
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
103
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
104
|
+
<plist version="1.0">
|
|
105
|
+
<dict>
|
|
106
|
+
<key>com.apple.security.app-sandbox</key>
|
|
107
|
+
<true/>
|
|
108
|
+
<!-- Add only what the app actually uses: -->
|
|
109
|
+
<!-- <key>com.apple.security.network.client</key> -->
|
|
110
|
+
<!-- <true/> -->
|
|
111
|
+
</dict>
|
|
112
|
+
</plist>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
For focus/blocking features that need accessibility:
|
|
116
|
+
|
|
117
|
+
```xml
|
|
118
|
+
<key>com.apple.security.temporary-exception.apple-events</key>
|
|
119
|
+
<array>
|
|
120
|
+
<string>com.apple.systemevents</string>
|
|
121
|
+
</array>
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### 5. Accessibility Permission (Focus Detection)
|
|
125
|
+
|
|
126
|
+
To detect which app is in focus (required for distraction blocking):
|
|
127
|
+
|
|
128
|
+
```swift
|
|
129
|
+
import ApplicationServices
|
|
130
|
+
|
|
131
|
+
func requestAccessibilityPermission() -> Bool {
|
|
132
|
+
let options: NSDictionary = [kAXTrustedCheckOptionPrompt.takeUnretainedValue() as String: true]
|
|
133
|
+
return AXIsProcessTrustedWithOptions(options)
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Call this on first launch and prompt the user to grant access in **System Settings → Privacy → Accessibility**.
|
|
138
|
+
|
|
139
|
+
### 6. Sound Effects
|
|
140
|
+
|
|
141
|
+
```swift
|
|
142
|
+
import AVFoundation
|
|
143
|
+
|
|
144
|
+
class SoundPlayer {
|
|
145
|
+
private var player: AVAudioPlayer?
|
|
146
|
+
|
|
147
|
+
func play(_ filename: String, extension ext: String = "mp3") {
|
|
148
|
+
guard let url = Bundle.main.url(forResource: filename, withExtension: ext) else { return }
|
|
149
|
+
player = try? AVAudioPlayer(contentsOf: url)
|
|
150
|
+
player?.play()
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
Add sound files to the Xcode target (check **Target Membership** in file inspector).
|
|
156
|
+
|
|
157
|
+
For system sounds (no file needed):
|
|
158
|
+
|
|
159
|
+
```swift
|
|
160
|
+
NSSound.beep()
|
|
161
|
+
// or
|
|
162
|
+
NSSound(named: .init("Hero"))?.play()
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### 7. Keyboard Shortcuts
|
|
166
|
+
|
|
167
|
+
Global shortcuts (work when app is not focused) — requires Accessibility permission:
|
|
168
|
+
|
|
169
|
+
```swift
|
|
170
|
+
NSEvent.addGlobalMonitorForEvents(matching: .keyDown) { event in
|
|
171
|
+
if event.modifierFlags.contains([.command, .shift]) && event.keyCode == 36 { // ⌘⇧↩
|
|
172
|
+
// Handle shortcut
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
Local shortcuts (SwiftUI):
|
|
178
|
+
|
|
179
|
+
```swift
|
|
180
|
+
.keyboardShortcut("s", modifiers: [.command, .shift])
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### 8. Persistent State (AppStorage)
|
|
184
|
+
|
|
185
|
+
```swift
|
|
186
|
+
@AppStorage("timerDuration") private var timerDuration: Double = 25 * 60
|
|
187
|
+
@AppStorage("soundEnabled") private var soundEnabled: Bool = true
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
For complex state, use `UserDefaults` with a suite name to share across extensions.
|
|
191
|
+
|
|
192
|
+
### 9. Polish Cycle
|
|
193
|
+
|
|
194
|
+
After each implementation slice:
|
|
195
|
+
|
|
196
|
+
> **Optional skills**: Steps 1 and 3 require `/critique` and `/whimsy-injector` from the agent-skills catalog. Install them via `skillshare` if not already available; skip these steps if not installed.
|
|
197
|
+
|
|
198
|
+
1. Run `/critique` — evaluate against Apple HIG, WCAG contrast, interaction consistency
|
|
199
|
+
2. Fix all P0/P1 findings
|
|
200
|
+
3. Run `/whimsy-injector` on completion screens and idle states
|
|
201
|
+
4. Test on a machine **without** a notch to verify layout
|
|
202
|
+
|
|
203
|
+
### 10. App Store Preparation
|
|
204
|
+
|
|
205
|
+
See `olko:apple-store-submit` for the full submission and rejection-handling workflow.
|
|
206
|
+
|
|
207
|
+
Pre-submission checklist:
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
# Validate archive
|
|
211
|
+
xcodebuild archive -scheme <AppName> -archivePath build/<AppName>.xcarchive
|
|
212
|
+
|
|
213
|
+
# Check sandbox
|
|
214
|
+
codesign --verify --deep --strict build/<AppName>.xcarchive/Products/Applications/<AppName>.app
|
|
215
|
+
|
|
216
|
+
# Verify entitlements
|
|
217
|
+
codesign -d --entitlements :- build/<AppName>.xcarchive/Products/Applications/<AppName>.app
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Key Pitfalls
|
|
221
|
+
|
|
222
|
+
| Symptom | Cause | Fix |
|
|
223
|
+
|---------|-------|-----|
|
|
224
|
+
| App appears in Dock | `LSUIElement` missing | Add to `Info.plist` |
|
|
225
|
+
| Menubar icon missing after build | Asset catalog misconfigured | Use PDF or SVG template image, tick **Template Image** |
|
|
226
|
+
| Crash on click | View not loaded in popover window | Add `.frame()` to `MenuBarExtra` content |
|
|
227
|
+
| Sound not playing | File not in target | Check Target Membership in file inspector |
|
|
228
|
+
| Accessibility prompt not shown | Missing entitlement | Add `temporary-exception.apple-events` or use XPC |
|
|
229
|
+
| Notch overlap | Hardcoded y-position | Detect `visibleFrame` vs `frame` delta |
|
|
230
|
+
|
|
231
|
+
## Verification
|
|
232
|
+
|
|
233
|
+
- [ ] App does not appear in Dock (`LSUIElement` = true)
|
|
234
|
+
- [ ] MenuBarExtra icon renders as template image (respects dark/light mode)
|
|
235
|
+
- [ ] Sound plays on timer events
|
|
236
|
+
- [ ] Keyboard shortcuts respond both globally and locally
|
|
237
|
+
- [ ] App passes `codesign --verify --deep --strict`
|
|
238
|
+
- [ ] Layout correct on M1 MacBook (no notch) and M3 MacBook Pro (notch)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "olko:mvp-oneshot",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Turn a rough product idea into a shippable one-week MVP in one pass via a four-role prompt chain: scope a build prompt, ruthlessly trim it, plan the build, and self-review the vertical slice.",
|
|
5
|
+
"skills": "skills/"
|
|
6
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mvp-oneshot
|
|
3
|
+
description: Use when a user has a rough product idea and wants to go from idea to a shippable one-week MVP in a single pass. Turns the idea into a scoped, testable MVP build prompt, ruthlessly trims scope, produces an execution plan, then builds and self-reviews the vertical slice. Activates on "build an MVP for", "I have an idea for", "turn this idea into an MVP/plan", "scope this down", or "oneshot this".
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, and other Agent Skills compatible tools. Building the vertical slice requires a writable repository and a stack compatible with the generated implementation.
|
|
6
|
+
metadata:
|
|
7
|
+
targets: [_source-only]
|
|
8
|
+
author: Oleg Koval
|
|
9
|
+
tags:
|
|
10
|
+
- mvp
|
|
11
|
+
- product
|
|
12
|
+
- scoping
|
|
13
|
+
- prompt-chain
|
|
14
|
+
- planning
|
|
15
|
+
- startup
|
|
16
|
+
- oneshot
|
|
17
|
+
---
|
|
18
|
+
<!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->
|
|
19
|
+
|
|
20
|
+
# MVP Oneshot
|
|
21
|
+
|
|
22
|
+
You are a senior startup engineer running a four-role prompt chain in a single pass.
|
|
23
|
+
Goal: take a rough idea and **oneshot a shippable one-week MVP** — a scoped build
|
|
24
|
+
prompt, a trimmed scope, an execution plan, and the working vertical slice.
|
|
25
|
+
|
|
26
|
+
## Governing mindset (applies to every phase)
|
|
27
|
+
|
|
28
|
+
- Ship the smallest useful version. Optimize for **learning and speed**, not elegance.
|
|
29
|
+
- Cut scope hard. If a feature is not needed to prove value, it is not in the MVP.
|
|
30
|
+
- Prefer boring, reliable, already-installed choices over clever new ones.
|
|
31
|
+
- Call out bad assumptions out loud. Concrete implementation over theory.
|
|
32
|
+
- If the plan does not fit a one-week solo build, reduce it until it does.
|
|
33
|
+
|
|
34
|
+
## Inputs
|
|
35
|
+
|
|
36
|
+
Collect (or infer) these: idea, target user, business goal, constraints, tech stack,
|
|
37
|
+
deadline, known risks. **Ask at most 5 clarifying questions, and only when a missing
|
|
38
|
+
detail would change the build.** Otherwise infer sensible defaults and state every
|
|
39
|
+
assumption explicitly. Do not stall — a stated assumption beats a blocking question.
|
|
40
|
+
|
|
41
|
+
## The chain — run all four phases in order, in one pass
|
|
42
|
+
|
|
43
|
+
Run the phases back-to-back without waiting between them. Show each phase's output,
|
|
44
|
+
then continue. Phases 1->2 happen before any code; phase 4 runs before and after
|
|
45
|
+
the build.
|
|
46
|
+
|
|
47
|
+
### Phase 1 — Prompt Architect
|
|
48
|
+
|
|
49
|
+
Turn the idea into one crisp, opinionated **MVP Build Prompt**. Specific, scoped,
|
|
50
|
+
testable, no fluff. Emit it with these sections:
|
|
51
|
+
|
|
52
|
+
- Title
|
|
53
|
+
- One-sentence problem statement
|
|
54
|
+
- Target user
|
|
55
|
+
- MVP goal
|
|
56
|
+
- Non-goals
|
|
57
|
+
- Core user journeys
|
|
58
|
+
- Required features
|
|
59
|
+
- Excluded (nice-to-haves explicitly cut from the MVP)
|
|
60
|
+
- Suggested stack
|
|
61
|
+
- Data model sketch
|
|
62
|
+
- API sketch
|
|
63
|
+
- Acceptance criteria
|
|
64
|
+
- Risks and open questions
|
|
65
|
+
|
|
66
|
+
### Phase 2 — Scope Cop
|
|
67
|
+
|
|
68
|
+
Review the Phase 1 prompt and be ruthless. Favor speed over completeness. Output:
|
|
69
|
+
|
|
70
|
+
- **Cut** — scope creep, vague requirements, anything not needed to prove value
|
|
71
|
+
- **Keep** — the irreducible core
|
|
72
|
+
- **Defer** — real but post-MVP
|
|
73
|
+
- **Missing clarifications** — assumptions to make explicit
|
|
74
|
+
- **Revised MVP Build Prompt** — implementation-ready, one-week-sized
|
|
75
|
+
|
|
76
|
+
The revised prompt from this phase is the **source of truth** for the build.
|
|
77
|
+
|
|
78
|
+
### Phase 3 — Builder
|
|
79
|
+
|
|
80
|
+
Treat the revised prompt as source of truth. Build a working vertical slice — only
|
|
81
|
+
what a user needs to complete the core journey. No features outside the MVP, no
|
|
82
|
+
TODO stubs.
|
|
83
|
+
For anything ambiguous, make the smallest reasonable assumption and list it. Output:
|
|
84
|
+
|
|
85
|
+
1. Short execution plan
|
|
86
|
+
2. Exact file/module changes
|
|
87
|
+
3. Implementation order (small tasks, each with acceptance criteria)
|
|
88
|
+
4. Test strategy (cover the core journey end to end)
|
|
89
|
+
5. Verification checklist
|
|
90
|
+
6. Risks and blockers
|
|
91
|
+
|
|
92
|
+
Then implement the slice, smallest diffs that work.
|
|
93
|
+
|
|
94
|
+
### Phase 4 — Reviewer
|
|
95
|
+
|
|
96
|
+
Sanity-check before coding and again after the slice exists. Confirm: scope still
|
|
97
|
+
fits one week, acceptance criteria are testable, the core journey works end to
|
|
98
|
+
end, no smuggled-in scope creep, assumptions are documented. Flag anything that
|
|
99
|
+
breaks these and fix it.
|
|
100
|
+
|
|
101
|
+
## Reusable prompt templates
|
|
102
|
+
|
|
103
|
+
The four phases above can also be run as standalone prompts in separate sessions.
|
|
104
|
+
Paste the relevant block, fill the bracketed input.
|
|
105
|
+
|
|
106
|
+
### Phase 1 template — Prompt Architect
|
|
107
|
+
|
|
108
|
+
```prompt
|
|
109
|
+
You are Prompt Architect. Turn a rough product idea into a crisp MVP Build Prompt
|
|
110
|
+
another agent can execute.
|
|
111
|
+
|
|
112
|
+
Input: idea, target user, business goal, constraints, tech stack, deadline,
|
|
113
|
+
known risks.
|
|
114
|
+
|
|
115
|
+
1. Ask up to 5 clarifying questions only if critical details are missing.
|
|
116
|
+
2. Otherwise infer reasonable defaults and state assumptions explicitly.
|
|
117
|
+
3. Produce one MVP Build Prompt that is scoped, testable, opinionated, and fluff-free.
|
|
118
|
+
|
|
119
|
+
Output sections: Title; One-sentence problem statement; Target user; MVP goal;
|
|
120
|
+
Core user journeys; Required features; Excluded; Suggested stack; Data model sketch;
|
|
121
|
+
API sketch; Acceptance criteria; Risks and open questions.
|
|
122
|
+
|
|
123
|
+
Rules: ship in 1 week not 1 month; cut anything not needed for first real user value;
|
|
124
|
+
optimize for learning not elegance; be strict about scope; no generic advice.
|
|
125
|
+
|
|
126
|
+
Idea: [PASTE IDEA HERE]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Phase 2 template — Scope Cop
|
|
130
|
+
|
|
131
|
+
```prompt
|
|
132
|
+
You are Scope Cop. Remove anything that does not belong in a first version.
|
|
133
|
+
|
|
134
|
+
Find scope creep, vague requirements, missing assumptions, features to cut, and
|
|
135
|
+
dependencies that slow shipping. Make it something a solo founder can ship fast.
|
|
136
|
+
|
|
137
|
+
Output: What to cut; What to keep; What to defer; Missing clarifications;
|
|
138
|
+
Revised MVP Build Prompt (implementation-ready).
|
|
139
|
+
|
|
140
|
+
Rules: be ruthless; favor speed over completeness; if a feature is not needed to
|
|
141
|
+
prove value, cut it; keep the revised prompt implementation-ready.
|
|
142
|
+
|
|
143
|
+
Prompt to review: [PASTE MVP BUILD PROMPT HERE]
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Phase 3 template — Builder
|
|
147
|
+
|
|
148
|
+
```prompt
|
|
149
|
+
You are Builder. Implement the MVP from the prompt below as source of truth.
|
|
150
|
+
|
|
151
|
+
Ship a working vertical slice. For ambiguity, make the smallest reasonable
|
|
152
|
+
assumption and list it. No features outside the MVP. Prefer boring, reliable choices.
|
|
153
|
+
|
|
154
|
+
Output: short execution plan; exact file/module changes; implementation order;
|
|
155
|
+
test strategy; verification checklist; risks and blockers. Each task gets acceptance
|
|
156
|
+
criteria. Build only what is required to complete the core journey.
|
|
157
|
+
|
|
158
|
+
Prompt to implement: [PASTE REVISED MVP BUILD PROMPT HERE]
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Phase 4 template — Reviewer
|
|
162
|
+
|
|
163
|
+
```prompt
|
|
164
|
+
You are Reviewer. Sanity-check the plan/slice before shipping.
|
|
165
|
+
|
|
166
|
+
Confirm: scope fits one week; acceptance criteria are testable; the core journey
|
|
167
|
+
works end to end; no scope creep crept back in; assumptions are documented. Flag
|
|
168
|
+
and fix anything that breaks these.
|
|
169
|
+
|
|
170
|
+
Plan/slice to review: [PASTE PLAN OR DIFF HERE]
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## When stuck or uncertain
|
|
174
|
+
|
|
175
|
+
Do not stall the chain. Make the smallest reasonable assumption, state it, and keep
|
|
176
|
+
moving. The shortest path to a shippable slice is the right path.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "olko:obsidian-pr-sync",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Fetch open GitHub PRs assigned to you or requesting your review, and write a grouped, age-sorted '## PRs to review' section into today's Obsidian daily note. Idempotent — re-running replaces the section.",
|
|
5
|
+
"skills": "skills/"
|
|
6
|
+
}
|