Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
c89e02c
Add bot-runnable API tests and integration smoke suite
Andre-Diamond Mar 30, 2026
339a68b
feat: create new ci bot testing framework
Andre-Diamond Mar 31, 2026
91a21a2
Merge remote-tracking branch 'origin/main' into bot-api-test-suite
Andre-Diamond Mar 31, 2026
8863816
chore: update CI configuration and improve wallet transfer handling
Andre-Diamond Apr 1, 2026
086e0b7
chore: enhance CI documentation and improve transfer flow validation
Andre-Diamond Apr 2, 2026
6450fc0
fix: improve bot authentication error handling and enhance test setups
Andre-Diamond Apr 2, 2026
e3be4e1
chore: update CI workflow and enhance native script handling
Andre-Diamond Apr 3, 2026
2903976
Merge remote-tracking branch 'origin/main' into bot-api-test-suite
Andre-Diamond Apr 6, 2026
1b89b8b
chore: enhance CI workflows and improve transaction handling
Andre-Diamond Apr 6, 2026
42c090d
feat: expand wallet scopes and enhance CI documentation
Andre-Diamond Apr 6, 2026
33625bd
feat: add wallet balance summary to CI reports
Andre-Diamond Apr 13, 2026
444407c
Merge remote-tracking branch 'origin/main' into bot-api-test-suite
Andre-Diamond Apr 16, 2026
f40d261
refactor: restructure CI scripts and update documentation
Andre-Diamond Apr 16, 2026
3446801
refactor: update scenario functions to accept context parameter
Andre-Diamond Apr 17, 2026
e163562
feat: enhance CI wallet management and context handling
Andre-Diamond Apr 17, 2026
15830f2
Merge remote-tracking branch 'origin/main' into bot-api-test-suite
Andre-Diamond Apr 20, 2026
0afc497
feat: add bot stake and DRep certificate transaction endpoints
Andre-Diamond Apr 21, 2026
dde4f56
chore: update package-lock.json to mark several dependencies as dev d…
QSchlegel Apr 21, 2026
b96e8e7
docs: add roadmap and contributing guide
QSchlegel Apr 21, 2026
b835db4
Merge pull request #226 from MeshJS/docs/roadmap-and-contributing
QSchlegel Apr 21, 2026
e1d3044
feat: enhance transaction signing and certificate handling
Andre-Diamond Apr 23, 2026
b48e145
fix: guard against invalid CBOR in addTransaction and transaction card
QSchlegel Apr 23, 2026
cbd8790
docs: refresh M1 proof of completion to 2026-04-23
QSchlegel Apr 23, 2026
85d9653
Merge pull request #228 from MeshJS/docs/roadmap-m1-refresh-2026-04-23
QSchlegel Apr 23, 2026
e1ff118
fix: run prisma migrate deploy only at start, not build
QSchlegel Apr 23, 2026
0d16c71
Merge pull request #227 from MeshJS/fix/invalid-tx-cbor-211
QSchlegel Apr 23, 2026
d84d8f2
ci: trigger smoke tests on Railway deployment success
QSchlegel Apr 23, 2026
4a8fb70
Merge remote-tracking branch 'origin/main' into preprod
QSchlegel Apr 23, 2026
92dae4c
feat: update CI workflow to include additional branches for pull requ…
Andre-Diamond Apr 23, 2026
ac352ab
feat: add pre-hygiene step for DRep certificate management and implem…
Andre-Diamond Apr 24, 2026
c375af8
feat: enhance CI scenarios with new wallet lifecycle and negative tok…
Andre-Diamond Apr 24, 2026
7e1bff1
feat: update CI report format to Markdown and add cleanup step for te…
Andre-Diamond Apr 24, 2026
334b244
feat: remove bot-api-test-suite branch from PR workflow triggers
Andre-Diamond Apr 24, 2026
ba6fe35
Merge pull request #230 from MeshJS/bot-api-test-suite
QSchlegel Apr 24, 2026
7b3c9fb
feat: add retry logic for pulling base Docker image and update fetch …
Andre-Diamond Apr 24, 2026
d454730
docs: add comment to clarify validation of URL safety in resolveDRepA…
Andre-Diamond Apr 24, 2026
6cf87fb
docs: update comment to clarify URL validation process in resolveDRep…
Andre-Diamond Apr 24, 2026
093b6d5
feat: update DRep certificate handling to compute anchor data hash an…
Andre-Diamond Apr 24, 2026
d5b1de5
Merge pull request #231 from MeshJS/bot-api-test-suite
Andre-Diamond Apr 24, 2026
87feee0
feat: add CI_DREP_ANCHOR_JSON environment variable and update DRep re…
Andre-Diamond Apr 25, 2026
c08fb12
feat: update api README - DRep registration to require anchorJson in …
Andre-Diamond Apr 25, 2026
fdc77e8
feat: add CI_DREP_ANCHOR_JSON environment variable to workflow
Andre-Diamond Apr 25, 2026
8f14ac6
Merge pull request #232 from MeshJS/bot-api-test-suite
Andre-Diamond Apr 25, 2026
e3fc33c
feat: add proxy management endpoints and update test scripts
Andre-Diamond Apr 28, 2026
a710287
feat: enhance proxy bot functionality and update CI workflows
Andre-Diamond Apr 30, 2026
3175ce7
feat: enhance proxy bot lifecycle management and update documentation
Andre-Diamond Apr 30, 2026
8001b96
feat: enhance proxy lifecycle management to support hierarchical wallets
Andre-Diamond May 1, 2026
6171503
Merge pull request #234 from MeshJS/feature/add-proxy-api-and-ci-testing
Andre-Diamond May 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .agents/skills/supabase-postgres-best-practices/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Supabase Postgres Best Practices

