Armory
Source
Browse
CLAUDE.md / Rules

neon-database-context

Neon database context statusline showing project name, active branch, compute state, and autoscaling CU range. Uses only Neon REST API (no SQL connections needed). Helps avoid mistakes like running migrations on the wrong branch. Setup: Export NEON_API_KEY and NEON_PROJECT_ID as environment variables, or add them to your project's .env file. Get your API key from console.neon.tech and project ID from your Neon dashboard.

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install neon-database-context --cli claude

writes the file to.claude/rules/neon-database-context.mdListed as compatible

Configuration
# fetches the source and writes it to:
.claude/rules/neon-database-context.md

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

Neon database context statusline showing project name, active branch, compute state, and autoscaling CU range. Uses only Neon REST API (no SQL connections needed). Helps avoid mistakes like running migrations on the wrong branch. Setup: Export NEON_API_KEY and NEON_PROJECT_ID as environment variables, or add them to your project's .env file. Get your API key from console.neon.tech and project ID from your Neon dashboard.

When to use it

Neon database context statusline showing project name, active branch, compute state, and autoscaling CU range. Uses only Neon REST API (no SQL connections needed). Helps avoid mistakes like running migrations on the wrong branch. Setup: Export NEON_API_KEY and NEON_PROJECT_ID as environment variables, or add them to your project's .env file. Get your API key from console.neon.tech and project ID from your Neon dashboard.

How to install / invoke

# Merge the settings block into your .claude/settings.json
curl -sL https://raw.githubusercontent.com/davila7/claude-code-templates/main/cli-tool/components/settings/statusline/neon-database-context.json | jq .

Notes

Extracted from davila7/claude-code-templates, statusline category.