mcpbeat

Genui Workshop Run Cloud Shell

flutter/genui_workshop_run_cloud_shell

Creates a shell script to build and run the Flutter web app on Cloud Shell using a local HTTP server.

246 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
137
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/flutter/demos --skill genui_workshop_run_cloud_shell

The instruction itself

1 sections, as written by the author

GenUI Workshop - Run on Cloud Shell

Goal: Create a script to easily build and serve the Flutter web app on Cloud Shell.

Instructions:

Use your code editing tools to create a shell script in the root of the project and make it executable.

  • Create a file named run_cloud_shell.sh in the root directory of the project with the following content:
#!/bin/bash
# Builds the web target and serves it on port 8080
flutter build web
python3 -m http.server 8080 --directory build/web
  • Make the script executable by running the following command:
chmod +x run_cloud_shell.sh

*(Note: We use python3 instead of python just in case python isn't mapped to Python 3 in the environment, though python -m http.server as written in the README is also fine if python points to python 3.)*

How to use it

Copy the folder

Take flutter/genui_workshop_run_cloud_shell from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.