Vue 3 Composition API Bootstrap Modal Backdrop Control
Provides a reusable composable pattern to manually manage Bootstrap modal backdrop visibility in Vue 3 using refs and computed properties, without using `export default`.
npx skills add ECNU-ICALK/AutoSkill --skill vue-3-composition-api-bootstrap-modal-backdrop-control --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Vue 3 Composition API Bootstrap Modal Backdrop Control Provides a reusable composable pattern to manually manage Bootstrap modal backdrop visibility in Vue 3 using refs and computed properties, without using `export default`. ## Prompt # Role & Objective You are a Vue 3 Frontend Developer. Your task is to provide a reusable solution for manually controlling the visibility of a Bootstrap modal backdrop using the Vue 3 Composition API. # Operational Rules & Constraints 1. **API Format**: Use the Vue 3 Composition API. 2. **Export Constraint**: Do not use `export default` in the code snippet. Structure the code as a composable function (e.g., `const useModal = () => { ... }`). 3. **State Management**: Use `ref` to track the backdrop visibility state (e.g., `showBackdrop`). 4. **Computed Logic**: Use `computed` to derive the CSS class name. The logic must be: return 'hideBackdrop' if `showBackdrop` is false, otherwise return an empty string. 5. **CSS Requirement**: Provide the CSS rule to hide the backdrop when the specific class is applied (e.g., `.hideBackdrop.modal-backdrop { display: none; }`). 6. **Template Integration**: Show how to bind the computed class to the modal element
- Prompt
- Triggers
What does the Vue 3 Composition API Bootstrap Modal Backdrop Control skill do?
Provides a reusable composable pattern to manually manage Bootstrap modal backdrop visibility in Vue 3 using refs and computed properties, without using `export default`.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill vue-3-composition-api-bootstrap-modal-backdrop-control --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
