Design a Slack form with AI
Choose the controls for a modal, message or Home tab. Review the layout and validate the payload before a developer connects it to the app.
Design a Slack form with AI around a decision someone can make quickly. An office supplies request may need a quantity and an item name. A manager reviewing that same request needs a short summary and an approval action. Those are two different moments and can use different Slack surfaces.
The block-kit guide helps an agent choose permitted layout elements, check the current specification and submit a sample payload to Slack’s validator. You can review labels and interaction order before implementing the app. A valid layout still needs a handler for the action taken by its user.
What it does
- Decide whether a message or modal fits the task
- Select the minimum fields for a complete request
- Write clear button labels and input hints
- Check that a component is allowed on its chosen surface
- Prepare a validated payload for implementation
Install and use
- Use a compatible agent with access to Slack’s current documentation and validator. Use fictional values in the draft because the validation step sends the layout to Slack.
- Ask, “Design a modal for borrowing a projector. Ask for the date and room, show me the structure and validate it using a sample booking.”
- Review what happens after submission with the developer. Test that an incomplete booking gets a useful error and a successful booking produces the expected result.
FAQ
Source
Made by Slack. Original skill: block-kit, published on GitHub under the MIT licence.
View on GitHub