setup-opendesign
Use when ./opendesign/index.html does not exist in the current project. Initialises the OpenDesign output folder structure, copies the viewer, and writes an empty manifest.
How do I install this agent skill?
npx skills add https://github.com/manalkaff/opendesign --skill setup-opendesignIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill initializes a local project environment for OpenDesign by downloading a viewer component from the author's GitHub repository and creating the required folder structure and manifest file.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
You are setting up the OpenDesign output environment for this project for the first time. Complete all steps below in order, then announce completion.
Steps
-
Download
viewer.htmlfrom GitHub.Fetch the file from:
https://raw.githubusercontent.com/manalkaff/opendesign/main/skills/opendesign/viewer.htmlWrite the response body directly to
./opendesign/index.html(create./opendesign/first if it does not exist). If the fetch fails, tell the user:Could not download the OpenDesign viewer. Check your internet connection and try again, or manually copy
viewer.htmlfrom the opendesign plugin to./opendesign/index.html. -
Create output folders if they do not already exist:
./opendesign/mockups/./opendesign/design-systems/
-
Write
./opendesign/manifest.jsonif it does not already exist:{ "generated": "<current ISO 8601 timestamp>", "sections": [ { "id": "mockups", "label": "Mockups", "groups": [] }, { "id": "design-systems", "label": "Design Systems", "groups": [] } ] } -
Announce to the user:
OpenDesign is set up. Open
./opendesign/index.htmlin your browser to view mockups. If previews don't load, serve the folder withpython -m http.server 8080and openhttp://localhost:8080/opendesign/.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/manalkaff/opendesign/setup-opendesign">View setup-opendesign on skillZs</a>