Get Team Rules
get-team-rulesReturns the Markdown rules the user's Better Design team wrote for how their product is built and reviewed. Given a client project, a screen and the parts it uses, it adds only what that screen needs: the project's guidelines, the rules for those parts, the brand-wide bans and the specs saved on the screen. When the team has no rules yet, it returns an outline and the steps 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. | |
| projectId | No | A Better Design project id, as create-design-system returns it. The project must belong to this account. |