agileflow 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/README.md +6 -6
  3. package/lib/skill-loader.js +0 -1
  4. package/package.json +1 -1
  5. package/scripts/agileflow-statusline.sh +81 -0
  6. package/scripts/claude-tmux.sh +113 -22
  7. package/scripts/claude-watchdog.sh +225 -0
  8. package/scripts/generators/agent-registry.js +14 -1
  9. package/scripts/generators/inject-babysit.js +22 -9
  10. package/scripts/generators/inject-help.js +19 -9
  11. package/scripts/lib/audit-cleanup.js +250 -0
  12. package/scripts/lib/audit-registry.js +248 -0
  13. package/scripts/lib/feature-catalog.js +3 -3
  14. package/scripts/lib/gate-enforcer.js +295 -0
  15. package/scripts/lib/model-profiles.js +98 -0
  16. package/scripts/lib/signal-detectors.js +1 -1
  17. package/scripts/lib/skill-catalog.js +557 -0
  18. package/scripts/lib/skill-recommender.js +311 -0
  19. package/scripts/lib/tdd-phase-manager.js +455 -0
  20. package/scripts/lib/team-events.js +34 -3
  21. package/scripts/lib/tmux-group-colors.js +113 -0
  22. package/scripts/messaging-bridge.js +209 -1
  23. package/scripts/spawn-audit-sessions.js +549 -0
  24. package/scripts/team-manager.js +37 -16
  25. package/scripts/tmux-close-windows.sh +180 -0
  26. package/src/core/agents/ads-audit-budget.md +181 -0
  27. package/src/core/agents/ads-audit-compliance.md +169 -0
  28. package/src/core/agents/ads-audit-creative.md +164 -0
  29. package/src/core/agents/ads-audit-google.md +226 -0
  30. package/src/core/agents/ads-audit-meta.md +183 -0
  31. package/src/core/agents/ads-audit-tracking.md +197 -0
  32. package/src/core/agents/ads-consensus.md +322 -0
  33. package/src/core/agents/brainstorm-analyzer-features.md +169 -0
  34. package/src/core/agents/brainstorm-analyzer-growth.md +161 -0
  35. package/src/core/agents/brainstorm-analyzer-integration.md +172 -0
  36. package/src/core/agents/brainstorm-analyzer-market.md +147 -0
  37. package/src/core/agents/brainstorm-analyzer-ux.md +167 -0
  38. package/src/core/agents/brainstorm-consensus.md +237 -0
  39. package/src/core/agents/completeness-consensus.md +5 -5
  40. package/src/core/agents/perf-consensus.md +2 -2
  41. package/src/core/agents/security-consensus.md +2 -2
  42. package/src/core/agents/seo-analyzer-content.md +167 -0
  43. package/src/core/agents/seo-analyzer-images.md +187 -0
  44. package/src/core/agents/seo-analyzer-performance.md +206 -0
  45. package/src/core/agents/seo-analyzer-schema.md +176 -0
  46. package/src/core/agents/seo-analyzer-sitemap.md +172 -0
  47. package/src/core/agents/seo-analyzer-technical.md +144 -0
  48. package/src/core/agents/seo-consensus.md +289 -0
  49. package/src/core/agents/test-consensus.md +2 -2
  50. package/src/core/commands/ads/audit.md +375 -0
  51. package/src/core/commands/ads/budget.md +97 -0
  52. package/src/core/commands/ads/competitor.md +112 -0
  53. package/src/core/commands/ads/creative.md +85 -0
  54. package/src/core/commands/ads/google.md +112 -0
  55. package/src/core/commands/ads/landing.md +119 -0
  56. package/src/core/commands/ads/linkedin.md +112 -0
  57. package/src/core/commands/ads/meta.md +91 -0
  58. package/src/core/commands/ads/microsoft.md +115 -0
  59. package/src/core/commands/ads/plan.md +321 -0
  60. package/src/core/commands/ads/tiktok.md +129 -0
  61. package/src/core/commands/ads/youtube.md +124 -0
  62. package/src/core/commands/ads.md +128 -0
  63. package/src/core/commands/babysit.md +249 -1284
  64. package/src/core/commands/{audit → code}/completeness.md +35 -25
  65. package/src/core/commands/{audit → code}/legal.md +26 -16
  66. package/src/core/commands/{audit → code}/logic.md +27 -16
  67. package/src/core/commands/{audit → code}/performance.md +30 -20
  68. package/src/core/commands/{audit → code}/security.md +32 -19
  69. package/src/core/commands/{audit → code}/test.md +30 -20
  70. package/src/core/commands/{discovery → ideate}/brief.md +12 -12
  71. package/src/core/commands/{discovery/new.md → ideate/discover.md} +13 -13
  72. package/src/core/commands/ideate/features.md +435 -0
  73. package/src/core/commands/seo/audit.md +373 -0
  74. package/src/core/commands/seo/competitor.md +174 -0
  75. package/src/core/commands/seo/content.md +107 -0
  76. package/src/core/commands/seo/geo.md +229 -0
  77. package/src/core/commands/seo/hreflang.md +140 -0
  78. package/src/core/commands/seo/images.md +96 -0
  79. package/src/core/commands/seo/page.md +198 -0
  80. package/src/core/commands/seo/plan.md +163 -0
  81. package/src/core/commands/seo/programmatic.md +131 -0
  82. package/src/core/commands/seo/references/cwv-thresholds.md +64 -0
  83. package/src/core/commands/seo/references/eeat-framework.md +110 -0
  84. package/src/core/commands/seo/references/quality-gates.md +91 -0
  85. package/src/core/commands/seo/references/schema-types.md +102 -0
  86. package/src/core/commands/seo/schema.md +183 -0
  87. package/src/core/commands/seo/sitemap.md +97 -0
  88. package/src/core/commands/seo/technical.md +100 -0
  89. package/src/core/commands/seo.md +107 -0
  90. package/src/core/commands/skill/list.md +68 -212
  91. package/src/core/commands/skill/recommend.md +216 -0
  92. package/src/core/commands/tdd-next.md +238 -0
  93. package/src/core/commands/tdd.md +210 -0
  94. package/src/core/experts/_core-expertise.yaml +105 -0
  95. package/src/core/experts/analytics/expertise.yaml +5 -99
  96. package/src/core/experts/codebase-query/expertise.yaml +3 -72
  97. package/src/core/experts/compliance/expertise.yaml +6 -72
  98. package/src/core/experts/database/expertise.yaml +9 -52
  99. package/src/core/experts/documentation/expertise.yaml +7 -140
  100. package/src/core/experts/integrations/expertise.yaml +7 -127
  101. package/src/core/experts/mentor/expertise.yaml +8 -35
  102. package/src/core/experts/monitoring/expertise.yaml +7 -49
  103. package/src/core/experts/performance/expertise.yaml +1 -26
  104. package/src/core/experts/security/expertise.yaml +9 -34
  105. package/src/core/experts/ui/expertise.yaml +6 -36
  106. package/src/core/knowledge/ads/ad-audit-checklist-scoring.md +424 -0
  107. package/src/core/knowledge/ads/ad-optimization-logic.md +590 -0
  108. package/src/core/knowledge/ads/ad-technical-specifications.md +385 -0
  109. package/src/core/knowledge/ads/definitive-advertising-reference-2026.md +506 -0
  110. package/src/core/knowledge/ads/paid-advertising-research-2026.md +445 -0
  111. package/src/core/templates/agileflow-metadata.json +15 -1
  112. package/tools/cli/installers/ide/_base-ide.js +42 -5
  113. package/tools/cli/installers/ide/claude-code.js +3 -3
  114. package/tools/cli/lib/content-injector.js +160 -12
  115. package/tools/cli/lib/docs-setup.js +1 -1
  116. package/src/core/commands/skill/create.md +0 -698
  117. package/src/core/commands/skill/delete.md +0 -316
  118. package/src/core/commands/skill/edit.md +0 -359
  119. package/src/core/commands/skill/test.md +0 -394
  120. package/src/core/commands/skill/upgrade.md +0 -552
  121. package/src/core/templates/skill-template.md +0 -117
