production-audit
Audit an application for production readiness using local evidence from code, CI, config, migrations, runtime checks, observability, and deployment paths. Use before launch, after risky merges, or when asked whether an app is ready to ship.
What this skill does
# Production Audit Assess whether an application is safe to ship by inspecting the actual release surface and naming the risks that would matter in production. ## Contract Inputs: - Repository, branch, PR, release candidate, or deployed URL - Optional launch-critical flows, test account, environment notes, or CI run Outputs: - Ship/block recommendation with score and evidence - Blockers, high-value fixes, missing evidence, and next action - Concrete file, command, CI, or URL references Creates/Modifies: - None in audit mode - Follow-up fixes only when explicitly requested External Side Effects: - Read-only local commands and authorized HTTP/browser checks - No source upload, destructive migration, production write, or scanner run by default Confirmation Required: - Before credentialed production actions, remote scanner use, deploys, migrations, data changes, or user-impacting tests Delegates To: - `security-audit` for application security findings - `deploy` or `deployment-patterns` for release mechanics - `release-pr-gates` for GitHub release promotion - `playwright-e2e-init` or `e2e-testing` for missing launch-critical browser coverage ## When to Use - User asks "is this production ready?", "what breaks in prod?", "ready to ship?", "audit this release", or "what did we miss?" - A launch, demo, customer rollout, or investor walkthrough is close. - CI is green but production risk still needs review. - A risky PR merged or a dependency upgrade landed. - A deployed staging or preview URL needs a readiness pass. Do not use this as a formal compliance, legal, financial, medical, or security certification. It is engineering release triage. ## Evidence Order Start with cheap local evidence: ```bash git status --short --branch git log --oneline --decorate -20 git diff --stat origin/main...HEAD ``` Then inspect the surfaces that actually exist: - package scripts, build commands, CI workflows, and release scripts - API routes, auth middleware, webhooks, workers, cron jobs, and queues - migrations, seeds, backfills, rollback notes, and data access policies - environment variable documentation and startup validation - payment, email, storage, AI, and external-provider boundaries - observability, logging, health checks, dashboards, and alert ownership - E2E or smoke coverage for launch-critical user paths - deployed URL checks when a URL is in scope Do not call a release healthy just because CI is green. ## Risk Lenses ### Security and Auth - Are sensitive routes protected server-side? - Are authorization checks tenant-aware and applied near data access? - Are secrets absent from client bundles, logs, examples, and committed files? - Are uploads, CORS, CSRF, rate limits, and input validation appropriate? - Do agent or AI surfaces isolate untrusted content from privileged tools? ### Data Integrity - Can migrations run forward safely? - Is there a rollback, recovery, or backup path for high-impact changes? - Are destructive backfills staged and idempotent? - Are retries safe for writes, jobs, and webhooks? - Do sandbox, staging, and production schemas match the code assumptions? ### Payments and Webhooks - Are webhook signatures verified before trusting payload fields? - Are fulfillment handlers idempotent for duplicate delivery? - Are out-of-order and replayed events handled? - Are test and live credentials separated? - Is customer-visible billing state recoverable after provider failure? ### Operations - Can the app start from a clean checkout with documented commands? - Are required environment variables named and validated at startup? - Is there a health check that proves dependencies are reachable? - Are logs useful without leaking secrets or personal data? - Is there a clear deploy, rollback, and incident-owner path? ### User Experience - Are launch-critical paths covered on desktop and mobile? - Are loading, empty, error, and permission-denied states usable? - Do forms handle invalid input, slow requests, and double submits? - Is there a recovery or support path when a critical operation fails? ## Scoring Use scores to force prioritization: | Score | Verdict | | --- | --- | | 0-49 | Blocked: do not ship until blockers are fixed | | 50-69 | Risky: internal beta or small rollout only | | 70-84 | Launchable with caveats: ship if owners accept named risks | | 85-100 | Strong: no obvious launch blockers from available evidence | Cap at `69` if any are true: - auth or authorization is missing for sensitive data - payment or fulfillment webhooks are not idempotent - required migrations cannot run safely - secrets are exposed in client bundles, logs, or committed files - no rollback or recovery path exists for a high-impact release Cap at `84` if CI is not green or the launch-critical path was not tested end to end. ## Output Format Lead with one sentence: ```text Production audit: 76/100, launchable with caveats, with webhook idempotency and rollback docs as the two risks to fix before public launch. ``` Then list: - `Blockers`: must-fix items before deploy - `High-value fixes`: next improvements by impact - `Evidence checked`: files, commands, CI, URLs, or PRs inspected - `Evidence missing`: what would change confidence - `Next action`: one concrete fix or verification step If no blockers are found, still state the evidence boundary. A production audit is only as strong as the surfaces inspected. ## Anti-Patterns - Running unpinned remote scanners as the default audit path. - Uploading private source, secrets, customer data, or topology externally without explicit approval. - Giving a score without naming evidence. - Treating staging smoke tests as proof that data migrations are safe. - Ending with a generic summary instead of the next concrete release action.
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.