Installable skillApache-2.0

Bootstrap Legacy Patterns

Patterns for maintaining or migrating Bootstrap 3/4/5 projects.

BY David-Li0406UPDATED Oct 28, 2026
INTENDED FOR✳Claude Code>_Codex◈OpenClaw↗CursorInstall in a listed agent.

instructions.md

---
name: bootstrap-legacy-261d5ec9bf17
description: Patterns for maintaining or migrating Bootstrap 3/4/5 projects.
---

# Bootstrap Legacy Patterns

## When to use this skill
- Maintaining sites built with Bootstrap.
- Migrating from Bootstrap to Tailwind.
- Using Bootstrap components.

## 1. Grid System
- **Classes**: `container`, `row`, `col-{breakpoint}-{size}`.
- **Nesting**: Rows must be direct children of containers or columns.

## 2. Utilities vs Components
- **Components**: Bootstrap relies heavily on pre-built components (`.card`, `.navbar`, `.modal`).
- **Utilities**: Bootstrap 5 introduced more utility classes (`.d-flex`, `.mb-3`), similar to Tailwind. Prefer these over custom CSS when editing.

## 3. Migration
- **To Tailwind**: Map concepts (e.g., `d-none` -> `hidden`, `text-center` -> `text-center`, `btn-primary` -> custom component).
- **Coexistence**: Avoid loading both if possible, but if needed, scope Bootstrap to a wrapper (namespace).
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.