Guides

How a software team goes from a Slack message to a pull request with Ysra

A six-person product team in Casablanca starts fixes from Slack threads, approves every pull request in Ysra, has Mayz review them, changes three repositories with one request, and puts an internal tool online on Ysra hosting.

The Ysra team6 min read

Orange and dark waves with the words Use case, Software teams and From Slack to a pull request

Take a six-person product team in Casablanca that builds invoicing software for small Moroccan businesses. They have three GitHub repositories (an API, a web app and a mobile app) and they talk in Slack all day.

Before Ysra, small fixes died in Slack. Someone wrote “the CSV export breaks on accented names” in #support, three people reacted with an emoji, and the thread scrolled away. Turning it into a branch, a fix, a review and a deploy took an hour nobody had that afternoon. Price changes were worse: one number lived in three repositories, and someone always forgot the mobile app.

This is how that team can use Ysra Code from Slack, with a person approving every push and every merge.

The tools they use

Code makes the change in a connected GitHub repository, or in a cloud project when there is no repository yet. It checks its work with your repository’s own commands, a read-only review against what you asked for, and a real browser when the change has a screen. It ends with “Your changes are ready” or “Didn’t work”, with a “Ran: …” line listing what it ran.

Mayz reviews pull requests once you switch its reviews on for a repository: a summary comment and inline comments on what it found. It never blocks a merge.

The team also hires Mira, Security lead, from Team → Browse colleagues. Before an app goes live, she reads what the security checks found and says in plain words what matters and the one step that fixes it. She warns and never blocks anyone.

From a Slack thread to a pull request

  1. In the #support thread, a developer writes: “@Ysra the CSV export in acme/billing breaks on accented names, fix it.”
  2. Ysra starts a Code thread in acme/billing and replies in the thread, visible only to her. If the message names no repository, it starts a cloud project instead.
  3. Code makes the change and runs the repository’s own checks. If it needs a decision only a person can make, it stops and asks.
  4. The result comes back to Slack with what changed and what ran, and a link: Review & approve in Ysra.
  5. She reads the diff in Ysra and approves. A pull request opens, as a draft unless she asked for a ready one.
  6. Mayz reviews the pull request. She reads the comments, fixes one, and merges.

From a Slack thread to a merged fix: a teammate asks @Ysra, Code works in the repository and reports back, you approve and a draft pull request opens, Mayz reviews, you merge.

Nothing is pushed or merged until someone approves it in Ysra. Replies in a channel stay private to the person who asked until they choose Post to channel. Who someone is and what they may do come from their linked Ysra account, never from the words in the message.

The same works on GitHub. Comment @ysra with a request on an issue or a pull request, and the reply comes back there.

The Slack card in Settings → Connectors, where each person links their Slack account to Ysra.

A week on the team

Monday. Two fixes start from Slack threads before lunch. Both are approved, both open as draft pull requests, both get a Mayz review by the afternoon.

Wednesday. The Pro plan’s price changes to 19 EUR a month from 1 December. It shows in the API, on the web pricing page and in the mobile app’s plan screen. The lead asks once, across all three.

Thursday. The support lead wants a small internal tool to look up a customer’s invoices. She describes it in a Code thread, then says “deploy it” and chooses Run it on Ysra.

Friday. Before the tool goes to the whole team, she asks Mira: “Is anything risky about going live today?” Mira lists one finding and the fix.

One request, three repositories

A product in Ysra is a few repositories that ship together, up to 8.

  1. In Projects, under Products, press Define a product. Add each repository with one line on what it does, for example “api: plans and billing, source of truth for prices”.
  2. Press Start a request across the product and write the change: “The Pro plan costs 19 EUR a month from 1 December, everywhere it shows.” Set Credits it may use, then Plan it.
  3. Ysra reads each repository and shows The plan across repositories: what changes in each, or why nothing does, in order, with the source of truth first.
  4. Check the Decisions every part holds. Each part gets them, and each pull request names them for its reviewer. Leave out a repository or add a note for one, then Confirm and start.
  5. Each part runs in its own repository, in order, and opens one pull request.
  6. Press Review all with Mayz for one review per pull request, each checking that the shared decisions hold. Then Merge in this order.

One request across three repositories: you start the request, Ysra plans it with shared decisions, you confirm, api, web and mobile each get a pull request in order, then you review all with Mayz and merge in order.

Projects → Products with a product of three repositories and Start a request across.

Putting it online

In a Code thread, say “deploy it” and choose Run it on Ysra, or press Put it online.

  • Essential apps sleep when idle and are included in your plan: 1 on Starter, 5 on Pro, 15 on Max, 3 a seat on Team.
  • Production Small stays on and costs $15 a month per app.
  • A simple website can go out with Publish on Ysra, free.

What runs on its own and what waits for a person

Runs on its own Waits for a person
Starting the Code thread from Slack or GitHub Decisions Code stops to ask about
Making the change, running the checks, reporting back Approving the change, which opens the pull request
Planning a change across repositories Confirm and start
Mayz’s review comments Merging, always
Mira’s plain-words reading of security findings Putting an app online

What still needs you

Code works in the repositories you connect, and merging stays with you. When a check fails or a decision is unclear, it stops and says so instead of guessing.

Mayz’s comments are a second reader. They don’t replace your own review, and they don’t block a merge.

Slack is for asking and approving. Shared channels with people from outside your company get no reply from Ysra.

What it costs

Slack comes with Pro, Max and Team; Starter has Telegram only. For a team, Team is $40 a seat a month from 2 seats, with 4,000 credits a seat in one shared wallet and 3 Essential apps a seat. A solo developer fits Pro ($100 a month, 10,000 credits) or Max ($200 a month, 20,000 credits, priority models).

Every Code thread and every review shows the credits it used. A request across repositories shows its estimate before you confirm.

Slack with a private Ysra reply and the Post to channel button.

Start

Connect GitHub and Slack in Settings → Connectors at app.ysra.ai. The Ysra Code docs cover threads, review and deploys.

  • Use cases
  • Code
  • Mayz
  • Slack
  • GitHub
  • Hosting

All posts