AI Coding Agents & AGENTS.md

AI coding assistants — Claude, GitHub Copilot, Cursor, and others — can build and customize a PowerPortalsPro portal far more accurately when they understand the framework's conventions. To make that automatic, every project generated from a PowerPortalsPro template ships an AGENTS.md file at its root.

What is AGENTS.md?

AGENTS.md is a plain-Markdown instructions file that AI coding tools read automatically to learn a project's conventions before they write code. It is an emerging cross-tool standard — the same file is picked up by Claude, GitHub Copilot, Cursor, and others — so you maintain one set of guidance, not one per tool. The PowerPortalsPro templates generate an AGENTS.md tailored to the framework so an agent knows to assemble features from framework components and services rather than hand-rolling data access, authentication, or save logic.

Note

The guidance is stack-specific: a project generated from the React template ships a React-focused AGENTS.md, and a Blazor project ships a Blazor-focused one. Each describes the components, services, and patterns for that stack.

Where it lives

The file sits at the root of your generated solution, alongside your projects, so any AI tool opened on the repository finds it without configuration:

What's inside

The generated AGENTS.md distills the conventions this documentation site covers into an always-in-context reference an agent reads on every task:

Using it effectively

A few habits get the most out of the guide:

For example, a request like this gives an agent everything it needs to produce idiomatic code:

Make it yours

AGENTS.md is an ordinary file in your repository — edit it. Add your own tables and relationships, domain rules, naming conventions, and project-specific patterns so the agent learns your portal, not just the framework. The better the file reflects your codebase, the better the generated code.

Tip

Treat AGENTS.md as living documentation: when you establish a new convention or hit a recurring mistake, add a line to the file so every future AI session benefits.