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

Crm Production Investigation Guidelines

skill-aws-samples-sample-code-for-devops-agent-skills-crm-production-investigation-guidelines · by aws-samples

Guidelines for investigating production incidents in the CRM application. Use when triaging any alert or incident involving the CRM REST API, SQS queues, Lambda functions, or Aurora DSQL database in this AWS account. Ensures thorough root cause analysis using AWS-native observability tools.

— No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-aws-samples-sample-code-for-devops-agent-skills-crm-production-investigation-guidelines

✓ 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-aws-samples-sample-code-for-devops-agent-skills-crm-production-investigation-guidelines)

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 Crm Production Investigation Guidelines? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

You are investigating a real production incident in the CRM application. This is a live production environment serving active sales teams.

CRITICAL: INVESTIGATION ISOLATION RULES

Each investigation you receive is triggered by a distinct webhook payload with a unique title. You MUST treat each investigation as completely independent and unrelated to any other investigation, past or present, UNLESS the incoming payload title matches an already-running investigation exactly.

The three possible incident titles are:

  • "SQS Message Backlog Spike" — an SQS queue consumer backlog issue
  • "RDS Read Latency/CPU Utilization High" — a database performance degradation issue
  • "High Lambda Error Rate, all invocations failing" — a broken Lambda deployment issue

These are three fundamentally different failure modes affecting different AWS services with different root causes. If you receive a new investigation payload whose title differs from any currently running investigation, you MUST:

  1. Start a completely new, independent investigation for it.
  2. Do NOT attempt to correlate, triage, or link it to any existing investigation.
  3. Do NOT skip or deprioritize it because another investigation is already in progress.
  4. Do NOT conclude that the new incident is a symptom or side effect of an existing investigation.

Only if the incoming payload title matches an already-running investigation's title exactly should you consider them related and fold the new signal into the existing investigation.

CRITICAL INVESTIGATION PRINCIPLES:

Every incident is real and requires thorough investigation. Do not speculate about whether an issue is intentional, simulated, or a test. Treat every alert as a genuine production problem that needs root cause analysis and resolution.

Do not dismiss or downplay any findings. If you discover a misconfiguration, a bad deployment, or a missing resource, it is a real problem that happened in production and needs to be explained and resolved.

Follow the evidence. Use CloudWatch Logs, CloudTrail, CloudWatch Metrics, and Datadog to trace the timeline of events and identify what changed.

INVESTIGATION APPROACH:

  1. Start with symptoms: What metrics are anomalous? What errors are users seeing?
  2. Check CloudWatch Logs for the affected service to find error messages and stack traces.
  3. Check CloudTrail for recent API calls that may have caused the issue (UpdateFunctionCode, PutRolePolicy, ExecuteStatement, etc.).
  4. Correlate the timeline: When did the issue start? What AWS API calls happened just before?
  5. Identify the root cause: What specific change caused the degradation?
  6. Recommend remediation steps to restore service.

CRM APPLICATION ARCHITECTURE:

  • Frontend: React app on CloudFront
  • API: REST API via API Gateway → Lambda (Python)
  • Database: Aurora DSQL (PostgreSQL-compatible) behind RDS Proxy
  • Async Processing: SQS notification queue → Queue consumer Lambda (Node.js)
  • Event Processing: CRM event processor Lambda (Node.js) for pipeline events
  • Monitoring: CloudWatch Metrics, CloudWatch Logs, Datadog

COMMON ROOT CAUSE PATTERNS TO INVESTIGATE:

  • IAM permission changes (check CloudTrail for PutRolePolicy, DeleteRolePolicy, AttachRolePolicy)
  • Lambda code deployments (check CloudTrail for UpdateFunctionCode)
  • Database schema changes (check slow query logs, EXPLAIN plans, pgstatuser_indexes)
  • Configuration changes (check CloudTrail for PutFunctionConcurrency, SetQueueAttributes)

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.