Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
webflow-deploy-integration【部署与运维】Plan and execute a Webflow Cloud deployment with explicit app identity, mount, environment, verification, and rollback. Use when shipping a Cloud app or repairing its deployment lane. Trigger with "deploy Webflow Cloud", "Webflow app deploy", or "rollback Webflow deployment".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: webflow-deploy-integration description: >- Plan and execute a Webflow Cloud deployment with explicit app identity, mount, environment, verification, and rollback. Use when shipping a Cloud app or repairing its deployment lane. Trigger with "deploy Webflow Cloud", "Webflow app deploy", or "rollback Webflow deployment". argument-hint: "[project-path] [site-attached|project-app] [environment]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.6.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
This skill produces a repo-grounded Webflow plan or implementation. It treats current official documentation and the target project's installed versions as authority, keeps discovery read-only, and separates preparation from live mutation.
Use Read for repository instructions and relevant files, Glob to inventory manifests and Webflow integration paths, and Grep to locate API hosts, IDs, scopes, and credential names. Use WebFetch only for current official Webflow documentation. Use Write for a new user-requested artifact and Edit for minimal changes to existing files after the evidence pass.
apps namespace on the next channel, while stable CLI retains documented Cloud commands and deprecated aliases.Authenticate Data API calls with a bearer token selected for the integration: a site token for controlled single-site work, a workspace token only for its supported workspace/read use cases, or OAuth for user-authorized applications. Derive scopes from the exact endpoints. Never read, echo, persist, or place token values in commands, patches, examples, logs, or reports.
webflow.json, app/environment IDs, mount path, domain, and existing deployment history.--no-input, target IDs, mount, environment, and any documented mount-path option.Default to read-only inspection. Before any create, update, delete, publish, unpublish, archive, deploy, token revoke, or webhook registration, show the exact environment and resource IDs, the proposed change, validation method, and rollback or compensating action. Proceed only when the user's request clearly authorizes that mutation; require a fresh explicit approval for production publication or destructive work.
Return the inspected project and versions, verified Webflow identities, relevant endpoint and scope contract, changes proposed or made, validation evidence, live-mutation status, rollback readiness, and remaining risks. Distinguish documented fact, repository evidence, and inference.
| Condition | Response |
|---|---|
| Ambiguous app/environment | Stop and require an explicit ID or verified manifest value. |
| Build succeeds, deploy fails | Collect build/runtime logs for that deployment ID and leave the previous deployment active. |
| Smoke test fails | Trigger the approved rollback or redeploy the named prior successful deployment. |
For a site-attached Astro app, verify the site and app IDs, pin the CLI version, build locally, approve /app on production, deploy non-interactively, wait for success, and test the exact public route.