Xcratch extension create
Skill xcratch/xcratch-skills/skills/xcratch-extension-create
Xcratch extension development skills for AI agents
npx -y skills add xcratch/xcratch-skills --skill xcratch-extension-createAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when setting up a new Xcratch extension project and local development environment. Trigger phrases: xcratch-create, scaffold extension, setup-dev, initialize extension repo, local extension setup.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.9 KB, 389 tokens by cl100k_base, as published. Nobody here has run it
Xcratch Extension Create
Set up a new Xcratch extension repository and local development environment.
When to Use
- Creating a new extension with
xcratch-create - Initializing a repository after scaffold
- Installing dependencies and linking to local
scratch-vm - Preparing build and deployment basics
Required Parameters
Before running any commands, always ask the user for the following parameters using vscode_askQuestions:
| Parameter | Description | Example |
|---|---|---|
repo | GitHub repository name (recommended prefix: xcx-) | xcx-my-extension |
account | GitHub account name | myname |
extensionID | Internal extension ID (camelCase) | myExtension |
extensionName | Display name shown in the editor | My Extension |
Do not assume or guess any of these values. If any parameter is missing or unclear, ask for it explicitly before proceeding.
Quick Start
# Run in the parent directory of scratch-editor
npx xcratch-create --repo=xcx-<name> --account=<github-account> --extensionID=<id> --extensionName='<Name>'
cd xcx-<name>
git init -b main
npm install
npm run setup-dev
Validate Setup
npm run build
Expected output: dist/<extensionID>.mjs
Deployment URL Pattern
https://<account>.github.io/<repo>/dist/<extensionID>.mjs
Workflow Details
- Full setup workflow: See ./references/workflow.md
- scratch-editor task and certificate setup for local debug: See ../xcratch-extension-debug/references/vscode-debug.md
What ships with it: 1 file
2.3 KB alongside SKILL.md
references/
- workflow.md2.3 KB