All authors

Claude Skills by turkishtechnology
github.com/turkishtechnology60 skills0 installs95 views
- Generate ChangelogAdd exactly one entry to `apps/docs/src/data/changelog.ts`. Do **not** modify the renderer (`apps/docs/src/pages/changelog.tsx`), its CSS module (`changelog.module.css`), or the type exports at the top of `apps/docs/src/data/changelog.ts` (and `apps/docs/src/data/package-changelogs-types.ts`) — only the `CHANGELOG_ENTRIES` array.Votes: 0GitHub stars: 3
- Generate Component DocsCreate or update one component page under `apps/docs/docs/components`. Keep changes focused on the requested component.Votes: 0GitHub stars: 3
- Migrate Takeoff V1Use this skill for an incremental migration of a React v1 consumer to `@takeoff-ui/react-spar`. It maps v1 intent to v2 entry points; it does not restate v2 APIs. Every rewrite must read the target component's own `takeoff-<name>` skill because that skill is authoritative for current v2 props, slots, accessibility, and examples. This skill is for React consumers only. Vue and Angular v1 consumers need a rewrite rather than this migration path.Votes: 0GitHub stars: 3
- Takeoff Accordion`Accordion` organizes related content into collapsible sections so users can scan dense pages and open only the details they need. **When to use:** Grouped collapsible sections (FAQs, settings panels, itinerary details) where open/closed state is owned by Spar. Not this — for a single standalone show/hide toggle reach for a disclosure/collapse primitive instead.Votes: 0GitHub stars: 3
- Takeoff Alert`Alert` displays contextual feedback inside the page layout, composed from a content block plus optional actions and a dismiss button. **When to use:** Inline, page-level feedback (gate changes, billing warnings, status notices). Not for transient stacked notifications — for those use a toast/notification component instead.Votes: 0GitHub stars: 3
- Takeoff AnchorUse `Anchor` for navigation between sections of the same page. It renders a `<nav>` landmark with a list of links; the Spar `Anchor` primitive watches the scroll container and marks the link of the section in view with `aria-current="location"`. A link press scrolls smoothly to its section, moves focus there and writes the hash. **When to use:** Long docs, settings, policy or detail pages with a side table of contents. Not this — use `takeoff-tabs` to switch panels in place, `takeoff-sidebar`...Votes: 0GitHub stars: 3
- Takeoff Avatar`Avatar` shows a person's or entity's picture. While the picture is missing, loading, or broken it shows `Avatar.Fallback` instead (initials, or a person glyph), so a broken image never flashes. The loading status comes from the Spar `Avatar` primitive. **When to use:** user and account pictures, assignee / reviewer / participant stacks, presence indicators on a person. Not for logos inside content (use an `<img>`), and not a button by itself — wrap it in a `Button` or render it `as="button"`...Votes: 0GitHub stars: 3
- Takeoff Badge`Badge` is a small visual label used to highlight status, count, or category. It is a standalone Takeoff component (no upstream Spar primitive). **When to use:** Reach for `Badge` for inline status pills, category tags, count bubbles, notification dots, and overlay indicators on icons/avatars. Not for dismissible filter chips with actions or interactive selection — use a dedicated chip/tag component for that.Votes: 0GitHub stars: 3
- Takeoff Breadcrumb`Breadcrumb` shows the user's current location as a trail of links back through the site hierarchy, so they can jump up the path without the browser back button. **When to use:** Render a hierarchical "where am I" trail of ancestor links ending in the current page. Not for primary site navigation (use a nav/menu component), and not for stepwise wizard progress.Votes: 0GitHub stars: 3
- Takeoff Button`Button` triggers an action when clicked. It wraps the Spar headless button primitive and adds Takeoff visual vocabulary — variant, appearance, size, loading state, and icon slots. **When to use:** Any clickable action — submit, CTA, toolbar action, icon-only action, or a two-state toggle (via `pressed`/`onPressedChange`).Votes: 0GitHub stars: 3
- Takeoff Calendar`Calendar` renders a month grid so users can pick a single day, a continuous range, or several separate days, always in view rather than behind a trigger. **When to use:** Inline date selection — booking grids, availability views, filters with a permanently visible month. For a value typed into a text field with the grid in a popover, compose `Input` (with a `date` mask) and `Popover` around it. Calendar wraps `react-day-picker`, which owns date arithmetic, selection, keyboard navigation and ...Votes: 0GitHub stars: 3
- Takeoff Card`Card` groups related content and actions in a flexible surface, with compound parts for consistent spacing, typography, and theming. **When to use:** Reach for `Card` whenever you need a bordered surface that bundles a heading, body content, and an optional action footer. Build the structure from its compound parts rather than nesting raw divs.Votes: 0GitHub stars: 3
- Takeoff Carousel`Carousel` shows a set of slides one step at a time. Spar's headless `Carousel` owns the index, the page model, keyboard, autoplay and ARIA (WAI-ARIA APG carousel pattern); the wrapper adds the Takeoff track, controls and layout. **When to use:** rotating banners, image or card galleries, step-through content. Not for value selection (use `Slider`) or tabbed panels (use `Tabs`).Votes: 0GitHub stars: 3
- Takeoff Chat`Chat` is a compound messaging surface. The root holds the conversation — `messages`, `currentUserId` and the callbacks — and the parts lay it out. **It never talks to a server.** It is fully controlled: your app keeps the messages, sends them, and updates their `status`; the component shows them and reports what the user does (`onSend`, `onEdit`, `onDelete`, `onRead`, …). **When to use:** person-to-person or group messaging, a support chat, a comments thread with edit/delete. It fills its co...Votes: 0GitHub stars: 3
- Takeoff Checkbox`Checkbox` is a compound, accessible toggle control whose root owns visual state (`size`, plus inherited `invalid` / `disabled` / `required` / `readOnly`), while `Checkbox.Indicator` is the bordered box that hosts the check icon. **When to use:** Boolean opt-in/opt-out controls, accept-terms gates, multi-select lists, and tri-state "select all" parents. Wrap in `Field` to attach a label, description, or error message that cascades state into the checkbox. Not this — use `takeoff-switch` for a...Votes: 0GitHub stars: 3
- Takeoff Chip`Chip` is a compact inline label used for filters, entered values, and short metadata, with an optional built-in remove action that dismisses the chip from the DOM. **When to use:** Reach for `Chip` for filter tags, entered/selected values, and short status metadata. Make it `clickable` for filter selection or `removable` for dismissible tokens. Not this — use takeoff-badge for non-interactive count/status indicators.Votes: 0GitHub stars: 3
- Takeoff Color Picker`ColorPicker` is a typable color field that opens a panel: a saturation × brightness area, hue and alpha sliders, typed channel fields (HEX, R G B or H S L, plus alpha), an eyedropper and preset swatches. Spar has no slider or 2D-area primitive, so the wrapper owns the value model and the area; the popover is `Popover`, the sliders are `Slider`, the fields are `Input` and `Select`. **When to use:** any setting whose value is a color — brand/theme color, label or category color, chart series c...Votes: 0GitHub stars: 3
- Takeoff Component WorkflowUse this skill for component work in `@takeoff-ui/react-spar`. Supported commands: ```txt contract <ComponentName> implement <ComponentName> review current branch fix review blockers only final verify ```Votes: 0GitHub stars: 3
- Takeoff Context Menu`ContextMenu` opens an action menu where the user right-clicks, holds a touch (500 ms) or presses `Shift+F10` / the ContextMenu key inside an area, placed at the pointer. Behavior is Spar's `ContextMenu`, which shares `DropdownMenu`'s menu model; the items, keyboard and look are `Dropdown`'s. **When to use:** secondary actions on an object the user points at (a file, a row, a card, a canvas). Not this — a menu opened by clicking a button is `Dropdown`; a primary action needs a visible control...Votes: 0GitHub stars: 3
- Takeoff Currency Input`CurrencyInput` is an amount field with a currency: the amount on the left, the currency picker in the suffix. Spar's `number` mask groups the amount as the user types; the value your code gets is a `number`. **When to use:** Any amount of money — prices, fares, refunds, deposits, rates. Not this — use `takeoff-input` with `mask={{ number: true }}` for a plain number that is not money (a quantity, a distance), and `Input.Stepper` for a counter.Votes: 0GitHub stars: 3
- Takeoff Datepicker**There is no `DatePicker` component.** A date picker is `Popover` + `Calendar`, composed in the consumer's own component. Do not look for one, and do not build a wrapper that hides the composition — the wiring differs per form in ways a component would have to guess at. Both halves already own their behaviour: `Popover` the disclosure, positioning, dismissal and focus return; `Calendar` the grid, its keyboard model, the restriction matchers and all three selection modes. What you write is th...Votes: 0GitHub stars: 3
- Takeoff Dialog`Dialog` wraps Spar's headless dialog primitive and adds Takeoff styling hooks for overlay intensity, header/footer types, and compound anatomy. **When to use:** A modal layer that interrupts the flow for content, forms, or confirmations. Manages focus trapping, the backdrop overlay, and open/close state. Not this — for transient notifications use a toast/snackbar component instead.Votes: 0GitHub stars: 3
- Takeoff DividerUse `Divider` to create semantic or decorative boundaries between related content. It is a standalone Takeoff component rather than a Spar primitive. **When to use:** Separating sections of a page, groups in a list or menu, or items in a horizontal toolbar — optionally with a label ("OR") in the middle. Not this — reach for spacing, a heading, or `takeoff-card` when the goal is grouping content rather than drawing a line between it.Votes: 0GitHub stars: 3
- Takeoff Drawer`Drawer` is a slide-in side panel that wraps Spar's Dialog primitive in modal mode, with a compound API for navigation menus, detail views, filters, or contextual forms that overlay the page. **When to use:** Reach for Drawer for content that slides in from an edge and overlays the page. Not this — use `takeoff-dialog`/modal for centered focus dialogs, and a plain side `<nav>` for static, non-overlay sidebars.Votes: 0GitHub stars: 3
- Takeoff DropdownUse `Dropdown` for a trigger that opens a keyboard-accessible list of actions. It wraps Spar's DropdownMenu primitives and adds Takeoff sizing, width, and visual slots. **When to use:** A trigger that opens a menu of _commands_ — row actions, overflow ("⋯") menus, toolbar menus, account menus. Items fire an action via `onSelect`; nothing is persisted as a value. Not this — use `takeoff-select` when the user is picking a value that stays selected and submits with a form, and `takeoff-popover` ...Votes: 0GitHub stars: 3
- Takeoff Empty StateUse `EmptyState` where a list, table or search has nothing to show. It is a standalone Takeoff component rather than a Spar primitive: a centred column of an illustration, a title, a description and actions, with no state and no keyboard behavior. **When to use:** Empty lists, searches with no results, a first-run screen, a table's `emptyState`. Not this — use `takeoff-alert` for a message about something that went wrong, and `takeoff-skeleton` / `takeoff-spinner` while data is still loading.Votes: 0GitHub stars: 3
- Takeoff Field`Field` is a form-field wrapper that gives a single nested control (Input, Switch, Checkbox, Radio, Select) shared ARIA context — label association, description, error message — plus the field's `invalid` / `required` / `disabled` / `readOnly` state. **When to use:** Wrap one form control to attach a visible label, helper text, and a validation error message that are correctly associated for screen readers. Drive `invalid` from your form library's field state. Not this — the actual text box, ...Votes: 0GitHub stars: 3
- Takeoff Flight LoaderA branded loading card: logo, a plane taking off from a runway, a tagline, an indeterminate bar and a status line. Logo and texts are consumer-supplied. **When to use:** Page or panel loads in admin and back-office screens. Not this — use `Spinner` for inline loading; use `GlobeSpinner` for a circular branded loader without a card.Votes: 0GitHub stars: 3
- Takeoff Globe SpinnerA branded indeterminate loader: an accent arc orbits a rotating globe, a plane leads the arc and `GlobeSpinner.Label` rides inside it. **When to use:** Full-page, panel or boot loading where brand presence matters. Not this — use `Spinner` for inline or compact loading (buttons, inputs, table cells); use `FlightLoader` for a card with logo and status text.Votes: 0GitHub stars: 3
- Takeoff Header`Header` is the top app bar: a `<header>` banner landmark holding the brand, the main navigation, a search field and icon actions. Behavior — the navigation menu's open state, `aria-current`, `aria-expanded` and Escape — is Spar's `Header`; the look follows the Takeoff design. **When to use:** the app's top bar: brand, main navigation links, search, icon actions and the user menu, with a collapsing menu on narrow screens. Not this — in-page section switching is `Tabs`; a location trail is `Br...Votes: 0GitHub stars: 3
- Takeoff Input`Input` is a compound, accessible text input: the root renders the bordered row and hosts the field plus optional affixes, icons, and actions. **When to use:** Any single-line (or `as="textarea"`) text entry — search boxes, email/password fields, numeric steppers/counters, tag/chips fields. Wrap it in a `Field` to attach a label, helper text, or error message; field-level state (`invalid`, `disabled`, `required`, `optional`, `readOnly`) cascades into the input automatically.Votes: 0GitHub stars: 3
- Takeoff LabelA lightweight text label for section titles, metadata, and explicit control associations when a full `Field` layout is not needed. **When to use:** Reach for `Label` when you only need the label primitive — a section title, a caption, or a manual `htmlFor` association to a native control. Not this — use **takeoff-field** (`Field` + `Field.Label`) for complete form fields that wire the label, control, helper/error text, and required/invalid/disabled/read-only state together with shared ARIA ids.Votes: 0GitHub stars: 3
- Takeoff Mega Menu`MegaMenu` is site navigation whose top-level items open large panels: grouped links with icons and descriptions, a category list on the side, images and promo cards. Behavior — which panel is open, hover intent, the arrow keys, Escape and closing on an outside press — is Spar's `MegaMenu` (the WAI-ARIA disclosure navigation pattern, not `role="menu"`); the look follows the Takeoff design. **When to use:** main site navigation with many destinations that need grouping, descriptions or imagery...Votes: 0GitHub stars: 3
- Takeoff Onboarding`Onboarding` is a product tour: step cards that point at parts of the page behind a dimmed overlay with a spotlight cutout, or sit centered when a step has no target. Behavior — steps, positioning, scroll into view, overlay, focus and keyboard — is Spar's `Tour`; the card follows the Takeoff design. **When to use:** a first-run or "what is new" walkthrough of an existing screen, or a short welcome sequence. Not this — a multi-step form is `Stepper`; one hint on one control is `Tooltip` / `Pop...Votes: 0GitHub stars: 3
- Takeoff Otp Input`OtpInput` is a one-time-code field: a `role="group"` of real `<input>` boxes, one per character. Spar owns the value (one contiguous string), typing, deleting, paste / SMS autofill and `Field` wiring. Without children the root renders `length` boxes itself. **When to use:** SMS / e-mail verification codes, 2FA codes, short PINs and fixed-length references. Not this — use `takeoff-input` for free text or a password, and `Input.Field mask` for a formatted value of variable length.Votes: 0GitHub stars: 3
- Takeoff Pagination`Pagination` moves through pages of results: it reports the current page and item range, shows a fixed-width page range with ellipses, offers first/previous/next/last buttons, and lets the user change the page size or jump to a page by number. **When to use:** Paging a list, card grid or search results whose data lives outside a `Table`. For a `Table`, use its built-in `pagination` prop instead (both share the same Spar primitive). Not for step-by-step flows (use `Stepper`) or tab switching (...Votes: 0GitHub stars: 3
- Takeoff Phone Input`PhoneInput` is a phone number field with a country: the country picker in the prefix, the number on the right. libphonenumber-js formats and validates as the user types; the value your code gets is an E.164 string. **When to use:** Any phone number — sign-up, contact details, checkout, two- factor enrolment. Not this — use `takeoff-input` with a `mask` for other fixed-shape codes (a card number, an IBAN).Votes: 0GitHub stars: 3
- Takeoff Popconfirm`Popconfirm` asks the user to confirm an action in a bubble next to the control that started it. Behavior is Spar's `Popconfirm` (a non-modal Popover with confirm / cancel actions and the pending state of an async `onConfirm`); the look is Takeoff's: `variant`, a status icon and Takeoff `Button`s. **When to use:** a quick, reversible action the user started on purpose (delete a row, discard a draft). Not this — a decision that needs a form, a long explanation or must block the page is a `Dial...Votes: 0GitHub stars: 3
- Takeoff Popover`Popover` displays a floating panel on click or hover to surface additional content, forms, or actions, anchored to a trigger element. It wraps the Spar headless Popover primitive and adds Takeoff visual vocabulary — `variant`, close button, and arrow slots. **When to use:** Anchored, dismissible panels tied to a trigger (settings, quick forms, contextual info). Not this — use `takeoff-tooltip` for short hover-only hint text, and `takeoff-dropdown`/`takeoff-menu` for selectable action lists.Votes: 0GitHub stars: 3
- Takeoff ProgressUse `Progress` when work has measurable completion or when an ongoing process needs an indeterminate progress treatment. **When to use:** Work with a known percentage — file uploads, imports, quota and storage meters, multi-item batch jobs — or a bar-shaped indeterminate treatment for a long-running task. Not this — use `takeoff-spinner` for short waits where a bar would be visual noise, and `takeoff-skeleton` when you are holding the shape of content that is still loading.Votes: 0GitHub stars: 3
- Takeoff Radio`Radio` lets users pick a single option from a small, mutually exclusive set. The root owns group state (`value` / `defaultValue` / `onChange`) and cascades `size`, `position`, and `invalid` to every item. **When to use:** Any single-choice form control: cabin/seat/plan/payment pickers, exclusive option lists. Not this — for multiple selections from a list use a checkbox group, not Radio.Votes: 0GitHub stars: 3
- Takeoff Rating`Rating` is a single-choice score control: the root is a Spar radiogroup and every score a radio, so keyboard, focus, form submission and `Field` wiring come from Spar's `Radio`. Without children the root renders `max` items itself. **When to use:** Review and satisfaction scores, feedback forms, showing an average score. Not this — use `takeoff-slider` for a continuous range and `takeoff-radio` when the options are labelled choices rather than a scale.Votes: 0GitHub stars: 3
- Takeoff Select`Select` is a fully-keyboard, accessible custom select: state (value, open, disabled, required) lives on the root, the trigger renders the collapsed button, and the content portals a positioned dropdown. **When to use:** Single-choice dropdown pickers where you want a styled, portalled listbox instead of a native `<select>`. Wrap in a `Field` to attach a label, helper text, or error message. Not for free-text or async option filtering — and not a multi-select.Votes: 0GitHub stars: 3
- Takeoff Sidebar`Sidebar` is the side navigation of an application shell: groups of items, items that disclose nested submenus, an optional search row, and header and footer bands. It collapses to an icon-only rail, uncontrolled or driven by the layout around it. **When to use:** The persistent primary navigation of an app or admin shell — the left-hand menu of dashboards, back-office tools, portals. Not for a menu of commands (use `Dropdown`), a temporary off-canvas panel of content (use `Drawer`), or switc...Votes: 0GitHub stars: 3
- Takeoff SkeletonUse `Skeleton` to preserve the shape of pending content and reduce layout shift. It is a visual placeholder, not a status announcement or progress indicator. **When to use:** First-load placeholders for content whose layout you already know — cards, list rows, avatars, text lines, table cells. Reach for it when leaving the space blank would make the page jump once data arrives. Not this — use `takeoff-spinner` for short, indeterminate waits with no known shape (a saving button, an inline refr...Votes: 0GitHub stars: 3
- Takeoff Slider`Slider` picks a number — or a `[min, max]` range — from a continuous scale. It is a **standalone** component (no upstream Spar primitive), so the wrapper owns the value math, pointer dragging, and the full keyboard + ARIA surface. Each thumb is its own `role="slider"` element — that is what assistive tech reads and what the arrow keys drive. **When to use:** Any bounded numeric selection where dragging beats typing — volume, brightness, temperature, zoom, a price/date range filter, gradient ...Votes: 0GitHub stars: 3
- Takeoff SpinnerA compact indeterminate loading indicator with built-in `status` role and accessible-name semantics. **When to use:** Show ongoing, indeterminate activity (fetching, saving, processing) where progress is unknown. Not this — use a progress bar component for determinate percentage progress.Votes: 0GitHub stars: 3
- Takeoff Split Button`SplitButton` joins a main action to a menu toggle that opens related secondary actions. The halves are drawn by `Button`; the menu is `Dropdown`'s (same items, keyboard model and look). Behavior is Spar's `Button` and `DropdownMenu`. **When to use:** one action is the common choice and a few alternatives belong next to it (save / save as, merge methods, export formats). Not this — a menu with no main action is `Dropdown`; two equally important actions are two `Button`s; a choice between view...Votes: 0GitHub stars: 3
- Takeoff StepperUse `Stepper` to show progress through an ordered workflow and optionally let users navigate between eligible steps. It is a standalone Takeoff component. **When to use:** Multi-step flows where the sequence itself is meaningful and the user should see where they are and what remains — checkout, booking, onboarding, multi-page forms. Not this — use `takeoff-tabs` when sections can be visited in any order, and `takeoff-progress` when you only need to show completion without naming the steps.Votes: 0GitHub stars: 3
- Takeoff Switch`Switch` lets users turn a single setting on or off (preferences, permissions, form options); the root owns visual state and `Switch.Indicator` renders the track plus sliding thumb. **When to use:** Any boolean toggle that applies immediately. Wrap it in `Field` to attach a label, description, or error message — field-level state (`invalid`/`disabled`/`required`/`optional`/`readOnly`) cascades into the switch. Not this — use `takeoff-checkbox` for multi-select lists or form values that commit...Votes: 0GitHub stars: 3