AGENTS.md — Repo Setup Playbook¶
You are a coding agent. The user has asked you to set up one of their portfolio repos using this toolkit. Read this whole file first, then follow the steps in order. Do not skip the "Ask the user" step.
Toolkit layout¶
<TOOLKIT> = the folder containing this file. Resolve it to an absolute path before running anything.
<projects folder>/
<TOOLKIT>/ ← this toolkit (generic, no project data)
AGENTS.md ← you are here (setup playbook)
repo-template/ ← mirrors a repo's layout: each file goes to the same path in <repo>
AGENTS.md → <repo>/AGENTS.md (runtime code/UI/security/test rules)
README.md → <repo>/README.md
CONTRIBUTING.md → <repo>/CONTRIBUTING.md
SECURITY.md → <repo>/SECURITY.md
CODE_OF_CONDUCT.md → <repo>/CODE_OF_CONDUCT.md
ACCESSIBILITY.md → <repo>/ACCESSIBILITY.md (web/UI repos only)
CITATION.cff → <repo>/CITATION.cff (research / academic repos only)
.zenodo.json → <repo>/.zenodo.json (research / academic repos only)
CHANGELOG.md → <repo>/CHANGELOG.md
.editorconfig → <repo>/.editorconfig
.coderabbit.yaml → <repo>/.coderabbit.yaml
docs/
PRD.md ARCHITECTURE.md DECISIONS.md SETUP.md DEPLOY.md
USAGE.md ← only if repo exposes a CLI, SDK/package, or public API
.github/
CODEOWNERS
labeler.yml
PULL_REQUEST_TEMPLATE.md
ISSUE_TEMPLATE/ bug_report.yml feature_request.yml config.yml
FUNDING.yml ← GitHub Sponsors (`github: [tanisheesh]`; omit on Client/Private repos)
renovate.json ← weekly dependency + OSV security update rules
workflows/
ci.yml ← lint / format / typecheck / build / unit+E2E test
codeql.yml ← SAST scanning (JS/TS + Python, free on public repos)
dependency-review.yml ← PR vulnerability & license gate
secret-scan.yml ← Gitleaks secret detection
labeler.yml ← auto-labels PRs by path
release.yml ← tag-based Release notes + GHCR Docker push + automatic Zenodo DOI minting
seo-ping.yml ← automatic IndexNow + Bing Webmaster indexing ping on deploy
ai-review.yml ← optional BYOK AI PR reviewer (disabled unless ENABLE_AI_REVIEW=true)
renovate.yml ← runs Renovate with custom bot user (BOT_TOKEN)
dependency-auto-merge.yml ← merges Renovate PRs once CI is green
maintenance-report.yml ← emails a weekly report (Deps + CodeQL + Secrets + CI)
stack-templates/ ← conditional templates (copy only what matches the stack)
vercel.json → <repo>/vercel.json (security headers)
render.yaml → <repo>/render.yaml (Render blueprint)
site-footer.tsx → <repo>/src/components/ui/site-footer.tsx (dynamic copyright + health + Sponsor + legal)
health-route.ts → <repo>/src/app/api/health/route.ts (standard health JSON contract)
openapi-route.ts → <repo>/src/app/api/openapi.json/route.ts (OpenAPI 3.1 spec)
api-docs-route.ts → <repo>/src/app/api-docs/route.ts (Scalar interactive API docs)
robots.ts → <repo>/src/app/robots.ts (Googlebot + AI crawlers + sitemap)
sitemap.ts → <repo>/src/app/sitemap.ts (canonical dynamic sitemap)
llms-route.ts → <repo>/src/app/llms.txt/route.ts (AI search markdown index)
indexnow-route.ts → <repo>/src/app/indexnow-key.txt/route.ts (Bing/ChatGPT IndexNow verification)
not-found.tsx → <repo>/src/app/not-found.tsx (real HTTP 404 page)
error.tsx → <repo>/src/app/error.tsx (graceful error boundary)
privacy-page.tsx → <repo>/src/app/privacy/page.tsx (grounded Privacy Policy)
terms-page.tsx → <repo>/src/app/terms/page.tsx (grounded Terms of Use)
playwright.config.ts → <repo>/playwright.config.ts
smoke.spec.ts → <repo>/tests/e2e/smoke.spec.ts (E2E + a11y + health + SEO + 404 + footer)
guidelines/
commit-style.md ← commit message format (mandatory)
dev-guidelines.md ← engineering, reusability, health/OpenAPI & git rules (mandatory)
ui-guidelines.md ← anti-AI-slop UI, footer & a11y rules (mandatory for UI)
security-guidelines.md ← app/API/LLM security rules (mandatory)
testing-guidelines.md ← 4-layer testing pyramid (mandatory)
seo-guidelines.md ← Google + AI search SEO & E-E-A-T rules (mandatory for public web apps)
launch-distribution.md ← OSS directories, Show HN, Peerlist, Awesome lists & Zenodo playbook
scripts/
setup-github-repo.ps1 ← GitHub metadata, ruleset, labels, security, secrets (incl. Zenodo & IndexNow)
setup-vercel-project.ps1 ← Vercel project runtime, security & region optimization
setup-subdomain.ps1 ← adds <sub>.tanisheesh.in on Vercel/Render + GoDaddy CNAME
setup-search-indexing.ps1 ← GoDaddy DNS TXT verify + IndexNow, Bing & Google Search Console sitemap submit
.env ← real API tokens. SECRET, gitignored (see Safety rules)
.env.example ← key names only
<repo>/ ← the repo you are setting up
Fixed values (same for every repo):
| Key | Value |
|---|---|
| GitHub owner | tanisheesh |
| Root domain | tanisheesh.in |
| Author | Tanish Poddar |
| GitHub Sponsors | https://github.com/sponsors/tanisheesh |
| Buy Me a Coffee | https://buymeacoffee.com/tanisheesh |
| ORCID iD (Research) | https://orcid.org/0009-0008-3809-4192 |
Safety rules (non-negotiable)¶
- Never print, log, echo, or commit any value from
<TOOLKIT>/.env. Don'tcatit. Load it only with the snippet in Step 5. - Never copy
<TOOLKIT>/.envinto a repo. Make sure.env*is in the repo's.gitignore(except.env.example). - Never invent facts in docs. Every claim (stack, features, numbers, decisions) must come from the code, config, git history, or the user. If unknown, ask or leave the section out.
- Don't overwrite existing docs blindly. If
README.md,AGENTS.md, ordocs/*.mdalready exist, merge useful existing content into the template structure. Never throw content away silently. - Commit locally. Do not push until the user approves.
- No force-push, no
git reset --hardonmain. - DNS changes need explicit user confirmation.
setup-subdomain.ps1overwrites any existing CNAME with the same name.
Step 1 — Understand & audit the repo¶
Read before writing anything:
package.json/pyproject.toml/requirements.txt/go.modetc. → stack, scripts, test runner, linter- Framework config (
next.config.*,vercel.json,render.yaml,Dockerfile,docker-compose.yml) → hosting + infra + security headers - DB schema (
prisma/schema.prisma, Drizzle, migrations, SQL files) → data model + indexes - API routes / handlers + UI components → check for:
- Code quality: file sizes > 300 lines,
pages/vsapp/, dead code,@ts-ignore, emptycatch {} - Reusability: duplicated UI/fetch blocks that belong in
components/ui/,hooks/, orlib/ - UI slop & site shell (if frontend exists): generic gradients/glows, emoji headings, fake stats, missing loading/empty/error states, broken mobile layout, missing dynamic copyright footer (
© <year> | Tanish Poddar — crafted with ❤+♥ Sponsor+Privacy/Terms) or missing live/api/healthstatus check (exempt Client Websites) - SEO, legal & core web routes (if public web app): missing SSR metadata/canonical/OG tags, missing
robots.txt(with AI crawlers allowed),sitemap.xml,/llms.txt, real HTTP404(not-found.tsx),error.tsx,/privacy, or/terms - API health & docs (if backend/API exists): missing
GET /api/health(or/health) route or missing interactive OpenAPI docs (/api-docsor FastAPI/docs) - Security: missing Zod/Pydantic validation, missing ownership/IDOR checks,
NEXT_PUBLIC_secret leaks, unverified webhooks - Testing: existing unit/integration/E2E tests and gaps
.env.exampleorprocess.env.*/os.environusages → required env vars- Any LLM calls → provider, model, prompts, response validation
- Existing
README.md/AGENTS.md/ docs → content to preserve git log --oneline -30→ what was built and when
Note concrete code/security/UI/test issues you discover — report them clearly or fix high-signal gaps if the user asked for hardening.
Step 2 — Collect values, then ask the user¶
Fill this table. Auto-detect what you can; ask the user for everything still blank, in a single message.
| Value | How to find it |
|---|---|
REPO_NAME |
git remote URL / folder name |
REPO_PROFILE |
Portfolio (public OSS/demo) · Research / Academic (Zenodo DOI) · OSS Package / CLI · Private Product · Client Website |
PROJECT_NAME |
display name (README title / package name), confirm with user |
ONE_LINE_DESCRIPTION |
draft from code, confirm with user |
LIVE_URL |
existing README / vercel.json / render.yaml / user (or N/A if CLI/library/private) |
PLATFORM |
Vercel · Render · Railway · GitHubPages · Custom (Firebase/Streamlit) · or none |
SUBDOMAIN |
prefix before .tanisheesh.in (skip for client custom domains or undeployed). Always ask, never guess |
VERCEL_PROJECT |
Vercel project slug (if Vercel). Ask |
VERCEL_REGION |
bom1 (default India) or co-located DB region (e.g. iad1 / sin1) |
RENDER_HOST |
<service>.onrender.com (if Render). Ask |
TARGET_HOST |
<id>.up.railway.app / custom CNAME target (if Railway or Custom). Ask |
BRAND_COLOR |
hex. Take it from the app's theme/tailwind config if present, else ask |
| Demo credentials | only if the live app needs login. Ask |
| Traction numbers | ask. Leave the section out if there are none |
| Sponsor platform | default enabled: GitHub Sponsors (github: [tanisheesh]) on Portfolio / OSS / Research repos; omit on Client/Private repos |
| Research / Zenodo? | ask if this repo should include CITATION.cff + .zenodo.json (ORCID 0009-0008-3809-4192) for Zenodo DOI archiving |
| Strict ruleset? | default is PR-enforced with admin bypass; ask if user wants strict PR-only (-StrictRuleset) |
Also ask: "Which steps should I run: docs & runtime AGENTS.md / web shell & SEO templates / GitHub metadata & scanning / Vercel settings / subdomain?" If the user already said, skip asking.
Repo Profiles (Adjust Standards by Type)¶
- Portfolio (default public):
GPL-3.0+ GitHub Sponsors (FUNDING.yml+ footer link + README badge),*.tanisheesh.in, SEO/AI-search & legal pages, full docs + promo demo + CodeQL/Gitleaks. - Research / Academic: Same as Portfolio/OSS plus
CITATION.cff+.zenodo.json(pre-filled with ORCID0009-0008-3809-4192) and Zenodo DOI badge slot on README Line 1. - Private Product: Omit
GPL-3.0& Sponsors; keep internal architecture/runbooks sharp; note CodeQL/Dependency Review skip unless GHAS is enabled; never expose stealth URLs/secrets. - Client Website: Preserve client branding, custom client domain, client footer/legal pages, and client license/copyright (do not force
GPL-3.0, Sponsors, or*.tanisheesh.in). - OSS Package / CLI: Include
docs/USAGE.mdwith install, flags/SDK signatures, GitHub Sponsors, and release/registry checklist; omit UI-only files if no frontend exists.
Step 3 — Write the docs & runtime coding contract¶
Copy each file from repo-template/ to the same relative path in the repo, then fill it (merging any useful facts from existing docs per Safety rule 4).
- Replace every
{{PLACEHOLDER}}with real values from Step 1–2. - Replace every
{{e.g. ...}}hint with the repo's real content. Don't leave example text from the template. - Delete all
<!-- ... -->comments in the final Markdown files (including the toolkit banner at the top). Keep the author footer (the centered "Tanish Poddar" block with Website / LinkedIn / GitHub / Email badges) at the bottom of every generated Markdown file, unchanged. - Delete sections that don't apply (e.g. "AI / LLM Design" if there's no LLM, "Traction" if no real numbers, "Demo" if no promo video exists yet).
- Ground every number in reality: Extract concrete limits, timeouts, rate limits, schema constraints, token caps, test counts, and measured timings directly from code/configs/tests. Never invent fake benchmarks or user numbers; drop or ask about anything unverified.
AGENTS.md(runtime):- Keep
AGENTS.mdtailored to this repo's real stack (e.g. remove Python lines if pure TS, or TS/UI lines if pure Python CLI), and fill the exactVerification Commands(lint,typecheck,build,test) frompackage.json/pyproject.toml. (Do not create a separateCLAUDE.mdin target repos —AGENTS.mdis the single runtime contract.) - README:
- Pick the logo from lucide.dev and inline its SVG paths.
- Keep the centered quick-link bar (
Live Demo · API Docs · Architecture · Setup · Decisions) under the tagline (dropping links that don't apply). - Badges (strict 2-row format, zero blue-line bug):
- ALWAYS write
<a href="..."><img ...></a>on ONE line with ZERO spaces/newlines between<a>,<img>, and</a>. - Line 1: uniform
shields.io(style=flat-square) status & metadata badges only (CI,CodeQL,License, plus optionalpkg.go.dev/PyPI/npmif published). - Line 2 (after
<br>): core tech stack actually used in this repo — NEVER put version numbers on tech badges (e.g.Next.js,Python,FastAPI— neverNext.js 16orPython 3.12).
- ALWAYS write
- Keep it crisp and showcase-oriented (~130–160 rendered lines max; no Quick Start / install walkthrough in
README.md— keep setup indocs/SETUP.mdand end-user usage indocs/USAGE.md). - If the project has a UI / product demo, optionally generate a launch video with
/brag(brag-output/brag.mp4) and embed it under Demo (recommended: drag-and-drop into GitHub to get auser-attachmentsinline video URL without bloating Git; or store a compact< 5MBdocs/assets/demo.mp4). Otherwise drop the Demo section cleanly. - In the Docs table, keep only rows for files that exist.
docs/depth (PRD, ARCHITECTURE, DECISIONS, SETUP, DEPLOY, optional USAGE):PRD.md: include quantified before/after baseline, Given/When/Then acceptance criteria, edge-case matrix, and unit economics/quota math.ARCHITECTURE.md: include Mermaid diagrams (flowchart,sequenceDiagram,erDiagram), full API contracts, DB schema/indexes, caching/idempotency, LLM internals (if any), and 10x/100x scale ceilings.DECISIONS.md: include side-by-side comparison tables and explicit reversal trigger thresholds.SETUP.md&DEPLOY.md: include full env matrix, seed/test commands, troubleshooting matrix, livecurlverification checks, zero-downtime migration notes, and incident playbooks.USAGE.md: include only when the repo ships a CLI, SDK/library, or public API; delete it for standard web apps.- CHANGELOG.md: build the first entry from
git log --onelineusing the emoji → section map in its comment. Use version1.0.0and today's date unless tags exist. - CONTRIBUTING.md / SECURITY.md / CODE_OF_CONDUCT.md / ACCESSIBILITY.md: fill placeholders (
project name,live URL, real install/check commands,.envvs.env.local, honest scope & accessibility limitations). KeepACCESSIBILITY.mdfor repos with a UI; delete it for pure CLI/backend repos. - Research / Academic repos (
CITATION.cff&.zenodo.json): keep and fill both files (ORCID0009-0008-3809-4192pre-populated) when the repo is a research prototype, simulation, ML/geospatial pipeline, or open-hardware artifact; delete both on non-research repos. - If the repo has no
.env.example, create one: variable names only, with empty values and a short comment on where to get each. - Make sure
.gitignorecovers.env,.env.local,.env.*.local, andbrag-output/(unless keeping raw/bragassets intentionally).
Step 3b — GitHub automation & stack templates¶
repo-template/.github/ & .coderabbit.yaml¶
| File | Adjust |
|---|---|
.coderabbit.yaml, .github/CODEOWNERS, PULL_REQUEST_TEMPLATE.md, ISSUE_TEMPLATE/* |
nothing (remove irrelevant path_instructions only if needed) |
.github/labeler.yml |
adjust folder globs if repo uses non-standard dirs (e.g. apps/web/**, apps/api/**) |
.github/workflows/ci.yml |
CI_DIRS: "auto" auto-discovers Node/Bun/pnpm, Python, Go, Flutter, and monorepo subdirs (backend, frontend, sdk, proxy-go, etc.). Override CI_DIRS only if needed, and add dummy build-time env: values if the build requires them |
.github/workflows/codeql.yml, dependency-review.yml, secret-scan.yml, labeler.yml, release.yml, seo-ping.yml, ai-review.yml |
auto-run on public repos; release.yml automatically builds & pushes ghcr.io/<owner>/<repo> when a root Dockerfile exists and mints Zenodo DOIs when .zenodo.json + ZENODO_TOKEN exist; seo-ping.yml automatically pings IndexNow + Bing when INDEXNOW_KEY is set. On private repos setup-github-repo.ps1 sets ENABLE_CODEQL / ENABLE_DEPENDENCY_REVIEW if GHAS is enabled |
.github/renovate.json, .github/workflows/renovate.yml |
nothing (auto-detects Node/Python/Docker/Actions; runs via BOT_TOKEN custom bot user). Remove any legacy .github/dependabot.yml or .github/workflows/dependabot-auto-merge.yml if present |
.github/workflows/dependency-auto-merge.yml |
nothing (AUTO_MERGE_MAJOR: "true" merges every update that passes CI) |
.github/workflows/maintenance-report.yml |
nothing. Email + alert secrets are set by setup-github-repo.ps1 |
.github/FUNDING.yml |
copy by default (github: [tanisheesh] + buy_me_a_coffee: tanisheesh) on Portfolio, OSS/CLI, and Research repos; omit on Client Websites and Private Products |
Keep any repo-specific custom workflows (e.g. bench.yml, release-sdk*.yml) untouched unless they use deprecated Node 20 actions.
stack-templates/ (Conditional)¶
- Vercel app without
vercel.jsonor security headers innext.config.*: copystack-templates/vercel.jsonto<repo>/vercel.json(merge ifvercel.jsonalready exists). - Render service without
render.yaml: optionally copy and fillstack-templates/render.yamlif the user manages infra via Blueprint. - Hosted portfolio web app missing footer, legal pages, error/404 shell, or
/api/health(skip personal footer/Sponsors on Client Websites): - Copy/adapt
stack-templates/health-route.ts→<repo>/src/app/api/health/route.ts(or equivalentGET /api/health/GET /healthin FastAPI/Flask/Express/Go) returning200({ status: "ok", ... }) /503withCache-Control: no-store. - Copy/adapt
stack-templates/site-footer.tsx→<repo>/src/components/ui/site-footer.tsxand wire it into the root layout (© <currentYear> | Tanish Poddar — crafted with ❤+ real live/api/healthcheck showing greenAll Systems Functional+Privacy/Terms/♥ Sponsor+ optionalAPI Docslink). - Copy/fill
stack-templates/not-found.tsx→<repo>/src/app/not-found.tsx(real HTTP404),stack-templates/error.tsx→<repo>/src/app/error.tsx,stack-templates/privacy-page.tsx→<repo>/src/app/privacy/page.tsx, andstack-templates/terms-page.tsx→<repo>/src/app/terms/page.tsx(or framework equivalents). - Public web app missing SEO & AI search baseline (see
guidelines/seo-guidelines.mdor run/vibe-seo): - Copy/fill
stack-templates/robots.ts→<repo>/src/app/robots.ts(unblocks Googlebot + AI crawlers, links sitemap),stack-templates/sitemap.ts→<repo>/src/app/sitemap.ts,stack-templates/llms-route.ts→<repo>/src/app/llms.txt/route.ts, andstack-templates/indexnow-route.ts→<repo>/src/app/indexnow-key.txt/route.ts. - Ensure
metadataBase, per-page titles (< 60chars), descriptions (150–160chars), self-referencing canonicals,1200×630OG/Twitter card, single<h1>, and truthful JSON-LD (SoftwareApplication/Person) exist in server-rendered HTML. - Web app / backend with API routes missing interactive OpenAPI docs:
- Next.js App Router: copy/fill
stack-templates/openapi-route.ts→<repo>/src/app/api/openapi.json/route.tsandstack-templates/api-docs-route.ts→<repo>/src/app/api-docs/route.ts(zero extra deps, Scalar viewer). - FastAPI: ensure built-in
/docs&/openapi.jsonhavetitle,description,contact(https://tanisheesh.in), and typed response schemas. - Express / Flask / Go: expose
/openapi.json+/api-docs(Scalar or Swagger UI) followingguidelines/dev-guidelines.md. (Skip on pure static client-only apps; auth-gate on Private/Client repos unless requested.) - Web frontend without E2E tests: propose/add
stack-templates/playwright.config.ts→<repo>/playwright.config.tsandstack-templates/smoke.spec.ts→<repo>/tests/e2e/smoke.spec.ts(replacingwebServer.commandand checking dependencies@playwright/test+@axe-core/playwright).
Before committing, make CI pass locally: run the exact lint, format, typecheck, build, and test commands ci.yml would run. If coderabbit CLI is installed locally (coderabbit --version), optionally run coderabbit review --agent --uncommitted (or --base main) before opening a PR. If an existing check fails, report it honestly — never "fix" it by deleting tests or checks.
Don't add a LICENSE file. The user manages licensing (always GPL-3.0).
Step 4 — Commit (follow guidelines/commit-style.md)¶
Format: <emoji> [#issue] [scope:] <present tense lowercase message>
Make atomic commits, for example:
📚 docs: add prd, architecture, decisions, setup and deploy
📚 rewrite readme with standard template
📚 add runtime agents.md, contributing, security, code of conduct and changelog
🔨 add pr, issue templates, codeowners, coderabbit and editorconfig
👷 add ci, codeql, secret-scan, dependency-review, labeler, renovate and maintenance report
🧪 add playwright smoke and a11y baseline
🔨 add .env.example and security headers config
🔒 gitignore env files
Don't push. Show the user git log --oneline of your new commits and wait for approval.
Step 5 — GitHub metadata, security & rulesets¶
High-Intent Topics (8–12 tags, max 20): Pick topics that bring actual users, developers, and traffic — NEVER use generic stack spam (nextjs, react, typescript, javascript, tailwindcss, html, css, nodejs, python, frontend, backend, fullstack, web-app, website, portfolio, project, ai).
Build topics from 4 buckets and verify exact GitHub curated / featured spelling via gh api "search/topics?q=<keyword>" first:
- Exact Problem / Use-Case (3–4): what users search to solve a problem (
api-monitoring,llm-observability,image-forensics,digital-twin,ai-code-review,mock-interview,flood-forecasting). - GitHub Curated Discovery Hubs (2–3): high-traffic curated pages (
self-hosted,developer-tools,code-quality,code-review,ai-agent,agentic-ai,generative-ai,claude-code,devsecops,computer-vision,automation). - Delivery Form / Buyer Intent (1–2): how people consume it (
cli-tool,python-sdk,npm-package,github-app,telegram-bot,desktop-app,mobile-app,local-first,repository-template). - Specialized Engine / Protocol ONLY (1–2): niche searchable tech (
opentelemetry,esp32,lorawan,mediapipe,lightgbm,sentinel-2,webgl,cadquery,mcp,playwright).
Your shell does not keep env vars between commands, so load credentials and run the script in the same command:
$cred = "<TOOLKIT>\.env"
Get-Content $cred | Where-Object { $_ -match '^\s*([A-Z_]+)\s*=\s*(.+)$' } |
ForEach-Object { [Environment]::SetEnvironmentVariable($Matches[1], $Matches[2].Trim(), 'Process') }
& "<TOOLKIT>\scripts\setup-github-repo.ps1" `
-Repo "<REPO_NAME>" `
-Description "<ONE_LINE_DESCRIPTION>" `
-Homepage "<LIVE_URL>" `
-Topics "problem-tag","use-case","curated-hub","delivery-form","niche-engine"
Add -StrictRuleset if the user wants strict PR-only merges without admin bypass. Omit -Homepage if there's no live URL.
The script configures:
- Description, homepage, topics, squash-only merge, auto-delete head branches, wiki off
- Dependabot alerts, private vulnerability reporting, Secret Scanning + Push Protection (and disables dependabot[bot] PRs when BOT_TOKEN is set so Renovate's custom bot handles updates cleanly)
- "Protect main" branch ruleset (ci required, linear history, no force-push/deletion)
- Standard labels + MAIL_USERNAME, MAIL_PASSWORD, ALERTS_TOKEN, BOT_TOKEN, BOT_USERNAME (plus optional REPORT_EMAIL / AI keys if filled in .env) and auto-invites/accepts the bot collaborator
Run this after the user has pushed, since the repo must exist on GitHub.
Step 6 — Vercel settings & Subdomain (only if deployed AND user confirmed values)¶
Load credentials exactly as in Step 5, then run:
# If deployed on Vercel — optimize runtime, security & region settings
& "<TOOLKIT>\scripts\setup-vercel-project.ps1" `
-Project "<VERCEL_PROJECT>" `
-RepoPath "<REPO_PATH>" `
-Region "<VERCEL_REGION>" `
-IgnoreDocsOnlyBuilds
# Subdomain CNAME wiring (Vercel / Render / Railway / GitHubPages / Custom)
& "<TOOLKIT>\scripts\setup-subdomain.ps1" -Subdomain "<SUBDOMAIN>" -Platform Vercel -VercelProject "<VERCEL_PROJECT>"
# OR
& "<TOOLKIT>\scripts\setup-subdomain.ps1" -Subdomain "<SUBDOMAIN>" -Platform Render -RenderHost "<RENDER_HOST>"
# OR
& "<TOOLKIT>\scripts\setup-subdomain.ps1" -Subdomain "<SUBDOMAIN>" -Platform Railway -TargetHost "<RAILWAY_HOST>"
# OR
& "<TOOLKIT>\scripts\setup-subdomain.ps1" -Subdomain "<SUBDOMAIN>" -Platform GitHubPages
# OR
& "<TOOLKIT>\scripts\setup-subdomain.ps1" -Subdomain "<SUBDOMAIN>" -Platform Custom -TargetHost "<CUSTOM_TARGET>"
# Search engine indexing (IndexNow + Bing Webmaster + Google Search Console sitemap submit)
& "<TOOLKIT>\scripts\setup-search-indexing.ps1" -SiteUrl "https://<SUBDOMAIN>.tanisheesh.in"
If a credential is missing (and no local CLI fallback exists), stop and tell the user which key is missing instead of hanging.
Step 7 — Verify and report¶
Check, then report to the user as a checklist:
-
README.md,AGENTS.md,CONTRIBUTING.md,SECURITY.md,CODE_OF_CONDUCT.md,CHANGELOG.md,ACCESSIBILITY.md(if UI repo),CITATION.cff+.zenodo.json(if Research repo), anddocs/PRD.md,ARCHITECTURE.md,DECISIONS.md,SETUP.md,DEPLOY.md(plusUSAGE.mdif CLI/SDK/API) exist, with no{{and no<!--left (grep -rn "{{\|<!--" *.md docs/) - README badges have zero inner whitespace inside
<a><img></a>(no stray blue underlines), Line 1 has uniformshields.iostatus/license/Sponsor badges, and Line 2 has tech stack names with no version numbers - Hosted web apps expose
GET /api/health(200 ok), real HTTP404(not-found.tsx),error.tsx,/privacy,/terms,robots.txt(AI crawlers allowed),sitemap.xml,/llms.txt, dynamic portfolio footer (© <year> | Tanish Poddar — crafted with ❤+♥ Sponsor+ liveAll Systems Functional, exempt on Client Websites), and interactive/api-docs(or FastAPI/docs) when API routes exist - Every generated Markdown doc ends with the author footer (name, website, LinkedIn, GitHub, email)
-
.coderabbit.yaml,.editorconfig,.github/CODEOWNERS,.github/FUNDING.yml(non-client/non-private),labeler.yml, PR/issue templates,renovate.json, and workflows (ci,codeql,dependency-review,secret-scan,labeler,release,renovate,dependency-auto-merge,maintenance-report) are configured - CI + test + security checks pass locally (or failures reported honestly to the user)
- After push: CI, CodeQL, and Secret Scan are green on GitHub, and a manual run of "Maintenance report" succeeds
- All README links resolve (docs files, live URL)
-
.env.examplepresent,.gitignorecovers env files, no secrets ingit diff --cached - Commits follow
guidelines/commit-style.md, not pushed yet -
setup-github-repo.ps1,setup-vercel-project.ps1(if Vercel), andsetup-subdomain.ps1output reported verbatim - List post-launch items for the user: launch kit copy + Tier-1 platform targets from
guidelines/launch-distribution.md(when asked to "launch this", draft the 5 Launch Kit blocks and optionally pre-fill Tier-1 directories via browser handoff), Zenodo/GHCR release tag (git tag v1.0.0 && git push origin v1.0.0), CodeRabbit app install (if first repo), traction numbers, or code/UI/SEO/test gaps discovered in Step 1
Report failures honestly with the exact error output. Don't mark a step done if it wasn't.