agileflow 3.2.1 → 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 (134) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +6 -6
  3. package/lib/feature-flags.js +32 -4
  4. package/lib/skill-loader.js +0 -1
  5. package/package.json +1 -1
  6. package/scripts/agileflow-statusline.sh +81 -0
  7. package/scripts/babysit-clear-restore.js +154 -0
  8. package/scripts/claude-tmux.sh +120 -24
  9. package/scripts/claude-watchdog.sh +225 -0
  10. package/scripts/generators/agent-registry.js +14 -1
  11. package/scripts/generators/inject-babysit.js +22 -9
  12. package/scripts/generators/inject-help.js +19 -9
  13. package/scripts/lib/README-portable-tasks.md +424 -0
  14. package/scripts/lib/audit-cleanup.js +250 -0
  15. package/scripts/lib/audit-registry.js +248 -0
  16. package/scripts/lib/configure-detect.js +20 -0
  17. package/scripts/lib/feature-catalog.js +13 -2
  18. package/scripts/lib/gate-enforcer.js +295 -0
  19. package/scripts/lib/model-profiles.js +98 -0
  20. package/scripts/lib/signal-detectors.js +1 -1
  21. package/scripts/lib/skill-catalog.js +557 -0
  22. package/scripts/lib/skill-recommender.js +311 -0
  23. package/scripts/lib/tdd-phase-manager.js +455 -0
  24. package/scripts/lib/team-events.js +76 -8
  25. package/scripts/lib/tmux-group-colors.js +113 -0
  26. package/scripts/messaging-bridge.js +209 -1
  27. package/scripts/spawn-audit-sessions.js +549 -0
  28. package/scripts/team-manager.js +37 -16
  29. package/scripts/tmux-close-windows.sh +180 -0
  30. package/scripts/tmux-restore-window.sh +67 -0
  31. package/scripts/tmux-save-closed-window.sh +35 -0
  32. package/src/core/agents/ads-audit-budget.md +181 -0
  33. package/src/core/agents/ads-audit-compliance.md +169 -0
  34. package/src/core/agents/ads-audit-creative.md +164 -0
  35. package/src/core/agents/ads-audit-google.md +226 -0
  36. package/src/core/agents/ads-audit-meta.md +183 -0
  37. package/src/core/agents/ads-audit-tracking.md +197 -0
  38. package/src/core/agents/ads-consensus.md +322 -0
  39. package/src/core/agents/brainstorm-analyzer-features.md +169 -0
  40. package/src/core/agents/brainstorm-analyzer-growth.md +161 -0
  41. package/src/core/agents/brainstorm-analyzer-integration.md +172 -0
  42. package/src/core/agents/brainstorm-analyzer-market.md +147 -0
  43. package/src/core/agents/brainstorm-analyzer-ux.md +167 -0
  44. package/src/core/agents/brainstorm-consensus.md +237 -0
  45. package/src/core/agents/completeness-analyzer-api.md +190 -0
  46. package/src/core/agents/completeness-analyzer-conditional.md +201 -0
  47. package/src/core/agents/completeness-analyzer-handlers.md +159 -0
  48. package/src/core/agents/completeness-analyzer-imports.md +159 -0
  49. package/src/core/agents/completeness-analyzer-routes.md +182 -0
  50. package/src/core/agents/completeness-analyzer-state.md +188 -0
  51. package/src/core/agents/completeness-analyzer-stubs.md +198 -0
  52. package/src/core/agents/completeness-consensus.md +286 -0
  53. package/src/core/agents/perf-consensus.md +2 -2
  54. package/src/core/agents/security-consensus.md +2 -2
  55. package/src/core/agents/seo-analyzer-content.md +167 -0
  56. package/src/core/agents/seo-analyzer-images.md +187 -0
  57. package/src/core/agents/seo-analyzer-performance.md +206 -0
  58. package/src/core/agents/seo-analyzer-schema.md +176 -0
  59. package/src/core/agents/seo-analyzer-sitemap.md +172 -0
  60. package/src/core/agents/seo-analyzer-technical.md +144 -0
  61. package/src/core/agents/seo-consensus.md +289 -0
  62. package/src/core/agents/test-consensus.md +2 -2
  63. package/src/core/commands/ads/audit.md +375 -0
  64. package/src/core/commands/ads/budget.md +97 -0
  65. package/src/core/commands/ads/competitor.md +112 -0
  66. package/src/core/commands/ads/creative.md +85 -0
  67. package/src/core/commands/ads/google.md +112 -0
  68. package/src/core/commands/ads/landing.md +119 -0
  69. package/src/core/commands/ads/linkedin.md +112 -0
  70. package/src/core/commands/ads/meta.md +91 -0
  71. package/src/core/commands/ads/microsoft.md +115 -0
  72. package/src/core/commands/ads/plan.md +321 -0
  73. package/src/core/commands/ads/tiktok.md +129 -0
  74. package/src/core/commands/ads/youtube.md +124 -0
  75. package/src/core/commands/ads.md +128 -0
  76. package/src/core/commands/babysit.md +250 -1344
  77. package/src/core/commands/code/completeness.md +466 -0
  78. package/src/core/commands/{audit → code}/legal.md +26 -16
  79. package/src/core/commands/{audit → code}/logic.md +27 -16
  80. package/src/core/commands/{audit → code}/performance.md +30 -20
  81. package/src/core/commands/{audit → code}/security.md +32 -19
  82. package/src/core/commands/{audit → code}/test.md +30 -20
  83. package/src/core/commands/{discovery → ideate}/brief.md +12 -12
  84. package/src/core/commands/{discovery/new.md → ideate/discover.md} +13 -13
  85. package/src/core/commands/ideate/features.md +435 -0
  86. package/src/core/commands/seo/audit.md +373 -0
  87. package/src/core/commands/seo/competitor.md +174 -0
  88. package/src/core/commands/seo/content.md +107 -0
  89. package/src/core/commands/seo/geo.md +229 -0
  90. package/src/core/commands/seo/hreflang.md +140 -0
  91. package/src/core/commands/seo/images.md +96 -0
  92. package/src/core/commands/seo/page.md +198 -0
  93. package/src/core/commands/seo/plan.md +163 -0
  94. package/src/core/commands/seo/programmatic.md +131 -0
  95. package/src/core/commands/seo/references/cwv-thresholds.md +64 -0
  96. package/src/core/commands/seo/references/eeat-framework.md +110 -0
  97. package/src/core/commands/seo/references/quality-gates.md +91 -0
  98. package/src/core/commands/seo/references/schema-types.md +102 -0
  99. package/src/core/commands/seo/schema.md +183 -0
  100. package/src/core/commands/seo/sitemap.md +97 -0
  101. package/src/core/commands/seo/technical.md +100 -0
  102. package/src/core/commands/seo.md +107 -0
  103. package/src/core/commands/skill/list.md +68 -212
  104. package/src/core/commands/skill/recommend.md +216 -0
  105. package/src/core/commands/tdd-next.md +238 -0
  106. package/src/core/commands/tdd.md +210 -0
  107. package/src/core/experts/_core-expertise.yaml +105 -0
  108. package/src/core/experts/analytics/expertise.yaml +5 -99
  109. package/src/core/experts/codebase-query/expertise.yaml +3 -72
  110. package/src/core/experts/compliance/expertise.yaml +6 -72
  111. package/src/core/experts/database/expertise.yaml +9 -52
  112. package/src/core/experts/documentation/expertise.yaml +7 -140
  113. package/src/core/experts/integrations/expertise.yaml +7 -127
  114. package/src/core/experts/mentor/expertise.yaml +8 -35
  115. package/src/core/experts/monitoring/expertise.yaml +7 -49
  116. package/src/core/experts/performance/expertise.yaml +1 -26
  117. package/src/core/experts/security/expertise.yaml +9 -34
  118. package/src/core/experts/ui/expertise.yaml +6 -36
  119. package/src/core/knowledge/ads/ad-audit-checklist-scoring.md +424 -0
  120. package/src/core/knowledge/ads/ad-optimization-logic.md +590 -0
  121. package/src/core/knowledge/ads/ad-technical-specifications.md +385 -0
  122. package/src/core/knowledge/ads/definitive-advertising-reference-2026.md +506 -0
  123. package/src/core/knowledge/ads/paid-advertising-research-2026.md +445 -0
  124. package/src/core/templates/agileflow-metadata.json +15 -1
  125. package/tools/cli/installers/ide/_base-ide.js +42 -5
  126. package/tools/cli/installers/ide/claude-code.js +13 -4
  127. package/tools/cli/lib/content-injector.js +160 -12
  128. package/tools/cli/lib/docs-setup.js +1 -1
  129. package/src/core/commands/skill/create.md +0 -698
  130. package/src/core/commands/skill/delete.md +0 -316
  131. package/src/core/commands/skill/edit.md +0 -359
  132. package/src/core/commands/skill/test.md +0 -394
  133. package/src/core/commands/skill/upgrade.md +0 -552
  134. package/src/core/templates/skill-template.md +0 -117
