Skip to content
Back to skills

Ztf Tw Sidebar Collapsible Commerce

ASecurity

Build and verify Collapsible sidebar for Commerce and checkout with Tailwind CSS v4 using a working semantic implementation, responsive RTL/LTR behavior, theme tokens, test plan and design verification.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
designgoperformancedocumentation

Works with

  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 7, 2026

npx -y skills add Realjustawall/Perfect-AI --skill ztf-tw-sidebar-collapsible-commerce --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ztf Tw Sidebar Collapsible Commerce?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ztf Tw Sidebar Collapsible Commerce
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/realjustawall-ztf-tw-sidebar-collapsible-commerce/badge)](https://www.skillsdirectory.com/skills/realjustawall-ztf-tw-sidebar-collapsible-commerce)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ztf-tw-sidebar-collapsible-commerce
description: Build and verify Collapsible sidebar for Commerce and checkout with Tailwind CSS v4 using a working semantic implementation, responsive RTL/LTR behavior, theme tokens, test plan and design verification.
---

# Collapsible sidebar — Commerce and checkout (Tailwind CSS v4)

Use this skill when asked to implement, migrate, debug or review the corresponding real interface feature. You MUST implement actual code in the user's repository; do not merely paste advice. Do not request MCP.

## Task and plan
**Goal:** Collapsible sidebar. **Context:** Commerce and checkout. **Acceptance:** Sidebar does not obscure content at 320px. **Product emphasis:** Keep product context, price, shipping and primary actions accessible; no hidden costs.

1. Inspect lockfile and existing design system. Verify that the correct framework and version is installed.
2. Read `../../frameworks/patterns/tw/sidebar-collapsible/commerce.md` from this ZIP or, after skill-only installation, use the **embedded recipe below** without depending on external files.
3. Build the semantic structure and wire interactions. Use tokens before choosing visual styling.
4. Test and repair across the acceptance matrix; report actual evidence.

## Embedded implementation
```html
<nav id="sidebar-collapsible-tw-commerce-and-checkout" aria-label="Collapsible sidebar">
  <div class="grid grid-cols-1 lg:grid-cols-[16rem_minmax(0,1fr)]">
    <a href="#overview" aria-current="page">Overview</a>
    <a href="#features">Features</a>
    <a href="#help">Help</a>
  </div>
</nav>
```

## Framework and integration rules
- `npm install tailwindcss @tailwindcss/vite` only if necessary and approved in the host project.
- Use top-level @theme to define utility-generating tokens and :root/[data-theme] for semantic alias variables.
- Use ms-*/me-*, text-start/text-end and dir-aware layout with rtl: variants.
- Navigation must be operable by keyboard, expose current page, and preserve source order.
- sm 640, md 768, lg 1024, xl 1280, 2xl 1536 default; use @container variants for reusable components.

## Motion / color integration
Choose semantic colors with the original Perfect_AI palette engine and `COLOR-SCIENCE-ULTIMATE.md`. In strict monochrome contexts, do not add colorful gradients. For Anime.js, scope animation, honor reduced motion and dispose on route transitions. For Three.js, provide static fallback, performance caps and resize camera/renderer correctly. Do not animate layout-critical dimensions on every scroll frame.

## Definition of done
- [ ] Sidebar does not obscure content at 320px
- [ ] Narrow/wide layout, nested containers, RTL/LTR and 400% zoom pass.
- [ ] Accessible labels, focus, contrast, keyboard/touch, reduced motion pass.
- [ ] Build, tests and targeted browser interaction executed; no uncaught runtime errors.
- [ ] Limitations or unimplemented integration endpoints explicitly disclosed.

**Official reference:** https://tailwindcss.com/docs/. This is original integration documentation, not a vendor's copied component source.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.