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,124 @@
1
+ ---
2
+ description: YouTube Ads audit for video campaign types, ad formats, targeting strategy, bidding optimization, and creative effectiveness
3
+ argument-hint: "<account-data>"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads:youtube - YouTube Ads audit"
8
+ - "Inline command - check video formats, campaign types, targeting"
9
+ - "YouTube runs through Google Ads platform"
10
+ state_fields:
11
+ - youtube_score
12
+ ---
13
+
14
+ # /agileflow:ads:youtube
15
+
16
+ Run an inline audit on YouTube advertising campaigns (managed through Google Ads) focusing on video-specific optimization.
17
+
18
+ ---
19
+
20
+ ## Quick Reference
21
+
22
+ ```
23
+ /agileflow:ads:youtube <account-data> # YouTube Ads audit
24
+ ```
25
+
26
+ ---
27
+
28
+ ## The 8 Checks
29
+
30
+ | # | Check | Severity | Pass Criteria |
31
+ |---|-------|----------|---------------|
32
+ | YT-1 | Campaign type alignment | HIGH | Correct campaign type for objective |
33
+ | YT-2 | Video format coverage | HIGH | Multiple formats tested (skippable, bumper, shorts) |
34
+ | YT-3 | Targeting strategy | HIGH | Audience targeting refined beyond demographics |
35
+ | YT-4 | Bidding strategy | HIGH | CPV/CPM/tCPA based on objective |
36
+ | YT-5 | Creative hook in 5 seconds | CRITICAL | First 5 seconds grab attention (before skip) |
37
+ | YT-6 | Companion banner | MEDIUM | Companion banner uploaded for desktop |
38
+ | YT-7 | Frequency capping | HIGH | Frequency cap set (3-5 per week recommended) |
39
+ | YT-8 | Conversion tracking | CRITICAL | YouTube conversions tracked in Google Ads |
40
+
41
+ ---
42
+
43
+ ## Process
44
+
45
+ ### STEP 1: Apply All 8 Checks
46
+
47
+ Review the account data against each check. For YouTube specifically:
48
+
49
+ **Campaign types**:
50
+ | Type | Best For | Format |
51
+ |------|---------|--------|
52
+ | Video Reach | Awareness | Bumper (6s) + In-stream |
53
+ | Video Views | Consideration | Skippable in-stream + in-feed |
54
+ | Video Action | Conversions | Skippable in-stream with CTA |
55
+ | Shorts Ads | Awareness + young demo | Vertical 60s max |
56
+ | Demand Gen | Full-funnel | YouTube + Discover + Gmail |
57
+
58
+ **Creative best practices**:
59
+ - First 5 seconds: Brand + hook (many viewers skip at 5s)
60
+ - CTA overlay throughout (not just at end)
61
+ - Mobile-first: 70%+ YouTube watching is mobile
62
+ - Captions/subtitles: Many watch without sound
63
+ - 15-30 seconds optimal for action campaigns
64
+ - Shorts: Vertical 9:16, authentic style
65
+
66
+ **Targeting options**:
67
+ - Custom Intent: Based on Google search behavior
68
+ - Affinity: Interest-based broad reach
69
+ - In-Market: Active purchase intent
70
+ - Remarketing: Website visitors, video viewers
71
+ - Customer Match: Upload customer lists
72
+ - Topic/placement: Specific channels/videos
73
+
74
+ ### STEP 2: Score
75
+
76
+ ```
77
+ YouTube Score = 100 - sum(severity_deductions)
78
+ ```
79
+
80
+ Deductions: CRITICAL (-15), HIGH (-8), MEDIUM (-4), LOW (-2)
81
+
82
+ ### STEP 3: Output
83
+
84
+ ```markdown
85
+ ## YouTube Ads Audit
86
+
87
+ **YouTube Score**: {X}/100
88
+
89
+ | Check | Status | Notes |
90
+ |-------|--------|-------|
91
+ | YT-1 Campaign types | PASS/FAIL | {types in use} |
92
+ | YT-2 Video formats | PASS/FAIL | {formats tested} |
93
+ | YT-3 Targeting | PASS/FAIL | {targeting methods} |
94
+ | YT-4 Bidding | PASS/FAIL | {strategies used} |
95
+ | YT-5 5-second hook | PASS/FAIL | {creative analysis} |
96
+ | YT-6 Companion banner | PASS/FAIL | {banner status} |
97
+ | YT-7 Frequency cap | PASS/FAIL | {cap settings} |
98
+ | YT-8 Conversion tracking | PASS/FAIL | {tracking status} |
99
+
100
+ ### Key Recommendations
101
+ 1. {Top priority fix}
102
+ 2. {Second priority}
103
+ 3. {Third priority}
104
+
105
+ ### YouTube-Specific Tips
106
+ - Video Action campaigns drive most conversions (skippable in-stream with CTA)
107
+ - Custom Intent audiences (based on search) are YouTube's secret weapon
108
+ - Always create Shorts versions of successful long-form ads
109
+ - Test bumper ads (6s) for remarketing - cheap and high frequency
110
+ ```
111
+
112
+ ---
113
+
114
+ <!-- COMPACT_SUMMARY_START -->
115
+ ## Compact Summary
116
+
117
+ **Command**: `/agileflow:ads:youtube` - YouTube Ads audit
118
+
119
+ **Checks**: 8 (inline, no separate agent)
120
+
121
+ **Key**: 5-second hook, campaign types, Custom Intent targeting, frequency caps
122
+
123
+ **Quick Usage**: `/agileflow:ads:youtube <account-data>`
124
+ <!-- COMPACT_SUMMARY_END -->
@@ -0,0 +1,128 @@
1
+ ---
2
+ description: Paid advertising audit & planning toolkit - multi-platform account audits, campaign planning, budget optimization, and competitive intelligence
3
+ argument-hint: "[subcommand] [account-data]"
4
+ compact_context:
5
+ priority: medium
6
+ preserve_rules:
7
+ - "ACTIVE COMMAND: /agileflow:ads - Paid advertising router"
8
+ - "Route to the appropriate sub-command based on user intent"
9
+ - "If no sub-command specified, show the quick reference guide"
10
+ state_fields:
11
+ - subcommand
12
+ - platforms
13
+ ---
14
+
15
+ # /agileflow:ads
16
+
17
+ Paid advertising audit & planning toolkit for multi-platform account optimization. Routes to specialized sub-commands.
18
+
19
+ ---
20
+
21
+ ## Quick Reference
22
+
23
+ ```
24
+ /agileflow:ads:audit <account-data> # Full multi-platform audit (6 parallel analyzers)
25
+ /agileflow:ads:plan # Campaign planning with industry templates
26
+ /agileflow:ads:google <account-data> # Google Ads deep-dive (74 checks)
27
+ /agileflow:ads:meta <account-data> # Meta/Facebook audit (46 checks)
28
+ /agileflow:ads:creative <account-data> # Cross-platform creative review (21 checks)
29
+ /agileflow:ads:budget <account-data> # Budget allocation & bidding strategy
30
+ /agileflow:ads:landing <URL> # Landing page optimization
31
+ /agileflow:ads:competitor <industry> # Competitive intelligence
32
+ /agileflow:ads:linkedin <account-data> # LinkedIn audit (9 checks)
33
+ /agileflow:ads:tiktok <account-data> # TikTok audit (8 checks)
34
+ /agileflow:ads:microsoft <account-data> # Microsoft Ads audit (7 checks)
35
+ /agileflow:ads:youtube <account-data> # YouTube audit
36
+ ```
37
+
38
+ ---
39
+
40
+ ## Sub-Commands
41
+
42
+ | Command | Purpose | When to Use |
43
+ |---------|---------|-------------|
44
+ | **audit** | Full multi-platform audit with Ads Health Score | Starting point for any account |
45
+ | **plan** | Campaign planning with industry templates | New campaigns or restructuring |
46
+ | **google** | Google Ads deep-dive (74 checks) | Google-specific optimization |
47
+ | **meta** | Meta/Facebook audit (46 checks) | Meta-specific optimization |
48
+ | **creative** | Cross-platform creative quality | Creative strategy improvement |
49
+ | **budget** | Budget & bidding strategy | Spend optimization |
50
+ | **landing** | Landing page optimization | Conversion rate improvement |
51
+ | **competitor** | Competitive intelligence | Market positioning |
52
+ | **linkedin** | LinkedIn Ads audit | LinkedIn-specific optimization |
53
+ | **tiktok** | TikTok Ads audit | TikTok-specific optimization |
54
+ | **microsoft** | Microsoft Ads audit | Microsoft-specific optimization |
55
+ | **youtube** | YouTube Ads audit | Video campaign optimization |
56
+
57
+ ---
58
+
59
+ ## Account Data Formats
60
+
61
+ The ads commands accept account data in several formats:
62
+
63
+ 1. **Pasted text** - Copy/paste from ad platform exports (CSV, tables)
64
+ 2. **File path** - Point to exported CSV/JSON files
65
+ 3. **Structured description** - Describe your account setup in plain text
66
+ 4. **Screenshots** - Describe what you see in platform dashboards
67
+
68
+ For best results, include:
69
+ - Campaign names, types, and objectives
70
+ - Budget and spend data
71
+ - Conversion tracking setup
72
+ - Targeting settings
73
+ - Ad creative details
74
+ - Performance metrics (CPA, ROAS, CTR, CVR)
75
+
76
+ ---
77
+
78
+ ## Routing Logic
79
+
80
+ If the user provides data without a sub-command, determine intent:
81
+
82
+ 1. **"audit my ads"** -> `/agileflow:ads:audit`
83
+ 2. **"plan a campaign"** -> `/agileflow:ads:plan`
84
+ 3. **"check my Google Ads"** -> `/agileflow:ads:google`
85
+ 4. **"Meta" / "Facebook ads"** -> `/agileflow:ads:meta`
86
+ 5. **"creative review"** -> `/agileflow:ads:creative`
87
+ 6. **"budget" / "spend" / "bidding"** -> `/agileflow:ads:budget`
88
+ 7. **"landing page"** -> `/agileflow:ads:landing`
89
+ 8. **"competitor" / "competitive"** -> `/agileflow:ads:competitor`
90
+ 9. **"LinkedIn"** -> `/agileflow:ads:linkedin`
91
+ 10. **"TikTok"** -> `/agileflow:ads:tiktok`
92
+ 11. **"Microsoft" / "Bing"** -> `/agileflow:ads:microsoft`
93
+ 12. **"YouTube" / "video ads"** -> `/agileflow:ads:youtube`
94
+ 13. **Unclear** -> Show the quick reference and ask which analysis they want
95
+
96
+ ---
97
+
98
+ ## If No Sub-Command Specified
99
+
100
+ Show the quick reference table above and ask:
101
+
102
+ ```xml
103
+ <invoke name="AskUserQuestion">
104
+ <parameter name="questions">[{
105
+ "question": "Which advertising analysis would you like to run?",
106
+ "header": "Ads Analysis",
107
+ "multiSelect": false,
108
+ "options": [
109
+ {"label": "Full multi-platform audit (Recommended)", "description": "Comprehensive 6-analyzer audit with Ads Health Score 0-100"},
110
+ {"label": "Campaign planning", "description": "Industry-specific campaign templates with budget allocation"},
111
+ {"label": "Platform-specific audit", "description": "Deep-dive into Google, Meta, LinkedIn, TikTok, Microsoft, or YouTube"},
112
+ {"label": "Budget & bidding strategy", "description": "Optimize spend allocation and bidding across platforms"}
113
+ ]
114
+ }]</parameter>
115
+ </invoke>
116
+ ```
117
+
118
+ ---
119
+
120
+ <!-- COMPACT_SUMMARY_START -->
121
+ ## Compact Summary
122
+
123
+ **Command**: `/agileflow:ads` - Paid advertising audit & planning router
124
+
125
+ **Sub-commands**: audit, plan, google, meta, creative, budget, landing, competitor, linkedin, tiktok, microsoft, youtube
126
+
127
+ **Quick start**: `/agileflow:ads:audit <account-data>` for full analysis
128
+ <!-- COMPACT_SUMMARY_END -->