third-party-integrations
Use when a val talks to an external service — Slack, Discord, Telegram, Stripe, GitHub, Gmail, Google Sheets, Postgres/Supabase/Upstash/Neon, browser automation (Playwright, Browserbase, Kernel, Steel), web scraping, PDF generation, push notifications, RSS, or any other third-party API. Covers the required workflow (fetch the Val Town guide, get credentials, test, store secrets) and the catalog of available guides.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 1.6k
- Forks
- 468
01 前言 Front Matter
- name
- third-party-integrations
- triggers
- [ "integration", "third-party", "external", "service", "api", "slack", "discord", "telegram", "stripe", "github", "gmail", "sheets", "google", "neon", "postgres", "supabase", "upstash", "database", "playwright", "browser", "browserbase", "kernel", "steel", "browserless", "scraping", "scrape", "pdf", "rss", "push", "notification", "webhook" ]
- description
- Use when a val talks to an external service — Slack, Discord, Telegram, Stripe, GitHub, Gmail, Google Sheets, Postgres/Supabase/Upstash/Neon, browser automation (Playwright, Browserbase, Kernel, Steel), web scraping, PDF generation, push notifications, RSS, or any other third-party API. Covers the required workflow (fetch the Val Town guide, get credentials, test, store secrets) and the catalog of available guides.
03 SKILL.md 正文
Third-Party Integrations
When a val uses any external service, follow this order — do not skip steps and do not write integration code from training-data memory alone. Val Town's guides have platform-specific patterns and required workarounds that won't be in your training data.
Workflow
- Fetch the Val Town guide first. Guides live under
https://docs.val.town/guides/, but the slug isn't always just the service name — some are grouped under a category (e.g.databases/neon-postgres/,browser-automation/kernel/) or live on a sub-page (slack/agent/). Don't guess the URL: fetch the docs sitemap athttps://docs.val.town/sitemap-0.xml(it lists every docs URL), find theguides/…entry that matches the service, and fetch that page before writing any integration code. - Help the user get credentials. Provide direct links to create API keys or step-by-step OAuth setup instructions. Don't make the user hunt.
- Test the connection with a minimal script (a single fetch / SDK call that returns one record) before building features on top. This isolates auth/setup problems from feature bugs.
- Store secrets in env vars. Use
Deno.env.get("KEY_NAME")to read them, and document the required env vars in the README so the user (or anyone remixing the val) knows what to set. Whenever you reference an env var the user needs to set, show the raw, full URL to the prefilled Val Town env var editor on its own line, in this exact format:? Add KEY_NAME here: https://www.val.town/x/HANDLE/VAL_NAME/environment-variables?key=KEY_NAME. Keep the URL visible (not hidden behind link text) — it's the call-to-action.
Available guides
Services with dedicated guides today — not exhaustive, so use the sitemap from step 1 as the current source of truth:
- Messaging / chat: Slack, Discord, Telegram
- Payments: Stripe
- Email: Gmail (for sending via a user's account; for built-in mail use
std/emailinstead — see theemailskill) - Google: Google Sheets
- External databases: Neon Postgres, Supabase, Upstash (for SQLite use built-in
std/sqliteinstead — see thesqlite-storageskill) - Browser automation: Kernel (recommended for Playwright), Browserbase, Steel, Browserless
- Source control / webhooks: GitHub (including webhooks)
- Content / output: RSS feeds, PDF generation, web scraping
- Notifications: push notifications
- Auth: OAuth providers (for logging in with a Val Town account use
std/oauthinstead)
Why this matters
Integration code is the most common place models hallucinate. APIs change, auth flows get reworked, and platform constraints (no filesystem, no subprocess) break naive approaches. The Val Town guide is the source of truth for what currently works on the platform.
04 同仓库更多 Skills
deja-search
deja-vu memory — search the user's past AI coding sessions with the deja CLI. Holds what they already settled and never wrote into the repo (naming rules, banned or already-tried tools, required checks before merge, preferred values, who owns what). Use before your first edit in a task, before you call a change done or ready to merge, before you recommend a tool, library, design or reviewer, before re-debugging an error that may already be solved, when they say 'didn't we fix this before', 'what did we decide about X' or 'I already have that', and before telling them something on this machine does not exist.
deja-reflect
End-of-session reflection and memory curation with deja-vu. Review what was decided, what commands broke and what repaired them, and record durable project rules or decisions with deja remember so the next session starts with them.
revid
Make, edit, export and post AI videos with Revid (revid.ai) through the Revid MCP server. Use whenever the user wants a short-form or long-form video made (from an idea, a script, a URL, an article, a PDF, a tweet, a product page, their own clips, or a song), wants to find what is going viral on TikTok, YouTube, Instagram or X before making something, wants to edit or re-export an existing Revid project, generate a standalone AI image or clip, make a series episode, or publish and schedule a finished video to connected social accounts. Covers setup (hosted MCP with OAuth, or an API key), the 36 tools, credits, polling and the rules for publishing. Routes to the more specific revid-* skills when one fits.
review-study
Review a QuestionPunk survey before launch for wording, answer choices, branching, and missing settings. Use for check my survey or review this draft before publishing.
manage-study
Find QuestionPunk studies, check status, publish an explicitly requested draft, or retrieve its participant link. Use for find my survey, publish this study, or how many people responded.
create-study
Create a saved QuestionPunk survey draft from a research brief or edit specified questions. Use for requests such as make a customer feedback survey or shorten my onboarding study.