diff --git a/.claude/skills/frontend-design b/.claude/skills/frontend-design new file mode 120000 index 0000000..680e442 --- /dev/null +++ b/.claude/skills/frontend-design @@ -0,0 +1 @@ +/home/usulpro/.agents/skills/frontend-design \ No newline at end of file diff --git a/.claude/skills/web-design-guidelines b/.claude/skills/web-design-guidelines new file mode 120000 index 0000000..886b26d --- /dev/null +++ b/.claude/skills/web-design-guidelines @@ -0,0 +1 @@ +../../.agents/skills/web-design-guidelines \ No newline at end of file diff --git a/.gitignore b/.gitignore index 364cde5..8ac39d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,13 @@ node_modules/ -output/ +output/css/ .env !.claude/settings.local.json -# Generated output HTML (template + data → output) +# Generated output HTML (template + data -> output) tasks/*/docs/*.output.html -# Editor temp files (diffs, transient data) +# Editor temp files (diffs, screenshots, transient data) tasks/*/temp/ + +# PDFs are committed (available for download) +# output/pdf/ is NOT gitignored diff --git a/.goose/skills/web-design-guidelines b/.goose/skills/web-design-guidelines new file mode 120000 index 0000000..886b26d --- /dev/null +++ b/.goose/skills/web-design-guidelines @@ -0,0 +1 @@ +../../.agents/skills/web-design-guidelines \ No newline at end of file diff --git a/.kiro/skills/web-design-guidelines b/.kiro/skills/web-design-guidelines new file mode 120000 index 0000000..886b26d --- /dev/null +++ b/.kiro/skills/web-design-guidelines @@ -0,0 +1 @@ +../../.agents/skills/web-design-guidelines \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md index 803b09f..df11990 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -139,6 +139,8 @@ cat tasks/{type}/temp/{docId}.diff.json # see what changed **Preview:** `http://localhost:3300/tasks/index.html` +The `frontend-design` skill is installed but applies **only to `tasks/index.html`** and other UI/navigation pages. Worksheet documents (`*.template.html`) are print/PDF layouts, not web pages — web design principles do not apply to them. + ## Script Principles (Orchestrator Pattern) Claude Code is the central orchestrator. Scripts are tools for Claude, not autonomous actors. diff --git a/assets/items/freighters/pod16.png b/assets/items/freighters/pod16.png index f266b1c..a775194 100644 Binary files a/assets/items/freighters/pod16.png and b/assets/items/freighters/pod16.png differ diff --git a/bs-config.cjs b/bs-config.cjs index 69e832c..944aedc 100644 --- a/bs-config.cjs +++ b/bs-config.cjs @@ -8,10 +8,12 @@ module.exports = { }, files: [ "tasks/index.html", + "tasks/*/index.html", "tasks/*/docs/*.template.html", "tasks/*/docs/*.output.html", "tasks/*/editor.html", - "assets/**/*" + "assets/**/*", + "public/**/*" ], port: 3300, open: false, diff --git a/output/index.html b/output/index.html new file mode 100644 index 0000000..db7689f --- /dev/null +++ b/output/index.html @@ -0,0 +1,118 @@ + + + + + + Math Tasks — Документы + + + + + +

Math Tasks

+

Документы для предпросмотра

