/snowflake-pack:snowflake-native-app-release-sheriff [schema-2-native-app-evidence.json]from snowflake-pack
Preflight Snowflake Native App package releases from provider evidence, validating manifest/setup safety, security gates, upgrade-cohort compatibility, and rollback readiness before publishing.
Ships in snowflake-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Produce a deterministic, as-of provider-side release preflight. A clean result
is READY_FOR_OPERATOR_RELEASE_AS_OF, never permission or an instruction to
publish, set a release directive, upgrade an application, or alter privileges.
Read both reference files before analysis. The input must use the exact schema-2
contract in references/evidence-contract.md
and must include independently retained hashes for the whole bundle, manifest,
setup script, normalized cohort rows/denominators, lifecycle evidence, and the
complete rollback receipt including its artifact digest. Every array carries an explicit count;
zero is evidence only when the owner-approved denominator is exactly zero.
Python 3.10+ is required. A Snowflake CLI profile is optional for collection and must already exist; authentication is configured outside this skill. The package manifest and setup script remain local inputs. Never send source SQL, package names, consumer names, account names, free-text scan failures, or App Spec definitions through the evidence packet. Use stable, account-scoped hashes.
Use an existing least-privilege Snowflake CLI profile with visibility to the selected package. The collector uppercases and strictly validates the unquoted one-part package selector, then binds the rendered-query receipt to the Snowflake-produced selected-package hash. An error receipt contains no package fingerprint.
python3 "${CLAUDE_SKILL_DIR}/scripts/collect_snowflake_evidence.py" \
--surface native-app-versions-current --application-package APP_PACKAGE \
--connection native-app-observer --output ./versions.json
python3 "${CLAUDE_SKILL_DIR}/scripts/collect_snowflake_evidence.py" \
--surface native-app-release-directives-current --application-package APP_PACKAGE \
--connection native-app-observer --output ./directives.json
python3 "${CLAUDE_SKILL_DIR}/scripts/collect_snowflake_evidence.py" \
--surface native-app-upgrade-cohorts-current --application-package APP_PACKAGE \
--connection native-app-observer --output ./cohorts.json
SHOW VERSIONS requires package visibility. SHOW RELEASE DIRECTIVES requires
package ownership or the documented package release/version management
privilege. SNOWFLAKE.DATA_SHARING_USAGE.APPLICATION_STATE is provider-only,
can lag up to 10 minutes, and does not retain uninstalled instances. Do not
escalate to ACCOUNTADMIN; missing or filtered evidence blocks the preflight.
Record the five hashes at independent trusted boundaries, then run:
python3 "${CLAUDE_SKILL_DIR}/scripts/analyze_native_app_release.py" \
--input ./native-app-evidence.json --evaluated-at "$EVALUATED_AT_UTC" \
--trusted-input-sha256 sha256:... \
--trusted-manifest-sha256 sha256:... \
--trusted-setup-sha256 sha256:... \
--trusted-cohort-sha256 sha256:... \
--trusted-lifecycle-sha256 sha256:... \
--trusted-rollback-sha256 sha256:... \
> ./native-app-preflight.json
Exit 0 means the bounded preflight passed. Exit 1 means valid but blocked;
exit 2 means invalid/untrusted evidence. The analyzer writes stdout only.
Confirm all three receipt ages, exact package/account hashes, source counts,
independent digests, target scan row, observed cohort denominator, compatibility
edges, lifecycle receipt, and rollback evidence before accepting exit 0.
APPROVED; QA does not initiate a security scan, so scan
status is reported but is not invented as approval.manifest_version is major-upgrade-only
and changing the requested privilege list is not a patch operation.FINALIZING.APPLICATION_STATE; the snapshot
alone cannot prove completeness or explain an uninstalled instance.Never execute ALTER APPLICATION PACKAGE, add/drop version or patch, set/unset a
release directive, publish a listing, approve an App Spec, run setup, upgrade an
application, or grant/revoke a privilege. Produce a review packet for a separate,
authorized human change window.
The report contains only finite finding codes, exact denominators, an as-of
status, explicit safe_to_publish: false and safe_to_upgrade: false,
non-claims, and a deterministic report hash. It never repeats input rows or raw
identifiers.
INVALID_EVIDENCE means the strict packet, receipt, type, hash, scope, cap, or
freshness contract failed; it intentionally does not echo the rejected value.
BLOCKED is well-formed evidence with one or more finite remediation codes.
Recollect permission-filtered, stale, or capped surfaces with the same approved
scope. Never fix missing evidence by escalating privileges or executing a change.
IN_PROGRESS on an EXTERNAL DEFAULT target yields
SECURITY_SCAN_NOT_APPROVED.INCOMPATIBLE_OR_UNTESTED_COHORT, even when every other instance is complete.READY_FOR_OPERATOR_RELEASE_AS_OF with both mutation flags false.references/evidence-contract.md — exact
fields, enums, hashes, freshness, and verdict rules.references/source-notes.md — primary Snowflake
documentation and provider/consumer limitations.eval-spec.yaml (opens in a new tab)fixtures/incompatible-versions.json (opens in a new tab)fixtures/missing-scans.json (opens in a new tab)fixtures/partial-setup-failure.json (opens in a new tab)fixtures/removed-grants.json (opens in a new tab)fixtures/safe-cohorts.json (opens in a new tab)references/evidence-contract.md (opens in a new tab)references/source-notes.md (opens in a new tab)scripts/analyze_native_app_release.py (opens in a new tab)scripts/collect_snowflake_evidence.py (opens in a new tab)scripts/sql/native-app-release-directives-current.sql (opens in a new tab)scripts/sql/native-app-upgrade-cohorts-current.sql (opens in a new tab)scripts/sql/native-app-versions-current.sql (opens in a new tab)scripts/test_analyze_native_app_release.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
inherithigh10 skills in this plugin
/snowflake-access-guardianAudit Snowflake effective access and produce a safe least-privilege change packet.
Trace account-role inheritance, primary and secondary roles, managed-access
schemas, ownership, direct-to-user/PUBLIC grants, orphaned principals, and
existing-versus-future-grant conflicts. Use when access is unexpectedly broad or
denied, a role graph needs review, or an authorization cleanup needs evidence.
Trigger with phrases like "Snowflake access audit", "trace Snowflake grants",
"why can this user read", "Snowflake RBAC drift", or "future grants conflict".
/snowflake-cost-leak-hunterAudit and analyze Snowflake warehouse, serverless, Adaptive, storage, transfer, and AI cost evidence with a typed ledger that prevents double counting and exposes freshness, attribution, control, and invoice boundaries. Use when a Snowflake bill increased, a team needs chargeback/showback evidence, credits appear unexplained, or an operator asks which usage merits investigation. Trigger with "Snowflake bill increased", "find idle Snowflake credits", "Snowflake cost attribution", or "untagged Snowflake spend". Do not use to mutate cost controls or claim savings.npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin snowflake-packOther plugins' skills for the same job