@@ -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 -->
@@ -0,0 +1,91 @@
1
+ ---
2
+ description: Meta/Facebook Ads deep-dive audit with 46 deterministic checks across Pixel/CAPI tracking, creative strategy, account structure, and audience targeting
3
+ argument-hint: "<account-data>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:meta - Meta Ads deep-dive"
8
+ - "Delegate to ads-audit-meta agent for 46 checks"
9
+ - "Quality gates: Pixel required, domain verified, learning phase, Special Ad Categories"
10
+ state_fields:
11
+ - meta_score
12
+ ---
13
+
14
+ # /agileflow:ads:meta
15
+
16
+ Run a deep-dive audit on a Meta/Facebook Ads account using the `ads-audit-meta` agent with 46 deterministic checks across 4 categories.
17
+
18
+ ---
19
+
20
+ ## Quick Reference
21
+
22
+ ```
23
+ /agileflow:ads:meta <account-data> # Full Meta 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 Meta Ads setup including:
33
+ - Pixel and CAPI setup
34
+ - Campaign objectives and structure
35
+ - Audience targeting (LAL, custom, interest)
36
+ - Creative assets and formats
37
+ - Budget and performance metrics
38
+
39
+ ### STEP 2: Deploy Meta Ads Analyzer
40
+
41
+ ```xml
42
+ <invoke name="Task">
43
+ <parameter name="description">Meta Ads deep-dive audit</parameter>
44
+ <parameter name="prompt">TASK: Run a comprehensive Meta/Facebook Ads audit.
45
+
46
+ ACCOUNT DATA:
47
+ {account_data}
48
+
49
+ Apply ALL 46 checks across 4 weighted categories:
50
+ - Pixel & CAPI Tracking (30%) - 12 checks
51
+ - Creative Strategy (25%) - 14 checks
52
+ - Account Structure (25%) - 10 checks
53
+ - Audience Targeting (20%) - 10 checks
54
+
55
+ Enforce ALL quality gates:
56
+ 1. Pixel installed and firing
57
+ 2. Domain verified
58
+ 3. Learning phase healthy (50 conversions/week)
59
+ 4. Special Ad Categories declared
60
+
61
+ OUTPUT: Full findings with Meta Ads Score X/100</parameter>
62
+ <parameter name="subagent_type">ads-audit-meta</parameter>
63
+ </invoke>
64
+ ```
65
+
66
+ ### STEP 3: Present Results
67
+
68
+ Show the Meta Ads Score and key findings, then offer next steps.
69
+
70
+ ---
71
+
72
+ ## 46 Checks Overview
73
+
74
+ | Category | Weight | Checks | Focus |
75
+ |----------|--------|--------|-------|
76
+ | Pixel & CAPI Tracking | 30% | 12 | Pixel, CAPI, EMQ, AEM, dedup, privacy |
77
+ | Creative Strategy | 25% | 14 | Diversity, video, formats, refresh, DCO |
78
+ | Account Structure | 25% | 10 | CBO, objectives, consolidation, learning phase |
79
+ | Audience Targeting | 20% | 10 | LAL, custom, overlap, retargeting, exclusions |
80
+
81
+ ---
82
+
83
+ <!-- COMPACT_SUMMARY_START -->
84
+ ## Compact Summary
85
+
86
+ **Command**: `/agileflow:ads:meta` - Meta/Facebook Ads deep-dive audit
87
+
88
+ **Agent**: `ads-audit-meta` (46 checks, 4 categories)
89
+
90
+ **Quick Usage**: `/agileflow:ads:meta <account-data>`
91
+ <!-- COMPACT_SUMMARY_END -->
@@ -0,0 +1,115 @@
1
+ ---
2
+ description: Microsoft Ads audit with 7 checks for search partner management, UET tag, LinkedIn targeting, and import quality from Google Ads
3
+ argument-hint: "<account-data>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:microsoft - Microsoft Ads audit"
8
+ - "Inline command - 7 checks, no separate agent needed"
9
+ - "Often imported from Google - check import quality"
10
+ state_fields:
11
+ - microsoft_score
12
+ ---
13
+
14
+ # /agileflow:ads:microsoft
15
+
16
+ Run an inline audit on a Microsoft Ads (formerly Bing Ads) account with 7 focused checks. Microsoft Ads often runs as a Google import - verify it's optimized for the platform.
17
+
18
+ ---
19
+
20
+ ## Quick Reference
21
+
22
+ ```
23
+ /agileflow:ads:microsoft <account-data> # Microsoft Ads audit
24
+ ```
25
+
26
+ ---
27
+
28
+ ## The 7 Checks
29
+
30
+ | # | Check | Severity | Pass Criteria |
31
+ |---|-------|----------|---------------|
32
+ | MS-1 | UET tag installed | CRITICAL | Universal Event Tracking tag on all pages |
33
+ | MS-2 | Search partner performance | HIGH | Syndication partners monitored, disabled if poor |
34
+ | MS-3 | Import quality from Google | HIGH | No broken bid strategies or unsupported features |
35
+ | MS-4 | Bid adjustments set | MEDIUM | Microsoft-specific bids (not just Google copy) |
36
+ | MS-5 | LinkedIn profile targeting | HIGH | LinkedIn demographics used for B2B targeting |
37
+ | MS-6 | Audience ads opt-in reviewed | MEDIUM | Microsoft Audience Network reviewed for performance |
38
+ | MS-7 | Conversion goals defined | HIGH | Microsoft-native conversion tracking active |
39
+
40
+ ---
41
+
42
+ ## Process
43
+
44
+ ### STEP 1: Apply All 7 Checks
45
+
46
+ Review the account data against each check. For Microsoft Ads specifically:
47
+
48
+ **Import quality matters**:
49
+ - Google imports often bring unsupported features
50
+ - Automated bid strategies may not transfer correctly
51
+ - Negative keyword lists may not sync
52
+ - Review every imported campaign for Microsoft compatibility
53
+
54
+ **LinkedIn targeting advantage**:
55
+ - Microsoft Ads uniquely offers LinkedIn profile targeting
56
+ - Target by company, industry, job function
57
+ - Powerful for B2B campaigns not using LinkedIn Ads directly
58
+ - Can be layered on top of keyword targeting
59
+
60
+ **Search partners**:
61
+ - Microsoft Audience Network reaches Yahoo, AOL, DuckDuckGo
62
+ - Performance varies significantly by partner
63
+ - Review partner performance monthly
64
+ - Disable underperforming partners individually
65
+
66
+ ### STEP 2: Score
67
+
68
+ ```
69
+ Microsoft Score = 100 - sum(severity_deductions)
70
+ ```
71
+
72
+ Deductions: CRITICAL (-15), HIGH (-8), MEDIUM (-4), LOW (-2)
73
+
74
+ ### STEP 3: Output
75
+
76
+ ```markdown
77
+ ## Microsoft Ads Audit
78
+
79
+ **Microsoft Score**: {X}/100
80
+
81
+ | Check | Status | Notes |
82
+ |-------|--------|-------|
83
+ | MS-1 UET tag | PASS/FAIL | {details} |
84
+ | MS-2 Search partners | PASS/FAIL | {partner performance} |
85
+ | MS-3 Import quality | PASS/FAIL | {import issues found} |
86
+ | MS-4 Bid adjustments | PASS/FAIL | {Microsoft-specific bids} |
87
+ | MS-5 LinkedIn targeting | PASS/FAIL | {targeting usage} |
88
+ | MS-6 Audience Network | PASS/FAIL | {opt-in status} |
89
+ | MS-7 Conversion goals | PASS/FAIL | {goals defined} |
90
+
91
+ ### Key Recommendations
92
+ 1. {Top priority fix}
93
+ 2. {Second priority}
94
+ 3. {Third priority}
95
+
96
+ ### Microsoft-Specific Tips
97
+ - LinkedIn profile targeting is Microsoft's unique advantage
98
+ - Don't just "set and forget" Google imports - optimize for Microsoft
99
+ - Search partner performance varies - monitor and exclude poor performers
100
+ - Microsoft audience skews older and higher income than Google
101
+ ```
102
+
103
+ ---
104
+
105
+ <!-- COMPACT_SUMMARY_START -->
106
+ ## Compact Summary
107
+
108
+ **Command**: `/agileflow:ads:microsoft` - Microsoft Ads audit
109
+
110
+ **Checks**: 7 (inline, no separate agent)
111
+
112
+ **Key**: UET tag, import quality, LinkedIn targeting, search partners
113
+
114
+ **Quick Usage**: `/agileflow:ads:microsoft <account-data>`
115
+ <!-- COMPACT_SUMMARY_END -->