Conversion Optimization
Skill Profile
(Select at least one profile to enable specific modules)
Overview
Conversion Rate Optimization (CRO) is the systematic process of increasing the percentage of website or app visitors who complete a desired action (conversion) through data-driven experimentation and continuous improvement. Effective CRO uses A/B testing, user research, analytics, and iterative improvements to maximize conversions, increase revenue, reduce acquisition costs, improve user experience, and gain competitive advantage through continuous improvement.
Why This Matters
- Increase Revenue: More conversions directly translate to more revenue
- Reduce Acquisition Cost: Better conversion rates lower Customer Acquisition Cost (CAC)
- Improve User Experience: Smoother user journeys lead to happier users
- Data-Driven Decisions: Test assumptions instead of relying on opinions
- Competitive Advantage: Continuous improvement keeps you ahead of competitors
- Maximize ROI: Get more value from existing traffic without spending more on acquisition
Core Concepts & Rules
1. Core Principles
- Follow established patterns and conventions
- Maintain consistency across codebase
- Document decisions and trade-offs
2. Implementation Guidelines
- Start with the simplest viable solution
- Iterate based on feedback and requirements
- Test thoroughly before deployment
Inputs / Outputs / Contracts
- Inputs:
- Web/app analytics data (visitors, sessions, events)
- Funnel stage data (drop-off points)
- User behavior data (heatmaps, session recordings)
- User feedback (surveys, interviews)
- Current conversion metrics
- Entry Conditions:
- Analytics tracking implemented
- Conversion events defined and tracked
- Sufficient traffic volume for statistical significance
- Baseline conversion rate established
- Outputs:
- Funnel analysis with drop-off identification
- Hypotheses prioritized by ICE/PIE score
- A/B test configuration
- Test results with statistical significance
- Optimization recommendations
- Artifacts Required (Deliverables):
- Funnel analysis report
- Hypothesis document with ICE/PIE scores
- A/B test setup (variants, traffic split)
- Test results report (conversion rates, statistical significance)
- Implementation recommendations
- Acceptance Evidence:
- Funnel bottlenecks identified and documented
- Hypotheses formulated and prioritized
- A/B test configured and running
- Statistical significance achieved
- Winning variant identified and implemented
- Success Criteria:
- Conversion rate improvement > 5% (statistically significant)
- Funnel drop-off reduced at bottleneck stage
- User experience improved (measured by satisfaction metrics)
- ROI positive (revenue gain > implementation cost)
Skill Composition
- Depends on: A/B Testing Analysis, Funnel Analysis
- Compatible with: Dashboard Design, KPI Metrics, User Research
- Conflicts with: None
- Related Skills: ab-testing-analysis, funnel-analysis, dashboard-design
Quick Start / Implementation Example
- Review requirements and constraints
- Set up development environment
- Implement core functionality following patterns
- Write tests for critical paths
- Run tests and fix issues
- Document any deviations or decisions
# Example implementation following best practices
def example_function():
# Your implementation here
pass
Assumptions / Constraints / Non-goals
- Assumptions:
- Development environment is properly configured
- Required dependencies are available
- Team has basic understanding of domain
- Constraints:
- Must follow existing codebase conventions
- Time and resource limitations
- Compatibility requirements
- Non-goals:
- This skill does not cover edge cases outside scope
- Not a replacement for formal training
Compatibility & Prerequisites
- Supported Versions:
- Python 3.8+
- Node.js 16+
- Modern browsers (Chrome, Firefox, Safari, Edge)
- Required AI Tools:
- Code editor (VS Code recommended)
- Testing framework appropriate for language
- Version control (Git)
- Dependencies:
- Language-specific package manager
- Build tools
- Testing libraries
- Environment Setup:
.env.example keys: API_KEY, DATABASE_URL (no values)
Test Scenario Matrix (QA Strategy)
| Type |
Focus Area |
Required Scenarios / Mocks |
| Unit |
Core Logic |
Must cover primary logic and at least 3 edge/error cases. Target minimum 80% coverage |
| Integration |
DB / API |
All external API calls or database connections must be mocked during unit tests |
| E2E |
User Journey |
Critical user flows to test |
| Performance |
Latency / Load |
Benchmark requirements |
| Security |
Vuln / Auth |
SAST/DAST or dependency audit |
| Frontend |
UX / A11y |
Accessibility checklist (WCAG), Performance Budget (Lighthouse score) |
Technical Guardrails & Security Threat Model
1. Security & Privacy (Threat Model)
- Top Threats: Injection attacks, authentication bypass, data exposure
2. Performance & Resources
3. Architecture & Scalability
4. Observability & Reliability
Agent Directives & Error Recovery
(ข้อกำหนดสำหรับ AI Agent ในการคิดและแก้ปัญหาเมื่อเกิดข้อผิดพลาด)
- Thinking Process: Analyze root cause before fixing. Do not brute-force.
- Fallback Strategy: Stop after 3 failed test attempts. Output root cause and ask for human intervention/clarification.
- Self-Review: Check against Guardrails & Anti-patterns before finalizing.
- Output Constraints: Output ONLY the modified code block. Do not explain unless asked.
Definition of Done (DoD) Checklist
Anti-patterns / Pitfalls
- ⛔ Don't: Log PII, catch-all exception, N+1 queries
- ⚠️ Watch out for: Common symptoms and quick fixes
- 💡 Instead: Use proper error handling, pagination, and logging
Reference Links & Examples
- Internal documentation and examples
- Official documentation and best practices
- Community resources and discussions
Versioning & Changelog
- Version: 1.0.0
- Changelog:
- 2026-02-22: Initial version with complete template structure
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: conversion-optimization3description: Conversion Rate Optimization (CRO) is the systematic process of increasing Use when this capability is needed.4---56# Conversion Optimization78## Skill Profile9*(Select at least one profile to enable specific modules)*10- [ ] **DevOps**11- [x] **Backend**12- [ ] **Frontend**13- [ ] **AI-RAG**14- [ ] **Security Critical**1516## Overview17Conversion Rate Optimization (CRO) is the systematic process of increasing the percentage of website or app visitors who complete a desired action (conversion) through data-driven experimentation and continuous improvement. Effective CRO uses A/B testing, user research, analytics, and iterative improvements to maximize conversions, increase revenue, reduce acquisition costs, improve user experience, and gain competitive advantage through continuous improvement.1819## Why This Matters20- **Increase Revenue**: More conversions directly translate to more revenue21- **Reduce Acquisition Cost**: Better conversion rates lower Customer Acquisition Cost (CAC)22- **Improve User Experience**: Smoother user journeys lead to happier users23- **Data-Driven Decisions**: Test assumptions instead of relying on opinions24- **Competitive Advantage**: Continuous improvement keeps you ahead of competitors25- **Maximize ROI**: Get more value from existing traffic without spending more on acquisition2627---2829## Core Concepts & Rules3031### 1. Core Principles32- Follow established patterns and conventions33- Maintain consistency across codebase34- Document decisions and trade-offs3536### 2. Implementation Guidelines37- Start with the simplest viable solution38- Iterate based on feedback and requirements39- Test thoroughly before deployment404142## Inputs / Outputs / Contracts43* **Inputs**:44 - Web/app analytics data (visitors, sessions, events)45 - Funnel stage data (drop-off points)46 - User behavior data (heatmaps, session recordings)47 - User feedback (surveys, interviews)48 - Current conversion metrics49* **Entry Conditions**:50 - Analytics tracking implemented51 - Conversion events defined and tracked52 - Sufficient traffic volume for statistical significance53 - Baseline conversion rate established54* **Outputs**:55 - Funnel analysis with drop-off identification56 - Hypotheses prioritized by ICE/PIE score57 - A/B test configuration58 - Test results with statistical significance59 - Optimization recommendations60* **Artifacts Required (Deliverables)**:61 - Funnel analysis report62 - Hypothesis document with ICE/PIE scores63 - A/B test setup (variants, traffic split)64 - Test results report (conversion rates, statistical significance)65 - Implementation recommendations66* **Acceptance Evidence**:67 - Funnel bottlenecks identified and documented68 - Hypotheses formulated and prioritized69 - A/B test configured and running70 - Statistical significance achieved71 - Winning variant identified and implemented72* **Success Criteria**:73 - Conversion rate improvement > 5% (statistically significant)74 - Funnel drop-off reduced at bottleneck stage75 - User experience improved (measured by satisfaction metrics)76 - ROI positive (revenue gain > implementation cost)7778## Skill Composition79* **Depends on**: [A/B Testing Analysis](23-business-analytics/ab-testing-analysis/), [Funnel Analysis](23-business-analytics/funnel-analysis/)80* **Compatible with**: [Dashboard Design](23-business-analytics/dashboard-design/), [KPI Metrics](23-business-analytics/kpi-metrics/), [User Research](22-ux-ui-design/user-research/)81* **Conflicts with**: None82* **Related Skills**: [ab-testing-analysis](23-business-analytics/ab-testing-analysis/), [funnel-analysis](23-business-analytics/funnel-analysis/), [dashboard-design](23-business-analytics/dashboard-design/)8384---8586## Quick Start / Implementation Example87881. Review requirements and constraints892. Set up development environment903. Implement core functionality following patterns914. Write tests for critical paths925. Run tests and fix issues936. Document any deviations or decisions9495```python96# Example implementation following best practices97def example_function():98 # Your implementation here99 pass100```101102103## Assumptions / Constraints / Non-goals104105* **Assumptions**:106 - Development environment is properly configured107 - Required dependencies are available108 - Team has basic understanding of domain109* **Constraints**:110 - Must follow existing codebase conventions111 - Time and resource limitations112 - Compatibility requirements113* **Non-goals**:114 - This skill does not cover edge cases outside scope115 - Not a replacement for formal training116117118## Compatibility & Prerequisites119120* **Supported Versions**:121 - Python 3.8+122 - Node.js 16+123 - Modern browsers (Chrome, Firefox, Safari, Edge)124* **Required AI Tools**:125 - Code editor (VS Code recommended)126 - Testing framework appropriate for language127 - Version control (Git)128* **Dependencies**:129 - Language-specific package manager130 - Build tools131 - Testing libraries132* **Environment Setup**:133 - `.env.example` keys: `API_KEY`, `DATABASE_URL` (no values)134135136## Test Scenario Matrix (QA Strategy)137138| Type | Focus Area | Required Scenarios / Mocks |139| :--- | :--- | :--- |140| **Unit** | Core Logic | Must cover primary logic and at least 3 edge/error cases. Target minimum 80% coverage |141| **Integration** | DB / API | All external API calls or database connections must be mocked during unit tests |142| **E2E** | User Journey | Critical user flows to test |143| **Performance** | Latency / Load | Benchmark requirements |144| **Security** | Vuln / Auth | SAST/DAST or dependency audit |145| **Frontend** | UX / A11y | Accessibility checklist (WCAG), Performance Budget (Lighthouse score) |146147148## Technical Guardrails & Security Threat Model149150### 1. Security & Privacy (Threat Model)151* **Top Threats**: Injection attacks, authentication bypass, data exposure152- [ ] **Data Handling**: Sanitize all user inputs to prevent Injection attacks. Never log raw PII153- [ ] **Secrets Management**: No hardcoded API keys. Use Env Vars/Secrets Manager154- [ ] **Authorization**: Validate user permissions before state changes155156### 2. Performance & Resources157- [ ] **Execution Efficiency**: Consider time complexity for algorithms158- [ ] **Memory Management**: Use streams/pagination for large data159- [ ] **Resource Cleanup**: Close DB connections/file handlers in finally blocks160161### 3. Architecture & Scalability162- [ ] **Design Pattern**: Follow SOLID principles, use Dependency Injection163- [ ] **Modularity**: Decouple logic from UI/Frameworks164165### 4. Observability & Reliability166- [ ] **Logging Standards**: Structured JSON, include trace IDs `request_id`167- [ ] **Metrics**: Track `error_rate`, `latency`, `queue_depth`168- [ ] **Error Handling**: Standardized error codes, no bare except169- [ ] **Observability Artifacts**:170 - **Log Fields**: timestamp, level, message, request_id171 - **Metrics**: request_count, error_count, response_time172 - **Dashboards/Alerts**: High Error Rate > 5%173174175## Agent Directives & Error Recovery176*(ข้อกำหนดสำหรับ AI Agent ในการคิดและแก้ปัญหาเมื่อเกิดข้อผิดพลาด)*177178- **Thinking Process**: Analyze root cause before fixing. Do not brute-force.179- **Fallback Strategy**: Stop after 3 failed test attempts. Output root cause and ask for human intervention/clarification.180- **Self-Review**: Check against Guardrails & Anti-patterns before finalizing.181- **Output Constraints**: Output ONLY the modified code block. Do not explain unless asked.182183184## Definition of Done (DoD) Checklist185186- [ ] Tests passed + coverage met187- [ ] Lint/Typecheck passed188- [ ] Logging/Metrics/Trace implemented189- [ ] Security checks passed190- [ ] Documentation/Changelog updated191- [ ] Accessibility/Performance requirements met (if frontend)192193194## Anti-patterns / Pitfalls195196* ⛔ **Don't**: Log PII, catch-all exception, N+1 queries197* ⚠️ **Watch out for**: Common symptoms and quick fixes198* 💡 **Instead**: Use proper error handling, pagination, and logging199200201## Reference Links & Examples202203* Internal documentation and examples204* Official documentation and best practices205* Community resources and discussions206207208## Versioning & Changelog209210* **Version**: 1.0.0211* **Changelog**:212 - 2026-02-22: Initial version with complete template structure213214---215> Converted and distributed by [TomeVault](https://tomevault.io/claim/amnadtaowsoam) — claim your Tome and manage your conversions.216<!-- tomevault:4.0:skill_md:2026-04-13 -->