Skip to content
StellarFirmStellarFirm
Mission manual
Esc

Type a word to search every page. Try , or .

Module 03 · Personas

The Coder

The Coder turns your goals into tested code changes in its own workspace, then ships them as far as your house rules allow, with Approve on risky steps.

View as Markdown
On this page

The Coder is the StellarFirm assistant that writes software. You give it a goal or a ticket, it works in a private workspace with a terminal and a browser, runs the tests, and shows you the exact changes. What happens next depends on your house rules: it can open a pull request for you to review, or merge and ship when your house rules allow it. Risky steps wait for your Approve.

Mission brief#

StatusAvailable
Best atFeatures, bug fixes, failing checks, tests, refactors, pull request reviews
Works withGitHub, GitLab, Bitbucket
Works inIts own private workspace (files, terminal, browser)
You watch it inJobs and Computer
You approve inApprovals

How it works#

  1. You set a goal. Write it in chat: "Fix the login redirect" or "Pick up the top ticket on [repository]".
  2. The CEO briefs the Coder. The CEO assistant routes the goal and passes along the details, such as the repository and the issue. If something is vague, the Coder asks before it starts.
  3. The Coder clones the repository into its own workspace. It does not work in a copy on your own machine. The clone and the work happen in the assistant's private computer, using the login you connected under Integrations.
  4. It works with a terminal and a browser. It reads the code, edits files, and runs commands. For a change you can see on screen, it opens the page in a real browser and checks it.
  5. It runs the tests. It runs the project's own checks and reports what ran and what passed.
  6. You see the changes. Open the job in Jobs to read the actual diff and the commands it ran. Open the session's Terminal tab to watch it live.
  7. What happens next follows your house rules.

What happens after the work#

The last step depends on your company, not on a fixed setting of the Coder.

If your house rules sayThe Coder
Nothing special (the default first run)Pushes a branch and opens a pull request, by default a draft, for you to review. You Approve the push first.
Review only (the default merge policy)Opens a pull request and leaves the merge to you or your team.
Merge after CEO approvalOpens a pull request, then merges once the CEO approves that step.
Auto merge on greenMerges once every check passes, with no extra ask.
ShippingFollows its own rule: never (the default), after CEO approval, or automatically after a merge.
A step is risky or reaches other peopleWaits for your Approve before it goes ahead.

Your house rules are the rules in your company brief plus what you allow without asking under Auto-approve in Settings. Nothing is auto-approved until you turn it on yourself. See approvals and the merge policy options.

What you can ask for#

Say something likeWhat the Coder doesAsks first?
"Pick up the top ticket"Takes the oldest open issue, builds it, prepares the changeBefore it pushes and opens a pull request
"Implement #42"Builds that issueBefore it pushes and opens a pull request
"Fix the failing CI on PR #14"Reads the failing check, fixes it in the smallest changeBefore it pushes
"Build the pricing page"Builds from your messageBefore it pushes and opens a pull request
"Debug the flaky upload"Investigates and finds the cause, with no write to your source hostNo
"Review PR #14"Reads the pull request and its checks, posts a summaryNo, it only reads
"What is in the backlog?"Lists open issuesNo, it only reads
"Open an issue for the flaky test"Files a well-formed issueSee your house rules
"Merge PR #14"Merges when your house rules allow it, otherwise asks you firstPer your house rules

Skills#

Skills are the Coder's step-by-step playbooks. It picks the right one from your message, so you rarely need to name them.

SkillWhat it does, in plain words
First draft pull requestTakes the top ticket (or one you name), builds it, and prepares a pull request. The usual first win.
Implement a changeBuilds, adds, or changes something in the repository from your description.
Fix CIReads the failing check first, reproduces the failure, finds the cause, and fixes it in the smallest change.
Debug a failureInvestigates a bug, crash, error message, or regression and finds the root cause before fixing it.
Review a pull requestReads a pull request and its checks and replies with a summary and notes. It only reads.
Write testsAdds or improves automated tests for a function, a module, or a bug fix, including a regression test.
Test strategyDecides what to test before any test is written, ranked by risk, and plans how to keep tests steady.
Refactor safelyCleans up or reorganizes code without changing behavior, with tests guarding the change.
Design decisionWeighs the options for a technical choice and recommends one with trade-offs before any code is written.
Set up CICreates or tightens a pipeline on GitHub, GitLab, or Bitbucket with fast feedback, caching, and safe defaults.
Draft a PR descriptionWrites or tidies a pull request title and description: summary, changes, testing, risks.
Open an issueFiles a clear issue with the context a teammate needs.
Verify in the browserChecks a page, form, or flow in a real browser and reports with screenshots.

