vue-best-practices
82Vue 3 のコード品質を向上
Vue プロジェクトでは、時間の経過とともに reactivity、component、performance に関するミスが蓄積しがちです。このスキルは、より安全なパターンと明確なコードのために、Vue 3 に特化したガイダンスを提供します。
Vue Options API コンポーネントを改善する
Vue Options API プロジェクトでは、型安全性や正しい this バインディングが失われることがあります。このスキルは、より安全な Vue コンポーネントのための実践的なパターンを提供します。
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "vue-options-api-best-practices" from https://skillstore.io/skills/vuejs-ai-vue-options-api-best-practices.md and its manifest at https://skillstore.io/api/skills/vuejs-ai-vue-options-api-best-practices/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
「vue-options-api-best-practices」を使用しています。 A mounted hook uses an arrow function and cannot read component data.
期待される結果:
The hook should use regular function syntax or method shorthand. Vue can then bind this to the component instance.
「vue-options-api-best-practices」を使用しています。 A component accepts a user object prop and TypeScript infers a broad object type.
期待される結果:
Define a User interface and use Vue PropType for the prop. Add runtime validation if the object shape must be checked.
「vue-options-api-best-practices」を使用しています。 A debounced method behaves incorrectly across repeated component instances.
期待される結果:
Create the debounced function per instance in a lifecycle hook. Cancel timers during unmount to avoid shared state and leaks.
The static alerts are false positives caused by Markdown code fences, TypeScript template literals, Vue documentation links, and DOM event property names. No prompt injection, secret handling, command execution, or executable network behavior was found in the reviewed skill content.
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
https://skillstore.io/skills/vuejs-ai-vue-options-api-best-practices/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/vuejs-ai-vue-options-api-best-practices?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/vuejs-ai-vue-options-api-best-practices?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/vuejs-ai-vue-options-api-best-practices/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/vuejs-ai-vue-options-api-best-practices.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>github.com/vuejs-ai. (2026). vue-options-api-best-practices security audit report (audit version 4) [Author version 2.0.0]. Skillstore. https://skillstore.io/skills/vuejs-ai-vue-options-api-best-practices/audits/4@techreport{github-com-vuejs-ai-vuejs-ai-vue-options-api-best-practices-2026,
author = {github.com/vuejs-ai},
title = {vue-options-api-best-practices security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/vuejs-ai-vue-options-api-best-practices/audits/4},
note = {Author version 2.0.0}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "vue-options-api-best-practices security audit report (audit version 4)"
version: "2.0.0"
type: report
authors:
- name: "github.com/vuejs-ai"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/vuejs-ai-vue-options-api-best-practices/audits/4"
identifiers:
- type: other
value: "skillstore:vuejs-ai-vue-options-api-best-practices:audit:4"
description: "Skillstore immutable audit report identifier"
ライフサイクルとメソッドのリファレンスを使って、コンポーネントインスタンスへのアクセスを壊すアロー関数を見つけます。
既存の Options API コンポーネントに defineComponent、PropType、strict mode、明示的な戻り値の型を適用します。
古い Options API コンポーネントについて、共有された状態を持つメソッド、弱いイベント型付け、古いバリデーターパターンを確認します。
Review this Vue Options API component and explain why this is undefined. Focus on methods and lifecycle hooks. [Paste component]
Help me type these Vue Options API props with TypeScript. Include PropType guidance for objects, arrays, and functions. [Paste props]
Review these Options API event handlers. Recommend explicit event types and safer target handling. [Paste methods and template]
Audit this Vue Options API component for this binding, strict TypeScript support, computed return types, and stateful methods. [Paste component]
ライセンス
MIT
作者バージョン
v2.0.0
Skillstore リビジョン
r1
参照
36e07d5e13068e5be64447e8f20b427cf2cbd21a
メンテナンスの新しさ
2026/7/18
利用状況
23 ダウンロード · 154 閲覧
ファイル構成
📄 no-arrow-functions-in-lifecycle-hooks.md
📄 no-arrow-functions-in-methods.md
📄 stateful-methods-lifecycle.md
📄 ts-options-api-arrow-functions-validators.md
📄 ts-options-api-computed-return-types.md
📄 ts-options-api-proptype-complex-types.md
📄 ts-options-api-provide-inject-limitations.md
📄 ts-options-api-type-event-handlers.md
📄 ts-options-api-use-definecomponent.md
📄 ts-strict-mode-options-api.md
📄 SKILL.md
Vue 3 のコード品質を向上
Vue プロジェクトでは、時間の経過とともに reactivity、component、performance に関するミスが蓄積しがちです。このスキルは、より安全なパターンと明確なコードのために、Vue 3 に特化したガイダンスを提供します。
適応性の高い Vue Composables を作成する
Vue composables は、呼び出し側がプレーンな値、refs、ゲッターを混在させて渡すと失敗しがちです。このスキルは、Claude、Codex、Claude Code が予測可能な Vue リアクティビティを備えた再利用可能な composables を設計できるよう支援します。
Vue Pinia ストアパターンの改善
Vue アプリケーションは、ストアのセットアップ、分割代入、URL 状態のルールを見落としやすいため、失敗することがよくあります。このスキルは、Claude、Codex、Claude Code に対して、信頼性の高いストアと予測可能なリアクティビティを実現するための Pinia に特化したガイダンスを提供します。
Vueのテストプラクティスを改善する
Vueのテストスイートは、しばしば不安定で壊れやすく、設定が難しくなります。このスキルは、Vitest、Vue Test Utils、Pinia、非同期ヘルパー、Playwrightを使用して、信頼性の高いVue 3テストを作成するための実践的なガイダンスを提供します。
Vue Router のナビゲーションガードを改善する
Vue Router の問題は、古いデータ、壊れたリダイレクト、脆弱なルートチェックを引き起こす可能性があります。このスキルは、ガード、params、クリーンアップ、本番環境のルーティングに関する焦点を絞ったパターンを提供します。
より優れた Vue と Nuxt コンポーネントを構築する
Vue と Nuxt プロジェクトでは、状態が不明確で、コンポーネントが壊れやすく、データフローに一貫性がないことがよくあります。このスキルは、AI アシスタントを実践的な Vue 3 と Nuxt 3 のパターンへ導きます。
本番環境対応のフロントエンド機能を構築
作成者 davila7
フロントエンドチームには、プロジェクト間で一貫したReactおよびNext.jsのガイダンスが必要です。このスキルは、フロントエンド分析のためのリファレンスワークフロー、品質プラクティス、ヘルパースクリプトを提供します。
Playwrightテストカバレッジの改善
作成者 C0ntr0lledCha0s
Playwrightスイートは、設定、ロケーター、フィクスチャに一貫性がないと不安定になることがあります。このスキルは、信頼性の高いブラウザテスト、デバッグ、再利用可能なページオブジェクトのための実践的なパターンを提供します。
starknet.js で Starknet アプリを構築
作成者 internet-court
Starknet 統合では、プロバイダー、アカウント、トランザクション、手数料を正確に処理する必要があります。このスキルは、Claude、Codex、Claude Code に実践的な starknet.js v9 パターンを提供します。
React View Transitions を実装する
作成者 vercel-labs
React view transitions は配置を誤りやすく、意図しない静かなアニメーションや目立つアニメーションを引き起こします。このスキルは、route、Suspense、list、shared element のアニメーション選択を導きます。
型安全なReactコンポーネントを構築
作成者 softaworks
React TypeScript の作業では、event、hook、route の正確な型が必要になることがよくあります。このスキルは、型付きcomponents、React 19 APIs、routing に焦点を当てたパターンを提供します。
ResendでReact Emailテンプレートを構築
作成者 resend
本番環境で使えるメールテンプレートの作成は、メールクライアントごとに挙動が異なるため困難です。このスキルは、Claude、Codex、Claude Codeに対して、React Emailコンポーネント、送信、スタイリング、ローカライゼーション、エディターワークフローを案内します。