## Structure

```
supabase-postgres-best-practices/
SKILL.md # Main skill file - read this first
AGENTS.md # This navigation guide
CLAUDE.md # Symlink to AGENTS.md
references/ # Detailed reference files
```

## Usage

1. Read `SKILL.md` for the main skill instructions
2. Browse `references/` for detailed documentation on specific topics
3. Reference files are loaded on-demand - read only what you need

Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.

## When to Apply

Reference these guidelines when:
- Writing SQL queries or designing schemas
- Implementing indexes or query optimization
- Reviewing database performance issues
- Configuring connection pooling or scaling
- Optimizing for Postgres-specific features
- Working with Row-Level Security (RLS)

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Query Performance | CRITICAL | `query-` |
| 2 | Connection Management | CRITICAL | `conn-` |
| 3 | Security & RLS | CRITICAL | `security-` |
| 4 | Schema Design | HIGH | `schema-` |
| 5 | Concurrency & Locking | MEDIUM-HIGH | `lock-` |
| 6 | Data Access Patterns | MEDIUM | `data-` |
| 7 | Monitoring & Diagnostics | LOW-MEDIUM | `monitor-` |
| 8 | Advanced Features | LOW | `advanced-` |

## How to Use

Read individual rule files for detailed explanations and SQL examples:

```
references/query-missing-indexes.md
references/schema-partial-indexes.md
references/_sections.md
```

Each rule file contains:
- Brief explanation of why it matters
- Incorrect SQL example with explanation
- Correct SQL example with explanation
- Optional EXPLAIN output or metrics
- Additional context and references
- Supabase-specific notes (when applicable)

## References

- https://www.postgresql.org/docs/current/
- https://supabase.com/docs
- https://wiki.postgresql.org/wiki/Performance_Optimization
- https://supabase.com/docs/guides/database/overview
- https://supabase.com/docs/guides/auth/row-level-security
68 changes: 68 additions & 0 deletions .agents/skills/supabase-postgres-best-practices/CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Supabase Postgres Best Practices

## Structure

```
supabase-postgres-best-practices/
SKILL.md # Main skill file - read this first
AGENTS.md # This navigation guide
CLAUDE.md # Symlink to AGENTS.md
references/ # Detailed reference files
```

## Usage

1. Read `SKILL.md` for the main skill instructions
2. Browse `references/` for detailed documentation on specific topics
3. Reference files are loaded on-demand - read only what you need

Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.

## When to Apply

Reference these guidelines when:
- Writing SQL queries or designing schemas
- Implementing indexes or query optimization
- Reviewing database performance issues
- Configuring connection pooling or scaling
- Optimizing for Postgres-specific features
- Working with Row-Level Security (RLS)

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Query Performance | CRITICAL | `query-` |
| 2 | Connection Management | CRITICAL | `conn-` |
| 3 | Security & RLS | CRITICAL | `security-` |
| 4 | Schema Design | HIGH | `schema-` |
| 5 | Concurrency & Locking | MEDIUM-HIGH | `lock-` |
| 6 | Data Access Patterns | MEDIUM | `data-` |
| 7 | Monitoring & Diagnostics | LOW-MEDIUM | `monitor-` |
| 8 | Advanced Features | LOW | `advanced-` |

## How to Use

Read individual rule files for detailed explanations and SQL examples:

```
references/query-missing-indexes.md
references/schema-partial-indexes.md
references/_sections.md
```

Each rule file contains:
- Brief explanation of why it matters
- Incorrect SQL example with explanation
- Correct SQL example with explanation
- Optional EXPLAIN output or metrics
- Additional context and references
- Supabase-specific notes (when applicable)

## References

- https://www.postgresql.org/docs/current/
- https://supabase.com/docs
- https://wiki.postgresql.org/wiki/Performance_Optimization
- https://supabase.com/docs/guides/database/overview
- https://supabase.com/docs/guides/auth/row-level-security
116 changes: 116 additions & 0 deletions .agents/skills/supabase-postgres-best-practices/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Supabase Postgres Best Practices - Contributor Guide

