formax-slash-command-workflow

Coordinate slash command discovery, dispatch, and UI behavior in Formax.

192|7|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/yusifeng/formax --skill formax-slash-command-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: formax-slash-command-workflow
Source: https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-slash-command-workflow
Command: npx skills add https://github.com/yusifeng/formax --skill formax-slash-command-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinates the discovery, dispatch, and UI behavior of slash commands in Formax to ensure consistent outputs.

Core Features & Use Cases

  • Command discovery and dispatch wiring for slash commands such as /permissions, /agents, /hooks, and /todos.
  • UI rendering of command sublines and overlay dismissal messages, plus control over whether outputs are injected into the next LLM turn.
  • Guardrails and contract references (slash-command-contract, semantics-contract, config-settings-contract) to ensure stable integration across UI and model boundaries.
  • Real-world use case: when adding or updating a slash command, ensure consistent discovery, routing, and output behavior so the UI reflects correct sublines and the model context stays clean.

Quick Start

Describe how to implement a slash command integration in Formax, including discovery, dispatch, and UI behavior.

Frequently Asked Questions about formax-slash-command-workflow

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

FAQPage Schema
How do I add a new slash command in Formax and ensure it dispatches correctly?

To add a slash command in Formax, you wire its discovery and dispatch logic while adhering to the slash-command-contract to ensure consistent routing and UI behavior. This involves specifying required contracts and UI message shapes for stable integration.

How does Formax handle overlay dismissal messages and UI rendering for slash commands?

Formax handles UI rendering by defining specific UI message shapes for command sublines and overlay dismissal messages. This ensures the interface reflects correct sublines and maintains clean model context during command execution.

Can I control whether slash command outputs are injected into the next LLM turn?

Yes, Formax slash command orchestration explicitly controls whether outputs are injected into the next LLM turn. This behavior is specified within the command dispatch logic to keep the model context clean and stable.

What contracts do I need to follow when modifying Formax slash commands?

Modifying Formax slash commands requires following the slash-command-contract, semantics-contract, and config-settings-contract. These guardrails ensure stable integration across UI and model boundaries when adding commands like /permissions or /agents.

Why are my Formax slash command sublines not rendering correctly in the UI?

Slash command sublines fail to render correctly when the UI message shapes do not align with the specified Formax contracts. You must verify the command dispatch wiring and overlay dismissal messages against the required contract definitions.