agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Transform applications into fully observable systems with comprehensive metrics, logging, tracing, and monitoring dashboards
How it fires
How this command gets triggered: by you, by Claude, or both.
/observeContext preview
What this command does when you run it.
Transform applications into fully observable systems with comprehensive metrics, logging, tracing, and monitoring dashboards
allowed-tools: Task, Read, Write, MultiEdit, Bash(fd:*), Bash(rg:*), Bash(jq:*), Bash(gdate:*), Bash(docker:*), Bash(kubectl:*), Bash(git:*) name: "Observe" description: "Transform applications into fully observable systems with comprehensive metrics, logging, tracing, and monitoring dashboards" author: "wcygan" tags: ["ops","monitor"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
STEP 1: Initialize observability transformation session
# Initialize observability session state
echo '{
"sessionId": "'$SESSION_ID'",
"targetService": "'$ARGUMENTS'",
"detectedLanguages": [],
"existingObservability": [],
"transformationStrategy": "full-stack",
"generatedArtifacts": []
}' > /tmp/observability-session-$SESSION_ID.jsonSTEP 2: Service architecture analysis with parallel discovery
IF complex_service_architecture OR multiple_technologies_detected:
LAUNCH parallel sub-agents for comprehensive service analysis:
ELSE:
**Direct Service Analysis:**
STEP 3: Comprehensive observability instrumentation
TRY:
**Metrics Instrumentation Implementation:**
CASE detected_language: WHEN "go":
// Generated metrics instrumentation
var (
httpDuration = prometheus.NewHistogramVec(
prometheus.HistogramOpts{
Name: "http_request_duration_seconds",
Help: "Duration of HTTP requests",
Buckets: prometheus.DefBuckets,
},
[]string{"method", "endpoint", "status_code"},
)
requestsTotal = prometheus.NewCounterVec(
prometheus.CounterOpts{
Name: "http_requests_total",
Help: "Total number of HTTP requests",
},
[]string{"method", "endpoint", "status_code"},
)
)WHEN "rust":
// Generated Rust metrics
use metrics::{counter, histogram, gauge};
#[instrument]
async fn handle_request(req: Request<Body>) -> Result<Response<Body>, Error> {
let start = Instant::now();
let method = req.method().as_str();
let path = req.uri().path();
let result = process_request(req).await;
let duration = start.elapsed().as_secs_f64();
histogram!("http_request_duration_seconds")
.with_tag("method", method)
.with_tag("path", path)
.record(duration);
counter!("http_requests_total")
.with_tag("method", method)
.with_tag("status", result.status().as_str())
.increment(1);
result
}WHEN "java":
WHEN "javascript|typescript":
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies