CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

tessl/factory-setup

Set up, understand, and change a Tessl factory on a repository: pick automations that fit how you work, such as shipping tickets as pull requests, answering reviews and fixing checks on those pull requests, code review, and scheduled jobs; prepare the repository for agents; write issues for the factory to build; then see what the factory has done, find out why a run failed or never started, and change or extend it.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

permissions.mdskills/factory-setup/references/

Check permissions

Check only what setup still has to do. If the Tessl App can already write to the repository, the user does not need the right to connect it.

Step still to doNeedsRead it from
Link or create the projectedit in the workspaceallowedActions for it in tessl workspace list --json
Connect the Tessl App or Reviewmanage_integrations in the orgdata.meta.allowedActions in tessl api /v1/orgs/<org id>
Create the cloud environmentenvironment.write in the orgthe same org allowedActions
Set up automations in Tessl the first timeenvironment.write in the org, and edit in the workspacethe same lists

Publisher or above in the workspace gives edit; organization admin gives the other two. Without manage_integrations, an app install becomes a request an admin approves. Setup never creates a workspace: if none the user can see gives edit, an organization admin has to create one or add them to one. Do not take a permission from seeing an organization or from the person's role in the web app; if a list cannot be read, say so and let the step's own command decide.

When something is missing, send one message the user can forward to an admin: which account needs which role, in which workspace or organization, and for which step. Show the timeline with "Check your setup" marked ◐, and check again once the user says it is done.

README.md

tile.json