Integrations#

IntegrationStatusWhat the Coder uses it for
GitHubAvailableIssues, pull requests, checks, and pushing branches
GitLabAvailableIssues, merge requests, pipelines, and pushing branches
BitbucketAvailablePull requests, pipelines, and pushing branches
Linear, Jira and Confluence, Asana, NotionComing soonReading tickets and specs
Sentry, Datadog, PagerDutyComing soonReading errors and incidents to debug them
SlackComing soonChatting with the Coder from your team's channels
Code editorsComing soonHanding a task to your editor

Connect your source host on Integrations. Connected services share context with every assistant, but only the Coder can change code.

Example goals#

  • Build a small feature from an issue, such as a settings toggle or a new page.
  • Fix a bug from a report, including a regression test.
  • Get a red pull request green again.
  • Review a teammate's pull request before you read it yourself.
  • Add tests to a module nobody dares touch.
  • Set up CI on a repository that has none.
  • Tidy a messy function without changing what it does.

Prompts to copy#

Replace each [bracket] with your own details.

PromptPick up the top ticket

Coder, pick up the top open ticket on [repository]. Build it, run the checks, and show me the changes. Follow our house rules for what happens next.

PromptImplement a specific issue

Coder, implement issue #[number] on [repository]. Keep the change small, add tests, and open a pull request for review.

PromptBuild a feature from a description

Coder, on [repository], add [feature]. It should [behavior]. Check it in the browser and send me screenshots with the pull request.

PromptFix a failing check

Coder, the checks on [pull request or branch] in [repository] are failing. Find the cause, fix it in the smallest change, and tell me what you changed.

PromptDebug a bug from a report

Coder, users report that [symptom] on [repository]. Find the root cause first and explain it. Then fix it with a regression test.

PromptReview a pull request

Coder, review pull request #[number] on [repository]. Summarize what it changes, point out risks and missing tests, and say whether you would approve it.

PromptWrite tests for a module

Coder, write tests for [file or module] in [repository]. Cover the edge cases and one bug-style regression. Do not change the behavior.

PromptPlan a test strategy

Coder, look at [repository] and propose a test strategy. Rank the riskiest areas first and tell me what to test, what to skip, and why.

PromptRefactor safely

Coder, refactor [function or module] in [repository] to remove duplication. Behavior must not change, and the existing tests must still pass.

PromptWeigh a design decision

Coder, we need to decide between [option A] and [option B] for [problem]. Compare them for our codebase, recommend one, and write no code yet.

PromptSet up CI

Coder, set up CI on [repository] so every pull request runs lint, tests, and the build. Use caching and keep the permissions minimal.

PromptImprove a pull request description

Coder, rewrite the description of pull request #[number] on [repository] with a summary, the changes, how it was tested, and the risks.

PromptOpen a clear issue

Coder, open an issue on [repository] for [problem]. Include steps to reproduce, what you expected, and what happened.

PromptVerify a page in the browser

Coder, open [page or flow] from [repository] in the browser, click through it, and report anything broken with screenshots.

Several Coders#

You can run more than one Coder at once. Give each one its own name and focus, for example a UI Coder and an API Coder, and its own repository and login. Each works in its own private workspace, so they do not collide.

  • Address one by name: "API Coder, add the endpoint."
  • Or write the goal without a name, and the CEO assistant picks the Coder whose focus or repository fits. If it cannot tell, the default Coder takes it.
  • Approvals and retries go back to the Coder that ran the job.

A Coder can also take on up to three roles, such as frontend, backend, devops, mobile, QA, or security, so it loads the skills that fit. Add a separate Coder when you need a fourth.

Set Coders up in Settings. Assistants spend credits when they work, so see Usage for what your team used.

Limits and good habits#

  • Name the repository. The Coder needs to know where to work. Connect it under Integrations first.
  • State when to stop. Say "open a pull request for review" or "merge once checks pass". If you say nothing, your house rules decide.
  • Keep goals small. One clear change per goal gives you a diff you can read in minutes.
  • Read the diff. Open the job in Jobs before you approve a risky step.
  • Work happens on its own branch. The Coder never force-pushes, and your source host's own branch protection still applies.
  • Secrets stay out of prompts. Never paste passwords or tokens into chat. Connect services through Integrations.
  • Vague goals get questions. If the Coder asks, it is saving you a wrong turn. Answer in one line.

Next steps#

  • Learn how routing picks an assistant in routing.
  • Write your house rules so the Coder knows how far to go.
  • See a full plan for your company type in the playbooks.