Claude-skill-registry bootstrap-vue3
Provides comprehensive guidance for Bootstrap Vue 3 component library including Bootstrap components, grid system, utilities, and Vue 3 integration. Use when the user asks about Bootstrap Vue 3, needs to use Bootstrap components in Vue 3, or implement responsive layouts.
git clone https://github.com/majiayu000/claude-skill-registry
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/bootstrap-vue3" ~/.claude/skills/majiayu000-claude-skill-registry-bootstrap-vue3 && rm -rf "$T"
skills/data/bootstrap-vue3/SKILL.mdWhen to use this skill
Use this skill whenever the user wants to:
- Build Vue 3 applications with Bootstrap Vue components
- Use Bootstrap UI components (Button, Form, Table, Modal, etc.)
- Create responsive layouts with Bootstrap grid
- Use Bootstrap Vue directives (v-b-tooltip, v-b-popover, v-b-modal)
- Implement forms with Bootstrap styling
- Display data in Bootstrap tables
- Create modals and alerts
- Use Bootstrap navigation components
- Customize Bootstrap themes
- Migrate from Bootstrap Vue 2.x to 3.0
How to use this skill
This skill is organized to match the Bootstrap Vue 3.0 official documentation structure (https://bootstrap-vue.org/docs, https://bootstrap-vue.org/docs/components). When working with Bootstrap Vue 3.0:
-
Identify the topic from the user's request:
- Getting started/快速开始 →
orexamples/getting-started/installation.mdexamples/getting-started/basic-usage.md - Button/按钮 →
examples/components/button.md - Form/表单 →
examples/components/form.md - Table/表格 →
examples/components/table.md - Modal/模态框 →
examples/components/modal.md - Alert/警告框 →
examples/components/alert.md - Navbar/导航栏 →
examples/components/navbar.md - Grid/栅格 →
examples/components/grid.md - Directives/指令 →
orexamples/directives/tooltip.mdexamples/directives/modal.md
- Getting started/快速开始 →
-
Load the appropriate example file from the
directory:examples/Getting Started (快速开始) -
:examples/getting-started/
- Installing Bootstrap Vue and basic setupexamples/getting-started/installation.md
- Basic component usageexamples/getting-started/basic-usage.md
Components (组件) -
:examples/components/
- Button componentexamples/components/button.md
- Form componentsexamples/components/form.md
- Input componentexamples/components/input.md
- Table componentexamples/components/table.md
- Modal componentexamples/components/modal.md
- Alert componentexamples/components/alert.md
- Navbar componentexamples/components/navbar.md
- Grid system (Container, Row, Col)examples/components/grid.md
- Card componentexamples/components/card.md
- Badge componentexamples/components/badge.md
- Dropdown componentexamples/components/dropdown.md
- Pagination componentexamples/components/pagination.md
- Tabs componentexamples/components/tabs.md
- Collapse componentexamples/components/collapse.md
- Popover componentexamples/components/popover.md
- Tooltip componentexamples/components/tooltip.md
Directives (指令) -
:examples/directives/
- v-b-tooltip directiveexamples/directives/tooltip.md
- v-b-popover directiveexamples/directives/popover.md
- v-b-modal directiveexamples/directives/modal.md
- v-b-toggle directiveexamples/directives/toggle.md
Advanced (高级) -
:examples/advanced/
- Customizing Bootstrap themeexamples/advanced/theme-customization.md
- Using composables (useToast, useModal)examples/advanced/composables.md
-
Follow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
- All examples follow Bootstrap Vue 3.0 API (Vue 3 + Bootstrap 5)
- Examples use Composition API syntax
- Each example file includes key concepts, code examples, and key points
- Always check the example file for best practices and common patterns
-
Reference API documentation in the
directory when needed:api/
- Component API referenceapi/components.md
- Directives API referenceapi/directives.md
- Composables API referenceapi/composables.md
-
Use templates from the
directory:templates/
- Project setup templatestemplates/project-setup.md
- Component usage templatestemplates/component-template.md
Doc mapping (one-to-one with official documentation)
Guide (指南):
- See guide files in
orexamples/guide/
→ https://bootstrap-vue.org/docsexamples/getting-started/
Components (组件):
- See component files in
→ https://bootstrap-vue.org/docs/componentsexamples/components/
Examples and Templates
This skill includes detailed examples organized to match the official documentation structure. All examples are in the
examples/ directory (see mapping above).
To use examples:
- Identify the topic from the user's request
- Load the appropriate example file from the mapping above
- Follow the instructions, syntax, and best practices in that file
- Adapt the code examples to your specific use case
To use templates:
- Reference templates in
directory for common scaffoldingtemplates/ - Adapt templates to your specific needs and coding style
API Reference
Detailed API documentation is available in the
api/ directory, organized to match the official Bootstrap Vue 3.0 API documentation structure:
Components API (api/components.md
)
api/components.md- All component props and APIs
- Component events and slots
- Component types and interfaces
Directives API (api/directives.md
)
api/directives.md- Directive syntax and usage
- Directive modifiers
- Directive options
Composables API (api/composables.md
)
api/composables.md- useToast composable
- useModal composable
- usePopover composable
To use API reference:
- Identify the API you need help with
- Load the corresponding API file from the
directoryapi/ - Find the API signature, parameters, return type, and examples
- Reference the linked example files for detailed usage patterns
- All API files include links to relevant example files in the
directoryexamples/
Best Practices
- Import Bootstrap CSS: Import Bootstrap CSS in your entry file
- Use Composition API: Prefer Composition API for Vue 3 projects
- Tree-shaking: Import components individually for better tree-shaking
- Responsive design: Use Bootstrap grid system for responsive layouts
- Accessibility: Follow Bootstrap accessibility guidelines
- Theme customization: Use Bootstrap variables for consistent theming
- Directives: Use directives for programmatic component control
- Composables: Use composables for programmatic API access
- Component composition: Compose components for complex UIs
- Performance: Optimize bundle size with tree-shaking
Resources
- Official Website: https://bootstrap-vue.org
- Documentation: https://bootstrap-vue.org/docs
- Components: https://bootstrap-vue.org/docs/components
- GitHub Repository: https://github.com/bootstrap-vue/bootstrap-vue-next
Keywords
Bootstrap Vue, Bootstrap Vue 3.0, Vue 3, Bootstrap 5, components, Button, Form, Table, Modal, Alert, Navbar, Grid, directives, v-b-tooltip, v-b-popover, v-b-modal, composables, useToast, useModal, 组件库, 按钮, 表单, 表格, 模态框, 警告框, 导航栏, 栅格, 指令