Design an AI feature
Specify an agent or AI assistant so it behaves the same way every time, then prove it does. Four steps.
Skills, in order: Human agency, Agent behaviour, Interaction craft, Product verification
When to use it
The product will have an AI act, suggest, ask or interrupt on the person’s behalf, and the decision to build it is already made.
The steps
Run them in order, in the same conversation, so each skill reads the call the last one made. The prompts are examples; swap in your own.
Step 1: Set the policy
/rstack:human-agency The assistant will book meetings from email threads. What may it do alone, what needs consent, and what stays with the person?- Ends with
- Automate, Assist or Keep human per task, plus the controls.
- Gate
- Anything that spends money, sends on the person’s behalf or can’t be undone needs a consent step before step 2.
Step 2: Specify each moment
/rstack:agent-behaviour Using that policy, specify what the assistant does in each situation, and what it says when the calendar call fails or times out.- Ends with
- Ask, Suggest, Explain, Act or Stay quiet per state, plus the report after each tool call and acceptance scenarios.
Step 3: Specify what the person sees
/rstack:interaction-craft Specify the interface states for the booking assistant: thinking, proposing, confirmed, failed, undone.- Ends with
- The states, motion, focus and accessibility, and the checks that prove them.
Step 4: Verify against the scenarios
Product verification, run by the verifier subagent
/rstack:product-verification Verify the assistant build against the acceptance scenarios from step 2.- Ends with
- Pass, Fail or Not verified.
- Gate
- Fail → fix and re-run.
What you end up with
- A written policy on what the AI may do alone
- A behaviour contract for every state, including failures
- Interface states that make the AI’s actions visible and undoable
- Scenarios checked on a real build
Run it in one go
The rstack plugin includes a router that runs this playbook for you. It writes the steps onto a todo list, runs each skill in turn and stops when a gate says stop.
Install the plugin
/plugin marketplace add richardsimms/skills/plugin install rstack@richardsimmsThen run
/rstack:rstack-mode design an ai feature: Add what you’re working on after the colon. Installed with the skills CLI instead, run each step yourself and drop rstack: from the commands.