{
  "id": "skl_206345dba18f",
  "slug": "skill-netlify-functions",
  "asset_type": "skill",
  "name": "Netlify Functions Playbook",
  "tagline": "Guide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Net",
  "description_md": "### Overview & Capability Scope\n**Netlify Functions Playbook** (`skill-netlify-functions`) is a verified, portable `SKILL.md` playbook curated with **@gergelyorosz** for Grok Bot (`x.ai/bot/`), Claude Code (`~/.claude/skills/`), and Cursor (`.cursor/skills/`).\n\nGuide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Netlify Functions. Covers modern syntax\n\n### Required Stack & Tooling\n- **Primary Stack:** Netlify Platform, Edge Functions, Netlify CLI\n- **Category:** `finance-deals`\n- **Source & Reference:** [https://github.com/netlify/netlify-mcp](https://github.com/netlify/netlify-mcp)\n\n### Quickstart Installation\nInstall this `SKILL.md` playbook directly into your agent workspace:\n```bash\nnpx lightstate install skill-netlify-functions\n```\nOr copy the complete `SKILL.md` specification below into `.cursor/skills/skill-netlify-functions/SKILL.md` or `~/.claude/skills/skill-netlify-functions/SKILL.md`.\n\n### Verification Commands\n```bash\nnpx netlify status\nnpx netlify build --dry\nnpx netlify deploy --build\n```\n",
  "primary_category": "finance-deals",
  "categories_json": "[\"finance-deals\", \"skills\"]",
  "tags_json": "[\"netlify-platform\", \"edge-functions\", \"netlify-cli\", \"skill-md\", \"finance-deals\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Netlify Platform\", \"Edge Functions\", \"Netlify CLI\"]",
  "includes_json": "[]",
  "safety_level": "Read-Only / Ask-First",
  "safety_summary": "Verified capability blueprint by @gergelyorosz.",
  "share_url": "",
  "deep_link_uri": "",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "npx lightstate install skill-netlify-functions",
  "skill_markdown": "---\nname: netlify-functions\ndescription: Guide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Netlify Functions. Covers modern syntax Use when working with Netlify Platform, Edge Functions, Netlify CLI.\ntriggers:\n  - netlify functions\n  - netlify platform\n  - edge functions\n---\n\n# Netlify Functions Playbook\n\n## 1. When to Use This Skill\nLoad `skill-netlify-functions` whenever an engineering, architecture, or operations task involves **Netlify Platform, Edge Functions, Netlify CLI**. Specifically:\n- Guide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Netlify Functions. Covers modern syntax\n- Designing, reviewing, refactoring, or debugging production configurations without guesswork or deprecated flags.\n- Running deterministic pre-flight validation and post-execution verification checks before reporting completion.\n\n## 2. Prerequisites & Required Environment\n- **Target Stack:** Netlify Platform, Edge Functions, Netlify CLI\n- **Permissions Boundary:** Read-only inspection by default; ask for explicit human confirmation before executing destructive mutations or production deployments.\n- **Reference Specification:** `https://github.com/netlify/netlify-mcp`\n\n## 3. Step-by-Step Execution Playbook\n1. **Context & Configuration Discovery:**\n   Inspect existing project manifests (`package.json`, `tsconfig.json`, `pyproject.toml`, `Cargo.toml`, `wrangler.jsonc`, or schema declarations) before proposing changes. Never overwrite existing bindings or credentials blindly.\n2. **Deterministic Implementation:**\n   Apply the canonical production patterns for **Netlify Platform**:\n   - Enforce strict schema and type validation at every external boundary.\n   - Include explicit error handling, structured telemetry, and idempotency keys on all mutating calls.\n   - Keep secrets in environment variables or managed secret stores—never hardcode tokens in source files.\n3. **Verification & Regression Gate:**\n   Run the verification commands below and inspect both exit codes and output payloads before marking the task complete.\n\n## 4. Reference Commands & CLI Workflow\n```bash\nnpx netlify status\nnpx netlify build --dry\nnpx netlify deploy --build\n```\n\n## 5. Edge Cases & Anti-Hallucination Guardrails\n- **Zero Unverified Claims:** Never claim a build, migration, test run, or API call succeeded without inspecting the command output or HTTP status code.\n- **Rollback Readiness:** Always record the previous state or migration version so changes can be reverted cleanly if downstream health checks fail.\n",
  "starter_prompt": "Load the Netlify Functions Playbook (skill-netlify-functions) playbook. First inspect our current configuration and codebase for Netlify Platform, Edge Functions, Netlify CLI. Then propose a concrete, step-by-step implementation plan following the skill-netlify-functions guardrails, run the non-destructive verification commands (npx netlify status), and summarize any findings, risks, or required environment variables before making production changes.",
  "project_url": "https://github.com/netlify/netlify-mcp",
  "repo_url": "https://github.com/netlify/netlify-mcp",
  "creator_handle": "gergelyorosz",
  "creator_name": "Gergely Orosz (@GergelyOrosz)",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/gergelyorosz",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://github.com/netlify/netlify-mcp",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 237,
  "x_bookmarks": 481,
  "x_retweets": 120,
  "x_views": 3318,
  "human_upvotes": 237,
  "human_installs": 237,
  "bot_pulls": 481,
  "pulse_score": 85,
  "gravity_rank_score": 1882,
  "is_featured": 0,
  "is_verified": 1,
  "is_sponsored": 0,
  "sponsor_tier": "free",
  "sponsor_label": "",
  "sponsor_cta_url": "",
  "sponsor_expires_at": null,
  "commercial_intent_score": 0,
  "status": "active",
  "created_at": "2026-10-24T22:25:00Z",
  "updated_at": "2026-10-24T22:25:00Z",
  "verified_at": null,
  "primitive": "skill",
  "title": "Netlify Functions Playbook",
  "description": "Guide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Net",
  "category": "finance-deals",
  "tags": "[\"netlify-platform\", \"edge-functions\", \"netlify-cli\", \"skill-md\", \"finance-deals\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "gergelyorosz",
  "author_name": "Gergely Orosz (@GergelyOrosz)",
  "author_avatar": null,
  "source_tweet_url": "https://github.com/netlify/netlify-mcp",
  "github_url": "https://github.com/netlify/netlify-mcp",
  "external_url": "https://github.com/netlify/netlify-mcp",
  "upvotes_count": 237,
  "installs_count": 237
}