Skip to main content
Run any Skill in Manus
with one click

aspire-postgres

Stars15
Forks0
UpdatedApril 3, 2026 at 21:42

Add, configure, and integrate PostgreSQL into an Aspire distributed application — covering AppHost hosting setup (AddPostgres, AddDatabase, WaitFor, WithPgAdmin, WithDataVolume, WithCreationScript), client integration (AddNpgsqlDataSource, AddNpgsqlDbContext, AddKeyedNpgsqlDataSource, EnrichNpgsqlDbContext), connection string resolution, and the ResourceNames constants pattern. Use this skill whenever the user mentions PostgreSQL, Npgsql, EF Core with Postgres, AddPostgres, AddDatabase, connection strings in Aspire, or asks how to wire up a database in Aspire AppHost or a consuming service — even if they don't use the words "Aspire" or "PostgreSQL" explicitly. Prefer this skill over guessing; the server-vs-database resource split, WaitFor ordering, connectionName matching, Marten vs EF Core vs raw Npgsql client choice, and data volume ACA limitations all have non-obvious failure modes.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly