Logo Scripting App Development

Scripting App Development

Tổ chức
ScriptingApp
scripting-app-development

Develop, modify, debug, and validate Scripting App projects: TypeScript/TSX scripts, iOS-style pages, native APIs, Widgets, Live Activities, rich notifications, Shortcuts/Share Sheet intents, App Intents, and Safari browser scripts. Uses Scripting's official llms.txt as the API reference entry point.

Tổng quan

Nhà phát hànhScriptingApp
Kho mãscripting-app-development
Tên kỹ năngscripting-app-development
Sao
62
Bản fork
1
Tệp đi kèm
33
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 33 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ScriptingApp công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Scripting App Development trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/ScriptingApp/scripting-app-development/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ScriptingApp/scripting-app-development.git \
  .claude/skills/scripting-app-development
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Scripting App Development trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Scripting App Development ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Scripting App Development không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Scripting App Development

Use this skill to help users create, change, debug, or validate Scripting App script projects. It is a technical development guide; it does not prescribe task planning, spec files, Git workflow, or a generic coding-agent process.

Scope and routing

Use this skill for a Scripting project or any of these files/capabilities:

  • script.json, index.tsx, shared .ts / .tsx modules, and SwiftUI-style TSX pages.
  • widget.tsx, app_intents.tsx, live_activity.tsx, notification.tsx, and intent.tsx.
  • browser.tsx or a separately installed Safari .user.js script.
  • Desktop-editor live sync/debugging with scripting-cli.
  • Scripting-provided iOS APIs such as Notification, Calendar, Location, Photos, Storage, Speech, and Device.
  • Advanced entry points: Home Screen default UI, control widgets, custom keyboard, Spotlight, Translation UI, Assistant Tools, and Alarm Live Activities.

Do not use it as a substitute for creating a standalone Apple Shortcut, ordinary Node/Python automation, or a generic web app.

Mandatory official-documentation workflow

Before writing or changing any Scripting-specific API usage, use the current environment's bundled Scripting reference/API declarations when available (for example, scripting_reference). For desktop agents without that tool, consult the official LLM documentation index:

text
https://scriptingapp.github.io/llms.txt
  1. Search the bundled docs first when available; otherwise search the public index for the exact API, entry point, or capability.
  2. Read the full matching documentation and exact API declarations—not only a search-result summary.
  3. Verify the symbols to be used: import/global module, parameters, result type, async behavior, iOS/version availability, permissions, host constraints, and official example patterns.
  4. Implement only APIs confirmed by the current documentation. Do not infer an API from Swift, React, old examples, or model memory.
  5. If a connected scripting-cli workspace is available, search its app-synced .d.ts declarations to confirm exact local TypeScript signatures/imports; use them with—not instead of—the official documentation's behavior, permission, and host constraints.

Read only the necessary topic reference below. If a local reference conflicts with current official documentation, the official documentation wins.

Start work

New project

  1. Identify the requested host: finite script, in-app page, resident/resumable script, Widget, Live Activity, rich notification, Intent, Safari project script, or installed userscript.
  2. Create a project directory with script.json and index.tsx; use the templates only as a starting point.
  3. Add capability entry files only when requested.
  4. Read references/project-and-lifecycle.md, then the matching capability reference.

Existing project

  1. Read script.json, index.tsx, the requested entry file, and its direct dependencies before modifying code.
  2. Preserve the existing project naming, metadata, entry points, lifecycle, and user configuration unless the requested change requires otherwise.
  3. Make the narrowest compatible change. Do not add unused capabilities or refactor unrelated files.

Project rules

  • A project requires script.json and index.tsx.
  • script.json must include name, icon, color, and version; name normally matches the directory name.
  • Keep shared business logic in regular modules; entry files should adapt that logic to their host environment.
  • Use async / await, handle expected failure paths, and give the user meaningful feedback.
  • For standalone scripting-ts run execution, make sure finite paths call Script.exit(); otherwise the process may wait indefinitely.
  • TSX modifier order affects layout and appearance. When debugging UI, inspect the order of frame, padding, background, clipShape, buttonStyle, contentMargins, and widgetBackground as well as their values.
  • Avoid unbounded vertical layouts inside Grid / ScrollView; validate image-heavy layouts on an actual render.

