bobo-ai-cli 1.0.2 → 1.2.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/bundled-skills/Skill_Seekers/SKILL.md +1722 -0
- package/bundled-skills/ab-test-setup/SKILL.md +557 -0
- package/bundled-skills/adversarial-verification/SKILL.md +95 -0
- package/bundled-skills/agent-sdk-dev/SKILL.md +238 -0
- package/bundled-skills/agent-tools/SKILL.md +136 -0
- package/bundled-skills/analytics-tracking/SKILL.md +597 -0
- package/bundled-skills/artifacts-builder/SKILL.md +89 -0
- package/bundled-skills/asana/SKILL.md +13 -0
- package/bundled-skills/backend-expert/SKILL.md +97 -0
- package/bundled-skills/brand-voice/SKILL.md +481 -0
- package/bundled-skills/browser-use/SKILL.md +419 -0
- package/bundled-skills/cache-optimization-skill/SKILL.md +179 -0
- package/bundled-skills/canvas-design/SKILL.md +147 -0
- package/bundled-skills/citation-validator/SKILL.md +203 -0
- package/bundled-skills/clangd-lsp/SKILL.md +52 -0
- package/bundled-skills/code-review/SKILL.md +280 -0
- package/bundled-skills/code-review-expert/SKILL.md +85 -0
- package/bundled-skills/code-simplifier/SKILL.md +13 -0
- package/bundled-skills/commit-commands/SKILL.md +258 -0
- package/bundled-skills/competitor-alternatives/SKILL.md +795 -0
- package/bundled-skills/content-atomizer/SKILL.md +910 -0
- package/bundled-skills/content-research-writer/SKILL.md +605 -0
- package/bundled-skills/context-budget-analyzer/SKILL.md +76 -0
- package/bundled-skills/context-compressor/SKILL.md +75 -0
- package/bundled-skills/context-optimization-suite/SKILL.md +162 -0
- package/bundled-skills/context7/SKILL.md +13 -0
- package/bundled-skills/copy-editing/SKILL.md +494 -0
- package/bundled-skills/copywriting/SKILL.md +510 -0
- package/bundled-skills/csharp-lsp/SKILL.md +40 -0
- package/bundled-skills/decision-making-framework/SKILL.md +154 -0
- package/bundled-skills/deep-research/SKILL.md +236 -0
- package/bundled-skills/developer-growth-analysis/SKILL.md +335 -0
- package/bundled-skills/direct-response-copy/SKILL.md +2336 -0
- package/bundled-skills/docker-expert/SKILL.md +229 -0
- package/bundled-skills/document-skills/SKILL.md +13 -0
- package/bundled-skills/documentation-expert/SKILL.md +126 -0
- package/bundled-skills/email-sequence/SKILL.md +1061 -0
- package/bundled-skills/email-sequences/SKILL.md +910 -0
- package/bundled-skills/example-plugin/SKILL.md +72 -0
- package/bundled-skills/explanatory-output-style/SKILL.md +82 -0
- package/bundled-skills/feature-dev/SKILL.md +458 -0
- package/bundled-skills/file-organizer/SKILL.md +466 -0
- package/bundled-skills/firebase.disabled/SKILL.md +13 -0
- package/bundled-skills/form-cro/SKILL.md +488 -0
- package/bundled-skills/free-tool-strategy/SKILL.md +636 -0
- package/bundled-skills/frontend-design/SKILL.md +41 -0
- package/bundled-skills/frontend-design-offical/SKILL.md +55 -0
- package/bundled-skills/frontend-expert/SKILL.md +93 -0
- package/bundled-skills/github/SKILL.md +13 -0
- package/bundled-skills/gitlab/SKILL.md +13 -0
- package/bundled-skills/gopls-lsp/SKILL.md +32 -0
- package/bundled-skills/got-controller/SKILL.md +218 -0
- package/bundled-skills/greptile/SKILL.md +72 -0
- package/bundled-skills/high-agency/SKILL.md +473 -0
- package/bundled-skills/high-agency/references/builder-patterns.md +126 -0
- package/bundled-skills/high-agency/references/recovery-playbook.md +298 -0
- package/bundled-skills/hookify/SKILL.md +376 -0
- package/bundled-skills/image-editor/SKILL.md +189 -0
- package/bundled-skills/image-enhancer/SKILL.md +109 -0
- package/bundled-skills/jdtls-lsp/SKILL.md +49 -0
- package/bundled-skills/json-canvas/SKILL.md +654 -0
- package/bundled-skills/keyword-research/SKILL.md +559 -0
- package/bundled-skills/kotlin-lsp/SKILL.md +28 -0
- package/bundled-skills/laravel-boost/SKILL.md +13 -0
- package/bundled-skills/launch-strategy/SKILL.md +394 -0
- package/bundled-skills/lead-magnet/SKILL.md +393 -0
- package/bundled-skills/learning-output-style/SKILL.md +106 -0
- package/bundled-skills/linear/SKILL.md +13 -0
- package/bundled-skills/lua-lsp/SKILL.md +47 -0
- package/bundled-skills/marketing-ideas/SKILL.md +720 -0
- package/bundled-skills/marketing-psychology/SKILL.md +534 -0
- package/bundled-skills/mcp-builder/SKILL.md +369 -0
- package/bundled-skills/meeting-insights-analyzer/SKILL.md +347 -0
- package/bundled-skills/memory-evolution-system/SKILL.md +172 -0
- package/bundled-skills/memory-manager/SKILL.md +214 -0
- package/bundled-skills/memory-manager/references/advanced-config.md +65 -0
- package/bundled-skills/multi-lens-thinking/SKILL.md +407 -0
- package/bundled-skills/nano-banana-pro/SKILL.md +116 -0
- package/bundled-skills/newsletter/SKILL.md +736 -0
- package/bundled-skills/notebooklm/SKILL.md +296 -0
- package/bundled-skills/obsidian-bases/SKILL.md +634 -0
- package/bundled-skills/obsidian-markdown/SKILL.md +651 -0
- package/bundled-skills/onboarding-cro/SKILL.md +494 -0
- package/bundled-skills/orchestrator/SKILL.md +681 -0
- package/bundled-skills/page-cro/SKILL.md +379 -0
- package/bundled-skills/paid-ads/SKILL.md +624 -0
- package/bundled-skills/paywall-upgrade-cro/SKILL.md +651 -0
- package/bundled-skills/php-lsp/SKILL.md +36 -0
- package/bundled-skills/planning-with-files/SKILL.md +193 -0
- package/bundled-skills/playwright/SKILL.md +13 -0
- package/bundled-skills/plugin-dev/SKILL.md +434 -0
- package/bundled-skills/popup-cro/SKILL.md +520 -0
- package/bundled-skills/positioning-angles/SKILL.md +330 -0
- package/bundled-skills/pr-review-toolkit/SKILL.md +359 -0
- package/bundled-skills/pricing-strategy/SKILL.md +777 -0
- package/bundled-skills/proactive-self-improving/SKILL.md +435 -0
- package/bundled-skills/programmatic-seo/SKILL.md +714 -0
- package/bundled-skills/pyright-lsp/SKILL.md +43 -0
- package/bundled-skills/quality-assurance-framework/SKILL.md +168 -0
- package/bundled-skills/question-refiner/SKILL.md +160 -0
- package/bundled-skills/ralph-loop/SKILL.md +205 -0
- package/bundled-skills/refactoring-expert/SKILL.md +103 -0
- package/bundled-skills/referral-program/SKILL.md +668 -0
- package/bundled-skills/research-executor/SKILL.md +164 -0
- package/bundled-skills/review-with-security/SKILL.md +12 -0
- package/bundled-skills/rust-analyzer-lsp/SKILL.md +50 -0
- package/bundled-skills/schema-markup/SKILL.md +647 -0
- package/bundled-skills/security-audit-expert/SKILL.md +124 -0
- package/bundled-skills/security-expert/SKILL.md +140 -0
- package/bundled-skills/security-guidance/SKILL.md +13 -0
- package/bundled-skills/seedance-prompt/SKILL.md +139 -0
- package/bundled-skills/self-evolution/SKILL.md +1160 -0
- package/bundled-skills/seo-audit/SKILL.md +432 -0
- package/bundled-skills/seo-content/SKILL.md +787 -0
- package/bundled-skills/serena/SKILL.md +13 -0
- package/bundled-skills/signup-flow-cro/SKILL.md +409 -0
- package/bundled-skills/skill-creator/SKILL.md +220 -0
- package/bundled-skills/skill-manager/SKILL.md +226 -0
- package/bundled-skills/skill-share/SKILL.md +98 -0
- package/bundled-skills/slack/SKILL.md +13 -0
- package/bundled-skills/social-content/SKILL.md +878 -0
- package/bundled-skills/spec-flow-skill/SKILL.md +124 -0
- package/bundled-skills/stripe/SKILL.md +13 -0
- package/bundled-skills/supabase/SKILL.md +13 -0
- package/bundled-skills/swift-lsp/SKILL.md +40 -0
- package/bundled-skills/synthesizer/SKILL.md +236 -0
- package/bundled-skills/template-skill/SKILL.md +16 -0
- package/bundled-skills/testing-expert/SKILL.md +99 -0
- package/bundled-skills/theme-factory/SKILL.md +72 -0
- package/bundled-skills/tiktok-research/SKILL.md +208 -0
- package/bundled-skills/typescript-lsp/SKILL.md +36 -0
- package/bundled-skills/ui-ux-pro-max/SKILL.md +247 -0
- package/bundled-skills/verify/SKILL.md +15 -0
- package/bundled-skills/visual-prompt-engineer/SKILL.md +102 -0
- package/bundled-skills/webapp-testing/SKILL.md +111 -0
- package/bundled-skills/wide-research/SKILL.md +191 -0
- package/dist/agent.d.ts +4 -0
- package/dist/agent.js +42 -11
- package/dist/agent.js.map +1 -1
- package/dist/config.js +10 -1
- package/dist/config.js.map +1 -1
- package/dist/index.js +340 -10
- package/dist/index.js.map +1 -1
- package/dist/insight.d.ts +5 -0
- package/dist/insight.js +80 -0
- package/dist/insight.js.map +1 -0
- package/dist/sessions.d.ts +29 -0
- package/dist/sessions.js +106 -0
- package/dist/sessions.js.map +1 -0
- package/dist/skills.d.ts +6 -2
- package/dist/skills.js +33 -6
- package/dist/skills.js.map +1 -1
- package/dist/spinner.d.ts +14 -0
- package/dist/spinner.js +38 -0
- package/dist/spinner.js.map +1 -0
- package/dist/sub-agent-runner.d.ts +6 -0
- package/dist/sub-agent-runner.js +37 -0
- package/dist/sub-agent-runner.js.map +1 -0
- package/dist/sub-agents.d.ts +30 -0
- package/dist/sub-agents.js +112 -0
- package/dist/sub-agents.js.map +1 -0
- package/dist/ui.d.ts +2 -1
- package/dist/ui.js +37 -27
- package/dist/ui.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "image-editor"
|
|
3
|
+
title: "Image Editor"
|
|
4
|
+
category: "media"
|
|
5
|
+
tags: ["image editor", "requirements", "supported formats", "quick start", "common operations", "png to webp", "heic to jpeg", "rotate 90 degrees clockwise", "rotate 180 degrees", "increase contrast"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/image-editor"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: image-editor
|
|
13
|
+
description: Image editing tool supporting format conversion (JPEG, PNG, TIFF, HEIC, WebP), basic edits (rotate, resize, flip), color adjustments (brightness, contrast, saturation), and transparency handling. Use when users request image editing tasks like "convert this JPEG to PNG", "rotate this image 90 degrees", "resize to 800x600 keeping aspect ratio", "increase brightness by 20%", or "replace transparency with white".
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Image Editor
|
|
17
|
+
|
|
18
|
+
This skill provides comprehensive image editing capabilities through a Python script that handles format conversions, basic edits, color adjustments, and transparency operations.
|
|
19
|
+
|
|
20
|
+
## Requirements
|
|
21
|
+
|
|
22
|
+
This skill uses [uv](https://docs.astral.sh/uv/) for dependency management. The script automatically installs required packages (Pillow, pillow-heif) on first run.
|
|
23
|
+
|
|
24
|
+
## Supported Formats
|
|
25
|
+
|
|
26
|
+
- JPEG/JPG
|
|
27
|
+
- PNG
|
|
28
|
+
- TIFF
|
|
29
|
+
- HEIC
|
|
30
|
+
- WebP
|
|
31
|
+
|
|
32
|
+
## Quick Start
|
|
33
|
+
|
|
34
|
+
The skill is installed at `~/.claude/skills/image-editor/`. The main editing script is at `~/.claude/skills/image-editor/scripts/edit_image.py`.
|
|
35
|
+
|
|
36
|
+
It uses uv for dependency management and automatically installs required packages when first run.
|
|
37
|
+
|
|
38
|
+
**IMPORTANT: Run the script using absolute paths (do NOT cd to any directory first):**
|
|
39
|
+
|
|
40
|
+
Basic usage:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py /path/to/input.jpg /path/to/output.png [options]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Common Operations
|
|
47
|
+
|
|
48
|
+
### Format Conversion
|
|
49
|
+
|
|
50
|
+
Convert between any supported formats by specifying different input/output extensions:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# JPEG to PNG (using absolute paths)
|
|
54
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py ~/input/image.jpg ~/output/image.png
|
|
55
|
+
|
|
56
|
+
# PNG to WebP
|
|
57
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py ~/input/image.png ~/output/image.webp
|
|
58
|
+
|
|
59
|
+
# HEIC to JPEG
|
|
60
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py ~/input/image.heic ~/output/image.jpg
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Rotation
|
|
64
|
+
|
|
65
|
+
Rotate images by any angle (commonly 90, 180, 270 degrees):
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# Rotate 90 degrees clockwise
|
|
69
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --rotate 90
|
|
70
|
+
|
|
71
|
+
# Rotate 180 degrees
|
|
72
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --rotate 180
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Resize
|
|
76
|
+
|
|
77
|
+
Resize images with or without aspect ratio preservation:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
# Resize to 800x600, maintaining aspect ratio (fits within bounds)
|
|
81
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --width 800 --height 600 --keep-aspect
|
|
82
|
+
|
|
83
|
+
# Resize to exact dimensions (may distort)
|
|
84
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --width 800 --height 600
|
|
85
|
+
|
|
86
|
+
# Resize width only, maintaining aspect ratio
|
|
87
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --width 800 --keep-aspect
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Color Adjustments
|
|
91
|
+
|
|
92
|
+
Adjust brightness, contrast, and saturation using multiplier factors:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Increase brightness by 20% (factor = 1.2)
|
|
96
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --brightness 1.2
|
|
97
|
+
|
|
98
|
+
# Decrease brightness by 20% (factor = 0.8)
|
|
99
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --brightness 0.8
|
|
100
|
+
|
|
101
|
+
# Increase contrast
|
|
102
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --contrast 1.3
|
|
103
|
+
|
|
104
|
+
# Increase saturation
|
|
105
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --saturation 1.2
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### Transparency Handling
|
|
109
|
+
|
|
110
|
+
Replace transparent areas with a solid color:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
# Replace transparency with white (default)
|
|
114
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.png output.png --replace-transparency 255,255,255
|
|
115
|
+
|
|
116
|
+
# Replace transparency with black
|
|
117
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.png output.png --replace-transparency 0,0,0
|
|
118
|
+
|
|
119
|
+
# Replace transparency with custom color (R,G,B format)
|
|
120
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.png output.png --replace-transparency 200,200,200
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Flip
|
|
124
|
+
|
|
125
|
+
Flip images horizontally or vertically:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# Flip horizontally (mirror)
|
|
129
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --flip horizontal
|
|
130
|
+
|
|
131
|
+
# Flip vertically
|
|
132
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --flip vertical
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Chaining Operations
|
|
136
|
+
|
|
137
|
+
Combine multiple operations in a single command. Operations are applied in this order:
|
|
138
|
+
|
|
139
|
+
1. Transparency replacement
|
|
140
|
+
2. Geometric transformations (rotate, flip, resize)
|
|
141
|
+
3. Color adjustments (brightness, contrast, saturation)
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
# Rotate 90 degrees and increase brightness by 20%
|
|
145
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.jpg --rotate 90 --brightness 1.2
|
|
146
|
+
|
|
147
|
+
# Resize, adjust colors, and convert format
|
|
148
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.jpg output.png --width 800 --height 600 --keep-aspect --brightness 1.1 --saturation 1.2
|
|
149
|
+
|
|
150
|
+
# Replace transparency, resize, and save as JPEG
|
|
151
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py input.png output.jpg --replace-transparency 255,255,255 --width 1024 --keep-aspect
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Workflow Guidelines
|
|
155
|
+
|
|
156
|
+
1. **Use absolute paths throughout** - Do NOT change directories with `cd`
|
|
157
|
+
2. **Input files**: Provide the full path to the input image file
|
|
158
|
+
3. **Run the script**: Use `uv run ~/.claude/skills/image-editor/scripts/edit_image.py` with absolute paths for input and output
|
|
159
|
+
4. **Output files**: Save to the desired output location with full path
|
|
160
|
+
5. **Provide file path**: Give user the path to the output file
|
|
161
|
+
|
|
162
|
+
Example:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
uv run ~/.claude/skills/image-editor/scripts/edit_image.py ~/input/image.png ~/output/edited_image.png --rotate 90
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## All Available Options
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
--format Target format (JPEG, PNG, TIFF, HEIC, WEBP)
|
|
172
|
+
--rotate DEGREES Rotation angle (e.g., 90, 180, 270, or any angle)
|
|
173
|
+
--width PIXELS Target width in pixels
|
|
174
|
+
--height PIXELS Target height in pixels
|
|
175
|
+
--keep-aspect Maintain aspect ratio when resizing
|
|
176
|
+
--flip DIRECTION Flip horizontal or vertical
|
|
177
|
+
--brightness FACTOR Brightness multiplier (>1.0 brightens, <1.0 darkens)
|
|
178
|
+
--contrast FACTOR Contrast multiplier (>1.0 increases, <1.0 decreases)
|
|
179
|
+
--saturation FACTOR Saturation multiplier (>1.0 increases, <1.0 decreases)
|
|
180
|
+
--replace-transparency R,G,B Replace transparency with color (e.g., 255,255,255)
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
## Notes
|
|
184
|
+
|
|
185
|
+
- **Always use absolute paths** - Do NOT use `cd` commands. Run the script with full absolute paths for input, output, and script location.
|
|
186
|
+
- JPEG format does not support transparency. When saving as JPEG, any transparency is automatically replaced with white.
|
|
187
|
+
- The `--keep-aspect` flag ensures images are not distorted when resizing. The output dimensions may be smaller than specified to maintain the aspect ratio.
|
|
188
|
+
- Color adjustment factors are multipliers: 1.0 = no change, >1.0 = increase, <1.0 = decrease.
|
|
189
|
+
- When chaining operations, order matters internally but the script handles the logical sequence automatically.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "image-enhancer"
|
|
3
|
+
title: "Image Enhancer"
|
|
4
|
+
category: "media"
|
|
5
|
+
tags: ["image enhancer", "when to use this skill", "what this skill does", "how to use", "example", "tips", "common use cases"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/image-enhancer"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: image-enhancer
|
|
13
|
+
description: Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Image Enhancer
|
|
17
|
+
|
|
18
|
+
This skill takes your images and screenshots and makes them look better—sharper, clearer, and more professional.
|
|
19
|
+
|
|
20
|
+
## When to Use This Skill
|
|
21
|
+
|
|
22
|
+
- Improving screenshot quality for blog posts or documentation
|
|
23
|
+
- Enhancing images before sharing on social media
|
|
24
|
+
- Preparing images for presentations or reports
|
|
25
|
+
- Upscaling low-resolution images
|
|
26
|
+
- Sharpening blurry photos
|
|
27
|
+
- Cleaning up compressed images
|
|
28
|
+
|
|
29
|
+
## What This Skill Does
|
|
30
|
+
|
|
31
|
+
1. **Analyzes Image Quality**: Checks resolution, sharpness, and compression artifacts
|
|
32
|
+
2. **Enhances Resolution**: Upscales images intelligently
|
|
33
|
+
3. **Improves Sharpness**: Enhances edges and details
|
|
34
|
+
4. **Reduces Artifacts**: Cleans up compression artifacts and noise
|
|
35
|
+
5. **Optimizes for Use Case**: Adjusts based on intended use (web, print, social media)
|
|
36
|
+
|
|
37
|
+
## How to Use
|
|
38
|
+
|
|
39
|
+
### Basic Enhancement
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
Improve the image quality of screenshot.png
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
Enhance all images in this folder
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Specific Improvements
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
Upscale this image to 4K resolution
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
Sharpen this blurry screenshot
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
Reduce compression artifacts in this image
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Batch Processing
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
Improve the quality of all PNG files in this directory
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Example
|
|
70
|
+
|
|
71
|
+
**User**: "Improve the image quality of screenshot-2024.png"
|
|
72
|
+
|
|
73
|
+
**Output**:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
Analyzing screenshot-2024.png...
|
|
77
|
+
|
|
78
|
+
Current specs:
|
|
79
|
+
- Resolution: 1920x1080
|
|
80
|
+
- Format: PNG
|
|
81
|
+
- Quality: Good, but slight blur
|
|
82
|
+
|
|
83
|
+
Enhancements applied:
|
|
84
|
+
✓ Upscaled to 2560x1440 (retina)
|
|
85
|
+
✓ Sharpened edges
|
|
86
|
+
✓ Enhanced text clarity
|
|
87
|
+
✓ Optimized file size
|
|
88
|
+
|
|
89
|
+
Saved as: screenshot-2024-enhanced.png
|
|
90
|
+
Original preserved as: screenshot-2024-original.png
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Inspired by:** Lenny Rachitsky's workflow from his newsletter - used for screenshots in his articles
|
|
94
|
+
|
|
95
|
+
## Tips
|
|
96
|
+
|
|
97
|
+
- Always keeps original files as backup
|
|
98
|
+
- Works best with screenshots and digital images
|
|
99
|
+
- Can batch process entire folders
|
|
100
|
+
- Specify output format if needed (PNG for quality, JPG for smaller size)
|
|
101
|
+
- For social media, mention the platform for optimal sizing
|
|
102
|
+
|
|
103
|
+
## Common Use Cases
|
|
104
|
+
|
|
105
|
+
- **Blog Posts**: Enhance screenshots before publishing
|
|
106
|
+
- **Documentation**: Make UI screenshots crystal clear
|
|
107
|
+
- **Social Media**: Optimize images for Twitter, LinkedIn, Instagram
|
|
108
|
+
- **Presentations**: Upscale images for large screens
|
|
109
|
+
- **Print Materials**: Increase resolution for physical media
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "jdtls-lsp"
|
|
3
|
+
title: "jdtls-lsp"
|
|
4
|
+
category: "other"
|
|
5
|
+
tags: ["jdtls-lsp", "supported extensions", "installation", "arch linux (aur)", "requirements", "more information"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/jdtls-lsp"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# jdtls-lsp
|
|
12
|
+
|
|
13
|
+
Java language server (Eclipse JDT.LS) for Claude Code, providing code intelligence and refactoring.
|
|
14
|
+
|
|
15
|
+
## Supported Extensions
|
|
16
|
+
|
|
17
|
+
`.java`
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
### Via Homebrew (macOS)
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
brew install jdtls
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Via package manager (Linux)
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Arch Linux (AUR)
|
|
31
|
+
yay -S jdtls
|
|
32
|
+
|
|
33
|
+
# Other distros: manual installation required
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Manual Installation
|
|
37
|
+
|
|
38
|
+
1. Download from [Eclipse JDT.LS releases](https://download.eclipse.org/jdtls/snapshots/)
|
|
39
|
+
2. Extract to a directory (e.g., `~/.local/share/jdtls`)
|
|
40
|
+
3. Create a wrapper script named `jdtls` in your PATH
|
|
41
|
+
|
|
42
|
+
## Requirements
|
|
43
|
+
|
|
44
|
+
- Java 17 or later (JDK, not just JRE)
|
|
45
|
+
|
|
46
|
+
## More Information
|
|
47
|
+
|
|
48
|
+
- [Eclipse JDT.LS GitHub](https://github.com/eclipse-jdtls/eclipse.jdt.ls)
|
|
49
|
+
- [VSCode Java Extension](https://github.com/redhat-developer/vscode-java) (uses JDT.LS)
|