buefy
यह क्या करती है
यह स्किल एजेंट को तब मार्गदर्शन देती है जब वह Buefy कंपोनेंट लाइब्रेरी से Vue स्क्रीन लिखता है, जो Bulma स्टाइलिंग पर आधारित है। यह Vue वेब ऐप बनाने वाले डेवलपर्स के लिए है।
कब इस्तेमाल करें
- ✓जब आप बटन, फ़ॉर्म, तालिकाओं या पॉप-अप विंडो वाला Vue पेज लिख रहे हों।
- ✓जब आपके प्रोजेक्ट में Buefy पहले से dependency के रूप में हो।
- ✓जब Vue प्रोजेक्ट के लिए इंटरफ़ेस कोड चाहिए और कोई UI लाइब्रेरी चुनी न गई हो।
Skill का लिंक
https://github.com/buefy/buefy/blob/main/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Buefy फ़ील्ड, सबमिट बटन और एरर संदेश वाला Vue संपर्क फ़ॉर्म बनाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट Buefy इंस्टॉल करता है, या अगर वह प्रोजेक्ट में पहले से है तो उसे इस्तेमाल करता है, फिर Vue कंपोनेंट लिखता है जो लाइब्रेरी के तैयार हिस्सों, properties और events का उपयोग करते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Buefy
Buefy is a lightweight UI component library for Vue 3 based on Bulma CSS. Components are Vue SFCs (<b-button>, <b-modal>, etc.) that wrap Bulma's class-based styles with reactive props, events, and slots.
When to run this skill
Trigger whenever you are:
- Writing a Vue template or SFC that includes any UI element (buttons, forms, modals, tables, navigation, etc.)
- Asked to "use Buefy" or "add a Buefy component"
- Working in a project that has
buefyin itspackage.jsondependencies - Generating component code without a specified UI library in a Vue project
Install
npm install buefy
Full bundle (registers all components globally)
// main.ts
import { createApp } from 'vue'
import Buefy from 'buefy'
import 'buefy/dist/buefy.css'
import App from './App.vue'
const app = createApp(App)
app.use(Buefy)
app.mount('#app')
Individual components (tree-shakeable)
// main.ts — register as plugins
import { createApp } from 'vue'
import { Button, Field, Input } from 'buefy'
import App from './App.vue'
const app = createApp(App)
app.use(Button)
app.use(Field)
app.use(Input)
app.mount('#app')
<!-- Or import directly in a SFC -->
<script lang="ts">
import { BButton, BField, BInput } from 'buefy'
export default { components: { BButton, BField, BInput } }
</script>
Usage rules
- Use the
typeprop, notclass— Buefy components expose Bulma modifiers as atypeprop. Usetype="is-primary"notclass="is-primary"on Buefy components. - Size prop values —
"is-small"|"is-medium"|"is-large". No bare size strings. - Always wrap form inputs in
<b-field>—<b-field>provides the label, validation message, and grouping. Direct bare inputs miss label/message wiring. - v-model target — Most components bind to
modelValue. Named v-models onb-table:v-model:selected,v-model:checked-rows,v-model:current-page,v-model:opened-detailed. - Icons — Use the
iconprop with the icon name only (nomdi-prefix). The icon pack (MDI by default) must be registered in your project. Example:icon="home"noticon="mdi-home". - b-table columns —
<b-table>requires:data="arrayOfObjects"and<b-table-column field="key" label="Header">children. Columns can also be passed via the:columnsprop. - Theming — Customize via Bulma SCSS variable overrides in a
.scssfile, not a JS config object. TheConfigProgrammaticutility sets defaults (icon pack, locale, etc.). - Programmatic APIs — Components like Toast, Snackbar, Dialog, Loading, Modal, and Notification can be opened imperatively. Import the programmatic class or use the composable:
import { ToastProgrammatic as Toast } from 'buefy' Toast.open('Hello world') // or with options: Toast.open({ message: 'Saved!', type: 'is-success', duration: 3000 }) // Composable-style (preferred in Composition API): import { useToast } from 'buefy' const { open: openToast } = useToast() openToast({ message: 'Saved!', type: 'is-success' })
Colors & Types
Use these values for the type prop on components that accept it:
| Value | Meaning |
|---|---|
is-primary |
Primary brand color (default blue) |
is-link |
Link color |
is-info |
Informational (cyan) |
is-success |
Success (green) |
is-warning |
Warning (yellow) |
is-danger |
Error / danger (red) |
is-dark |
Dark (near-black) |
is-light |
Light (near-white) |
is-white |
White |
is-black |
Black |
Size values: is-small · is-medium · is-large
Components
b-autocomplete
Autocomplete text input with dropdown suggestions.
Key props: v-model (String), data (Array — suggestion list), field (String — dot path into data objects for display), expanded, loading, icon, size, rounded, keep-first, open-on-focus, keep-open, clearable, placeholder
Slots: default (scoped: { option, index }) for custom option rendering; header, footer, empty, group
Emits: typing, select, focus, blur, infinite-scroll
<b-field label="Search">
<b-autocomplete
v-model="search"
:data="filteredResults"
field="name"
placeholder="Type to search"
@typing="onTyping"
@select="onSelect"
>
<template #default="{ option }">
{{ option.name }} — {{ option.category }}
</template>
</b-autocomplete>
</b-field>
अक्सर पूछे जाने वाले सवाल
क्या पहले Buefy इंस्टॉल करना होगा?
हाँ, जब तक आपके प्रोजेक्ट में वह पहले से न हो। स्किल इंस्टॉल चरण और कंपोनेंट रजिस्टर करने का तरीका दिखाती है।
क्या यह Vue 3 के साथ काम करती है?
हाँ। स्किल Buefy को Vue 3 के लिए कंपोनेंट लाइब्रेरी बताती है।
क्या मैं सिर्फ़ कुछ कंपोनेंट इस्तेमाल कर सकता हूँ?
हाँ। स्किल दिखाती है कि पूरे बंडल की बजाय अलग-अलग कंपोनेंट कैसे इम्पोर्ट करें।
जानकारी
लेखक का मूल विवरण
Official Buefy skill for Vue.js + Bulma UI components. TRIGGER when generating any Vue template, SFC, or component code that involves UI elements, forms, modals, tables, navigation, or feedback messages.
repo: buefy/buefy
लोकप्रियता
- GitHub स्टार
- 9.5k
- रैंकिंग में स्थान
- #12275
- लाइसेंस
- MIT
- अपडेट की गई
- 8/9/2026
कमेंट
- …
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।