AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Prod Check

skill-lkim0402-agent-teamflow-prod-check · by lkim0402

Use when the user explicitly selects the prod-check skill or wants a pre-production code review scoped to recent commits, checking impact, contracts, auth, stability, and regressions.

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-lkim0402-agent-teamflow-prod-check

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-lkim0402-agent-teamflow-prod-check)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Prod Check? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

prod-check

Read AGENTS.md, then read .agent-teamflow from the repo root, then follow the workflow below. Treat the user's remaining request text as $ARGUMENTS.


Pre-production high-stakes code review scoped to today's work (or an explicit range). Analyzes the diff for impact on existing dependencies, contract breakage (API/DB/types), missing env vars, auth/security gaps, error handling, and regression coverage.

Use when asked to "prod check", "production review", "is this safe to ship", or before merging to staging or main.

Run this workflow in an isolated worker if the current agent runtime supports one; otherwise run it in the main session. Keep diff and grep output concise. Report only the final findings table (or READY FOR PROD) to the user.

Core principle: impact over implementation

Do not just check if the new code works. Check if the new code breaks existing, untouched parts of the system. The goal is to catch failure modes that automated tests and the author missed.

Setup — scope the diff to your work, not the full base-branch backlog

The typical branching model is main ← staging ← ← feature. Diffing against any base branch sweeps in every contributor's accumulated work, drowning the signal. Instead, scope the review to commits you actually authored.

Read .agent-teamflow to get branches.main and branches.staging.

  1. Refresh refs:

``bash git fetch origin ``

  1. Determine commit scope from $ARGUMENTS:
  • No argument (default) — today's commits by the current git user:

``bash AUTHOR=$(git config user.email) SINCE=$(date '+%Y-%m-%d 00:00:00 %z') # local midnight git log --author="$AUTHOR" --since="$SINCE" --all --pretty=format:'%H %ad %s' --date=iso `` If empty, tell the user "no commits authored by you since midnight" and stop.

  • since — pass through to git log --since="$expr" (e.g. since yesterday, since "3 hours ago").
  • mr / pr — fetch the MR/PR's commits:

``bash # GitLab glab mr view --output json | jq -r '.commits[].sha' # GitHub gh pr view --json commits | jq -r '.commits[].oid' ``

  • .. — explicit commit range.
  1. Print the scope so the user can confirm:

``` Scope: commits authored by since

```

  1. Capture the diff for ONLY those commits:

``bash FIRST_SHA= LAST_SHA= git diff --stat ${FIRST_SHA}^..${LAST_SHA} git diff ${FIRST_SHA}^..${LAST_SHA} `` For non-contiguous commits, generate per-commit and concatenate.

  1. Read the full diff content before scoring.
  1. Cross-reference touched files against the full repo for callers/importers — when checking impact, grep the entire repo for usages. The scope limits what you review, not where you look for callers.

Checklist

  1. Impact & Side Effects — For every modified function, component, exported type, or hook, grep the repo for importers/callers. Flag any change to inputs, outputs, or types that breaks those call sites.
  1. Contract Integrity — API response shapes, DB schemas (migrations), procedure signatures, shared types/interfaces. Verify the contract with consumers still holds.
  1. Environment & Infrastructure — New env vars referenced in code but missing from deploy config. Migrations that lock large tables, drop columns still read by old code, or change indexes on hot paths.
  1. Security & Auth — New endpoints/mutations have correct auth guards. No exposed secrets, tokens, or PII in logs. SQL/prompt injection surface checked. Rate limits intact.
  1. Stability & Error Handling — New async logic has try/catch or .catch. User-facing failures show an error state, not a blank screen. No swallowed errors. Transactions still atomic.
  1. Testing & Regressions — New logic has test coverage. Bug fixes have a regression test. Existing tests still mapped to new code paths.

Output format

Start with a Summary Table:

| Severity | File:Line | Risk | Why it matters | Suggested fix | |---|---|---|---|---| | Critical | ... | ... | ... | ... |

Severity ladder:

  • Critical — will break production or existing users on deploy
  • Warning — likely issue under realistic conditions, deserves a fix or explicit acceptance
  • Advice — nice-to-have polish, safe to defer

After the table, expand each row with the relevant code snippet and reasoning.

If no risks remain after a deep impact analysis, output exactly:

READY FOR PROD

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.