@plasmickit/cli 0.1.2 → 0.1.3
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/package.json +1 -1
- package/skill/plasmic/SKILL.md +11 -3
package/package.json
CHANGED
package/skill/plasmic/SKILL.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: plasmic
|
|
3
|
-
description:
|
|
3
|
+
description: Inspect self-hosted Plasmic pages and templates, create or revise editable prototypes, and implement native React code from Plasmic designs.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Plasmic
|
|
7
7
|
|
|
8
8
|
This is a bootstrap skill. Workflows, component guidance and verification scripts live in a versioned resource bundle on the NAS, outside this installed skill.
|
|
9
9
|
|
|
10
|
+
## Client implementation boundary
|
|
11
|
+
|
|
12
|
+
Use the published CLI, documented Desktop MCP tools and resolved skill resources with the task's requirements and design files. Do not unpack, extract or decompile the Plasmic App, or read its internal Desktop/Studio implementation, packaged dependencies, extracted/copied artifacts or equivalent client repository source. This prohibition applies to the acting agent, delegated agents and their tool scripts, including troubleshooting and contract or validator discovery.
|
|
13
|
+
|
|
14
|
+
If public tool contracts or skill documents are insufficient, retain the exact call and error, stop dependent work and report the missing contract or documentation. Do not inspect client internals or reverse-engineer private interfaces to continue. Codegen may inspect and edit the target application's source within the user's task; this does not authorize reading the Plasmic client implementation.
|
|
15
|
+
|
|
16
|
+
## Task workflow
|
|
17
|
+
|
|
10
18
|
Choose the task mode before work: `inspect` for read-only page/template explanation or design review, `prototype` for selecting/creating the design project and design edits, or `codegen` for native React implementation and updates. Run the matching command:
|
|
11
19
|
|
|
12
20
|
```sh
|
|
@@ -19,9 +27,9 @@ Inspect uses accessible Desktop MCP reads and does not require edit permission o
|
|
|
19
27
|
|
|
20
28
|
The command checks the NAS release manifest every time, downloads changed resources and verifies their hashes before returning absolute paths. Read all returned `mustRead` files, starting with `referencePath`; resolve subsequent links relative to the reference file. Use the returned `resourceRoot` for verification scripts and follow the guide's conditional section-reading/evidence rules. For a task spanning multiple modes, resolve and read each mode before its work begins.
|
|
21
29
|
|
|
22
|
-
|
|
30
|
+
Follow the resolved workflow for project selection, component discovery and acceptance; load detailed rules only for the affected scope. Switching from inspection to editing requires the corresponding user request and prototype workflow.
|
|
23
31
|
|
|
24
|
-
The CLI streams
|
|
32
|
+
The CLI streams preparation progress to stderr and returns JSON on stdout. Relay meaningful version/download/verification changes; use incremental output for a long-running command. Report waiting honestly when output is buffered. Resource readiness means files are available, not that they have been read or their workflow completed.
|
|
25
33
|
|
|
26
34
|
The runner uses the latest published `@plasmickit/cli`, distinct from official `@plasmicapp/cli`. Later commands can use `npx -y @plasmickit/cli@<cliVersion>` from the result to keep the task on that CLI version, or the global `plasmickit` after checking `plasmickit version check`.
|
|
27
35
|
|