Skip to content
Agentmart
Submit a tool

AGENTS.md · invertase/docs.page

AGENTS.md from invertase/docs.page: 69 lines covering Project overview, Monorepo layout, Commands, Conventions and more.

Template by invertase

IndexedApache-2.0★ 677
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/invertase/docs.page/main/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 invertase/docs.page (677 stars) keeps for coding agents. It has 69 lines in 8 sections: Project overview; Monorepo layout; Commands; Conventions; Environment; Pull requests; Skills; Safety. Use it as a model for your own project's instructions.

Use cases: documentation, code-generation

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
69 lines
File
AGENTS.md

Sections

  1. Project overview
  2. Monorepo layout
  3. Commands
  4. Conventions
  5. Environment
  6. Pull requests
  7. Skills
  8. Safety

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

# docs.page — agent guidance

This file orients coding agents working in the docs.page monorepo. For human
contributors, see [CONTRIBUTING.md](./CONTRIBUTING.md).

## Project overview

docs.page serves markdown documentation from public GitHub repositories as modern,
agent-ready sites (MCP, `llms.txt`, optional Ask AI). The active codebase is a
Bun workspace centered on a Next.js app and shared packages.

## Monorepo layout

```
app/                    Next.js app — rendering, API routes, MCP, agent panel
packages/cli/           @docs.page/cli — init, check, preview
packages/mdx-bundler/   Shared markdown → doc IR pipeline
docs/                   Product documentation (MDX)
docs.json               Site navigation for this repo's docs
skills/                 Agent skills (SKILL.md per skill)
```


## Commands

| Task | Command |
| --- | --- |
| Install | `bun install` (repo root) |
| Dev server | `bun dev` or `cd app && bun dev` |
| Format + lint | `bun run check` (Biome, repo root) |
| CLI dev | `cd packages/cli && bun run dev` |
| CLI typecheck | `cd packages/cli && bun run typecheck` |

## Conventions

- **Runtime** — Bun for installs and scripts; Next.js App Router in `app/`.
- **Lint/format** — Biome (`biome.json`). Run `bun run check` before finishing.
- **UI** — shadcn/ui components live in `app/src/components/ui/`. Use existing primitives before adding dependencies.
- **Next.js** — Read `app/AGENTS.md` and `node_modules/next/dist/docs/` for Next.js 16 APIs (breaking vs training data).
- **Shared markdown pipeline** — Changes to doc rendering belong in `packages/mdx-bundler/` when they affect both app and CLI preview.
- **Scope** — Minimal diffs; match existing patterns; update `docs/` for user-visible behavior.

## Environment

Local app development against live GitHub content requires `GITHUB_PAT` in
`app/.env.local`. GitHub App credentials are only needed for webhook work.
See [CONTRIBUTING.md](./CONTRIBUTING.md) for setup.

Do not commit secrets, `.env`, or generated artifacts (`.next/`, `dist/`).

## Pull requests

- Link issues when applicable (`Fixes #123`).
- Follow [CONTRIBUTING.md](./CONTRIBUTING.md) for workflow and [.github/pull_request_template.md](./.github/pull_request_template.md) when opening a PR.
- Ensure Biome passes (`bun run check`).
- Prefer focused PRs with a clear description.

## Skills

Repo-wide skills live under [`skills/`](./skills/). Load a skill's `SKILL.md` when one exists for your task.

- [review-doc](./skills/review-doc/SKILL.md) — review a `docs/*.mdx` page against writing checks (failing, passing, muted), apply unmuted findings by default, and loop until failing is 0. Use when the publisher names review-doc or asks to review writing. Not `docs check`.
- [`install-docs-page`](./skills/install-docs-page/SKILL.md) — first-time docs.page install via Quickstart only.

## Safety

- Do not disable security checks (webhook verification, sanitization, rate limits) without explicit maintainer approval.
- Treat user-supplied markdown and repository content as untrusted input.

Signals

Stars
677
Forks
104
Open issues
22
Last commit (this folder)
Oct 19, 2026 (9 days ago)
Last release
Oct 1, 2026 (27 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from invertase

Cite this page

AGENTS.md · invertase/docs.page. Agent Mart. https://agentmart.dev/templates/invertase-docs-page-agents-md (last updated 2026-10-24)