+
+ +
Space Demo
+
html/space-demo.html
+
+ +
Space Worksheet
+
html/space-worksheet.html
+
+ +
Space Worksheet 2
+
html/space-worksheet2.html
+
+ +
Space Worksheet 3 (9 pages)
+
html/space-worksheet3.html
+
+ +
Test
+
html/test.html
+
+ +
Собери Астероиды
+
html/collecting-asteroids-1.html
+
+ +
Собери Астероиды v2
+
html/collecting-asteroids-2.html
+
+ +
Собери Астероиды v3
+
html/collecting-asteroids-3.html
+
+ +
Проложи Маршрут
+
html/space-route-1.html
+
+ +
Editor: Проложи Маршрут
+
Resize, rotate, flip, move objects + route HL
+
+ +
Editor: Собери Астероиды v3
+
Drag & drop asteroid positions
+
+ +
Editor: Собери Астероиды
+
Drag & drop asteroid positions
+
+
+ + diff --git a/output/pdf/collecting-asteroids-1.pdf b/output/pdf/collecting-asteroids-1.pdf new file mode 100644 index 0000000..66a7b73 Binary files /dev/null and b/output/pdf/collecting-asteroids-1.pdf differ diff --git a/output/pdf/collecting-asteroids-1.template.pdf b/output/pdf/collecting-asteroids-1.template.pdf new file mode 100644 index 0000000..ec81bf8 Binary files /dev/null and b/output/pdf/collecting-asteroids-1.template.pdf differ diff --git a/output/pdf/collecting-asteroids-2.pdf b/output/pdf/collecting-asteroids-2.pdf new file mode 100644 index 0000000..c8cf24c Binary files /dev/null and b/output/pdf/collecting-asteroids-2.pdf differ diff --git a/output/pdf/collecting-asteroids-2.template.pdf b/output/pdf/collecting-asteroids-2.template.pdf new file mode 100644 index 0000000..57f8c99 Binary files /dev/null and b/output/pdf/collecting-asteroids-2.template.pdf differ diff --git a/output/pdf/collecting-asteroids-3.pdf b/output/pdf/collecting-asteroids-3.pdf new file mode 100644 index 0000000..6c29ac6 Binary files /dev/null and b/output/pdf/collecting-asteroids-3.pdf differ diff --git a/output/pdf/collecting-asteroids-3.template.pdf b/output/pdf/collecting-asteroids-3.template.pdf new file mode 100644 index 0000000..641c060 Binary files /dev/null and b/output/pdf/collecting-asteroids-3.template.pdf differ diff --git a/output/pdf/space-demo.pdf b/output/pdf/space-demo.pdf new file mode 100644 index 0000000..0f567e4 Binary files /dev/null and b/output/pdf/space-demo.pdf differ diff --git a/output/pdf/space-exploration-1.template.pdf b/output/pdf/space-exploration-1.template.pdf new file mode 100644 index 0000000..4c027af Binary files /dev/null and b/output/pdf/space-exploration-1.template.pdf differ diff --git a/output/pdf/space-route-1.pdf b/output/pdf/space-route-1.pdf new file mode 100644 index 0000000..062fd40 Binary files /dev/null and b/output/pdf/space-route-1.pdf differ diff --git a/output/pdf/space-route-1.template.pdf b/output/pdf/space-route-1.template.pdf new file mode 100644 index 0000000..9e529f8 Binary files /dev/null and b/output/pdf/space-route-1.template.pdf differ diff --git a/output/pdf/space-worksheet.pdf b/output/pdf/space-worksheet.pdf new file mode 100644 index 0000000..526bddd Binary files /dev/null and b/output/pdf/space-worksheet.pdf differ diff --git a/output/pdf/space-worksheet2.pdf b/output/pdf/space-worksheet2.pdf new file mode 100644 index 0000000..6dcd349 Binary files /dev/null and b/output/pdf/space-worksheet2.pdf differ diff --git a/output/pdf/space-worksheet2.template.pdf b/output/pdf/space-worksheet2.template.pdf new file mode 100644 index 0000000..1e95992 Binary files /dev/null and b/output/pdf/space-worksheet2.template.pdf differ diff --git a/output/pdf/space-worksheet3.pdf b/output/pdf/space-worksheet3.pdf new file mode 100644 index 0000000..330c782 Binary files /dev/null and b/output/pdf/space-worksheet3.pdf differ diff --git a/output/pdf/space-worksheet3.template.pdf b/output/pdf/space-worksheet3.template.pdf new file mode 100644 index 0000000..1bfcb17 Binary files /dev/null and b/output/pdf/space-worksheet3.template.pdf differ diff --git a/public/decor/asteroid1.png b/public/decor/asteroid1.png new file mode 100644 index 0000000..7760104 Binary files /dev/null and b/public/decor/asteroid1.png differ diff --git a/public/decor/asteroid2.png b/public/decor/asteroid2.png new file mode 100644 index 0000000..dec2169 Binary files /dev/null and b/public/decor/asteroid2.png differ diff --git a/public/decor/asteroid3.png b/public/decor/asteroid3.png new file mode 100644 index 0000000..046f4ae Binary files /dev/null and b/public/decor/asteroid3.png differ diff --git a/public/decor/asteroid4.png b/public/decor/asteroid4.png new file mode 100644 index 0000000..ca0ce96 Binary files /dev/null and b/public/decor/asteroid4.png differ diff --git a/public/decor/asteroid5.png b/public/decor/asteroid5.png new file mode 100644 index 0000000..b6e912b Binary files /dev/null and b/public/decor/asteroid5.png differ diff --git a/public/decor/freighters/freighter1.png b/public/decor/freighters/freighter1.png new file mode 100644 index 0000000..365ebdb Binary files /dev/null and b/public/decor/freighters/freighter1.png differ diff --git a/public/decor/freighters/freighter3.png b/public/decor/freighters/freighter3.png new file mode 100644 index 0000000..395aae7 Binary files /dev/null and b/public/decor/freighters/freighter3.png differ diff --git a/public/decor/freighters/freighter5.png b/public/decor/freighters/freighter5.png new file mode 100644 index 0000000..5cc62c8 Binary files /dev/null and b/public/decor/freighters/freighter5.png differ diff --git a/public/decor/freighters/freighter7.png b/public/decor/freighters/freighter7.png new file mode 100644 index 0000000..484618a Binary files /dev/null and b/public/decor/freighters/freighter7.png differ diff --git a/public/decor/freighters/freighter9.png b/public/decor/freighters/freighter9.png new file mode 100644 index 0000000..ad5c1c9 Binary files /dev/null and b/public/decor/freighters/freighter9.png differ diff --git a/public/decor/freighters/pod11.png b/public/decor/freighters/pod11.png new file mode 100644 index 0000000..d521a9a Binary files /dev/null and b/public/decor/freighters/pod11.png differ diff --git a/public/decor/freighters/pod2.png b/public/decor/freighters/pod2.png new file mode 100644 index 0000000..9c11965 Binary files /dev/null and b/public/decor/freighters/pod2.png differ diff --git a/public/decor/freighters/pod6.png b/public/decor/freighters/pod6.png new file mode 100644 index 0000000..4a35815 Binary files /dev/null and b/public/decor/freighters/pod6.png differ diff --git a/public/decor/planet-footer1.jpeg b/public/decor/planet-footer1.jpeg new file mode 100644 index 0000000..dec7ad6 Binary files /dev/null and b/public/decor/planet-footer1.jpeg differ diff --git a/public/decor/planet-footer2.jpeg b/public/decor/planet-footer2.jpeg new file mode 100644 index 0000000..652f00a Binary files /dev/null and b/public/decor/planet-footer2.jpeg differ diff --git a/public/decor/planet-footer3.jpeg b/public/decor/planet-footer3.jpeg new file mode 100644 index 0000000..adf24ef Binary files /dev/null and b/public/decor/planet-footer3.jpeg differ diff --git a/public/decor/planet.jpeg b/public/decor/planet.jpeg new file mode 100644 index 0000000..dec7ad6 Binary files /dev/null and b/public/decor/planet.jpeg differ diff --git a/public/decor/planet2.jpeg b/public/decor/planet2.jpeg new file mode 100644 index 0000000..652f00a Binary files /dev/null and b/public/decor/planet2.jpeg differ diff --git a/public/decor/ship-header.png b/public/decor/ship-header.png new file mode 100644 index 0000000..fa8e3db Binary files /dev/null and b/public/decor/ship-header.png differ diff --git a/public/decor/ship.jpeg b/public/decor/ship.jpeg new file mode 100644 index 0000000..91e5655 Binary files /dev/null and b/public/decor/ship.jpeg differ diff --git a/public/previews/categories/collecting-asteroids.png b/public/previews/categories/collecting-asteroids.png new file mode 100644 index 0000000..9975c15 Binary files /dev/null and b/public/previews/categories/collecting-asteroids.png differ diff --git a/public/previews/categories/space-exploration.jpeg b/public/previews/categories/space-exploration.jpeg new file mode 100644 index 0000000..d721436 Binary files /dev/null and b/public/previews/categories/space-exploration.jpeg differ diff --git a/public/previews/categories/space-exploration.png b/public/previews/categories/space-exploration.png new file mode 100644 index 0000000..a775194 Binary files /dev/null and b/public/previews/categories/space-exploration.png differ diff --git a/public/previews/categories/space-route.jpeg b/public/previews/categories/space-route.jpeg new file mode 100644 index 0000000..9bda78d Binary files /dev/null and b/public/previews/categories/space-route.jpeg differ diff --git a/public/previews/categories/space-route.png b/public/previews/categories/space-route.png new file mode 100644 index 0000000..ba60617 Binary files /dev/null and b/public/previews/categories/space-route.png differ diff --git a/public/previews/docs/collecting-asteroids-1.png b/public/previews/docs/collecting-asteroids-1.png new file mode 100644 index 0000000..aba5cc3 Binary files /dev/null and b/public/previews/docs/collecting-asteroids-1.png differ diff --git a/public/previews/docs/collecting-asteroids-2.png b/public/previews/docs/collecting-asteroids-2.png new file mode 100644 index 0000000..74d797f Binary files /dev/null and b/public/previews/docs/collecting-asteroids-2.png differ diff --git a/public/previews/docs/collecting-asteroids-3.png b/public/previews/docs/collecting-asteroids-3.png new file mode 100644 index 0000000..689488a Binary files /dev/null and b/public/previews/docs/collecting-asteroids-3.png differ diff --git a/public/previews/docs/space-exploration-1.png b/public/previews/docs/space-exploration-1.png new file mode 100644 index 0000000..632605b Binary files /dev/null and b/public/previews/docs/space-exploration-1.png differ diff --git a/public/previews/docs/space-route-1.png b/public/previews/docs/space-route-1.png new file mode 100644 index 0000000..8512a83 Binary files /dev/null and b/public/previews/docs/space-route-1.png differ diff --git a/public/previews/docs/space-worksheet2.png b/public/previews/docs/space-worksheet2.png new file mode 100644 index 0000000..666d027 Binary files /dev/null and b/public/previews/docs/space-worksheet2.png differ diff --git a/public/previews/docs/space-worksheet3.png b/public/previews/docs/space-worksheet3.png new file mode 100644 index 0000000..a23dcf2 Binary files /dev/null and b/public/previews/docs/space-worksheet3.png differ diff --git a/skills-lock.json b/skills-lock.json new file mode 100644 index 0000000..2f51b5d --- /dev/null +++ b/skills-lock.json @@ -0,0 +1,10 @@ +{ + "version": 1, + "skills": { + "web-design-guidelines": { + "source": "vercel-labs/agent-skills", + "sourceType": "github", + "computedHash": "f3bc47f890f42a44db1007ab390709ec368e4b8c089baee6b0007182236ac474" + } + } +} diff --git a/tasks/collecting-asteroids/index.html b/tasks/collecting-asteroids/index.html new file mode 100644 index 0000000..a9ce280 --- /dev/null +++ b/tasks/collecting-asteroids/index.html @@ -0,0 +1,218 @@ + + + + + + Collect the Asteroids — Space Math Adventures + + + + + + +
+
+ ← All Categories + + +