Lifecycle decision

NeedDesign
Finite work is doneCall Script.exit().
One-time pageawait Navigation.present(...), then Script.exit() after dismissal.
Preserve runtime state or respond to notification/widget/URL re-triggersUse Script.minimize() and Script.onResume(...); do not unconditionally exit.
Return from intent.tsxReturn an appropriate Intent result with Script.exit(value).

Read references/project-and-lifecycle.md before choosing or changing this behavior.

Capability references

User needRead
Project structure, entry files, lifecyclereferences/project-and-lifecycle.md
Standard in-app pagereferences/ios-pages.md
Static or interactive Widget / App Intentreferences/widgets-and-app-intents.md
Live Activity / Dynamic Islandreferences/live-activities.md
Rich notificationreferences/notifications-and-intents.md
Shortcuts / Share Sheetreferences/notifications-and-intents.md
Desktop editor ↔ Scripting App sync/debuggingreferences/desktop-cli.md
Native iOS APIreferences/native-apis.md plus official API page
Safari browser script / userscriptreferences/safari-browser-scripts.md
Keyboard, Home Screen UI, Spotlight, Translation UI, Assistant Tool, Alarm Live Activityreferences/additional-entry-points.md plus exact bundled docs/API declaration

Validation requirements

Read references/validation-and-security.md and use the relevant checklist, including checklists/desktop-live-debug.md when setting up scripting-cli.

  • For desktop live synchronization/debugging, read references/desktop-cli.md; initialize and run scripting-cli only after checking Node.js and confirming any first-time package download/configuration effects. After App connection, consult its synced .d.ts files whenever exact local API typings or component props are needed.
  • Run static diagnostics for changed TypeScript/TSX where available.
  • Run finite index.tsx code with scripting-ts project "<name>" or an equivalent environment command when possible.
  • Preview Widget/UI surfaces when possible; test all target Widget families if layout differs by family.
  • Be explicit about host-only verification: Widget must be added to the Home Screen; Intents require Shortcuts/Share Sheet; rich notifications require a real notification; Live Activities require the Lock Screen/Dynamic Island; Safari scripts require a matching Safari page.
  • Never describe compilation, preview, Widget.present(), or a mock Intent as full system-host verification.

Safety boundary

Before expanding privileges or causing external side effects, describe the impact and get the user's confirmation. This includes sensitive system permissions, reads/writes of user data, cross-origin requests/Cookies/downloads, sending or uploading data, and deleting or bulk-modifying data.

Never hard-code or expose API keys, passwords, tokens, Cookies, private keys, or private user data in source, script.json, logs, screenshots, or sample files. Apply minimum permissions and minimum data access.

Completion response

Summarize only what matters:

  1. files and behavior changed;
  2. lifecycle choice, if relevant;
  3. official documentation topics/API symbols checked;
  4. diagnostics, run, or preview evidence;
  5. exact remaining manual host verification steps;
  6. permissions or side effects introduced.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Scripting App Development làm được gì?

Develop, modify, debug, and validate Scripting App projects: TypeScript/TSX scripts, iOS-style pages, native APIs, Widgets, Live Activities, rich notifications, Shortcuts/Share Sheet intents, App Intents, and Safari browser scripts. Uses Scripting's official llms.txt as the API reference entry point.

Vì sao nên dùng Scripting App Development trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Scripting App Development là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Scripting App Development trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ScriptingApp/scripting-app-development/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Scripting App Development?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Scripting App Development với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Scripting App Development với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Scripting App Development có miễn phí không?

Kỹ năng này được ScriptingApp phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