[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M789N85CC2J2CHNWK526TWWC":3,"skill-same:01M789N85CC2J2CHNWK526TWWC":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M789N85CC2J2CHNWK526TWWC","django-deployment",null,"Deploy Django applications to Vercel with Supabase PostgreSQL backend. Covers project restructuring, Vercel config, WSGI serverless handler, Supabase database provisioning, and environment management.","abdullibrahim733-pixel\u002FEagle","abdullibrahim733-pixel","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230504522?v=4","01M787SK0DQR0H1K326DJT6EBK","ibrahim abdull","01M787SK1HWS9V959THKZM6N70",0,"MIT","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fprofiles\u002Ffred_cto\u002Fskills\u002Fdevops\u002Fdjango-deployment\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: django-deployment\ndescription: \"Deploy Django applications to Vercel with Supabase PostgreSQL backend. Covers project restructuring, Vercel config, WSGI serverless handler, Supabase database provisioning, and environment management.\"\nversion: 1.0.0\nauthor: Hermes\nlicense: MIT\nplatforms: [linux, macos]\nmetadata:\n  hermes:\n    tags: [Django, Vercel, Supabase, PostgreSQL, Deployment, Python, DevOps]\n---\n\n# Django Deployment (Vercel + Supabase)\n\nDeploy a Django application to Vercel's serverless platform with Supabase PostgreSQL as the database backend.\n\n## When to Use\n\n- Migrating a Django app off Render \u002F Heroku \u002F traditional VPS\n- Deploying a Django REST API that needs PostgreSQL\n- Replacing sqlite3 dev databases with production PostgreSQL\n- User's hosting subscription (e.g. Render) has expired and they need a free\u002Fcheap alternative\n\n## Prerequisites\n\n- **Vercel CLI** installed and authenticated (`vercel login` or VERCEL_TOKEN env)\n- **Supabase account** with an access token (from supabase.com\u002Fdashboard\u002Faccount\u002Ftokens)\n- **GitHub repo** for the project (Vercel links to GitHub)\n- **Python 3.11+** project with Django\n\n## Step-by-Step Workflow\n\n### Phase 1 — Prepare the Codebase\n\n#### 1a. Fix the `api\u002F` directory conflict\n\nVercel treats every `.py` file in an `api\u002F` directory as a serverless function endpoint. If your Django app has an `api\u002F` app, rename it to avoid conflict:\n\n```bash\ncd \u002Fpath\u002Fto\u002Fproject\nmv api api_app\nmkdir -p api\ntouch api\u002F__init__.py\n```\n\nThen update all references:\n\n| File | Change |\n|------|--------|\n| `backend\u002Fsettings.py` — `INSTALLED_APPS` | `\"api\"` → `\"api_app\"` |\n| `backend\u002Fsettings.py` — LOGGING logger name | `\"api\"` → `\"api_app\"` |\n| `backend\u002Furls.py` | `include('api.urls')` → `include('api_app.urls')` |\n| `api_app\u002Fapps.py` | `name = 'api'` → `name = 'api_app'` |\n| Any migration files referencing `'api'` | Update to `'api_app'` |\n\nThe remaining `api\u002F` directory now contains only the Vercel handler (below).\n\n#### 1b. Create `api\u002Findex.py` — Vercel WSGI handler\n\n```python\nimport os\nimport sys\n\n# Add project root to path\nproject_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))\nsys.path.insert(0, project_root)\n\n# Set Django settings module\nos.environ.setdefault(\"DJANGO_SETTINGS_MODULE\", \"backend.settings\")\n\n# Build-time SECRET_KEY fallback (Vercel replaces at runtime with real env var)\nif not os.environ.get(\"DJANGO_SECRET_KEY\"):\n    os.environ[\"DJANGO_SECRET_KEY\"] = \"build-time-fallback-insecure-key\"\n\n# Bootstrap Django\nimport django\ndjango.setup()\n\n# WSGI application\nfrom django.core.wsgi import get_wsgi_application\napplication = get_wsgi_application()\n\n# Vercel Python Runtime handler using serverless-wsgi\nfrom serverless_wsgi import handle\n\ndef handler(request, context=None):\n    return handle(application, request, context)\n```\n\n#### 1c. Create `vercel.json`\n\n> **⚠️ Vercel CLI v54+ uses a new \"services\" architecture** that auto-detects Django and rejects the old top-level `buildCommand`\u002F`functions`\u002F`outputDirectory` format. The template below works on both old and new CLI versions. See `references\u002Fvercel-services-migration.md` for the full migration story.\n\n**Recommended** — use the services format and skip `collectstatic` (whitenoise serves static files at runtime):\n\n```json\n{\n  \"version\": 2,\n  \"services\": {\n    \"jengaconnect\": {\n      \"root\": \".\",\n      \"entrypoint\": \"api\u002Findex.py\",\n      \"runtime\": \"python\",\n      \"buildCommand\": \"echo 'Static files served by whitenoise at runtime'\"\n    }\n  },\n  \"rewrites\": [\n    {\n      \"source\": \"\u002F(.*)\",\n      \"destination\": {\n        \"type\": \"service\",\n        \"service\": \"jengaconnect\"\n      }\n    }\n  ],\n  \"headers\": [\n    {\n      \"source\": \"\u002F(.*)\",\n      \"headers\": [\n        { \"key\": \"X-Content-Type-Options\", \"value\": \"nosniff\" },\n        { \"key\": \"X-Frame-Options\", \"value\": \"DENY\" },\n        { \"key\": \"Referrer-Policy\", \"value\": \"strict-origin-when-cross-origin\" }\n      ]\n    }\n  ]\n}\n```\n\n**Critical differences from old format:**\n- `\"runtime\": \"python\"` (NOT `\"python3.12\"` — v54 rejects version suffixes)\n- No `maxDuration`, `config`, or `outputDirectory` inside `services` block\n- `installCommand` inside the services block IS valid (contrary to some docs)\n- `routes` → `rewrites` with `{\"type\": \"service\", \"service\": \"\u003Cname>\"}` destinations\n- The service name (here `jengaconnect`) must match when referenced in rewrites\n\n**Alternative — old format** (still works on Vercel CLI \u003C v54):\n```json\n{\n  \"buildCommand\": \"pip install -r requirements.txt && python manage.py collectstatic --noinput\",\n  \"outputDirectory\": \"staticfiles\",\n  \"framework\": null,\n  \"functions\": {\n    \"api\u002F**\u002F*.py\": { \"runtime\": \"python3.12\", \"maxDuration\": 60 }\n  },\n  \"routes\": [\n    { \"src\": \"\u002Fstatic\u002F(.*)\", \"dest\": \"\u002Fstatic\u002F$1\" },\n    { \"src\": \"\u002Fmedia\u002F(.*)\", \"dest\": \"\u002Fmedia\u002F$1\" },\n    { \"src\": \"\u002F(.*)\", \"dest\": \"\u002Fapi\u002Findex.py\" }\n  ]\n}\n```\n\n#### 1d. Add `serverless-wsgi` to requirements\n\n```txt\nserverless-wsgi==2.0.0\n```\n\n#### 1e. Update `.gitignore`\n\nAdd Vercel artifacts:\n\n```txt\n.vercel\n.vercelignore\n```\n\n### Phase 2 — Set Up Supabase PostgreSQL\n\n#### 2a. Get Supabase access token\n\nDirect user to: **https:\u002F\u002Fsupabase.com\u002Fdashboard\u002Faccount\u002Ftokens**\n→ Generate New Token (name it after the project, e.g. `JENGA-CONNECT-Deploy`)\n→ Copy the `sbp_...` token\n\n#### 2b. Sign in with Supabase CLI (if available)\n\n```bash\nsupabase login --token sbp_xxxxx\n```\n\nIf Supabase CLI is not installed, have the user create a project manually at:\nhttps:\u002F\u002Fsupabase.com\u002Fdashboard\u002Fprojects → New Project → pick region closest to users (e.g. **South Africa** for Tanzania) → note the database password\n\n#### 2c. Get the PostgreSQL connection string\n\n```bash\nsupabase projects list\nsupabase projects create JENGA-CONNECT --org-id \u003Corg>\n```\n\nOr from the dashboard: Project Settings → Database → Connection string → **Transaction mode** tab\n\n> ⚠️ **Copy the exact URI from the dashboard** — don't construct it manually. The format varies:\n> - Some projects: `postgresql:\u002F\u002Fpostgres.[REF]:[PASSWORD]@aws-0-[region].pooler.supabase.com:6543\u002Fpostgres`\n> - Others: `postgresql:\u002F\u002Fpostgres:[PASSWORD]@aws-0-[region].pooler.supabase.com:6543\u002Fpostgres`\n>\n> URL-encode special characters in the password (`\u002F\u002F` → `%2F%2F`, `@` → `%40`, etc.).\n\nThe connection string goes into Vercel env as `DATABASE_URL`.\n\n### Phase 3 — Deploy to Vercel\n\n#### 3a. Set Vercel environment variables\n\n```bash\nvercel env add DATABASE_URL\nvercel env add DJANGO_SECRET_KEY  # generate: python -c 'import secrets; print(secrets.token_urlsafe(64))'\nvercel env add DJANGO_DEBUG False\nvercel env add DJANGO_ALLOWED_HOSTS \".vercel.app,jengaconnect.cc\"\nvercel env add DJANGO_SECURE_SSL_REDIRECT True\n```\n\nMark production-only variables as \"Production\" scope.\n\n#### 3b. Deploy\n\n```bash\nvercel --prod\n```\n\nFirst deploy will likely fail on `collectstatic` if SECRET_KEY is missing — the build-time fallback in `api\u002Findex.py` handles this. After first deploy succeeds, verify:\n\n- Health check: `curl https:\u002F\u002Fproject.vercel.app\u002F`\n- Django admin: `https:\u002F\u002Fproject.vercel.app\u002Fadmin\u002F`\n- API endpoints: `https:\u002F\u002Fproject.vercel.app\u002Fapi\u002F`\n\n### Phase 4 — Database Migrations\n\nAfter deploy, run migrations:\n\n```bash\nvercel env pull .env.production  # pulls production env vars\npython manage.py migrate --run-syncdb\n```\n\nOr use Vercel CLI's `vc run` for one-off commands (if supported):\n\n```bash\nvercel run python manage.py migrate\n```\n\n### Phase 5 — Custom Domain (Optional)\n\n```bash\nvercel domains add jengaconnect.cc\n# Add CNAME record at your DNS provider pointing to cname.vercel-dns.com\n```\n\n## Environment Variables Reference\n\n| Variable | Required | Description | Example |\n|----------|----------|-------------|---------|\n| `DATABASE_URL` | ✅ | PostgreSQL connection string from Supabase | `postgresql:\u002F\u002Fpostgres:xxx@db.xxx.supabase.co:5432\u002Fpostgres` |\n| `DJANGO_SECRET_KEY` | ✅ | Django secret (64+ chars, random) | `python -c 'import secrets; print(secrets.token_urlsafe(64))'` |\n| `DJANGO_DEBUG` | ✅ | Must be `False` for production | `False` |\n| `DJANGO_ALLOWED_HOSTS` | ✅ | Comma-separated allowed hosts | `.vercel.app,yourdomain.cc` |\n| `DJANGO_SECURE_SSL_REDIRECT` | ✅ | Enforce HTTPS | `True` |\n| `DJANGO_CSRF_TRUSTED_ORIGINS` | ⬜ | Comma-separated HTTPS origins for CSRF | `https:\u002F\u002Fyourdomain.cc,https:\u002F\u002Fproject.vercel.app` |\n| `DJANGO_CORS_ALLOWED_ORIGINS` | ⬜ | Comma-separated HTTPS origins for CORS | `https:\u002F\u002Fyourdomain.cc,https:\u002F\u002Fproject.vercel.app` |\n| `USE_LOCAL_CACHE` | ⬜ | `true` to use LocMemCache instead of Redis | `true` |\n| `FRONTEND_URL` | ⬜ | Canonical domain for payment callbacks | `https:\u002F\u002Fyourdomain.cc` |\n| `CLOUDINARY_CLOUD_NAME` | ⬜ | If using Cloudinary media storage | — |\n| `CLOUDINARY_API_KEY` | ⬜ | Cloudinary API key | — |\n| `CLOUDINARY_API_SECRET` | ⬜ | Cloudinary API secret | — |\n| `STRIPE_PUBLIC_KEY` | ⬜ | Stripe publishable key (if integrating) | `pk_live_...` |\n| `STRIPE_SECRET_KEY` | ⬜ | Stripe secret key | `sk_live_...` |\n| `STRIPE_WEBHOOK_SECRET` | ⬜ | Stripe webhook signing secret | `whsec_...` |\n\nSet env vars with: `vercel env add \u003CVAR_NAME> production \u003C\u003C\u003C \"\u003Cvalue>\"`\n\n## Common Pitfalls\n\n1. **`api\u002F` app conflict**: Vercel treats every `.py` in `api\u002F` as a serverless function. If Django has an `api` app, rename it to `api_app` before deploying. Undetected until deploy time when import errors appear.\n\n2. **Build-time SECRET_KEY not set**: Django's `collectstatic` runs during build and needs `DJANGO_SECRET_KEY`. The handler must set a build-time fallback before `django.setup()`. Also add a fallback in `settings.py` itself: `SECRET_KEY = os.getenv(\"DJANGO_SECRET_KEY\") or \"build-time-fallback\"`.\n\n3. **Vercel CLI v54+ auto-detection rejects old vercel.json**: The new CLI auto-detects Django and tries to create a `services` config. Top-level `buildCommand`, `functions`, `outputDirectory`, `installCommand` conflict with this. Use the services format (see section 1c above) or create the project first with `vercel project add \u003Cname>` then link with `vercel link --project \u003Cname>`.\n\n4. **Vercel project name too long**: When auto-detection tries to create a project from the directory name, the generated name can exceed Vercel's 100-char limit. Fix: create the project explicitly first (`vercel project add shortname`) then link it (`vercel link --project shortname`).\n\n5. **`collectstatic` fails during build**: The `DATABASE_URL` env var may have a placeholder password during build, causing `dj_database_url.config()` to crash at import time. Fix: guard the database config in `settings.py`:\n   ```python\n   _db_url = os.getenv(\"DATABASE_URL\", \"\")\n   if _db_url and \"placeholder\" not in _db_url:\n       DATABASES = {\"default\": dj_database_url.config(default=_db_url)}\n   else:\n       DATABASES = {\"default\": {\"ENGINE\": \"django.db.backends.sqlite3\", \"NAME\": BASE_DIR \u002F \"db.sqlite3\"}}\n   ```\n   Or skip `collectstatic` entirely in the build command and let whitenoise serve static files at runtime.\n\n6. **Static files 404**: Ensure `whitenoise` is in middleware (`SecurityMiddleware` first, then `WhiteNoiseMiddleware`) and `STATIC_ROOT` \u002F `STATICFILES_STORAGE` are configured.\n\n7. **SQLite vs PostgreSQL**: The production `DATABASE_URL` points to Supabase PostgreSQL. Local `.env` may use sqlite3 — the `dj-database-url` config picks whichever `DATABASE_URL` is set.\n\n8. **Database not migrated**: Vercel deploys the app but doesn't run `migrate`. Must be done manually or via a post-deploy hook.\n\n9. **DisallowedHost error**: After first deploy, Django returns 400 \"DisallowedHost\" if the Vercel staging URL isn't in `DJANGO_ALLOWED_HOSTS`. Add `.vercel.app` plus your custom domain to the allowed hosts env var.\n\n10. **Vercel CLI not authenticated**: If `vercel projects ls` fails with \"token not valid\", the user needs to run `vercel login` or provide a token from `vercel.com\u002Faccount\u002Ftokens`.\n\n11. **Supabase connection string format varies by project**: Newer Supabase projects use `postgres.[project-ref]` as the username in the pooler URI, but some projects reject this and expect just `postgres`. The pooler hostname also varies by AWS region. Always get the exact connection string from **Supabase Dashboard → Settings → Database → Connection string → Transaction mode**. Three formats exist:\n    - **Pooler Transaction** (recommended for serverless): `postgresql:\u002F\u002Fpostgres.[ref]:pw@aws-0-[region].pooler.supabase.com:6543\u002Fpostgres`\n    - **Pooler Session**: `postgresql:\u002F\u002Fpostgres.[ref]:pw@aws-0-[region].pooler.supabase.com:5432\u002Fpostgres`\n    - **Direct**: `postgresql:\u002F\u002Fpostgres.[ref]:pw@db.[ref].supabase.co:5432\u002Fpostgres`\n\n    See `references\u002Fsupabase-connection-troubleshooting.md` for full diagnostics and failure modes.\n\n    Diagnostic command to verify connectivity:\n    ```bash\n    timeout 5 nc -zv aws-0-us-east-2.pooler.supabase.com 6543\n    ```\n\n12. **Supabase free-tier database pauses after inactivity**: If a page that queries the DB returns 500 or times out while static pages (login form, robots.txt) work fine, the database is likely paused. Fix: go to Supabase Dashboard → Database → click **Restore\u002FResume**. Free-tier projects pause after ~1 week of no requests. Symptom: homepage hangs for 50 seconds (Vercel timeout), but login\u002Fregister pages (no DB on GET) return 200.\n\n13. **Special characters in DB password break connection strings**: Characters like `\u002F\u002F`, `@`, `#`, `%` in the Supabase password must be URL-encoded in the `DATABASE_URL`. For example, `Ma2\u002F\u002Fmacpx20` → `Ma2%2F%2Fmacpx20`. The `dj-database-url` library does NOT auto-encode — the env var must contain the encoded form. Test with:\n    ```python\n    import urllib.parse\n    print(urllib.parse.quote('Ma2\u002F\u002Fmacpx20', safe=''))  # Ma2%2F%2Fmacpx20\n    ```\n    ⚠️ **Users often typo passwords when sharing in chat.** If the user shares credentials in a file attachment AND in chat, ALWAYS prefer the file — attachments are more reliable.\n\n14. **DB connection timeout causes Vercel 50s timeout**: If the Supabase pooler is unreachable (wrong region, paused, DNS issue), the Django request hangs until Vercel's 50-second limit kills it. Always set connection timeouts in `settings.py`:\n    ```python\n    _db_config.setdefault(\"OPTIONS\", {})\n    _db_config[\"OPTIONS\"].setdefault(\"connect_timeout\", 5)\n    _db_config[\"OPTIONS\"].setdefault(\"options\", \"-c statement_timeout=10000\")\n    ```\n\n15. **Vercel Lambda CANNOT do IPv6**. This is the #1 blocker for new Supabase projects. If `db.[REF].supabase.co` only has an AAAA record (IPv6), Vercel serverless functions will fail with \"Cannot assign requested address\". **You MUST use the pooler connection**, not direct. If the pooler also fails (see pitfall #16), the user must either: (a) enable the Supabase IPv4 add-on ($1\u002Fmo), or (b) wait for the pooler to be provisioned (can take hours for new projects).\n\n16. **New Supabase projects may lack pooler provision**. Symptom: every pooler region returns \"tenant\u002Fuser [REF] not found\" (ENOTFOUND) and direct connection is IPv6-only. This means neither path works from Vercel. Diagnostic sequence:\n    ```bash\n    # Check if pooler exists\n    for region in us-east-1 us-east-2 eu-west-1; do\n      timeout 3 python3 -c \"import psycopg2; psycopg2.connect('postgresql:\u002F\u002Fpostgres.[REF]:pw@aws-0-${region}.pooler.supabase.com:6543\u002Fpostgres?sslmode=require', connect_timeout=3)\" 2>&1 | head -1\n    done\n    ```\n    If ALL return \"tenant not found\" (not timeout), the pooler isn't provisioned. Fix: go to Supabase Dashboard → Database → check if \"Connection pooling\" section exists. If not, the pooler may need to be enabled or the project needs time.\n\n17. **Diagnosing DB connectivity from Vercel**: When the homepage times out but static pages work, it's almost certainly a DB connection issue. Quick diagnostic sequence:\n    1. Check if Supabase REST API responds: `curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" https:\u002F\u002F[project].supabase.co\u002Frest\u002Fv1\u002F` (401 = project alive, 503 = paused)\n    2. Check pooler port: `nc -zv aws-0-us-east-2.pooler.supabase.com 6543`\n    3. Verify connection string locally: `python3 -c \"import psycopg2; psycopg2.connect('[DATABASE_URL]', connect_timeout=5)\"`\n    4. Check Vercel logs: `vercel logs --environment production --level error --limit 10`\n\n18. **Supabase credential confusion — multiple key formats exist**. The Supabase dashboard and API show several different credential types that are easy to confuse:\n    | Key Type | Format | Used For |\n    |----------|--------|----------|\n    | `anon` (JWT) | `eyJhbG...` | Client-side PostgREST |\n    | `service_role` (JWT) | `eyJhbG...` | Admin PostgREST, DB access |\n    | `publishable` | `sb_publishable_...` | Supabase Management API |\n    | `secret` | `sb_secret_...` | Supabase Management API |\n    | Legacy JWT secret | Base64 string | Token signing verification |\n    \n    **For Django DATABASE_URL**, only the **PostgreSQL connection string** matters (from Settings → Database → Connection string tab). The JWT keys are for PostgREST\u002FREST API, NOT for direct DB connections.\n\n## Verification Checklist\n\n- [ ] Django admin loads at `\u002Fadmin\u002F`\n- [ ] API endpoints return JSON (not 500)\n- [ ] Static files load (CSS, JS, images)\n- [ ] Database connection works (check admin data)\n- [ ] Media uploads work (if using Cloudinary\u002Flocal)\n- [ ] HTTPS enforced (redirects HTTP → HTTPS)\n- [ ] `DJANGO_DEBUG=False` in production\n","# Django Deployment (Vercel + Supabase)\n\nDeploy a Django application to Vercel's serverless platform with Supabase PostgreSQL as the database backend.\n\n## When to Use\n\n- Migrating a Django app off Render \u002F Heroku \u002F traditional VPS\n- Deploying a Django REST API that needs PostgreSQL\n- Replacing sqlite3 dev databases with production PostgreSQL\n- User's hosting subscription (e.g. Render) has expired and they need a free\u002Fcheap alternative\n\n## Prerequisites\n\n- **Vercel CLI** installed and authenticated (`vercel login` or VERCEL_TOKEN env)\n- **Supabase account** with an access token (from supabase.com\u002Fdashboard\u002Faccount\u002Ftokens)\n- **GitHub repo** for the project (Vercel links to GitHub)\n- **Python 3.11+** project with Django\n\n## Step-by-Step Workflow\n\n### Phase 1 — Prepare the Codebase\n\n#### 1a. Fix the `api\u002F` directory conflict\n\nVercel treats every `.py` file in an `api\u002F` directory as a serverless function endpoint. If your Django app has an `api\u002F` app, rename it to avoid conflict:\n\n```bash\ncd \u002Fpath\u002Fto\u002Fproject\nmv api api_app\nmkdir -p api\ntouch api\u002F__init__.py\n```\n\nThen update all references:\n\n| File | Change |\n|------|--------|\n| `backend\u002Fsettings.py` — `INSTALLED_APPS` | `\"api\"` → `\"api_app\"` |\n| `backend\u002Fsettings.py` — LOGGING logger name | `\"api\"` → `\"api_app\"` |\n| `backend\u002Furls.py` | `include('api.urls')` → `include('api_app.urls')` |\n| `api_app\u002Fapps.py` | `name = 'api'` → `name = 'api_app'` |\n| Any migration files referencing `'api'` | Update to `'api_app'` |\n\nThe remaining `api\u002F` directory now contains only the Vercel handler (below).\n\n#### 1b. Create `api\u002Findex.py` — Vercel WSGI handler\n\n```python\nimport os\nimport sys\n\n# Add project root to path\nproject_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))\nsys.path.insert(0, project_root)\n\n# Set Django settings module\nos.environ.setdefault(\"DJANGO_SETTINGS_MODULE\", \"backend.settings\")\n\n# Build-time SECRET_KEY fallback (Vercel replaces at runtime with real env var)\nif not os.environ.get(\"DJANGO_SECRET_KEY\"):\n    os.environ[\"DJANGO_SECRET_KEY\"] = \"build-time-fallback-insecure-key\"\n\n# Bootstrap Django\nimport django\ndjango.setup()\n\n# WSGI application\nfrom django.core.wsgi import get_wsgi_application\napplication = get_wsgi_application()\n\n# Vercel Python Runtime handler using serverless-wsgi\nfrom serverless_wsgi import handle\n\ndef handler(request, context=None):\n    return handle(application, request, context)\n```\n\n#### 1c. Create `vercel.json`\n\n> **⚠️ Vercel CLI v54+ uses a new \"services\" architecture** that auto-detects Django and rejects the old top-level `buildCommand`\u002F`functions`\u002F`outputDirectory` format. The template below works on both old and new CLI versions. See `references\u002Fvercel-services-migration.md` for the full migration story.\n\n**Recommended** — use the services format and skip `collectstatic` (whitenoise serves static files at runtime):\n\n```json\n{\n  \"version\": 2,\n  \"services\": {\n    \"jengaconnect\": {\n      \"root\": \".\",\n      \"entrypoint\": \"api\u002Findex.py\",\n      \"runtime\": \"python\",\n      \"buildCommand\": \"echo 'Static files served by whitenoise at runtime'\"\n    }\n  },\n  \"rewrites\": [\n    {\n      \"source\": \"\u002F(.*)\",\n      \"destination\": {\n        \"type\": \"service\",\n        \"service\": \"jengaconnect\"\n      }\n    }\n  ],\n  \"headers\": [\n    {\n      \"source\": \"\u002F(.*)\",\n      \"headers\": [\n        { \"key\": \"X-Content-Type-Options\", \"value\": \"nosniff\" },\n        { \"key\": \"X-Frame-Options\", \"value\": \"DENY\" },\n        { \"key\": \"Referrer-Policy\", \"value\": \"strict-origin-when-cross-origin\" }\n      ]\n    }\n  ]\n}\n```\n\n**Critical differences from old format:**\n- `\"runtime\": \"python\"` (NOT `\"python3.12\"` — v54 rejects version suffixes)\n- No `maxDuration`, `config`, or `outputDirectory` inside `services` block\n- `installCommand` inside the services block IS valid (contrary to some docs)\n- `routes` → `rewrites` with `{\"type\": \"service\", \"service\": \"\u003Cname>\"}` destinations\n- The service name (here `jengaconnect`) must match when referenced in rewrites\n\n**Alternative — old format** (still works on Vercel CLI \u003C v54):\n```json\n{\n  \"buildCommand\": \"pip install -r requirements.txt && python manage.py collectstatic --noinput\",\n  \"outputDirectory\": \"staticfiles\",\n  \"framework\": null,\n  \"functions\": {\n    \"api\u002F**\u002F*.py\": { \"runtime\": \"python3.12\", \"maxDuration\": 60 }\n  },\n  \"routes\": [\n    { \"src\": \"\u002Fstatic\u002F(.*)\", \"dest\": \"\u002Fstatic\u002F$1\" },\n    { \"src\": \"\u002Fmedia\u002F(.*)\", \"dest\": \"\u002Fmedia\u002F$1\" },\n    { \"src\": \"\u002F(.*)\", \"dest\": \"\u002Fapi\u002Findex.py\" }\n  ]\n}\n```\n\n#### 1d. Add `serverless-wsgi` to requirements\n\n```txt\nserverless-wsgi==2.0.0\n```\n\n#### 1e. Update `.gitignore`\n\nAdd Vercel artifacts:\n\n```txt\n.vercel\n.vercelignore\n```\n\n### Phase 2 — Set Up Supabase PostgreSQL\n\n#### 2a. Get Supabase access token\n\nDirect user to: **https:\u002F\u002Fsupabase.com\u002Fdashboard\u002Faccount\u002Ftokens**\n→ Generate New Token (name it after the project, e.g. `JENGA-CONNECT-Deploy`)\n→ Copy the `sbp_...` token\n\n#### 2b. Sign in with Supabase CLI (if available)\n\n```bash\nsupabase login --token sbp_xxxxx\n```\n\nIf Supabase CLI is not installed, have the user create a project manually at:\nhttps:\u002F\u002Fsupabase.com\u002Fdashboard\u002Fprojects → New Project → pick region closest to users (e.g. **South Africa** for Tanzania) → note the database password\n\n#### 2c. Get the PostgreSQL connection string\n\n```bash\nsupabase projects list\nsupabase projects create JENGA-CONNECT --org-id \u003Corg>\n```\n\nOr from the dashboard: Project Settings → Database → Connection string → **Transaction mode** tab\n\n> ⚠️ **Copy the exact URI from the dashboard** — don't construct it manually. The format varies:\n> - Some projects: `postgresql:\u002F\u002Fpostgres.[REF]:[PASSWORD]@aws-0-[region].pooler.supabase.com:6543\u002Fpostgres`\n> - Others: `postgresql:\u002F\u002Fpostgres:[PASSWORD]@aws-0-[region].pooler.supabase.com:6543\u002Fpostgres`\n>\n> URL-encode special characters in the password (`\u002F\u002F` → `%2F%2F`, `@` → `%40`, etc.).\n\nThe connection string goes into Vercel env as `DATABASE_URL`.\n\n### Phase 3 — Deploy to Vercel\n\n#### 3a. Set Vercel environment variables\n\n```bash\nvercel env add DATABASE_URL\nvercel env add DJANGO_SECRET_KEY  # generate: python -c 'import secrets; print(secrets.token_urlsafe(64))'\nvercel env add DJANGO_DEBUG False\nvercel env add DJANGO_ALLOWED_HOSTS \".vercel.app,jengaconnect.cc\"\nvercel env add DJANGO_SECURE_SSL_REDIRECT True\n```\n\nMark production-only variables as \"Production\" scope.\n\n#### 3b. Deploy\n\n```bash\nvercel --prod\n```\n\nFirst deploy will likely fail on `collectstatic` if SECRET_KEY is missing — the build-time fallback in `api\u002Findex.py` handles this. After first deploy succeeds, verify:\n\n- Health check: `curl https:\u002F\u002Fproject.vercel.app\u002F`\n- Django admin: `https:\u002F\u002Fproject.vercel.app\u002Fadmin\u002F`\n- API endpoints: `https:\u002F\u002Fproject.vercel.app\u002Fapi\u002F`\n\n### Phase 4 — Database Migrations\n\nAfter deploy, run migrations:\n\n```bash\nvercel env pull .env.production  # pulls production env vars\npython manage.py migrate --run-syncdb\n```\n\nOr use Vercel CLI's `vc run` for one-off commands (if supported):\n\n```bash\nvercel run python manage.py migrate\n```\n\n### Phase 5 — Custom Domain (Optional)\n\n```bash\nvercel domains add jengaconnect.cc\n# Add CNAME record at your DNS provider pointing to cname.vercel-dns.com\n```\n\n## Environment Variables Reference\n\n| Variable | Required | Description | Example |\n|----------|----------|-------------|---------|\n| `DATABASE_URL` | ✅ | PostgreSQL connection string from Supabase | `postgresql:\u002F\u002Fpostgres:xxx@db.xxx.supabase.co:5432\u002Fpostgres` |\n| `DJANGO_SECRET_KEY` | ✅ | Django secret (64+ chars, random) | `python -c 'import secrets; print(secrets.token_urlsafe(64))'` |\n| `DJANGO_DEBUG` | ✅ | Must be `False` for production | `False` |\n| `DJANGO_ALLOWED_HOSTS` | ✅ | Comma-separated allowed hosts | `.vercel.app,yourdomain.cc` |\n| `DJANGO_SECURE_SSL_REDIRECT` | ✅ | Enforce HTTPS | `True` |\n| `DJANGO_CSRF_TRUSTED_ORIGINS` | ⬜ | Comma-separated HTTPS origins for CSRF | `https:\u002F\u002Fyourdomain.cc,https:\u002F\u002Fproject.vercel.app` |\n| `DJANGO_CORS_ALLOWED_ORIGINS` | ⬜ | Comma-separated HTTPS origins for CORS | `https:\u002F\u002Fyourdomain.cc,https:\u002F\u002Fproject.vercel.app` |\n| `USE_LOCAL_CACHE` | ⬜ | `true` to use LocMemCache instead of Redis | `true` |\n| `FRONTEND_URL` | ⬜ | Canonical domain for payment callbacks | `https:\u002F\u002Fyourdomain.cc` |\n| `CLOUDINARY_CLOUD_NAME` | ⬜ | If using Cloudinary media storage | — |\n| `CLOUDINARY_API_KEY` | ⬜ | Cloudinary API key | — |\n| `CLOUDINARY_API_SECRET` | ⬜ | Cloudinary API secret | — |\n| `STRIPE_PUBLIC_KEY` | ⬜ | Stripe publishable key (if integrating) | `pk_live_...` |\n| `STRIPE_SECRET_KEY` | ⬜ | Stripe secret key | `sk_live_...` |\n| `STRIPE_WEBHOOK_SECRET` | ⬜ | Stripe webhook signing secret | `whsec_...` |\n\nSet env vars with: `vercel env add \u003CVAR_NAME> production \u003C\u003C\u003C \"\u003Cvalue>\"`\n\n## Common Pitfalls\n\n1. **`api\u002F` app conflict**: Vercel treats every `.py` in `api\u002F` as a serverless function. If Django has an `api` app, rename it to `api_app` before deploying. Undetected until deploy time when import errors appear.\n\n2. **Build-time SECRET_KEY not set**: Django's `collectstatic` runs during build and needs `DJANGO_SECRET_KEY`. The handler must set a build-time fallback before `django.setup()`. Also add a fallback in `settings.py` itself: `SECRET_KEY = os.getenv(\"DJANGO_SECRET_KEY\") or \"build-time-fallback\"`.\n\n3. **Vercel CLI v54+ auto-detection rejects old vercel.json**: The new CLI auto-detects Django and tries to create a `services` config. Top-level `buildCommand`, `functions`, `outputDirectory`, `installCommand` conflict with this. Use the services format (see section 1c above) or create the project first with `vercel project add \u003Cname>` then link with `vercel link --project \u003Cname>`.\n\n4. **Vercel project name too long**: When auto-detection tries to create a project from the directory name, the generated name can exceed Vercel's 100-char limit. Fix: create the project explicitly first (`vercel project add shortname`) then link it (`vercel link --project shortname`).\n\n5. **`collectstatic` fails during build**: The `DATABASE_URL` env var may have a placeholder password during build, causing `dj_database_url.config()` to crash at import time. Fix: guard the database config in `settings.py`:\n   ```python\n   _db_url = os.getenv(\"DATABASE_URL\", \"\")\n   if _db_url and \"placeholder\" not in _db_url:\n       DATABASES = {\"default\": dj_database_url.config(default=_db_url)}\n   else:\n       DATABASES = {\"default\": {\"ENGINE\": \"django.db.backends.sqlite3\", \"NAME\": BASE_DIR \u002F \"db.sqlite3\"}}\n   ```\n   Or skip `collectstatic` entirely in the build command and let whitenoise serve static files at runtime.\n\n6. **Static files 404**: Ensure `whitenoise` is in middleware (`SecurityMiddleware` first, then `WhiteNoiseMiddleware`) and `STATIC_ROOT` \u002F `STATICFILES_STORAGE` are configured.\n\n7. **SQLite vs PostgreSQL**: The production `DATABASE_URL` points to Supabase PostgreSQL. Local `.env` may use sqlite3 — the `dj-database-url` config picks whichever `DATABASE_URL` is set.\n\n8. **Database not migrated**: Vercel deploys the app but doesn't run `migrate`. Must be done manually or via a post-deploy hook.\n\n9. **DisallowedHost error**: After first deploy, Django returns 400 \"DisallowedHost\" if the Vercel staging URL isn't in `DJANGO_ALLOWED_HOSTS`. Add `.vercel.app` plus your custom domain to the allowed hosts env var.\n\n10. **Vercel CLI not authenticated**: If `vercel projects ls` fails with \"token not valid\", the user needs to run `vercel login` or provide a token from `vercel.com\u002Faccount\u002Ftokens`.\n\n11. **Supabase connection string format varies by project**: Newer Supabase projects use `postgres.[project-ref]` as the username in the pooler URI, but some projects reject this and expect just `postgres`. The pooler hostname also varies by AWS region. Always get the exact connection string from **Supabase Dashboard → Settings → Database → Connection string → Transaction mode**. Three formats exist:\n    - **Pooler Transaction** (recommended for serverless): `postgresql:\u002F\u002Fpostgres.[ref]:pw@aws-0-[region].pooler.supabase.com:6543\u002Fpostgres`\n    - **Pooler Session**: `postgresql:\u002F\u002Fpostgres.[ref]:pw@aws-0-[region].pooler.supabase.com:5432\u002Fpostgres`\n    - **Direct**: `postgresql:\u002F\u002Fpostgres.[ref]:pw@db.[ref].supabase.co:5432\u002Fpostgres`\n\n    See `references\u002Fsupabase-connection-troubleshooting.md` for full diagnostics and failure modes.\n\n    Diagnostic command to verify connectivity:\n    ```bash\n    timeout 5 nc -zv aws-0-us-east-2.pooler.supabase.com 6543\n    ```\n\n12. **Supabase free-tier database pauses after inactivity**: If a page that queries the DB returns 500 or times out while static pages (login form, robots.txt) work fine, the database is likely paused. Fix: go to Supabase Dashboard → Database → click **Restore\u002FResume**. Free-tier projects pause after ~1 week of no requests. Symptom: homepage hangs for 50 seconds (Vercel timeout), but login\u002Fregister pages (no DB on GET) return 200.\n\n13. **Special characters in DB password break connection strings**: Characters like `\u002F\u002F`, `@`, `#`, `%` in the Supabase password must be URL-encoded in the `DATABASE_URL`. For example, `Ma2\u002F\u002Fmacpx20` → `Ma2%2F%2Fmacpx20`. The `dj-database-url` library does NOT auto-encode — the env var must contain the encoded form. Test with:\n    ```python\n    import urllib.parse\n    print(urllib.parse.quote('Ma2\u002F\u002Fmacpx20', safe=''))  # Ma2%2F%2Fmacpx20\n    ```\n    ⚠️ **Users often typo passwords when sharing in chat.** If the user shares credentials in a file attachment AND in chat, ALWAYS prefer the file — attachments are more reliable.\n\n14. **DB connection timeout causes Vercel 50s timeout**: If the Supabase pooler is unreachable (wrong region, paused, DNS issue), the Django request hangs until Vercel's 50-second limit kills it. Always set connection timeouts in `settings.py`:\n    ```python\n    _db_config.setdefault(\"OPTIONS\", {})\n    _db_config[\"OPTIONS\"].setdefault(\"connect_timeout\", 5)\n    _db_config[\"OPTIONS\"].setdefault(\"options\", \"-c statement_timeout=10000\")\n    ```\n\n15. **Vercel Lambda CANNOT do IPv6**. This is the #1 blocker for new Supabase projects. If `db.[REF].supabase.co` only has an AAAA record (IPv6), Vercel serverless functions will fail with \"Cannot assign requested address\". **You MUST use the pooler connection**, not direct. If the pooler also fails (see pitfall #16), the user must either: (a) enable the Supabase IPv4 add-on ($1\u002Fmo), or (b) wait for the pooler to be provisioned (can take hours for new projects).\n\n16. **New Supabase projects may lack pooler provision**. Symptom: every pooler region returns \"tenant\u002Fuser [REF] not found\" (ENOTFOUND) and direct connection is IPv6-only. This means neither path works from Vercel. Diagnostic sequence:\n    ```bash\n    # Check if pooler exists\n    for region in us-east-1 us-east-2 eu-west-1; do\n      timeout 3 python3 -c \"import psycopg2; psycopg2.connect('postgresql:\u002F\u002Fpostgres.[REF]:pw@aws-0-${region}.pooler.supabase.com:6543\u002Fpostgres?sslmode=require', connect_timeout=3)\" 2>&1 | head -1\n    done\n    ```\n    If ALL return \"tenant not found\" (not timeout), the pooler isn't provisioned. Fix: go to Supabase Dashboard → Database → check if \"Connection pooling\" section exists. If not, the pooler may need to be enabled or the project needs time.\n\n17. **Diagnosing DB connectivity from Vercel**: When the homepage times out but static pages work, it's almost certainly a DB connection issue. Quick diagnostic sequence:\n    1. Check if Supabase REST API responds: `curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" https:\u002F\u002F[project].supabase.co\u002Frest\u002Fv1\u002F` (401 = project alive, 503 = paused)\n    2. Check pooler port: `nc -zv aws-0-us-east-2.pooler.supabase.com 6543`\n    3. Verify connection string locally: `python3 -c \"import psycopg2; psycopg2.connect('[DATABASE_URL]', connect_timeout=5)\"`\n    4. Check Vercel logs: `vercel logs --environment production --level error --limit 10`\n\n18. **Supabase credential confusion — multiple key formats exist**. The Supabase dashboard and API show several different credential types that are easy to confuse:\n    | Key Type | Format | Used For |\n    |----------|--------|----------|\n    | `anon` (JWT) | `eyJhbG...` | Client-side PostgREST |\n    | `service_role` (JWT) | `eyJhbG...` | Admin PostgREST, DB access |\n    | `publishable` | `sb_publishable_...` | Supabase Management API |\n    | `secret` | `sb_secret_...` | Supabase Management API |\n    | Legacy JWT secret | Base64 string | Token signing verification |\n    \n    **For Django DATABASE_URL**, only the **PostgreSQL connection string** matters (from Settings → Database → Connection string tab). The JWT keys are for PostgREST\u002FREST API, NOT for direct DB connections.\n\n## Verification Checklist\n\n- [ ] Django admin loads at `\u002Fadmin\u002F`\n- [ ] API endpoints return JSON (not 500)\n- [ ] Static files load (CSS, JS, images)\n- [ ] Database connection works (check admin data)\n- [ ] Media uploads work (if using Cloudinary\u002Flocal)\n- [ ] HTTPS enforced (redirects HTTP → HTTPS)\n- [ ] `DJANGO_DEBUG=False` in production\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":36,"description":7},"Hermes","1.0.0",{"hermes":27},{"tags":28},[29,30,31,32,33,34,35],"Django","Vercel","Supabase","PostgreSQL","Deployment","Python","DevOps",[37,38],"linux","macos","main","1f420fcb3f20524e8a830b9d010e0c0ee312d437","hermes-backup\u002Fprofiles\u002Ffred_cto\u002Fskills\u002Fdevops\u002Fdjango-deployment","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel","I am a developer at UMG Africa and i have 2 years of software development also i engage with embedded softwares i am good in rust, cpp, python and kotlin","2026-08-16 18:04:02",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add abdullibrahim733-pixel\u002FEagle --skill django-deployment",{"tool":52,"command":53},"bunx","bunx skills add abdullibrahim733-pixel\u002FEagle --skill django-deployment",{"tool":55,"command":56},"pnpm","pnpm dlx skills add abdullibrahim733-pixel\u002FEagle --skill django-deployment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fprofiles\u002Ffred_cto\u002Fskills\u002Fdevops\u002Fdjango-deployment\u002FSKILL.md",true,[60,66,70,74,78],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fapi-directory-conflict.md","REFERENCE","参考文档",2296,"https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fprofiles\u002Ffred_cto\u002Fskills\u002Fdevops\u002Fdjango-deployment\u002Freferences\u002Fapi-directory-conflict.md",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fsupabase-connection-troubleshooting.md",6029,"https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fprofiles\u002Ffred_cto\u002Fskills\u002Fdevops\u002Fdjango-deployment\u002Freferences\u002Fsupabase-connection-troubleshooting.md",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fvercel-services-migration.md",3575,"https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fprofiles\u002Ffred_cto\u002Fskills\u002Fdevops\u002Fdjango-deployment\u002Freferences\u002Fvercel-services-migration.md",{"path":75,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":76,"sourceHtmlUrl":77},"templates\u002Fapi-index-py.txt",827,"https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fprofiles\u002Ffred_cto\u002Fskills\u002Fdevops\u002Fdjango-deployment\u002Ftemplates\u002Fapi-index-py.txt",{"path":79,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":80,"sourceHtmlUrl":81},"templates\u002Fvercel.json",706,"https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fprofiles\u002Ffred_cto\u002Fskills\u002Fdevops\u002Fdjango-deployment\u002Ftemplates\u002Fvercel.json",[83,90,97,104,111,118],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M78BBHAQCSZNG7HYMB97YG3Y","web-ui-verification","Verify web UIs via headless Chrome CDP, no vision needed.","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fskills\u002Fsoftware-development\u002Fweb-ui-verification\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M78BB60RHXBY2QV4TA9S917B","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M78BB16QRJZA9P3TXN5SHCQH","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M78BAY69B9JP3SK2NAF3EH2D","spike","Throwaway experiments to validate an idea before build.","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fskills\u002Fsoftware-development\u002Fspike\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M78BAVDMEBYN49PRDQ8QXTBJ","simplify-code","Parallel 4-agent cleanup of recent code changes.","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fskills\u002Fsoftware-development\u002Fsimplify-code\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M78BAE09PQ5RV5MSJN1S788A","scroll-driven-3d-websites","Scroll-scrubbed 3D promo sites (Three.js + GSAP).","https:\u002F\u002Fgithub.com\u002Fabdullibrahim733-pixel\u002FEagle\u002Fblob\u002Fmain\u002Fhermes-backup\u002Fskills\u002Fsoftware-development\u002Fscroll-driven-3d-websites\u002FSKILL.md",[],[]]