ab-test-analysis
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes for conversion optimization and…
Analyze application and system logs to identify errors, patterns, and root causes. Use log aggregation tools and structured logging for effective debugging.
Claude Code
$ npx -y skills add aj-geddes/useful-ai-prompts --skill log-analysis --agent claude-code
Codex
$ npx skills add aj-geddes/useful-ai-prompts --skill log-analysis -a codex -y
Cursor
$ npx skills add aj-geddes/useful-ai-prompts --skill log-analysis -a cursor -y
Gemini CLI
$ npx skills add aj-geddes/useful-ai-prompts --skill log-analysis -a gemini-cli -y
GitHub Copilot
$ npx skills add aj-geddes/useful-ai-prompts --skill log-analysis -a github-copilot -y
OpenCode
$ npx skills add aj-geddes/useful-ai-prompts --skill log-analysis -a opencode -y
Windsurf
$ npx skills add aj-geddes/useful-ai-prompts --skill log-analysis -a windsurf -y
name: log-analysis description: > Analyze application and system logs to identify errors, patterns, and root causes. Use log aggregation tools and structured logging for effective debugging.
Logs are critical for debugging and monitoring. Effective log analysis quickly identifies issues and enables root cause analysis.
Minimal working example:
// Good: Structured logs (machine-readable)
logger.info({
level: 'INFO',
timestamp: '2024-01-15T10:30:00Z',
service: 'auth-service',
user_id: '12345',
action: 'user_login',
status: 'success',
duration_ms: 150,
ip_address: '192.168.1.1'
});
// Bad: Unstructured logs (hard to parse)
console.log('User 12345 logged in successfully in 150ms from 192.168.1.1');
// JSON Format (Elasticsearch friendly)
{
"@timestamp": "2024-01-15T10:30:00Z",
"level": "ERROR",
"service": "api-gateway",
"trace_id": "abc123",
"message": "Database connection failed",
"error": {
"type": "ConnectionError",
"code": "ECONNREFUSED"
// ... (see reference guides for full implementation)Detailed implementations in the `references/` directory:
| Guide | Contents | |---|---| | [Structured Logging](references/structured-logging.md) | Structured Logging | | [Log Levels & Patterns](references/log-levels-patterns.md) | Log Levels & Patterns | | [Log Analysis Tools](references/log-analysis-tools.md) | Log Analysis Tools | | [Common Log Analysis Queries](references/common-log-analysis-queries.md) | Common Log Analysis Queries |
488 production-ready AI prompts, all following a standardized template with validated quality gates. Transform ChatGPT, Claude, and other AI assistants into expert consultants.
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes for conversion optimization and…
Implement Role-Based Access Control (RBAC), permissions management, and authorization policies. Use when building secure access…
Implement WCAG 2.1/2.2 accessibility standards, screen reader compatibility, keyboard navigation, and a11y testing. Use when…
Test web applications for WCAG compliance and ensure usability for users with disabilities. Use for accessibility test, a11y,…
Plan and execute effective sprints using Agile methodologies. Define sprint goals, estimate user stories, manage sprint backlog,…
Implement comprehensive alert management with PagerDuty, escalation policies, and incident coordination. Use when setting up…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…