Install
openclaw skills install @kens-agents/bootstrap-docs-v5-3-8Documentation reference for Bootstrap 5.3.8. Use to look up the correct syntax, classes, and usage for Bootstrap components, utilities, layout, forms, and Sass variables. Not a coding tutor — only a reference lookup. Example triggers: "Can I put mt-2 on an input?", "What does navbar-expand-lg do?", "What are the available button classes?"
openclaw skills install @kens-agents/bootstrap-docs-v5-3-8Look up Bootstrap 5.3.8 syntax, classes, components, utilities, and variables from the official docs.
| User wants... | Do this |
|---|---|
| Component docs (button, card, modal, etc.) | Search scripts/bootstrap-reference.json by component name |
| Utility classes (margin, padding, colors) | Search scripts/bootstrap-reference.json utilities category |
| Layout/grid system | Search scripts/bootstrap-reference.json layout/grid content |
| Form controls | Search scripts/bootstrap-reference.json forms category |
| Customization (variables, mixins) | Search scripts/bootstrap-reference.json customize content |
| Sass variables ($primary, $spacer, etc.) | Search scripts/bootstrap-variables.json by variable name |
| Migration from v4 | Read migration content in scripts/bootstrap-reference.json |
| Getting started guide | Read getting-started category in scripts/bootstrap-reference.json |
| Bootstrap source code examples | Search scripts/bootstrap-reference.json extend/customize |
scripts/bootstrap-reference.json first before answering Bootstrap-related questionsbtn btn-primary, card card-body)$variable questions, use scripts/bootstrap-variables.json instead of guessing defaultsThis skill provides read-only access to the official Bootstrap 5.3.8 documentation. Use it to answer questions like:
mt-2 be applied to an <input>?"navbar-expand-lg do?"btn-primary and btn-outline-primary?"Do not use this skill to teach Bootstrap from scratch or to generate whole projects.
// In your code
const fs = require('fs');
const reference = JSON.parse(fs.readFileSync('{baseDir}/scripts/bootstrap-reference.json', 'utf8'));
const variables = JSON.parse(fs.readFileSync('{baseDir}/scripts/bootstrap-variables.json', 'utf8'));
// Search for specific component
const result = reference.find(item =>
item.category === "components" &&
item.slug.includes("card")
);
// Look up a Sass variable
const primary = variables['_variables.scss']['primary'];
The scripts/bootstrap-reference.json contains entries from these categories:
category="components", slug contains component namecategory="utilities", search by utility type (e.g., "spacing", "colors")category="forms", specific control namecategory="layout", "grid" or "breakpoints"category="customize", "variables" or "sass"scripts/bootstrap-variables.json, key = $variable-name| Component | Slug pattern | Key classes |
|---|---|---|
| Button | components-button | btn, btn-primary, btn-lg, btn-group |
| Card | components-card | card, card-body, card-title, card-footer |
| Modal | components-modal | modal, modal-dialog, modal-content |
| Navbar | components-navbar | navbar, navbar-brand, navbar-nav, nav-item |
| Form | forms-overview | form-control, form-label, form-check |
| Alert | components-alert | alert, alert-primary, alert-dismissible |
| Badge | components-badge | badge, badge-primary |
| Grid | layout-grid | container, row, col-*, col-md-* |
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-12 col-md-6 col-lg-4">Column 1</div>
<div class="col-12 col-md-6 col-lg-4">Column 2</div>
<div class="col-12 col-lg-4">Column 3</div>
</div>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control is-valid" id="email">
<div class="valid-feedback">Looks good!</div>
</div>
.container (responsive fixed width) vs .container-fluid (full width).row will have incorrect gutters — always wrap in .row!important{baseDir}/scripts/bootstrap-reference.json — Complete Bootstrap 5.3.8 documentation index (embedded in skill){baseDir}/scripts/bootstrap-variables.json — Sass variables and defaults from _variables.scss and _utilities.scss