@@ -0,0 +1,97 @@
1
+ ---
2
+ description: Budget allocation and bidding strategy optimizer with industry benchmarks, platform minimums, scaling rules, and reallocation recommendations
3
+ argument-hint: "<account-data>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:budget - Budget & bidding strategy"
8
+ - "Delegate to ads-audit-budget agent for 24 checks"
9
+ - "Include platform minimums and scaling rules"
10
+ state_fields:
11
+ - budget_score
12
+ - total_spend
13
+ ---
14
+
15
+ # /agileflow:ads:budget
16
+
17
+ Run a budget allocation and bidding strategy audit using the `ads-audit-budget` agent with 24 checks, including industry benchmarks and specific reallocation recommendations.
18
+
19
+ ---
20
+
21
+ ## Quick Reference
22
+
23
+ ```
24
+ /agileflow:ads:budget <account-data> # Full budget audit
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Process
30
+
31
+ ### STEP 1: Validate Input
32
+
33
+ If no data provided, ask for:
34
+ - Monthly spend per platform
35
+ - Campaign-level budgets and performance
36
+ - Bid strategies in use
37
+ - Conversion data (volume, CPA, ROAS)
38
+ - Industry and target metrics
39
+
40
+ ### STEP 2: Deploy Budget Analyzer
41
+
42
+ ```xml
43
+ <invoke name="Task">
44
+ <parameter name="description">Budget and bidding audit</parameter>
45
+ <parameter name="prompt">TASK: Audit budget allocation and bidding strategy.
46
+
47
+ ACCOUNT DATA:
48
+ {budget_data}
49
+
50
+ Apply ALL 24 checks across 4 categories:
51
+ - Budget Allocation (35%) - 8 checks
52
+ - Bidding Strategy (30%) - 8 checks
53
+ - Scaling & Pacing (20%) - 4 checks
54
+ - Platform Mix (15%) - 4 checks
55
+
56
+ Enforce platform minimums, scaling rules, and 3x Kill Rule.
57
+ Include specific dollar reallocation recommendations.
58
+
59
+ OUTPUT: Full findings with Budget Score X/100</parameter>
60
+ <parameter name="subagent_type">ads-audit-budget</parameter>
61
+ </invoke>
62
+ ```
63
+
64
+ ### STEP 3: Present Results
65
+
66
+ Show Budget Score with specific reallocation recommendations.
67
+
68
+ ---
69
+
70
+ ## Platform Minimums
71
+
72
+ | Platform | Campaign Minimum | Ad Set/Group Minimum |
73
+ |----------|-----------------|---------------------|
74
+ | Google Ads | $10/day | $5/day |
75
+ | Meta Ads | $20/day | $10/day |
76
+ | LinkedIn Ads | $50/day | $25/day |
77
+ | TikTok Ads | $50/day campaign | $20/day ad group |
78
+ | Microsoft Ads | $10/day | $5/day |
79
+
80
+ ## Scaling Rules
81
+
82
+ 1. Max 20% budget increase per week
83
+ 2. Only scale campaigns that exited learning phase
84
+ 3. 3x Kill Rule: Pause if CPA > 3x target
85
+ 4. Minimum 2 weeks data before major changes
86
+
87
+ ---
88
+
89
+ <!-- COMPACT_SUMMARY_START -->
90
+ ## Compact Summary
91
+
92
+ **Command**: `/agileflow:ads:budget` - Budget & bidding strategy audit
93
+
94
+ **Agent**: `ads-audit-budget` (24 checks, 4 categories)
95
+
96
+ **Quick Usage**: `/agileflow:ads:budget <account-data>`
97
+ <!-- COMPACT_SUMMARY_END -->
@@ -0,0 +1,112 @@
1
+ ---
2
+ description: Competitive intelligence for paid advertising - market positioning, messaging gaps, ad copy analysis, and strategic recommendations
3
+ argument-hint: "<industry-or-competitors>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:competitor - Competitive intelligence"
8
+ - "Use WebSearch for competitor research"
9
+ - "Focus on ad-specific competitive factors"
10
+ state_fields:
11
+ - industry
12
+ - competitors
13
+ ---
14
+
15
+ # /agileflow:ads:competitor
16
+
17
+ Analyze competitive landscape for paid advertising, including competitor ad strategies, messaging positioning, and market gaps.
18
+
19
+ ---
20
+
21
+ ## Quick Reference
22
+
23
+ ```
24
+ /agileflow:ads:competitor "SaaS project management" # Industry research
25
+ /agileflow:ads:competitor "competitor1, competitor2" # Specific competitors
26
+ ```
27
+
28
+ ---
29
+
30
+ ## Process
31
+
32
+ ### STEP 1: Identify Competitors
33
+
34
+ If competitors not specified, use WebSearch to identify top advertisers in the space:
35
+ - Search for industry keywords and note who's advertising
36
+ - Look for "Sponsored" results on Google
37
+ - Check Meta Ad Library for active advertisers
38
+
39
+ ### STEP 2: Analyze Competitor Ads
40
+
41
+ For each competitor, research:
42
+
43
+ | Factor | How to Find | What to Note |
44
+ |--------|------------|-------------|
45
+ | **Ad copy themes** | Google search, Ad Library | Headlines, CTAs, value props |
46
+ | **Landing pages** | Click through ads | Page structure, offers, forms |
47
+ | **Platforms active** | Ad libraries, social | Which platforms they invest in |
48
+ | **Offer positioning** | Ad copy, landing pages | Free trial, discount, demo |
49
+ | **Audience signals** | LinkedIn ads, social targeting | Who they're targeting |
50
+ | **Creative style** | Ad Library | Video vs image, UGC, professional |
51
+
52
+ ### STEP 3: Gap Analysis
53
+
54
+ Identify opportunities the user can exploit:
55
+
56
+ ```markdown
57
+ ## Competitive Intelligence Report
58
+
59
+ ### Competitor Overview
60
+
61
+ | Competitor | Platforms | Key Message | Offer | Ad Style |
62
+ |-----------|-----------|------------|-------|---------|
63
+ | {name} | {platforms} | {message} | {offer} | {style} |
64
+
65
+ ### Messaging Gaps
66
+ {Where competitors are NOT messaging - opportunities for differentiation}
67
+
68
+ ### Ad Format Gaps
69
+ {Ad types/platforms competitors aren't using}
70
+
71
+ ### Positioning Recommendations
72
+ 1. **Differentiate on**: {unique angle}
73
+ 2. **Counter-position**: {how to position against top competitor}
74
+ 3. **Underserved keyword themes**: {keyword areas competitors miss}
75
+
76
+ ### Suggested Ad Copy Angles
77
+ - **Angle 1**: {headline idea} - Why: {competitive reason}
78
+ - **Angle 2**: {headline idea} - Why: {competitive reason}
79
+ - **Angle 3**: {headline idea} - Why: {competitive reason}
80
+ ```
81
+
82
+ ### STEP 4: Offer Next Steps
83
+
84
+ ```xml
85
+ <invoke name="AskUserQuestion">
86
+ <parameter name="questions">[{
87
+ "question": "Competitive analysis complete. {N} competitors analyzed, {M} messaging gaps found.",
88
+ "header": "Next steps",
89
+ "multiSelect": false,
90
+ "options": [
91
+ {"label": "Build campaign plan using these insights (Recommended)", "description": "Run /agileflow:ads:plan with competitive positioning"},
92
+ {"label": "Audit our current ads against findings", "description": "Compare your ads to competitor strategies"},
93
+ {"label": "Deep-dive into specific competitor", "description": "More detailed analysis of one competitor"},
94
+ {"label": "Generate ad copy based on gaps", "description": "Create ad copy exploiting found gaps"}
95
+ ]
96
+ }]</parameter>
97
+ </invoke>
98
+ ```
99
+
100
+ ---
101
+
102
+ <!-- COMPACT_SUMMARY_START -->
103
+ ## Compact Summary
104
+
105
+ **Command**: `/agileflow:ads:competitor` - Competitive intelligence for ads
106
+
107
+ **Input**: Industry or competitor names
108
+
109
+ **Output**: Competitor ad analysis, messaging gaps, positioning recommendations
110
+
111
+ **Quick Usage**: `/agileflow:ads:competitor <industry-or-competitors>`
112
+ <!-- COMPACT_SUMMARY_END -->
@@ -0,0 +1,85 @@
1
+ ---
2
+ description: Cross-platform creative quality review with 21 checks for ad copy effectiveness, visual compliance, format coverage, and performance testing
3
+ argument-hint: "<account-data>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:creative - Creative quality review"
8
+ - "Delegate to ads-audit-creative agent for 21 checks"
9
+ state_fields:
10
+ - creative_score
11
+ ---
12
+
13
+ # /agileflow:ads:creative
14
+
15
+ Run a creative quality audit across all ad platforms using the `ads-audit-creative` agent with 21 checks.
16
+
17
+ ---
18
+
19
+ ## Quick Reference
20
+
21
+ ```
22
+ /agileflow:ads:creative <account-data> # Cross-platform creative review
23
+ ```
24
+
25
+ ---
26
+
27
+ ## Process
28
+
29
+ ### STEP 1: Validate Input
30
+
31
+ If no data provided, ask the user to share:
32
+ - Ad copy (headlines, descriptions, primary text)
33
+ - Creative assets (image specs, video details)
34
+ - Platform-specific formatting
35
+ - Performance metrics (CTR, CPC, frequency)
36
+
37
+ ### STEP 2: Deploy Creative Analyzer
38
+
39
+ ```xml
40
+ <invoke name="Task">
41
+ <parameter name="description">Creative quality audit</parameter>
42
+ <parameter name="prompt">TASK: Audit creative quality across all platforms.
43
+
44
+ ACCOUNT DATA:
45
+ {creative_data}
46
+
47
+ Apply ALL 21 checks across 4 categories:
48
+ - Ad Copy Effectiveness (30%) - 7 checks
49
+ - Visual & Format Compliance (25%) - 6 checks
50
+ - Platform-Specific Requirements (25%) - 4 checks
51
+ - Performance & Testing (20%) - 4 checks
52
+
53
+ Check safe zones (TikTok, Meta Stories), character limits, and restricted content.
54
+
55
+ OUTPUT: Full findings with Creative Score X/100</parameter>
56
+ <parameter name="subagent_type">ads-audit-creative</parameter>
57
+ </invoke>
58
+ ```
59
+
60
+ ### STEP 3: Present Results
61
+
62
+ Show Creative Score and offer actionable next steps.
63
+
64
+ ---
65
+
66
+ ## 21 Checks Overview
67
+
68
+ | Category | Weight | Checks | Focus |
69
+ |----------|--------|--------|-------|
70
+ | Ad Copy Effectiveness | 30% | 7 | Value prop, CTA, social proof, keyword alignment |
71
+ | Visual & Format | 25% | 6 | Resolution, text overlay, brand, mobile-first |
72
+ | Platform Requirements | 25% | 4 | Format coverage, native style, char limits, compliance |
73
+ | Performance & Testing | 20% | 4 | Diversity, winner ID, refresh cadence, A/B testing |
74
+
75
+ ---
76
+
77
+ <!-- COMPACT_SUMMARY_START -->
78
+ ## Compact Summary
79
+
80
+ **Command**: `/agileflow:ads:creative` - Cross-platform creative quality review
81
+
82
+ **Agent**: `ads-audit-creative` (21 checks, 4 categories)
83
+
84
+ **Quick Usage**: `/agileflow:ads:creative <account-data>`
85
+ <!-- COMPACT_SUMMARY_END -->
@@ -0,0 +1,112 @@
1
+ ---
2
+ description: Google Ads deep-dive audit with 74 deterministic checks across conversion tracking, spend efficiency, account structure, keywords, ad copy, and settings
3
+ argument-hint: "<account-data>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:google - Google Ads deep-dive"
8
+ - "Delegate to ads-audit-google agent for 74 checks"
9
+ - "Quality gates: tracking required, no Broad without Smart Bidding, 3x Kill Rule"
10
+ state_fields:
11
+ - google_score
12
+ ---
13
+
14
+ # /agileflow:ads:google
15
+
16
+ Run a deep-dive audit on a Google Ads account using the `ads-audit-google` agent with 74 deterministic checks across 6 categories.
17
+
18
+ ---
19
+
20
+ ## Quick Reference
21
+
22
+ ```
23
+ /agileflow:ads:google <account-data> # Full Google Ads audit
24
+ ```
25
+
26
+ ---
27
+
28
+ ## Process
29
+
30
+ ### STEP 1: Validate Input
31
+
32
+ If no account data provided, ask the user to paste or describe their Google Ads setup including:
33
+ - Campaign types and objectives
34
+ - Budget and spend data
35
+ - Keyword match types and Quality Scores
36
+ - Ad copy and extensions
37
+ - Conversion tracking setup
38
+ - Bid strategies in use
39
+
40
+ ### STEP 2: Deploy Google Ads Analyzer
41
+
42
+ ```xml
43
+ <invoke name="Task">
44
+ <parameter name="description">Google Ads deep-dive audit</parameter>
45
+ <parameter name="prompt">TASK: Run a comprehensive Google Ads audit.
46
+
47
+ ACCOUNT DATA:
48
+ {account_data}
49
+
50
+ Apply ALL 74 checks across 6 weighted categories:
51
+ - Conversion Tracking (25%) - 12 checks
52
+ - Wasted Spend (25%) - 15 checks
53
+ - Account Structure (15%) - 12 checks
54
+ - Keyword Strategy (15%) - 14 checks
55
+ - Ad Copy Quality (10%) - 11 checks
56
+ - Campaign Settings (10%) - 10 checks
57
+
58
+ Enforce ALL quality gates:
59
+ 1. No optimization without conversion tracking
60
+ 2. No Broad Match without Smart Bidding
61
+ 3. 3x Kill Rule for CPA
62
+ 4. Brand/non-brand separation
63
+
64
+ OUTPUT: Full findings with Google Ads Score X/100</parameter>
65
+ <parameter name="subagent_type">ads-audit-google</parameter>
66
+ </invoke>
67
+ ```
68
+
69
+ ### STEP 3: Present Results
70
+
71
+ Show the Google Ads Score and key findings, then offer next steps:
72
+
73
+ ```xml
74
+ <invoke name="AskUserQuestion">
75
+ <parameter name="questions">[{
76
+ "question": "Google Ads Audit: Score {X}/100. {N} findings ({critical} critical). Quality gates: {status}.",
77
+ "header": "Next steps",
78
+ "multiSelect": false,
79
+ "options": [
80
+ {"label": "Fix critical issues (Recommended)", "description": "{top issues}"},
81
+ {"label": "Run full multi-platform audit", "description": "Check all platforms together"},
82
+ {"label": "Optimize budget allocation", "description": "Run /agileflow:ads:budget"},
83
+ {"label": "Review creative quality", "description": "Run /agileflow:ads:creative"}
84
+ ]
85
+ }]</parameter>
86
+ </invoke>
87
+ ```
88
+
89
+ ---
90
+
91
+ ## 74 Checks Overview
92
+
93
+ | Category | Weight | Checks | Focus |
94
+ |----------|--------|--------|-------|
95
+ | Conversion Tracking | 25% | 12 | Tag, enhanced conversions, CAPI, consent mode |
96
+ | Wasted Spend | 25% | 15 | Negatives, search terms, 3x rule, QS, network |
97
+ | Account Structure | 15% | 12 | Naming, ad groups, PMax isolation, experiments |
98
+ | Keyword Strategy | 15% | 14 | Match types, QS distribution, intent alignment |
99
+ | Ad Copy Quality | 10% | 11 | RSAs, headlines, CTAs, extensions, testing |
100
+ | Campaign Settings | 10% | 10 | Bidding, location, auto-apply, remarketing |
101
+
102
+ ---
103
+
104
+ <!-- COMPACT_SUMMARY_START -->
105
+ ## Compact Summary
106
+
107
+ **Command**: `/agileflow:ads:google` - Google Ads deep-dive audit
108
+
109
+ **Agent**: `ads-audit-google` (74 checks, 6 categories)
110
+
111
+ **Quick Usage**: `/agileflow:ads:google <account-data>`
112
+ <!-- COMPACT_SUMMARY_END -->
@@ -0,0 +1,119 @@
1
+ ---
2
+ description: Landing page optimization audit for ad campaigns - Core Web Vitals, CTA effectiveness, trust signals, mobile experience, and message match
3
+ argument-hint: "<URL>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:landing - Landing page optimization"
8
+ - "Use WebFetch to analyze the actual landing page"
9
+ - "Check CWV, CTA, trust signals, mobile, message match"
10
+ state_fields:
11
+ - target_url
12
+ - landing_score
13
+ ---
14
+
15
+ # /agileflow:ads:landing
16
+
17
+ Audit a landing page for paid advertising effectiveness. Analyzes the page for conversion rate optimization factors that directly impact ad campaign performance.
18
+
19
+ ---
20
+
21
+ ## Quick Reference
22
+
23
+ ```
24
+ /agileflow:ads:landing https://example.com/offer # Audit landing page
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Process
30
+
31
+ ### STEP 1: Fetch Landing Page
32
+
33
+ Use WebFetch to retrieve the target URL. Extract:
34
+ - Page structure (H1, form, CTA buttons)
35
+ - Load performance indicators
36
+ - Trust signals (testimonials, badges, reviews)
37
+ - Mobile responsiveness indicators
38
+ - Form fields and friction points
39
+
40
+ ### STEP 2: Run 15 Checks
41
+
42
+ | # | Check | Severity | Pass Criteria |
43
+ |---|-------|----------|---------------|
44
+ | LP-1 | Page loads < 3 seconds | HIGH | LCP < 2.5s, FCP < 1.8s |
45
+ | LP-2 | Single clear CTA | HIGH | One primary CTA visible above fold |
46
+ | LP-3 | Headline matches ad copy | CRITICAL | H1 reflects the ad's promise |
47
+ | LP-4 | Mobile responsive | HIGH | Viewport meta + responsive design |
48
+ | LP-5 | Form friction | HIGH | < 5 form fields for lead gen |
49
+ | LP-6 | Trust signals present | MEDIUM | Testimonials, reviews, badges, logos |
50
+ | LP-7 | No navigation distractions | MEDIUM | Minimal or no top navigation |
51
+ | LP-8 | Social proof | MEDIUM | Customer count, ratings, case studies |
52
+ | LP-9 | Urgency element | LOW | Deadline, limited availability (if genuine) |
53
+ | LP-10 | Phone number visible | MEDIUM | Click-to-call for service businesses |
54
+ | LP-11 | Privacy policy linked | HIGH | Required for ad platform compliance |
55
+ | LP-12 | SSL certificate | CRITICAL | HTTPS required |
56
+ | LP-13 | No broken images/links | HIGH | All resources load correctly |
57
+ | LP-14 | Thank you page/confirmation | MEDIUM | Post-conversion confirmation page |
58
+ | LP-15 | Tracking pixels present | CRITICAL | GTM/Pixel/tag detected on page |
59
+
60
+ ### STEP 3: Score and Report
61
+
62
+ ```markdown
63
+ ## Landing Page Audit: {URL}
64
+
65
+ **Landing Page Score**: {X}/100
66
+
67
+ | Check | Status | Severity | Notes |
68
+ |-------|--------|----------|-------|
69
+ | LP-1 Page speed | PASS/FAIL | HIGH | {LCP time} |
70
+ | ... | ... | ... | ... |
71
+
72
+ ### Critical Issues
73
+ {List any CRITICAL failures}
74
+
75
+ ### Quick Wins
76
+ {Easy fixes that improve conversion rate}
77
+
78
+ ### Message Match Analysis
79
+ - **Ad headline**: {if provided}
80
+ - **Landing page H1**: {extracted}
81
+ - **Match quality**: {Strong/Weak/Mismatch}
82
+
83
+ ### Conversion Rate Optimization Suggestions
84
+ 1. {Specific suggestion with expected impact}
85
+ 2. {Suggestion}
86
+ 3. {Suggestion}
87
+ ```
88
+
89
+ ### STEP 4: Offer Next Steps
90
+
91
+ ```xml
92
+ <invoke name="AskUserQuestion">
93
+ <parameter name="questions">[{
94
+ "question": "Landing page score: {X}/100. {N} issues found. What would you like to do?",
95
+ "header": "Next steps",
96
+ "multiSelect": false,
97
+ "options": [
98
+ {"label": "Fix critical issues (Recommended)", "description": "{top issue}"},
99
+ {"label": "Run full ads audit", "description": "Check ad account + landing page together"},
100
+ {"label": "Test another landing page", "description": "Compare multiple landing pages"},
101
+ {"label": "Optimize for specific platform", "description": "Platform-specific landing page requirements"}
102
+ ]
103
+ }]</parameter>
104
+ </invoke>
105
+ ```
106
+
107
+ ---
108
+
109
+ <!-- COMPACT_SUMMARY_START -->
110
+ ## Compact Summary
111
+
112
+ **Command**: `/agileflow:ads:landing` - Landing page optimization for ads
113
+
114
+ **Input**: URL of landing page
115
+
116
+ **Output**: 15-check audit with CRO suggestions
117
+
118
+ **Quick Usage**: `/agileflow:ads:landing <URL>`
119
+ <!-- COMPACT_SUMMARY_END -->
@@ -0,0 +1,112 @@
1
+ ---
2
+ description: LinkedIn Ads audit with 9 checks for lead gen forms, audience targeting, budget efficiency, and CRM integration
3
+ argument-hint: "<account-data>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:linkedin - LinkedIn Ads audit"
8
+ - "Inline command - 9 checks, no separate agent needed"
9
+ - "Min budget: $50/day campaign, $25/day ad group"
10
+ state_fields:
11
+ - linkedin_score
12
+ ---
13
+
14
+ # /agileflow:ads:linkedin
15
+
16
+ Run an inline audit on a LinkedIn Ads account with 9 focused checks. LinkedIn has the highest CPCs in paid social, so efficiency is critical.
17
+
18
+ ---
19
+
20
+ ## Quick Reference
21
+
22
+ ```
23
+ /agileflow:ads:linkedin <account-data> # LinkedIn Ads audit
24
+ ```
25
+
26
+ ---
27
+
28
+ ## The 9 Checks
29
+
30
+ | # | Check | Severity | Pass Criteria |
31
+ |---|-------|----------|---------------|
32
+ | LI-1 | Insight Tag installed | CRITICAL | LinkedIn Insight Tag on all pages |
33
+ | LI-2 | Lead Gen Forms vs landing pages | HIGH | Lead Gen Forms tested (typically 2-5x better CVR) |
34
+ | LI-3 | Audience size appropriate | HIGH | 50K-500K for Sponsored Content |
35
+ | LI-4 | Company/title targeting precision | HIGH | Targeting by job title or function, not just industry |
36
+ | LI-5 | Budget meets minimum | CRITICAL | Minimum $50/day per campaign |
37
+ | LI-6 | CRM integration active | HIGH | Leads syncing to CRM within 24 hours |
38
+ | LI-7 | Content type mix | MEDIUM | Single image + carousel + video tested |
39
+ | LI-8 | Matched Audiences | MEDIUM | Website retargeting + company list + LAL active |
40
+ | LI-9 | ABM alignment | LOW | Account-Based Marketing lists for enterprise |
41
+
42
+ ---
43
+
44
+ ## Process
45
+
46
+ ### STEP 1: Apply All 9 Checks
47
+
48
+ Review the account data against each check. For LinkedIn specifically:
49
+
50
+ **Budget reality check**: LinkedIn CPCs are $5-15 for Sponsored Content. With $50/day minimum:
51
+ - Daily clicks: ~3-10
52
+ - Monthly clicks: ~100-300
53
+ - At 5% conversion rate: ~5-15 leads/month
54
+ - **Minimum viable budget for lead gen: $100/day recommended**
55
+
56
+ **Lead Gen Forms vs Landing Pages**:
57
+ - Lead Gen Forms: 10-30% conversion rate (pre-filled data)
58
+ - Landing Pages: 2-5% conversion rate
59
+ - Always test Lead Gen Forms first on LinkedIn
60
+
61
+ ### STEP 2: Score
62
+
63
+ ```
64
+ LinkedIn Score = 100 - sum(severity_deductions)
65
+ ```
66
+
67
+ Deductions: CRITICAL (-15), HIGH (-8), MEDIUM (-4), LOW (-2)
68
+
69
+ ### STEP 3: Output
70
+
71
+ ```markdown
72
+ ## LinkedIn Ads Audit
73
+
74
+ **LinkedIn Score**: {X}/100
75
+
76
+ | Check | Status | Notes |
77
+ |-------|--------|-------|
78
+ | LI-1 Insight Tag | PASS/FAIL | {details} |
79
+ | LI-2 Lead Gen Forms | PASS/FAIL | {details} |
80
+ | LI-3 Audience size | PASS/FAIL | {size estimate} |
81
+ | LI-4 Targeting precision | PASS/FAIL | {targeting method} |
82
+ | LI-5 Budget minimum | PASS/FAIL | ${daily}/day |
83
+ | LI-6 CRM integration | PASS/FAIL | {sync status} |
84
+ | LI-7 Content types | PASS/FAIL | {formats in use} |
85
+ | LI-8 Matched Audiences | PASS/FAIL | {audience types} |
86
+ | LI-9 ABM alignment | PASS/FAIL | {ABM status} |
87
+
88
+ ### Key Recommendations
89
+ 1. {Top priority fix}
90
+ 2. {Second priority}
91
+ 3. {Third priority}
92
+
93
+ ### LinkedIn-Specific Tips
94
+ - Use Lead Gen Forms for B2B lead generation (2-5x better CVR)
95
+ - Minimum audience size 50K for Sponsored Content
96
+ - Test Document Ads for thought leadership
97
+ - Message Ads have highest response rate but lowest scale
98
+ ```
99
+
100
+ ---
101
+
102
+ <!-- COMPACT_SUMMARY_START -->
103
+ ## Compact Summary
104
+
105
+ **Command**: `/agileflow:ads:linkedin` - LinkedIn Ads audit
106
+
107
+ **Checks**: 9 (inline, no separate agent)
108
+
109
+ **Key**: Min $50/day, Lead Gen Forms > Landing Pages, 50K-500K audience
110
+
111
+ **Quick Usage**: `/agileflow:ads:linkedin <account-data>`
112
+ <!-- COMPACT_SUMMARY_END -->