oneput

Build Oneput command-bar interfaces with AppObjects, key bindings, and Flex layouts.

Updated Apr 24, 2025
One-click install
npx skills add https://github.com/danielbush/oneput --skill oneput
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: oneput
Source: https://github.com/danielbush/oneput/tree/main/packages/oneput-skill
Command: npx skills add https://github.com/danielbush/oneput --skill oneput

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps developers build cohesive Oneput command-bar interfaces by providing a structured pattern for creating AppObjects, bindings, menus, and UI layouts.

Core Features & Use Cases

  • Controller orchestration for AppObjects, keys, and menus
  • AppObject lifecycle: onStart, onResume, onExit
  • Declarative menus with stdMenuItem and Flex-based layouts
  • Bindings with when conditions to control context-sensitive actions
  • Typical use cases: new screen creation, modal interactions, and complex workflows

Quick Start

Create a new AppObject, wire it into the Controller, and expose a basic menu with a couple of bindings to start testing.

Frequently Asked Questions about oneput

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a command-bar interface with declarative menus and key bindings?▼

To build a command-bar interface, you create AppObjects, declare key bindings with when conditions for context-sensitive actions, and compose menus using stdMenuItem alongside Flex-based UI layouts.

What is an AppObject lifecycle and how does it work in a command-bar application?▼

An AppObject lifecycle manages controller orchestration through onStart, onResume, and onExit phases, enabling structured control over key bindings, menus, and UI transitions within the command-bar application.

How do I add context-sensitive actions to a command-bar menu?▼

You add context-sensitive actions by declaring key bindings with when conditions, which ensure specific menu items and commands only execute when the required application context is active.

Can I use Flex primitives to compose UI layouts for new screens and modals?▼

Yes, you can compose UI layouts for new screens, modal interactions, and complex workflows by leveraging Flex primitives alongside declarative stdMenuItem entries within your AppObject.

Do I need a valid SKILL.md frontmatter to set up command-bar bindings and menus?▼

Yes, setting up command-bar bindings and menus requires a valid SKILL.md frontmatter containing the name and description fields to properly support activation of the AppObject patterns.