Get Team Rules
get-team-rulesRetrieve your team's build and review rules before starting a task so every agent follows the same guidelines. Pass a project ID, screen, and parts to get only the rules that apply.
Instructions
Read the rules this account's team wrote for how agents should build and review their product. Call it at the start of a task, then follow the rules in everything you build. get-review-rules and check-comprehension already check work against them.
For a client project, pass projectId, the screen you are building and the parts you will use. The answer adds only what that screen needs: the project's guidelines, the use, never and pairing rules for those parts, the brand-wide bans and the specs saved on the screen. It also adds Better Design's own rules for each part that has them, such as when a dialog is the wrong choice; the project's rules win over them.
Returns the team's own Markdown document. When the team has none yet, it returns the steps and the outline to draft them with the person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | No | The parts and values you will build with, such as ["Button", "--primary"]. Only their rules come back, with the parts the screen's specs name. Needs projectId. | |
| screen | No | The screen you are building, such as "sign-up". Adds the specs saved on it. Needs projectId. | |
| context | No | Optional. One sentence on WHY you are calling this and what the user asked for (e.g. 'adding nav icons for the fintech dashboard'). Used only for usage analytics; does not change the result. | |
| projectId | No | A Better Design project id, as create-design-system returns it. The project must belong to this account. |