This skill contains Postgres performance optimization references optimized for
AI agents and LLMs. It follows the [Agent Skills Open Standard](https://agentskills.io/).

## Quick Start

```bash
# From repository root
npm install

# Validate existing references
npm run validate

# Build AGENTS.md
npm run build
```

## Creating a New Reference

1. **Choose a section prefix** based on the category:
- `query-` Query Performance (CRITICAL)
- `conn-` Connection Management (CRITICAL)
- `security-` Security & RLS (CRITICAL)
- `schema-` Schema Design (HIGH)
- `lock-` Concurrency & Locking (MEDIUM-HIGH)
- `data-` Data Access Patterns (MEDIUM)
- `monitor-` Monitoring & Diagnostics (LOW-MEDIUM)
- `advanced-` Advanced Features (LOW)

2. **Copy the template**:
```bash
cp references/_template.md references/query-your-reference-name.md
```

3. **Fill in the content** following the template structure

4. **Validate and build**:
```bash
npm run validate
npm run build
```

5. **Review** the generated `AGENTS.md`

## Skill Structure

```
skills/supabase-postgres-best-practices/
├── SKILL.md # Agent-facing skill manifest (Agent Skills spec)
├── AGENTS.md # [GENERATED] Compiled references document
├── README.md # This file
└── references/
├── _template.md # Reference template
├── _sections.md # Section definitions
├── _contributing.md # Writing guidelines
└── *.md # Individual references

packages/skills-build/
├── src/ # Generic build system source
└── package.json # NPM scripts
```

## Reference File Structure

See `references/_template.md` for the complete template. Key elements:

````markdown
---
title: Clear, Action-Oriented Title
impact: CRITICAL|HIGH|MEDIUM-HIGH|MEDIUM|LOW-MEDIUM|LOW
impactDescription: Quantified benefit (e.g., "10-100x faster")
tags: relevant, keywords
---

## [Title]

[1-2 sentence explanation]

**Incorrect (description):**

```sql
-- Comment explaining what's wrong
[Bad SQL example]
```
````

**Correct (description):**

```sql
-- Comment explaining why this is better
[Good SQL example]
```

```
## Writing Guidelines

See `references/_contributing.md` for detailed guidelines. Key principles:

1. **Show concrete transformations** - "Change X to Y", not abstract advice
2. **Error-first structure** - Show the problem before the solution
3. **Quantify impact** - Include specific metrics (10x faster, 50% smaller)
4. **Self-contained examples** - Complete, runnable SQL
5. **Semantic naming** - Use meaningful names (users, email), not (table1, col1)

## Impact Levels

| Level | Improvement | Examples |
|-------|-------------|----------|
| CRITICAL | 10-100x | Missing indexes, connection exhaustion |
| HIGH | 5-20x | Wrong index types, poor partitioning |
| MEDIUM-HIGH | 2-5x | N+1 queries, RLS optimization |
| MEDIUM | 1.5-3x | Redundant indexes, stale statistics |
| LOW-MEDIUM | 1.2-2x | VACUUM tuning, config tweaks |
| LOW | Incremental | Advanced patterns, edge cases |
```
64 changes: 64 additions & 0 deletions .agents/skills/supabase-postgres-best-practices/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
name: supabase-postgres-best-practices
description: Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.
license: MIT
metadata:
author: supabase
version: "1.1.0"
organization: Supabase
date: January 2026
abstract: Comprehensive Postgres performance optimization guide for developers using Supabase and Postgres. Contains performance rules across 8 categories, prioritized by impact from critical (query performance, connection management) to incremental (advanced features). Each rule includes detailed explanations, incorrect vs. correct SQL examples, query plan analysis, and specific performance metrics to guide automated optimization and code generation.
---

# Supabase Postgres Best Practices

Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.

## When to Apply

Reference these guidelines when:
- Writing SQL queries or designing schemas
- Implementing indexes or query optimization
- Reviewing database performance issues
- Configuring connection pooling or scaling
- Optimizing for Postgres-specific features
- Working with Row-Level Security (RLS)

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Query Performance | CRITICAL | `query-` |
| 2 | Connection Management | CRITICAL | `conn-` |
| 3 | Security & RLS | CRITICAL | `security-` |
| 4 | Schema Design | HIGH | `schema-` |
| 5 | Concurrency & Locking | MEDIUM-HIGH | `lock-` |
| 6 | Data Access Patterns | MEDIUM | `data-` |
| 7 | Monitoring & Diagnostics | LOW-MEDIUM | `monitor-` |
| 8 | Advanced Features | LOW | `advanced-` |

## How to Use

Read individual rule files for detailed explanations and SQL examples:

```
references/query-missing-indexes.md
references/schema-partial-indexes.md
references/_sections.md
```

Each rule file contains:
- Brief explanation of why it matters
- Incorrect SQL example with explanation
- Correct SQL example with explanation
- Optional EXPLAIN output or metrics
- Additional context and references
- Supabase-specific notes (when applicable)

## References

- https://www.postgresql.org/docs/current/
- https://supabase.com/docs
- https://wiki.postgresql.org/wiki/Performance_Optimization
- https://supabase.com/docs/guides/database/overview
- https://supabase.com/docs/guides/auth/row-level-security
Loading
Loading