makepad-splash
यह क्या करती है
Splash एक स्क्रिप्टिंग भाषा है, जिससे Makepad एनवायरनमेंट में डायनेमिक यूज़र इंटरफ़ेस बनाए जा सकते हैं और काम अपने आप किए जा सकते हैं। AI इसके ज़रिए रीयल-टाइम में विज़ुअल एलिमेंट और वर्कफ़्लो बना और बदल सकता है।
कब इस्तेमाल करें
- ✓जब आपको ऐसी स्क्रिप्ट चाहिए हो जो यूज़र इंटरफ़ेस को अपने आप बदल दे।
- ✓Makepad में दोहराए जाने वाले काम अपने आप करने के लिए।
- ✓जब `script!` या `cx.eval` जैसे कमांड से कोड को डायनेमिक तरीके से चलाना हो।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/makepad-splash/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक Splash स्क्रिप्ट बनाओ जो स्क्रीन पर 'Hello, World!' संदेश दिखाए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
Makepad Splash कोड को सीधे ऐप के अंदर चलाता है। इसे `script!` के ज़रिए Rust कोड में जोड़ा जा सकता है, या `cx.eval` से रीयल-टाइम में चलाकर इंटरफ़ेस बनाया या बदला जा सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
./references/splash-tutorial.md
Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
Makepad Splash Skill
Version: makepad-widgets (dev branch) | Last Updated: 2026-01-19
Check for updates: https://crates.io/crates/makepad-widgets
You are an expert at Makepad Splash scripting language. Help users by:
- Writing Splash scripts: Dynamic UI and workflow automation
- Understanding Splash: Purpose, syntax, and capabilities
When to Use
- You need dynamic scripting inside Makepad using Splash.
- The task involves
script!,cx.eval, runtime-generated UI, or workflow automation in Makepad. - You want guidance on Splash syntax and purpose rather than static Rust-only patterns.
Documentation
Refer to the local files for detailed documentation:
./references/splash-tutorial.md- Splash language tutorial
IMPORTANT: Documentation Completeness Check
Before answering questions, Claude MUST:
- Read the relevant reference file(s) listed above
- If file read fails or file is empty:
- Inform user: "本地文档不完整,建议运行
/sync-crate-skills makepad --force更新文档" - Still answer based on SKILL.md patterns + built-in knowledge
- Inform user: "本地文档不完整,建议运行
- If reference file exists, incorporate its content into the answer
What is Splash?
Splash is Makepad's dynamic scripting language designed for:
- AI-assisted workflows
- Dynamic UI generation
- Rapid prototyping
- HTTP requests and async operations
Script Macro
// Embed Splash code in Rust
script!{
fn main() {
let x = 10;
console.log("Hello from Splash!");
}
}
Execution
// Evaluate Splash code at runtime
cx.eval(code_string); // security-allowlist: Makepad runtime API; require trusted code_string
// With context
cx.eval_with_context(code, context);
Basic Syntax
Variables
let x = 10;
let name = "Makepad";
let items = [1, 2, 3];
let config = { width: 100, height: 50 };
Functions
fn add(a, b) {
return a + b;
}
fn greet(name) {
console.log("Hello, " + name);
}
Control Flow
// If-else
if x > 10 {
console.log("big");
} else {
console.log("small");
}
// Loops
for i in 0..10 {
console.log(i);
}
while condition {
// ...
}
Built-in Objects
console
console.log("Message");
console.warn("Warning");
console.error("Error");
http
// GET request
let response = http.get("https://api.example.com/data");
// POST request
let response = http.post("https://api.example.com/data", {
body: { key: "value" }
});
timer
// Set timeout
timer.set(1000, fn() {
console.log("1 second passed");
});
// Set interval
let id = timer.interval(500, fn() {
console.log("tick");
});
// Clear timer
timer.clear(id);
Widget Interaction
// Access widgets
let button = ui.widget("my_button");
button.set_text("Click Me");
button.set_visible(true);
// Listen to events
button.on_click(fn() {
console.log("Button clicked!");
});
Async Operations
// Async function
async fn fetch_data() {
let response = await http.get("https://api.example.com");
return response.json();
}
// Call async
fetch_data().then(fn(data) {
console.log(data);
});
AI Workflow Integration
Splash is designed for AI-assisted development:
// Dynamic UI generation
fn create_form(fields) {
let form = ui.create("View");
for field in fields {
let input = ui.create("TextInput");
input.set_label(field.label);
form.add_child(input);
}
return form;
}
// AI can generate this dynamically
create_form([
{ label: "Name" },
…
अक्सर पूछे जाने वाले सवाल
Makepad क्या है?
Makepad एक फ़्रेमवर्क है, जो Rust प्रोग्रामिंग भाषा से सुंदर और तेज़ यूज़र इंटरफ़ेस वाले ऐप्स बनाने में मदद करता है।
Rust और Splash में क्या फ़र्क है?
Rust मुख्य भाषा है जिससे पूरा ऐप बनता है, और इसका फ़ोकस परफ़ॉर्मेंस और सुरक्षा पर है। Splash एक सरल भाषा है, जो Makepad के अंदर डायनेमिक स्क्रिप्टिंग और ऑटोमेशन के लिए इस्तेमाल होती है, जैसे ऐप के अंदर एक 'मिनी-प्रोग्राम'।
Splash के ट्यूटोरियल कहाँ हैं?
विस्तृत ट्यूटोरियल `./references/splash-tutorial.md` जैसी लोकल फ़ाइलों में हैं। अगर वे न मिलें, तो आपको Makepad के डॉक्यूमेंटेशन को अपडेट करना पड़ सकता है।
जानकारी
लेखक का मूल विवरण
CRITICAL: Use for Makepad Splash scripting language. Triggers on: splash language, makepad script, makepad scripting, script!, cx.eval, makepad dynamic, makepad AI, splash 语言, makepad 脚本
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5155
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।