Skip to content
Agentmart
Submit a tool

AGENTS.md · OutlineFoundation/outline-apps

AGENTS.md from OutlineFoundation/outline-apps: 59 lines covering Repository Structure, The npm run action Command, Code Style, Requirements and more.

Template by OutlineFoundation

IndexedApache-2.0★ 9,267
Write a review

Install

Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/OutlineFoundation/outline-apps/master/AGENTS.md -o AGENTS.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The AGENTS.md file that OutlineFoundation/outline-apps (9,268 stars) keeps for coding agents. It has 59 lines in 5 sections: Repository Structure; The npm run action Command; Code Style; Requirements; Common Concepts. Use it as a model for your own project's instructions.

Use cases: prompt-engineering

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.

For
Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
Length
59 lines
File
AGENTS.md

Sections

  1. Repository Structure
  2. The npm run action Command
  3. Code Style
  4. Requirements
  5. Common Concepts

First lines (shown under the repo's Apache-2.0 license)

# Welcome to the Outline Monorepo!

This document provides a guide for AI and human agents working with the Outline codebase.

## Repository Structure

The Outline monorepo is organized into three main components:

*   `/client`: The Outline Client application, available on all major platforms. See [`client/AGENTS.md`](client/AGENTS.md).
*   `/server_manager`: A graphical application to create and manage Outline Servers. See [`server_manager/AGENTS.md`](server_manager/AGENTS.md).
*   `/infrastructure`: The build system and shared TypeScript utilities. See [`infrastructure/AGENTS.md`](infrastructure/AGENTS.md).

## The `npm run action` Command

The primary entry point for all development tasks is `npm run action <path>`, which resolves to `.action.sh` or `.action.mjs` files in the repo. Run `npm run action list` to see all available actions. Pass flags after `--`:

```sh
npm run action client/src/cordova/setup macos -- --buildMode=release
```

### Common Actions

*   `npm run action list`: Lists all available actions.
*   `npm run action client/web/start`: Starts a dev server for the shared web UI.
*   `npm run action server_manager/www/start`: Starts a dev server for the Manager UI.
*   `npm run action <component>/test`: Runs tests (e.g. `npm run action client/web/test`).
*   `npm run action <component>/build`: Builds a component (e.g. `npm run action client/electron/build linux -- --arch=x64`).

### Other useful commands

*   `npm run reset`: Clean and reinstall all dependencies (fixes most build issues).
*   `npm run storybook`: Launch the Storybook UI component explorer.
*   `npm run lint:gts`: Lint TypeScript (pass filepaths on macOS; works on all files on Linux).

## Code Style

*   **TypeScript**: Follows [Google's TypeScript style](https://google.github.io/styleguide/tsguide.html), enforced by [`gts`](https://github.com/google/gts). Run `npm run lint:gts` to check and `npm run format:all` to auto-fix (Linux only for whole codebase; pass specific filepaths on macOS).
*   **Go**: Follows standard Go style. Use `gofmt` and `go vet`.

## Requirements

| Component | Version |
|-----------|---------|
| Node.js   | 22 — run `nvm use` if you have nvm |
| Go        | 1.22+   |

Platform-specific requirements (Android SDK, Xcode, zig for cross-compilation) are documented in the relevant subdirectory AGENTS.md files.

## Common Concepts

*   **Access Keys**: Credentials used by Outline clients to connect to an Outline server. Generated by the Outline Manager.
*   **Shadowbox**: The core proxy component of Outline, responsible for handling network traffic.
*   **Outline Client**: The end-user application for connecting to the internet through an Outline server.
*   **Server Manager**: The application used to create and manage Outline servers on cloud providers.
*   **Electron**: Framework used to build the desktop versions of the Outline Client and Server Manager.
*   **Cordova**: Framework used to build the mobile (iOS/Android) and macOS versions of the Outline Client.
*   **Lit**: The UI framework for web components. All new components use Lit. The client has fully migrated; the server_manager still has legacy Polymer components in its app shell being migrated.
*   **OutlineAction**: A custom build script (`.action.sh` or `.action.mjs`) that defines a task runnable via `npm run action`.

Signals

Stars
9,267
Forks
1,462
Open issues
462
Last commit (this folder)
Jun 11, 2026 (4 months ago)
Last release
Mar 20, 2023 (3 years ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

AGENTS.md · OutlineFoundation/outline-apps. Agent Mart. https://agentmart.dev/templates/outlinefoundation-outline-apps-agents-md (last updated 2026-10-24)