Skip to content
Agentmart
Submit a tool

CLAUDE.md · portainer/portainer

CLAUDE.md from portainer/portainer: 60 lines covering Project Structure, Frontend Guidelines, Backend Guidelines, Package Manager and more.

Template by portainer

IndexedZlib★ 38,705
Write a review

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/portainer/portainer/develop/CLAUDE.md -o CLAUDE.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 CLAUDE.md file that portainer/portainer (38,704 stars) keeps for coding agents. It has 60 lines in 6 sections: Project Structure; Frontend Guidelines; Backend Guidelines; Package Manager; Build Commands; Development Servers. 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

A CLAUDE.md file: project memory Claude Code loads at the start of every session.

For
Claude Code
Length
60 lines
File
CLAUDE.md

Sections

  1. Project Structure
  2. Frontend Guidelines
  3. Backend Guidelines
  4. Package Manager
  5. Build Commands
  6. Development Servers

First lines (shown under the repo's Zlib license)

# Portainer Community Edition

Open-source container management platform with full Docker and Kubernetes support.

## Project Structure

For a detailed breakdown of frontend and backend directory layout, feature locations, and common development tasks, see [docs/guidelines/project-structure.md](../../docs/guidelines/project-structure.md).

## Frontend Guidelines

- [docs/guidelines/frontend-conventions.md](../../docs/guidelines/frontend-conventions.md) — component structure, React Query patterns, shared components, forms, theming
- [docs/guidelines/typescript-conventions.md](../../docs/guidelines/typescript-conventions.md) — types, anti-patterns, union types, named constants
- [docs/guidelines/frontend-unit-testing.md](../../docs/guidelines/frontend-unit-testing.md) — Vitest, React Testing Library

## Backend Guidelines

- [docs/guidelines/go-conventions.md](../../docs/guidelines/go-conventions.md) — error handling, naming, testing, code style
- [docs/guidelines/server-architecture.md](../../docs/guidelines/server-architecture.md) — Clean Architecture layers, transactions, CE/EE sharing patterns
- [docs/guidelines/logging.md](../../docs/guidelines/logging.md) — zerolog usage, log levels, message style
- [docs/guidelines/backend-code-reusability.md](../../docs/guidelines/backend-code-reusability.md) — how CE and EE share backend code

## Package Manager

- **PNPM** 10+ (for frontend)
- **Go** 1.26.1 (for backend)

## Build Commands

```bash
# Full build
make build              # Build both client and server
make build-client       # Build React/AngularJS frontend
make build-server       # Build Go binary
make build-image        # Build Docker image

# Development
make dev                # Run both in dev mode
make dev-client         # Start webpack-dev-server (port 8999)
make dev-server         # Run containerized Go server

# Frontend
pnpm dev            # Webpack dev server
pnpm build          # Build frontend with webpack
pnpm typecheck      # Run typecheck for frontend (with tsc)
pnpm lint           # lint frontend (with eslint)
pnpm test           # test frontend (with vitest)
pnpm format         # format frontend (with prettier)

# Testing
make test               # All tests (backend + frontend)
make test-server        # Backend tests only
make lint               # Lint all code
make format             # Format code
```

## Development Servers

- Frontend: http://localhost:8999
- Backend: http://localhost:9000 (HTTP) / https://localhost:9443 (HTTPS)

Signals

Stars
38,705
Forks
2,926
Open issues
716
Last commit (this folder)
Apr 21, 2026 (6 months ago)
Last release
Oct 21, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Zlib
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

CLAUDE.md · portainer/portainer. Agent Mart. https://agentmart.dev/templates/portainer-portainer-claude-md (last updated 2026-10-24)