Skip to content

feat(instructions): add comprehensive Vue 3 development instructions#1937

Open
fhwvtqdc2q-svg wants to merge 1 commit into
github:mainfrom
fhwvtqdc2q-svg:main
Open

feat(instructions): add comprehensive Vue 3 development instructions#1937
fhwvtqdc2q-svg wants to merge 1 commit into
github:mainfrom
fhwvtqdc2q-svg:main

Conversation

@fhwvtqdc2q-svg
Copy link
Copy Markdown

What

Adds a new instructions file — instructions/vue.instructions.md — providing authoritative, production-grade guidance for Vue 3 development, and registers it in the instructions index (docs/README.instructions.md).

applyTo: **/*.vue, **/*.ts, **/*.js, **/*.css, **/*.scss

Why

Vue 3 is a major framework with a distinct modern idiom (Composition API + <script setup lang="ts">) that differs significantly from Vue 2 / Options API. These instructions help Copilot generate idiomatic, current Vue 3 code rather than legacy patterns.

Coverage

  • Composition API with <script setup lang="ts"> as the default authoring style
  • Full reactivity system (ref, reactive, computed, watch/watchEffect, toRefs)
  • Compiler macros: defineProps, defineEmits, defineModel, defineSlots, defineExpose, defineOptions
  • Built-in components: Teleport, Suspense, Transition, KeepAlive
  • provide/inject, composables, Pinia state management, Vue Router
  • TypeScript throughout, testing (Vitest + Vue Test Utils), performance, SSR, and security

Housekeeping

  • Regenerated the instructions README index to include the new entry (with VS Code / VS Code Insiders install badges, matching the repo's existing format).
  • Applied a non-breaking npm audit fix resolving the yaml advisory (GHSA-48c2-rrv3-qjmp) and a transitive high-severity issue (package-lock.json only).

Notes for reviewers

  • Content-only contribution following the existing *.instructions.md frontmatter convention (description + applyTo).
  • No existing instructions files were modified; the only edits outside the new file are the README index entry and the lockfile audit fix.

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ This PR targets main, but PRs should target staged.

The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.

You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1937 --base staged

@github-actions github-actions Bot added instructions PR touches instructions new-submission PR adds at least one new contribution targets-main PR targets main instead of staged labels Jun 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2026

🔴 Contributor Reputation Check: HIGH risk

Check Risk
Profile HIGH
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@github-actions github-actions Bot added the needs-review:HIGH Contributor reputation check flagged HIGH risk label Jun 7, 2026
Add instructions/vue.instructions.md covering the Vue 3 feature surface (Composition API, reactivity, compiler macros, built-in components, Pinia, Vue Router, TypeScript, testing, SSR, security) and regenerate the instructions README index.

Also apply non-breaking npm audit fix resolving the yaml advisory (GHSA-48c2-rrv3-qjmp) and a transitive high-severity issue.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

instructions PR touches instructions needs-review:HIGH Contributor reputation check flagged HIGH risk new-submission PR adds at least one new contribution targets-main PR targets main instead of staged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant