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:
colem
2026-08-11 15:28:09 -05:00
parent 71f73fccbc
commit a4fc747df2
8 changed files with 192 additions and 0 deletions
+19
View File
@@ -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.