@lincyaw/skills 1.0.0-rc.14 → 1.0.0-rc.16
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 +1 -1
- package/package.json +2 -3
- package/skills/index.json +9 -18
- package/skills/presmium-animate/SKILL.md +4 -2
- package/skills/presmium-animate/gallery/algorithms/lecture.json +171 -115
- package/skills/presmium-animate/gallery/anime/scenes/kmeans-seeded.ts +2 -1
- package/skills/presmium-animate/gallery/craft/lecture.json +109 -57
- package/skills/presmium-animate/gallery/data/lecture.json +711 -175
- package/skills/presmium-animate/gallery/emphasis/lecture.json +321 -79
- package/skills/presmium-animate/gallery/films/lecture.json +36 -10
- package/skills/presmium-animate/gallery/lengths/lecture.json +23 -88
- package/skills/presmium-animate/gallery/math-ml/lecture.json +238 -159
- package/skills/presmium-animate/gallery/paths-3d/lecture.json +74 -64
- package/skills/presmium-animate/gallery/product/lecture.json +27 -3
- package/skills/presmium-animate/gallery/story/lecture.json +23 -90
- package/skills/presmium-animate/gallery/structure/lecture.json +104 -65
- package/skills/presmium-animate/gallery/text/lecture.json +115 -63
- package/skills/presmium-animate/gallery/timeline/lecture.json +106 -187
- package/skills/presmium-animate/gallery/timeline/scenes/bubble.ts +1 -1
- package/skills/presmium-animate/gallery/transitions/lecture.json +103 -52
- package/skills/presmium-animate/references/lengths.md +1 -1
- package/skills/presmium-animate/references/libraries.md +10 -6
- package/skills/presmium-animate/references/story.md +21 -7
- package/skills/presmium-animate/references/team.md +159 -0
- package/skills/presmium-author/SKILL.md +52 -19
- package/skills/presmium-author/references/assistance.md +3 -1
- package/skills/presmium-author/references/classroom.md +64 -0
- package/skills/presmium-author/references/document.md +1 -1
- package/skills/presmium-author/references/lecture.md +76 -0
- package/skills/presmium-author/references/publishing.md +107 -6
- package/skills/presmium-author/references/writing.md +164 -7
- package/src/cli.ts +4 -4
- package/src/install.ts +42 -5
- package/src/messages.ts +5 -5
- package/src/resources.ts +5 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lincyaw/skills
|
|
2
2
|
|
|
3
|
-
The bundled `presmium-author`, `presmium-animate
|
|
3
|
+
The bundled `presmium-author`, `presmium-animate` and `presmium-develop` skills, with their references and animation gallery text. Their authority is the repository’s `.agents/skills`; packaging generates this package’s `skills/` resources and index.
|
|
4
4
|
|
|
5
5
|
`listBundledSkills()` returns names, descriptions and relative file lists. `readBundledSkill({ name, path, offset, limit })` reads at most 12,000 Unicode characters and returns the next offset, package version and file SHA-256. `skillDirectory(name)` supplies a resource base to a host integration. Unsafe paths and unavailable files raise `SkillError` with a stable code.
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincyaw/skills",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.16",
|
|
4
4
|
"description": "Presmium's bundled authoring, animation, presentation and plugin-development skills for coding agents",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -36,13 +36,12 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"jiti": "^2.7.0",
|
|
39
|
-
"@lincyaw/kernel": "1.0.0-rc.
|
|
39
|
+
"@lincyaw/kernel": "1.0.0-rc.16"
|
|
40
40
|
},
|
|
41
41
|
"presmium": {
|
|
42
42
|
"skills": [
|
|
43
43
|
"presmium-author",
|
|
44
44
|
"presmium-animate",
|
|
45
|
-
"presmium-present",
|
|
46
45
|
"presmium-develop"
|
|
47
46
|
],
|
|
48
47
|
"generated": [
|
package/skills/index.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "presmium-author",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Write, edit, present and produce a Presmium teaching document: the sole lecture.json with its pages, blocks, steps and narration; its reading version (web page, notebook) and presentation version (slides, narrated lecture video); writing style for both; voiceover, captions, classroom, export and publishing. Use it to write or revise a lecture, plan pages, write slide text or narration, check, preview, present, record, generate voiceover or export. 写讲义、改文稿、写正文与幻灯片文字、写讲稿、配音、字幕、放映、上课、导出、发布时使用。",
|
|
5
5
|
"files": [
|
|
6
6
|
"SKILL.md",
|
|
7
7
|
"references/assistance.md",
|
|
8
|
+
"references/classroom.md",
|
|
8
9
|
"references/code.md",
|
|
9
10
|
"references/document.md",
|
|
11
|
+
"references/lecture.md",
|
|
10
12
|
"references/publishing.md",
|
|
11
13
|
"references/writing.md"
|
|
12
14
|
],
|
|
13
|
-
"version": "1.0.0-rc.
|
|
14
|
-
"hash": "
|
|
15
|
+
"version": "1.0.0-rc.16",
|
|
16
|
+
"hash": "2df638635135c4ddcf4f1df26d37926037a4fbc9f44ad1f03b4fc5d8dc4728b5"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"name": "presmium-animate",
|
|
@@ -533,22 +535,11 @@
|
|
|
533
535
|
"references/scenarios.md",
|
|
534
536
|
"references/story.md",
|
|
535
537
|
"references/storyboards.md",
|
|
538
|
+
"references/team.md",
|
|
536
539
|
"references/timeline.md"
|
|
537
540
|
],
|
|
538
|
-
"version": "1.0.0-rc.
|
|
539
|
-
"hash": "
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"name": "presmium-present",
|
|
543
|
-
"description": "Present and deliver a Presmium document, run classroom interaction, export or record it, and manage structured narration, real speech synthesis, subtitles and video playback from lecture.json production settings. 放映、上课、导出、录课、配音、字幕与讲授视频时使用。",
|
|
544
|
-
"files": [
|
|
545
|
-
"SKILL.md",
|
|
546
|
-
"references/classroom.md",
|
|
547
|
-
"references/delivery.md",
|
|
548
|
-
"references/lecture.md"
|
|
549
|
-
],
|
|
550
|
-
"version": "1.0.0-rc.14",
|
|
551
|
-
"hash": "812e313853118e28430d0881a2b0dac1770b68d7e628b17799f5d11a4e866973"
|
|
541
|
+
"version": "1.0.0-rc.16",
|
|
542
|
+
"hash": "1cbad1195775bd41f46ec58866bf15bcdbafcef6f660dbe77e1b424f20b52caf"
|
|
552
543
|
},
|
|
553
544
|
{
|
|
554
545
|
"name": "presmium-develop",
|
|
@@ -558,7 +549,7 @@
|
|
|
558
549
|
"references/plugin.md",
|
|
559
550
|
"references/testing.md"
|
|
560
551
|
],
|
|
561
|
-
"version": "1.0.0-rc.
|
|
552
|
+
"version": "1.0.0-rc.16",
|
|
562
553
|
"hash": "9b3cab9683b45f11c631a19f916639ffb4c0f74c054c14baee24aa5655a35de4"
|
|
563
554
|
}
|
|
564
555
|
]
|
|
@@ -27,6 +27,8 @@ A teaching segment, an explainer or paper video, a promo, a product demo and a d
|
|
|
27
27
|
|
|
28
28
|
[Story](references/story.md) is the process, each stage ending in a check: brief, thesis, central picture, three storylines for the person to pick, a storyboard of rest frames with what carries each boundary, the script, an animatic the person approves, motion, review against the spec and with cold viewers. [Storyboards](references/storyboards.md) has filled-in examples for popular science, papers, courses, data stories and products; [Scenarios](references/scenarios.md) the usual pictures for each subject.
|
|
29
29
|
|
|
30
|
+
A piece too large for one agent is made from one storyboard file every agent reads, with a term table, shared scene modules that only the coordinator changes, edits through the MCP author actions, review rounds appended to the storyboard and a cold read by a fresh agent: [Team](references/team.md).
|
|
31
|
+
|
|
30
32
|
## 5. Motion, rhythm and sound
|
|
31
33
|
|
|
32
34
|
[Lengths](references/lengths.md): what each second shows at 1, 5, 10, 30 and 60 s, the rules every piece follows, the polish list, measured rhythm, carrying beats instead of replacing them, an operated camera, product screens, sound and music, and how to build and export a film.
|
|
@@ -39,9 +41,9 @@ Register an explicit component definition in `definitions` with a file implement
|
|
|
39
41
|
|
|
40
42
|
## 7. Voice, verify and deliver
|
|
41
43
|
|
|
42
|
-
Narration is structured in `narrations`; steps name narration IDs. Cue targets use stable block IDs. Timing and voice inheritance belong in `production`, never a second timing object on a step or scene. The voice comes from the workspace's speech engine (Volcengine built in, or an OpenAI-compatible service); see `presmium-
|
|
44
|
+
Narration is structured in `narrations`; steps name narration IDs. Cue targets use stable block IDs. Timing and voice inheritance belong in `production`, never a second timing object on a step or scene. The voice comes from the workspace's speech engine (Volcengine built in, or an OpenAI-compatible service); see `presmium-author/references/lecture.md` for synthesis, playback and export, and `presmium-author/references/writing.md` for how narration is written.
|
|
43
45
|
|
|
44
|
-
Validate the edited document, then
|
|
46
|
+
Validate the edited document (`presmium check` or `check_document` also bundles each scene and reports one that doesn't compile, with its file and line), then look at the actual result. With the MCP server, `capture_slides` gives the rest frame of each step of a page and, with `at`, frames that many milliseconds into a step's animation, drawn by the step clock as a lecture export draws them, so they are reproducible; `measure` returns the boxes of elements (a CSS selector) in slide pixels, for positions and overlaps. Capture the steps in any order you like, since each picture is made from its step and time alone; `arrive: 'backward'` checks that going back to a step shows its frame, and `capture_reading` shows the scene on the reading page, also at a phone width (390). Without the MCP server, build only the relevant form, open it, jump forward and backward in arbitrary order, and inspect the static fallback if it matters (exports print it). Do not claim an animation works merely because JSON validation or compilation succeeded, and do not write browser scripts for pictures the tool takes.
|
|
45
47
|
|
|
46
48
|
```sh
|
|
47
49
|
presmium check lesson --json
|