/si-coder:use-si-coderfrom si-coder
Legacy one-shot pipeline that auto-deploys full-stack apps (Next.js + self-hosted Convex) to Dokploy: creates GitHub repo, pushes via SSH, configures Docker Compose, wires Hostinger DNS, and polls deployment.
Ships in si-coder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/use-si-coder)This skill automates the entire lifecycle of creating a GitHub repository and deploying full-stack apps to a Dokploy server via the single monolithic scripts/deploy.js. It is the original one-shot pipeline; the modular /sc-* skills (/sc-all, /sc-dokploy, /sc-convex, …) now cover the same ground in surgical pieces, but this monolith remains supported.
To guarantee Zero Human Involvement (the user just wants to receive the final working URL):
@convex-dev/auth. ALWAYS include a docker-compose.yml for self-hosting Convex alongside the frontend.npx convex codegen inside the Dockerfile. You MUST generate the types locally (npx convex dev --once) and commit the convex/_generated folder to Git before deploying.npm install --yes --legacy-peer-deps. If a scaffolded template is too complex (bloated), wipe it and start fresh with npx create-next-app to avoid endless TypeScript errors.@convex-dev/auth, and use Clerk MCP (clerk at https://mcp.clerk.com/mcp) for SDK snippets and integration patterns.DOKPLOY_API_URL and DOKPLOY_API_KEY (usually stored in ~/.bashrc).GITHUB_TOKEN environment variable.HOSTINGER_API_TOKEN (optional but recommended for DNS automation). The script reads this directly from the environment.[email protected]) configured for pushing code.See the repo's .env.example for the full setup checklist.
When the user asks to deploy a project:
DOKPLOY_API_URL, DOKPLOY_API_KEY, and GITHUB_TOKEN (and HOSTINGER_API_TOKEN if DNS automation is wanted).docker-compose.yml that defines the frontend, backend (Convex DB), etc. (Or at least a Dockerfile for simple apps).flowchart TD
Start["scripts/deploy.js<br/>(cwd = your app)"] --> GH["GitHub: create private repo<br/>+ push via SSH"]
GH --> Guard{".env leak guard<br/>git check-ignore"}
Guard -->|secret unignored| Abort["ABORT before push"]
Guard -->|clean| Compose{"docker-compose.yml?"}
Compose -->|yes| CVX["Convex compose template (backend + dashboard)<br/>api-/site-/dash- DNS + domains<br/>+ INSTANCE_SECRET"]
CVX --> Key["generate admin key<br/>(health-poll) → Dokploy env"]
Key --> TLS["wait for valid TLS"]
TLS --> Schema["npx convex deploy<br/>(env-only, no argv)"]
Compose -->|no| Dockerfile{"Dockerfile?"}
Schema --> Dockerfile
Dockerfile -->|yes| App["Dokploy application (Next.js frontend)<br/>GitHub provider, PAT-less"]
App --> DNS["Hostinger A record<br/>main domain"]
DNS --> Poll["trigger deploy + poll status"]
Poll --> Done["live URL ✅"]
HOSTINGER_API_TOKEN is present in the environment, the script automatically adds A records for your main domain and Convex backend subdomains (api-, dash-, site-) pointing to your Dokploy server.convex compose template.Secrets are NEVER passed on the command line.
DOKPLOY_API_URL,DOKPLOY_API_KEY,GITHUB_TOKEN(and optionalHOSTINGER_API_TOKEN) are read only from the environment — never from argv — so they cannot leak viaps aux//proc/<pid>/cmdline. Export them in~/.bashrc(or run/sc-onboarding). Only the non-secret project/app/domain values are written on the command line, via flags.
scripts/deploy.js lives at the repo root (it imports ../lib/*), so run it from a clone of si-coder-agent. Point it at your project directory with cd first (it operates on the current working directory's git repo).
# 1. Secrets stay in env (exported once in ~/.bashrc):
# export DOKPLOY_API_URL=... DOKPLOY_API_KEY=... GITHUB_TOKEN=...
# (optional) export HOSTINGER_API_TOKEN=...
# 2. cd into the app you want to deploy:
cd ~/projects/<app_name>
# 3. Run the monolith from your si-coder-agent checkout — only NON-secret flags on argv:
node ~/path/to/si-coder-agent/scripts/deploy.js \
--project "<PROJECT_NAME>" --app "<APP_NAME>" --domain "<DOMAIN>"
The only command-line values you write by hand are <PROJECT_NAME>, <APP_NAME>, and <DOMAIN> — no secret occupies an argv slot. Two opt-in behaviors are gated behind environment variables (both unset by default): SC_ALLOW_FORCE_PUSH=1 appends --force to the git push (deploy.js ~541/615), and SC_ALLOW_REMOTE_REWRITE=1 permits rewriting a pre-existing local origin remote that points elsewhere (deploy.js ~578). Leave both unset unless you specifically need them.
Flags (all non-secret):
node scripts/deploy.js --project <PROJECT_NAME> --app <APP_NAME> [--domain <DOMAIN>]
# bare positionals also accepted (still no secrets): <PROJECT_NAME> <APP_NAME> [DOMAIN]
cd ~/projects/my-saas-app
node ~/path/to/si-coder-agent/scripts/deploy.js \
--project "my-project" --app "my-saas-app" --domain "myapp.example.com"
The script will:
GITHUB_TOKEN to create a new private repository named APP_NAME (skips if it already exists).convex/_generated), and git push to GitHub via SSH ([email protected]:<owner>/<app>.git).PROJECT_NAME.docker-compose.yml / Dockerfile. If a compose file exists, it deploys the Dokploy convex compose template (the Convex backend + dashboard — not the frontend) and sets the api-/site-/dash- DNS + backend domains before deploying the Convex schema. If a Dockerfile exists, it creates/updates a standard Dokploy Application — this is the path by which the Next.js frontend deploys separately (its main-domain DNS is set here)./github.githubProviders) and uses application.saveGithubProvider + sourceType: "github". If no provider exists, it falls back to a PAT-less public git URL (https://github.com/<owner>/<repo>.git, sourceType: "git") and warns that private repos then need an SSH deploy key / GitHub App configured in Dokploy. A PAT is never persisted into customGitUrl.DOMAIN (and the api-/site-/dash- backend domains for the compose path) in Dokploy, silently skipping any that already exist, then prune stale / *.traefik.me domains.npx convex deploy, then trigger the application deployment and poll until done / error.git add .)Before the script ever stages your project, it runs two guards. The first, ensureGitignoreSafety, runs before git init and inspects the repo root:
.gitignore exists and covers .env, .env.* (re-including .env.example), node_modules, .next, .DS_Store.git check-ignore) whether each discovered .env* file is actually ignored, so it honors negations, nested .gitignore files, and your global excludes — not a hand-rolled matcher. A trailing !.env / !.env.* re-include (which git's last-match-wins precedence would use to un-ignore your secrets) causes a hard abort..env / .env.<suffix> file at the project root (other than .env.example).id_rsa, *.pem, *.p12, *.key, serviceAccount*.json, …) it warns but does not abort — naming conventions vary, so you decide. If sensitive, add them to .gitignore before deploying.The second guard, scanNestedDotenvLeaks, runs after git init (so git check-ignore is authoritative) and walks the whole tree — because git add . stages every directory, not just the root (it skips .git/ and node_modules/):
.env / .env.* (e.g. apps/web/.env, convex/.env.local) — the same dotenv rule as the root guard, but tree-wide.id_rsa, *.pem, *.key, serviceAccount*.json, …) that git add . would otherwise stage. Add them to .gitignore if sensitive.If the deployment includes a self-hosted Convex backend, always generate or rotate the admin key from the running backend container, then update both places before finishing the task:
Never leave the backend container, Dokploy env, and local env file on different admin key values. If the dashboard rejects the key, assume the key belongs to a different backend instance and regenerate it from the active backend container.
@convex-dev/auth)Full @convex-dev/auth setup — generating JWT_PRIVATE_KEY + JWKS, the required backend env-var table, the PBKDF2 password-hashing override (Scrypt/bcrypt time out on the Dokploy proxy), the ConvexClientProvider "route auth:* via HTTP" pattern, the NEXT_PUBLIC_CONVEX_URL build-time Dockerfile gotcha, and "Connection lost while action was in flight" diagnosis — is owned by /sc-convex. Use its scripts/set-auth-env.js --generate (automated admin REST /api/update_environment_variables) instead of hand-rolling keys or a raw curl.
Caveat (progressive disclosure): scripts/deploy.js sets INSTANCE_SECRET, INSTANCE_NAME, CONVEX_CLOUD_ORIGIN, CONVEX_SITE_ORIGIN, and the Convex admin key on the compose env, but it does NOT auto-set JWT_PRIVATE_KEY / JWKS. A project using @convex-dev/auth will crash on signIn ("Connection lost while action was in flight") until you set those two on the backend via /sc-convex.
Auth file layout (kept here because /sc-convex doesn't spell it out):
convex/
├── auth.ts # convexAuth({ providers: [Password({...})] }) → exports auth, signIn, signOut, store, isAuthenticated
├── auth.config.ts # { providers: [{ domain: process.env.CONVEX_SITE_URL }] }
├── http.ts # httpRouter + auth.addHttpRoutes(http)
└── schema.ts # defineSchema({ ...authTables, ...featureTables })
For a port-exposed managed service or webapp that can run without DNS, domain configuration is an enhancement, not an install dependency:
http://<public-ip>:<port> as the fallback.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
auto-deploy, dokploy, convex, hostinger, fullstack-deployment
Generated from the plugin's indexed repository (rahmanef63/si-coder-agent) — no native marketplace selected
npx claudepluginhub p/rahmanef63-si-coder27 skills in this plugin
/scMain SI-Coder entry point for non-technical users. Turn a plain-language idea or existing web app into a working product, improve frontend quality across UI/UX/DX/AX, and publish it. Route automatically while keeping technical details optional./sc-allTurn a plain-language web-app goal into a working live app. Designed for non-technical users: choose architecture and hosting automatically, connect accounts safely, create/publish code, data, domain and verification end-to-end, delegate user-facing frontend quality to sc-fe, and expose technical details only when needed or requested./sc-axSI-Coder Agent Experience (AX) skill. Make projects, tools, workflows, and frontend actions easy for coding agents to discover, understand, invoke correctly, observe, recover, resume, and verify with low context/token waste./sc-buildBuild a web app from a plain-language idea for a non-technical user. Ask at most three short business/product questions one at a time, infer everything already stated, choose technical defaults automatically, create a first working version, gather product feedback, then publish through /sc-all./sc-cfCloudflare DNS automation — idempotent per-record A/AAAA/CNAME/TXT writes via the Cloudflare v4 API, DNS-only (grey cloud) by default so Let's Encrypt works. Use this provider whenever the domain's nameservers actually delegate to Cloudflare; it mirrors the lib/hostinger.js contract so /sc-all can swap providers. Workers/Pages/R2/tunnel still stubs./sc-clerk(STUB / NOT IMPLEMENTED YET) Clerk auth setup for projects that explicitly use Clerk instead of @convex-dev/auth. Configures instance, sets allowed origins, creates JWT template for Convex integration. Pairs with Clerk MCP (clerk @ mcp.clerk.com/mcp) for SDK snippet generation.Other plugins' skills for the same job