Match asteroid weights to cargo ship capacities. Each page has 3 ships and ~12 asteroids scattered across space. Draw lines connecting asteroids to ships so their values add up to the ship's capacity.

+ +
+ +
+
Preview
+
+

Collecting Asteroids 1

+
+ 9 pages + Beginner → Medium
+ Ship capacities: 4–16 • Asteroid values: 1–6 +
+
+ Preview + PDF + Editor +
+
+
+ +
+
Preview
+
+

Collecting Asteroids 2

+
+ 9 pages + Medium → Hard
+ Ship capacities: 10–20 • Asteroid values: 2–8 +
+
+ Preview + PDF + Editor +
+
+
+ +
+
Preview
+
+

Collecting Asteroids 3

+
+ 9 pages + Easy → Hard
+ Ship capacities: 5–34 • Asteroid values: 1–13 +
+
+ Preview + PDF + Editor +
+
+
+ +
+
+
+ + + + + diff --git a/tasks/index.html b/tasks/index.html index 9cda6a6..87e53f5 100644 --- a/tasks/index.html +++ b/tasks/index.html @@ -1,127 +1,239 @@ - + - Math Tasks — Документы + Space Math Adventures - + -

Math Tasks

-

Документы для предпросмотра

- -

Исследуй Планету

-
-
-
Space Exploration 1 (3 pages)
- + +
+
+
+
+
+ +
+ - -

Собери Астероиды

-
-
-
Collecting Asteroids 1
- -
-
-
Collecting Asteroids 2
- -
-
-
Collecting Asteroids 3
- +