mirror of
https://github.com/cole-maxwell1/dotfiles.git
synced 2026-10-27 16:32:49 -05:00
feat(opencode): add language-specific coding skills
- add conventions for Bash, C#, Go, Python, and TypeScript - add frontend guidance for HTMX, PrimeVue, and Vue - document formatting, typing, testing, async, and framework-specific practices - reference official documentation for framework API details
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: primevue
|
||||
description: PrimeVue v4 component patterns and Tailwind integration. Use when writing or styling PrimeVue components.
|
||||
---
|
||||
|
||||
# PrimeVue v4 Conventions
|
||||
|
||||
Assume PrimeVue v4 is installed when answering Vue questions. Use the Composition API with `<script setup>`.
|
||||
|
||||
## Usage
|
||||
- Register components via the PrimeVue plugin or import per component.
|
||||
- Prefer official presets and theming over hand-rolled overrides.
|
||||
|
||||
## Tailwind integration
|
||||
- TailwindCSS is available; when needed, apply utility classes through the component passthrough (`pt`) or the unstyled/preset mechanism rather than overriding internal DOM.
|
||||
- Keep utility usage consistent with the project's styling layer.
|
||||
|
||||
## API detail
|
||||
- For component props, events, slots, and passthrough (`pt`) keys, fetch the PrimeVue LLM docs index on demand: `https://v4.primevue.org/llms/llms.txt`. Follow the relevant component link for the exact signature.
|
||||
Reference in New Issue
Block a user