marionette
できること
このスキルは、インストールされたパッケージに同梱されたドキュメントを使い、Marionette v5のアプリケーションの作業を導きます。ビューの構築、インタラクションのテスト、データとライフタイムの扱い方の選択をする開発者向けです。
使う場面
- ✓最初のMarionette v5のビューを作っているとき。
- ✓Marionetteのアプリで、インタラクション、準備状態、後片付けをテストする必要があるとき。
- ✓既存のアプリを、他のUIフレームワークからMarionetteに移行する必要があるとき。
スキルのリンク
https://github.com/marionettejs/marionette/blob/master/skills/marionette/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Marionette v5のビューを作っていて、ボタンにクリックのハンドラーを結びつけたいです。どのドキュメントを使うべきですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、インストールされたMarionetteのパッケージを見つけ、そのバージョンを読み、DOMのイベントの結びつけやテストのガイドなど、タスクに合う同梱のページを開きます。現在のウェブサイトには頼りません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Marionette applications
For application work, locate marionette/package.json with Node's require.resolve from the application workspace and read its version. For rendering, observation or persistence changes, check the configured renderer or data provider. For framework changes, follow repository guidance.
Choose one task or exact API section below directly from the installed package. Documentation paths are relative to that package, not this skill. Follow additional references when the task needs them. If docs are absent, obtain the exact release or known source revision; do not substitute current website contracts.
<!-- task-routes:start -->| Task | Packaged page |
|---|---|
| Install and render a first View | docs/quick-start.md |
| Migrate from another UI framework | docs/guides/framework-migration.md |
| Migrate an existing v4 application | docs/guides/migration.md |
| Test interaction, readiness, or teardown | docs/guides/testing.md |
| Choose ownership and lifetimes | docs/architecture.md |
| Bind a DOM event or trigger | docs/api/shared/view-bindings.md#dom-events |
| Read or rebind named DOM elements | docs/api/shared/view-bindings.md#ui-bindings |
| Edit a model or retain a draft | docs/guides/local-editing.md |
| Prepare, start, restart, or stop a feature | docs/api/application.md |
| Restart while retaining a draft or shell | docs/guides/retained-restart.md |
| Enhance existing markup | docs/guides/existing-html.md |
| Embed a feature in another UI | docs/guides/existing-ui.md |
| Connect URLs and destination lifetimes | docs/guides/routing.md |
| Show, replace, or retain child UI | docs/api/region.md |
| Render, filter, or sort repeated children | docs/guides/lists.md |
| Share observable data and state | docs/api/shared/state.md |
| Connect events and clean up subscriptions | docs/api/shared/events.md |
| Connect channels and request/reply handlers | docs/packages/radio.md |
| Configure a renderer or another data layer | docs/api/runtime.md#choose-a-configuration-scope |
| Write typed options, handlers, or lifecycle hooks | docs/guides/typescript.md |
| Check types, lint, or diagnose a failure | docs/tooling.md |
| Integrate an imperative control | docs/guides/widgets.md |
| Check keyboard, focus, or rendering safety | docs/guides/accessibility-rendering.md |
| Build and deploy an application | docs/guides/production.md |
| Apply the concepts in a composed feature | docs/records.md |
Apply and verify
Local interaction can stay in a View. An asynchronous call alone does not require an Application. A View may save its own model if the configured data layer supplies it; optional @mnjs/data supplies observation, with fetching and persistence provided separately, and does not supply Model.save().
Application preparation establishes readiness. Use restart to prepare new data while retaining a running feature; commit the prepared result in onStart and construct retained UI once. Use explicit operations for ongoing work that has a separate lifetime. Coordinate shared decisions at their owning lifetime. Use docs/architecture.md when choosing ownership. Verify changed interaction, replacement, cancellation or teardown as relevant; distinguish executed checks from source inspection.
Optional lookup
Read Markdown directly, or run node <skill>/scripts/docs.mjs --section docs/path.md#heading-anchor from the application directory. Replace <skill> with this skill directory and use a section link from the docs or a returned lookup ID. --page SOURCE --section 'Heading' reads a named section. Use --symbol Export.member for signatures and primary section IDs in primarySections, --search 'query' for an unknown location, or --page SOURCE for a full page. --list is optional page discovery. External package stores need --package-root <physical-directory>. The helper verifies installed documentation hashes and reports version/revision.
Only when using the plugin's hosted connection, follow the installed docs/tooling.md#hosted-documentation-mcp identity checks. Installed Markdown remains authoritative. The copied skill works without MCP.
よくある質問
ドキュメントはどこから来ますか?
インストールされたMarionetteのバージョンに同梱されたドキュメントを読むとしています。
ドキュメントがない場合は?
現在のウェブサイトを使うのではなく、正確なリリースまたはソースのリビジョンを取得するよう定めています。
v4からの移行は扱いますか?
はい。既存のv4のアプリを移行するためのタスクの道筋を含みます。
詳細
作者による元の説明
Build, debug, review, or test Marionette v5 applications using their installed, version-matched documentation.
repo: marionettejs/marionette
人気
- GitHubのスター
- 7.0k
- ランキング
- #13695
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。