मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग6.9k · #13730

hana-plugin-creator

यह क्या करती है

यह स्किल आपको Hana प्लगइन का विचार बताने, यह जाँचने कि Hana SDK उसे कर सकता है या नहीं, और शुरुआती फ़ाइलें बनाने में मदद करती है। यह शुरुआत करने वालों के लिए मार्गदर्शन और डेवलपर्स के लिए SDK की जानकारी देती है।

कब इस्तेमाल करें

  • ✓जब आपके मन में Hana ऐप में कोई नया फ़ीचर जोड़ने का विचार हो।
  • ✓जब आप यह जानना चाहें कि Hana SDK आपके प्लान किए गए प्लगइन को सपोर्ट करता है या नहीं।
  • ✓जब आप चाहें कि शुरुआती फ़ाइलों के साथ प्लगइन का फ़ोल्डर आपके लिए बना दिया जाए।

Skill का लिंक

https://github.com/liliMozi/openhanako/blob/main/skills2set/hana-plugin-creator/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/liliMozi/openhanako/blob/main/skills2set/hana-plugin-creator/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मुझे Hana में एक बटन चाहिए जो मेरे नोट्स को फ़ाइल में सेव करे। कृपया प्लगइन की योजना बनाने और उसे बनाने में मेरी मदद कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल पूछती है कि आप क्या बनाना चाहते हैं, प्लगइन की ज़रूरतों को SDK से मिलाकर जाँचती है, फिर मैनिफ़ेस्ट और शुरुआती फ़ाइलें ऐसे फ़ोल्डर में लिखती है जिसे आप इंस्टॉल कर सकें।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Hana Plugin Creator

Use this skill for Hana application plugins, not Codex .codex-plugin bundles.

First Contact

On first use, give a map, not an encyclopedia. Explain what Hana plugins can add, ask what the user wants to build, and invite follow-up questions. Expand details only after the user asks or after the chosen scaffold needs them.

Choose the user mode this way:

  • If the user explicitly says they are new, non-technical, or wants hand-holding, use beginner mode.
  • If the user explicitly asks for SDK/API/build details or gives code-level requirements, use developer mode.
  • If memory is unavailable, disabled, or uncertain, ask: 你想我用哪种方式帮你创建插件?A. 边讲边做 B. 开发者模式

Beginner mode tone: encouraging, concrete, and guided. Say that the user can describe the feature in plain language, HanaAgent will help turn it into a plugin plan and scaffold, and HanaAgent can answer questions at any step. Ask:

  1. 你希望 HanaAgent 多一个什么能力?
  2. 这个能力是让 Agent 自动调用,还是让你点界面使用?
  3. 它需要界面、文件、联网、外部平台、账号权限吗?

Developer mode tone: concise and collaborative. Lead with the capability surface, then ask for the target contribution and integration boundary.

After delivering a plugin, encourage with grounded product value. Name the real situation where the plugin helps, such as reducing repeated steps, making an external service available inside Hana, turning a manual workflow into an Agent-callable tool, or giving a recurring task a stable UI. Use natural wording such as 这个想法挺实用,适合把每周重复整理的步骤固定下来 or 这个方向比较适合做成工具型插件,因为 Agent 可以在对话里直接调用. Avoid inflated praise like 你的设想太棒了.

Capability Map

Hana plugins can provide:

  • Agent-callable tools and slash-style actions.
  • Skills, agents, and knowledge that guide model behavior.
  • WebView/iframe pages, widgets, and cards using Hana theme and host capabilities.
  • Declarative chat.surface cards for showing plugin-owned private session transcripts in the main chat stream.
  • Lifecycle and EventBus handlers for full-access integrations.
  • Session and Agent control through @hana/plugin-runtime: create/list/update/send/abort/history sessions, subscribe to session events, create/read/update plugin-owned agents, and hide plugin-private resources from the main Hana UI.
  • Per-turn model context injection through sendSessionMessage(..., { context }) or session:send.context, suitable for plugin-owned RAG, world lore, mood, character state, or routing hints. This affects only the current provider request and does not rewrite visible user text.
  • Non-streaming utility model calls through sampleText() for plugin-side summarization, RAG query rewriting, routing, and classification.
  • External HTTP data access through runtime ctx.network.fetch() with manifest-declared hosts, methods, timeout, cache, and response-size boundaries.
  • User resource access through runtime ctx.resources, with ResourceRef inputs for local files, mounts, SessionFiles, durable resources, read-only URLs, and backend watch subscriptions.
  • Media discovery and generation through listMediaProviders(), resolveMediaModel(), and generateImage(), with generated files delivered as SessionFile resources.
  • Provider contributions for chat and media capabilities, including image/video/speech providers backed by HTTP, OAuth HTTP, local CLI, browser CLI, or plugin runtimes.
  • Pi SDK extension-style integrations under extensions/*.js where the plugin must observe or transform the LLM request pipeline.
  • SessionFile-backed outputs for files and media.

Hana provides install/enable/reload, per-agent skill toggles, manifest capability checks, iframe host messaging, theme tokens, toast/clipboard/external host APIs, EventBus, data directories, and SDK packages.

Current boundaries: WebView/iframe UI is the stable escape hatch for existing web apps, remote sites, and standalone HTML. chat.surface is a thin native transcript surface for plugin-owned plugin_private / private sessions created through the runtime session API. Rich native card composition is not part of the public SDK contract yet. Native renderer components and code sandboxing are not the default path yet. Ordinary manifest capabilities are declaration metadata and can be used directly through the SDK/EventBus; sensitiveCapabilities records future user-granted permission intent. If a request depends on native renderer hooks, code sandboxing, or fine-grained permission prompts, explain the gap and propose the closest supported shape.

Environment Preflight

R

अक्सर पूछे जाने वाले सवाल

क्या मुझे कोडिंग आनी चाहिए?

नहीं। इस स्किल में एक शुरुआती मोड है, जो हर चरण को सरल भाषा में समझाता है।

क्या यह Codex प्लगइन्स के लिए है?

नहीं। यह स्किल Hana ऐप्लिकेशन के प्लगइन्स के लिए है, Codex प्लगइन बंडल्स के लिए नहीं।

प्लगइन फ़ोल्डर में क्या होता है?

एक मैनिफ़ेस्ट, रनटाइम टूल्स और वैकल्पिक वेब व्यू स्क्रीन, जो Hana में इंस्टॉल होने के लिए तैयार की जाती हैं।

जानकारी

लेखक का मूल विवरण

Create Hana plugin scaffolds and guide users through beginner or developer plugin planning, capability checks, manifest setup, runtime tools, WebView/iframe UI, Session/Agent APIs, model/media APIs, SDK templates, and install-ready plugin directories. Use when HanaAgent/Codex needs to explain what Hana plugins can do, help a user describe a plugin idea, check whether the SDK supports it, or generate/update a Hana plugin with @hana/plugin-runtime, @hana/plugin-sdk, and @hana/plugin-components.

repo: liliMozi/openhanako

लोकप्रियता

GitHub स्टार
6.9k
रैंकिंग में स्थान
#13730
लाइसेंस
Apache-2.0
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

मिलती-जुलती skills