Getting started

Straion keeps your coding agents aligned with your engineering standards. To get set up, follow the steps below to create an account, install the CLI, and import your rules.

Before you begin, make sure you meet the prerequisites: MacOS or Windows, Node.js v22+, and one of the supported coding agents: Claude Code, GitHub Copilot, and Cursor.

1. Sign up

Create an account at straion.app.

2. Install the CLI and log in

Install the Straion CLI with your package manager. You can find more information in the npm listing.

npm

npm install -g @straion/cli

pnpm

pnpm add -g @straion/cli

Now log in and start the setup:

straion

If you are not logged in yet, this starts the login flow and then walks you through setup.

To log in without prompts, for example on a build machine, pass a Personal Access Token instead:

straion --token <your-token>

Get a token from your User Settings or the Getting Started page. The token inherits your permissions and can be scoped with an expiration date.

The CLI configures your agent during setup. See the agent setup guide for how to verify your installation.

3. Import rules

Setup offers to import your existing standards: security requirements, architecture patterns or coding guidelines. You choose where those rules live.

Rules as code in git. Connect a repository and your rules live on a branch in your own repo, reviewed through pull requests. Connected rules become read-only in the Straion app, because git is the source of truth. See the Connect a repository guide.

Rules in the Straion app. Upload a file or paste text on your Rules page. Rules imported this way stay editable in the app. See the Import rules guide for how the import flow works.

4. Start using Straion

Straion extends your coding agent with skills: specialized workflows that validate code against your rules, break down specs into tasks, and check pull requests for compliance. Skills are invoked using slash commands (e.g. /developing-with-rules), which guarantees the skill is loaded before your agent starts working. Any text after the slash command provides context for what the skill should do. Your agent may also invoke skills automatically based on your prompt and other skills it has loaded.

Find ready-to-use prompts to get the most out of Straion in the example prompts guide.

Troubleshooting

Having issues? Check the troubleshooting guide or reach out to support via email at support@straion.com or on Discord.