Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

paint

/paint

Maluje oryginalny obraz w stylu akwareli przez pisanie kodu, bez wywoływania modelu obrazu, gdy brak narzędzia do generowania obrazów lub potrzebna jest iterowalna ilustracja.

Repozytorium
Wiggle ↗
Licencja
MIT
Ostatnia zmiana repozytorium
04.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
7
Skrypty
4
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 04.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 4 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: examples/full_scene.py, paintkit/__init__.py, paintkit/toolkit.py, render.py

Co robi i kiedy

Maluje oryginalny obraz w stylu akwareli przez pisanie kodu, bez wywoływania modelu obrazu, gdy brak narzędzia do generowania obrazów lub potrzebna jest iterowalna ilustracja.

Oryginalny opis (EN)

Paint an original image in a watercolor style by writing code, not by calling an image model. Use when the user asks you to draw, paint, sketch, or make a picture of something and there is no image-generation tool available, or when they ask for a painting, watercolor, or illustration you can iterate on. Do not use for charts, diagrams, UI mockups, or requests to edit an existing photograph.

Jak działa

  1. Workflow
  2. Keeping the transcript clean
  3. Painting well
  4. Budget
Sekcje z nagłówków SKILL.md, w oryginale · 76 linii, 415 słów
Podgląd SKILL.md
---
name: paint
description: Paint an original image in a watercolor style by writing code, not by calling an image model. Use when the user asks you to draw, paint, sketch, or make a picture of something and there is no image-generation tool available, or when they ask for a painting, watercolor, or illustration you can iterate on. Do not use for charts, diagrams, UI mockups, or requests to edit an existing photograph.
license: Complete terms in LICENSE.txt
---

# Code-drawn watercolor

You paint by writing a short Python function against `paintkit.Canvas`, an
OpenCV watercolor toolkit bundled with this skill. Geometry is seeded, so you
can look at the output, fix the two worst things, and re-render the same
painting with only your edit changed.

**Read `reference.md` in this skill directory once before your first scene.**
It documents every primitive. `examples/full_scene.py` is a worked 18-element
scene that uses every primitive; skim it for patterns before starting. Do not
paste either into the conversation.

## Workflow

Run each step with `bash_tool`. This skill is mounted read-only at
`/mnt/skills/examples/paint`; write outputs to your working directory.

1. **Write the scene** to a file in your working directory:

   ```bash
   cat > scene.py <<'EOF'
   from paintkit import Canvas, hex_rgb

   def paint(cv: Canvas):
       cv.paper_texture(0.05)
       cv.wash(0, int(cv.h * 0.55), hex_rgb("#a7c4d8"), hex_rgb("#e8d7b8"),
               alpha=0.8, mottling=0.4)
       # ... more primitives, back to front
   EOF
   ```

2. **Render a quick preview:**

   ```bash
   python /mnt/skills/examples/paint/render.py scene.py -o preview.png --scale 0.5 --seed 1
   ```

3. **Look at it.** Call the `view` tool on `preview.png`. `bash_tool` returns
   only stdout, so without this step you never see what you drew.

4. **Critique and revise.** Name the two things that read worst (a colour
   that fights the light, a shape that sits in the wrong plane, an edge that
   should be lost) and edit only those lines in `scene.py`. Re-render and look
   again. Two or three rounds is usually enough.

5. **Render full size and deliver:**

   ```bash
   python /mnt/skills/examples/paint/render.py scene.py -o out.png --width 1600 --height 900 --seed 1
   ```

   Then call `present_files` on `out.png` and `scene.py`. The scene file is
   the editable source; keep it so "make the sky darker" is an edit, not a
   new painting.

## Keeping the transcript clean

Write and edit `scene.py` through `bash_tool` (heredoc, or a short
Python `-c` that rewrites the file). Do not paste scene source into the chat
as prose; a collapsed tool call is a few lines in the transcript.

## Painting well

Work back to front and light to dark. Reserve whites by leaving paper
unpainted or with a white `outline`; there is no white pigment. Two thin
`watercolor_blob` layers read better than one heavy `flat_shape`. Distance is
cool, low-contrast, wet, soft; foreground is warm, dark, dry, hard-edged. Use
`cv.rng` for any procedural placement so the scene stays seeded.

## Budget

The container has one CPU and a 300 s wall clock per call. A full 18-element
scene renders in about a second at 1600×900. Use `--scale 0.5` while
iterating.
Pliki w paczce (7)
  • LICENSE.txt 11 KB
  • SKILL.md 3 KB
  • reference.md 3 KB
  • render.py 3 KB
  • examples/full_scene.py 24 KB
  • paintkit/__init__.py 1 KB
  • paintkit/toolkit.py 63 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · Razshy/Wiggle100MIT
wolffe/three.js-skills90MIT

Migawka bazy z 13.11.2026 · wersja paczki 850f2255600b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100watercolor-obj-p5
    Maluje przedmiot ze zdjęcia proceduralną akwarelą w p5.js i p5.brush.js, dając kod szkicu i plik PNG.
  • 100agent-paint-reference
    Maluje oryginalne grafiki w dowolnym stylu lub przemalowuje referencję wizualną przez silnik Agent Paint bez pulpitu, np. plakaty czy pixel art.
  • 100watercolor-obj
    Wycina przedmiot ze zdjęcia lub ilustracji i maluje go jako akwarelę na przezroczystym lub białym tle.
  • 100atelier
    Tworzy obrazy kodem zamiast modelu graficznego: fotorealistyczne 3D, akwarele, plakaty z typografią i pixel art.
  • 100procedural-painter
    Maluje gotowe obrazy malarskie wyłącznie kodem, bez modelu obrazu i zasobów: proceduralny podmalunek, pociągnięcia pędzla wzdłuż pola przepływu stylu, impasto, a potem kontrola i iteracje.
  • 90draw-and-paint-art
    Pomaga rysować figury i postacie, światło i kolor w Krita lub Blenderze oraz sprawdza szkice pod kątem anatomii i pozy.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.