vue-best-practices
Build Better Vue 3 Applications
Vue projects become difficult when reactivity, component boundaries, and data flow are inconsistent. This skill applies structured Vue 3 guidance throughout implementation and review.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "vue-best-practices" from https://skillstore.io/skills/antfu-vue-best-practices.md and its manifest at https://skillstore.io/api/skills/antfu-vue-best-practices/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "vue-best-practices". Review a large product page component that handles filters, fetching, results, and status controls.
Expected outcome:
- A component map separates orchestration, filters, results, and status controls.
- A composable owns fetching, state, cancellation, and derived values.
- Typed props and emits define each child component contract.
Using "vue-best-practices". Improve a slow Vue list containing thousands of interactive rows.
Expected outcome:
- Profile rendering before changing the component structure.
- Virtualize visible rows and retain stable item keys.
- Use memoization only for subtrees with stable, measurable dependencies.
Using "vue-best-practices". Review state shared between components in an SSR application.
Expected outcome:
The review identifies unsafe module state, recommends request-scoped stores, and documents typed injection boundaries.
Security Audit
SafeAll 102 static findings are false positives in documentation and inert Vue examples. Backticks are Markdown spans or JavaScript template literals, while key and reconnaissance matches are lexical collisions. Dynamic imports and relative API calls illustrate normal application patterns and are not executed by the skill.
Risk Factors
โ๏ธ External commands (37)
โก Contains scripts (5)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/antfu-vue-best-practices/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/antfu-vue-best-practices?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/antfu-vue-best-practices?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/antfu-vue-best-practices/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/antfu-vue-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>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
antfu. (2026). vue-best-practices security audit report (audit version 6) [Author version 18.0.0]. Skillstore. https://skillstore.io/skills/antfu-vue-best-practices/audits/6BibTeX citation
@techreport{antfu-antfu-vue-best-practices-2026,
author = {antfu},
title = {vue-best-practices security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/antfu-vue-best-practices/audits/6},
note = {Author version 18.0.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "vue-best-practices security audit report (audit version 6)"
version: "18.0.0"
type: report
authors:
- name: "antfu"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/antfu-vue-best-practices/audits/6"
identifiers:
- type: other
value: "skillstore:antfu-vue-best-practices:audit:6"
description: "Skillstore immutable audit report identifier"
Compare variants
3 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
vuejs-ai-vue-best-practices
2026-08-21
hyf0-vue-best-practices
2026-08-21
antfu-vue-best-practices
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Modernize Vue Components
Refactor existing components into typed Composition API structures with clearer state and responsibilities.
Standardize Team Architecture
Establish consistent component boundaries, data flow, composables, and file organization across a Vue codebase.
Improve Rendering Performance
Review large lists, update hooks, memoization, and animation choices after application behavior is correct.
Try These Prompts
Review this Vue component for Composition API structure, reactivity, template safety, and clear props and emits. Explain the most important changes.
Refactor this Vue feature into focused components and composables. Preserve behavior, define typed contracts, and explain each responsibility boundary.
Create a component map for this Vue requirement. Define responsibilities, state ownership, props, emits, composables, and optional framework features.
Audit this Vue workflow for rendering costs. Prioritize measured bottlenecks involving lists, updates, memoization, async components, and state-driven animations.
Best Practices
- Confirm the existing Vue architecture and project conventions before changing code.
- Keep source state minimal and derive values with pure computed properties.
- Measure behavior and performance before applying optional optimizations.
Avoid
- Do not place orchestration, state, and several independent interfaces in one large component.
- Do not use watchers to maintain values that computed properties can derive.
- Do not add advanced Vue features without a clear product or technical requirement.
Frequently Asked Questions
Does this skill support Vue 2?
Can it work with the Options API?
Does it generate complete Vue features?
Does it cover state management?
Does it cover Vue performance?
Will it install Vue packages?
Developer Details
Author
antfuLicense
MIT
Author version
v18.0.0
Skillstore revision
r2
Ref
89edfdc710d0846129dcee6a929477b04f08052c
Maintenance freshness
7/24/2026
Usage
29 downloads ยท 272 views
File structure
๐ LICENSE.md
๐ references/
๐ animation-class-based-technique.md
๐ animation-state-driven-technique.md
๐ component-async.md
๐ component-fallthrough-attrs.md
๐ component-slots.md
๐ component-transition-group.md
๐ composables.md
๐ directives.md
๐ perf-avoid-component-abstraction-in-lists.md
๐ perf-v-once-v-memo-directives.md
๐ perf-virtualize-large-lists.md
๐ plugins.md
๐ reactivity.md
๐ render-functions.md
๐ sfc.md
๐ state-management.md
๐ updated-hook-performance.md
๐ SKILL.md
๐ SYNC.md