platform-knowledge
Deep knowledge of GitHub Actions, Railway, Supabase, and Postgres platforms. Use when troubleshooting, configuring, or optimizing any of these platforms.
What this skill does
# Platform Knowledge Skill
## Overview
This skill provides comprehensive knowledge of the infrastructure platforms: GitHub Actions, Railway, Supabase, and Postgres. It covers architecture, configuration, troubleshooting, and best practices for each platform.
## Platform Overview
### GitHub Actions
- **Purpose**: CI/CD automation
- **Key Features**: Workflow automation, testing, deployment
- **Config Files**: `.github/workflows/*.yml`
- **CLI**: `gh`
### Railway
- **Purpose**: Application hosting and deployment
- **Key Features**: Auto-deployments, instant rollbacks, environment management
- **Config Files**: `railway.toml`, `nixpacks.toml`, `Procfile`
- **CLI**: `railway`
### Supabase
- **Purpose**: Backend-as-a-Service (Postgres, Auth, Storage, Realtime)
- **Key Features**: Managed Postgres, authentication, file storage, realtime subscriptions
- **Config Files**: `supabase/config.toml`, migrations
- **Access**: MCP tools, Dashboard, CLI
### Postgres
- **Purpose**: Relational database
- **Key Features**: ACID compliance, extensions, full-text search, JSON support
- **Config**: Connection strings, postgresql.conf
- **Access**: SQL queries via MCP or psql
## Platform Interaction Map
```
┌──────────────┐ ┌──────────────┐
│ GitHub │ │ Railway │
│ Actions │────▶│ (App) │
│ (CI/CD) │ │ │
└──────────────┘ └──────┬───────┘
│
▼
┌──────────────┐
│ Supabase │
│ (Backend) │
│ │
│ ┌──────────┐ │
│ │ Postgres │ │
│ └──────────┘ │
└──────────────┘
```
## Quick Reference
### Tool Access by Platform
| Platform | MCP Tools | CLI | Logs |
|----------|-----------|-----|------|
| GitHub Actions | No | `gh` | `gh run view --log` |
| Railway | No | `railway` | `railway logs` |
| Supabase | Yes | `supabase` | MCP `get_logs` |
| Postgres | Yes (via Supabase) | `psql` | MCP `get_logs` |
### Common Operations
| Task | GitHub | Railway | Supabase |
|------|--------|---------|----------|
| Deploy | Push/workflow | Git push / `railway up` | Dashboard / CLI |
| Logs | `gh run view --log` | `railway logs` | MCP `get_logs` |
| Status | `gh run list` | `railway status` | MCP `get_project` |
| Rollback | Re-run workflow | Dashboard | Run migration down |
| Secrets | Repository settings | Environment variables | Project settings |
## Troubleshooting Decision Tree
```
Issue Reported
│
▼
┌─────────────────────────────────────┐
│ Where does the issue manifest? │
└─────────────────────────────────────┘
│
├─► Build/Deploy fails ──► GitHub Actions / Railway
│
├─► API errors ──► Supabase API / Edge Functions
│
├─► Auth issues ──► Supabase Auth
│
├─► Database errors ──► Postgres
│
├─► App crashes ──► Railway / Edge Functions
│
└─► Performance ──► All platforms (profile each)
```
## Platform-Specific Guides
Detailed guides for each platform:
- [GitHub Actions](github-actions.md) - CI/CD workflows, secrets, debugging
- [Railway](railway.md) - Deployment, configuration, troubleshooting
- [Supabase](supabase.md) - Auth, API, Realtime, Storage
- [Postgres](postgres.md) - Queries, performance, administration
## Cross-Platform Issues
### Deployment Chain Failure
**Symptom**: Deploy succeeds but app broken
**Check all stages**:
1. GitHub Actions - Build/test passed?
2. Railway - Deploy successful?
3. Supabase - Migrations applied?
4. Environment - Variables set?
### Environment Variable Issues
**Common causes**:
- Set in wrong environment
- Typo in variable name
- Not propagated after change
**Verify across platforms**:
```bash
# GitHub Actions - Check secrets
# (Can't view, only verify existence)
# Railway
railway variables
# Supabase - Check project settings
# Dashboard or MCP
```
### Connection Issues Between Services
**Railway → Supabase**:
- Check Supabase URL format
- Verify API key (anon vs service_role)
- Check connection pooling settings
- Verify IP restrictions
**GitHub Actions → Services**:
- Check secrets are accessible
- Verify network egress allowed
- Check for rate limiting
## Performance Troubleshooting Matrix
| Symptom | GitHub Actions | Railway | Supabase | Postgres |
|---------|---------------|---------|----------|----------|
| Slow | Cache missing, big deps | Cold start, resources | Edge function | Query optimization |
| Timeout | Step timeout | Health check | API timeout | Statement timeout |
| Memory | OOM on build | Container limit | Function limit | work_mem |
| CPU | Concurrent jobs | Container limit | N/A | Query complexity |
## Configuration Files Reference
### GitHub Actions
```yaml
# .github/workflows/deploy.yml
name: Deploy
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# ... more steps
```
### Railway
```toml
# railway.toml
[build]
builder = "nixpacks"
buildCommand = "npm run build"
[deploy]
startCommand = "npm start"
healthcheckPath = "/health"
```
### Supabase
```toml
# supabase/config.toml
[api]
port = 54321
schemas = ["public", "graphql_public"]
[db]
port = 54322
```
### Postgres
```sql
-- Key settings
SHOW max_connections;
SHOW statement_timeout;
SHOW work_mem;
```
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.