Expert guidance for Vue 3 projects using Stylus, VueUse, and linearly for linear algebra. Follows strict code style and commit message conventions.
This skill has safety concerns that you should review before use. Some patterns were detected that may pose a risk.Safety score: 60/100.
KillerSkills scans all public content for safety. Use caution before installing or executing flagged content.
Expert guidance for Vue 3 projects using Stylus CSS preprocessor, VueUse composition utilities, and the linearly library for linear algebra operations.
Always structure Vue 3 single-file components with:
1. `<script lang="ts" setup>` block at the top
2. `<template>` block in the middle
3. `<style lang="stylus" scoped>` block at the bottom
**Always use scoped CSS** to prevent style leakage between components.
Use TypeScript for all component logic. Leverage Vue 3's Composition API with `<script setup>` syntax for cleaner, more concise components.
Write all styles using Stylus syntax within scoped style blocks. Take advantage of Stylus features like:
For any linear algebra operations (vectors, matrices, transformations), use the `linearly` library:
**All comments and commit messages must be written in English.**
This includes:
Write commit messages that describe **what you did**, not **why you did it**.
```
Add user profile component
Update sidebar navigation styles
Fix header alignment issue
Remove unused imports from App.vue
```
```
Add user profile component to improve UX
Update sidebar styles because the old ones were ugly
Fix alignment (header was misaligned due to padding)
```
Keep messages concise, imperative, and factual. Focus on the change itself, not the motivation or intention behind it.
```vue
<script lang="ts" setup>
import { ref, computed } from 'vue'
import { useMousePosition } from '@vueuse/core'
import { vec2 } from 'linearly'
const count = ref(0)
const { x, y } = useMousePosition()
const position = computed(() => vec2(x.value, y.value))
</script>
<template>
<div class="component">
<p>Count: {{ count }}</p>
<p>Mouse: {{ position }}</p>
</div>
</template>
<style lang="stylus" scoped>
.component
padding 20px
background-color #f5f5f5
p
margin 10px 0
color #333
</style>
```
1. Always use `<script lang="ts" setup>` for component logic
2. Always use `<style lang="stylus" scoped>` for component styles
3. Write all comments and commit messages in English
4. Keep commit messages factual and action-oriented
5. Use VueUse composables for common functionality
6. Use linearly for all linear algebra operations
7. Leverage Vue 3 Composition API patterns
8. Maintain consistent code formatting and structure
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/vue-3-with-stylus-and-vueuse-development/raw