Skip to content

feat: add marketing-agent, marketing-campaign skill and command#2031

Open
cetoing wants to merge 1 commit into
affaan-m:mainfrom
cetoing:main
Open

feat: add marketing-agent, marketing-campaign skill and command#2031
cetoing wants to merge 1 commit into
affaan-m:mainfrom
cetoing:main

Conversation

@cetoing
Copy link
Copy Markdown

@cetoing cetoing commented May 21, 2026

Summary

  • — delegatable subagent for campaign planning, audience research, positioning, full copy production (landing page, email sequences, social posts, ad variants, video scripts), and copy review. Mirrors structure.
  • — orchestration skill for end-to-end campaign workflows. 4-phase process (research → positioning → content production → review), 9-deliverable output contract, quality gate. Delegates to , , , .
  • — user-facing slash command with three modes: full campaign, single deliverable, copy review.

Test plan

  • Invoke with a product brief — confirm positioning + full content suite returned
  • Invoke as a subagent — confirm 9-step workflow followed
  • Run against a copy file — confirm structured audit output
  • Verify agent has no in tools list

Summary by cubic

Adds a delegatable marketing-agent, a marketing-campaign orchestration skill, and a /marketing-campaign command to plan, produce, and review end‑to‑end marketing campaigns. Generates positioning and a full content suite from a single brief with a built‑in quality gate.

  • New Features
    • agents/marketing-agent.md — subagent for research, positioning, copy creation, and review; covers landing pages, email sequences, social posts, ad variants, and short‑form video; read/web tools only; enforces a copy‑review checklist and hard bans.
    • skills/marketing-campaign/SKILL.md — 4‑phase workflow (research → positioning → content → review) with a 9‑deliverable output contract and quality checks; delegates to brand-voice, content-engine, crosspost, and market-research.
    • commands/marketing-campaign.md/marketing-campaign with modes: full campaign, copy (single deliverable), and review; supports interactive or inline briefs; can write files under .claude/campaigns/{campaign-name}/ after confirmation.

Written for commit 174fd3e. Summary will update on new commits. Review in cubic

Summary by CodeRabbit

  • New Features

    • Introduced a marketing agent for campaign strategy, positioning, and copywriting guidance.
    • Added /marketing-campaign command to manage and execute multi-channel product launch campaigns.
  • Documentation

    • Added comprehensive marketing campaign workflow guide including research, production phases, deliverables specifications, quality gates, and copy review standards.

Review Change Stack

Adds a full marketing campaign system to ECC:

- agents/marketing-agent.md — delegatable subagent for campaign planning,
  audience research, positioning, copy production, and copy review. Mirrors
  the seo-specialist.md structure (frontmatter, prompt defense baseline,
  invocation steps, output format, quality bar, hard bans).

- skills/marketing-campaign/SKILL.md — orchestration skill covering the
  full campaign workflow: research → positioning → content production →
  review. Defines output contract (9 deliverable types) and quality gate.
  Delegates upstream to brand-voice, content-engine, crosspost, and
  market-research.

- commands/marketing-campaign.md — user-facing /marketing-campaign command
  with full, single-deliverable, and copy-review modes. Follows the
  commands/ frontmatter convention with description and allowed_tools.
@cetoing cetoing requested a review from affaan-m as a code owner May 21, 2026 08:05
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 21, 2026

📝 Walkthrough

Walkthrough

This PR introduces a complete marketing campaign orchestration system comprising an AI agent definition, command interface, and supporting skill guide. The agent operates as a senior marketing strategist, enforcing prompt defenses and executing a structured multi-channel workflow with prescribed quality gates and copy review standards.

Changes

Marketing Campaign Agent Orchestration

Layer / File(s) Summary
Agent persona, workflow, and deliverables
agents/marketing-agent.md (lines 1–119)
Agent configuration, prompt defense baseline with persona/non-disclosure constraints, operating persona and procedure, detailed campaign workflow (research → positioning → landing page → email → social → video → ads → calendar with copy review checklist), and output format template.
Quality standards and copy review enforcement
agents/marketing-agent.md (lines 120–152)
Copy review standards table (clarity, specificity, CTA, tone, conversion, cross-channel consistency), Quality Bar rules (no filler, generic tone, contradictions), and Hard Bans (clichés, fake urgency, generic CTAs, hollow proof, bait-and-switch, non-specific cross-category copy).
Skill delegation, command interface, and campaign guide
agents/marketing-agent.md (lines 153–159), commands/marketing-campaign.md (lines 1–129), skills/marketing-campaign/SKILL.md (lines 1–113)
Agent reference section delegating to marketing-campaign skill and related tools; command guide specifying invocation patterns, deliverable modes, brief template, output structure, and examples; skill guide defining activation criteria, phased workflow, deliverables contract, quality gates, and prohibited patterns.

Estimated Code Review Effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 A marketing wizard now hops into place,
With copy that gleams and a well-ordered space,
No clichés sneak through this bunny's sharp eye,
Five channels align, and conversions fly high!
Campaign perfection, one prompt at a time.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a marketing agent, skill, and command for marketing campaigns.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ecc-tools
Copy link
Copy Markdown
Contributor

ecc-tools Bot commented May 21, 2026

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
skills/marketing-campaign/SKILL.md (1)

1-114: ⚡ Quick win

Add Examples section to complete the skill documentation structure.

The coding guidelines require skills to include clear sections for "When to Use" (fulfilled by "When to Activate"), "How It Works" (fulfilled by "Campaign Workflow"), and "Examples". The Examples section is currently missing.

Adding practical examples would help users understand concrete usage scenarios, such as:

  • A sample full campaign invocation with a brief
  • A single-deliverable request after positioning is defined
  • A copy review audit example

As per coding guidelines: "Skills must follow Markdown format with clear sections for When to Use, How It Works, and Examples"

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skills/marketing-campaign/SKILL.md` around lines 1 - 114, The SKILL.md for
marketing-campaign is missing the required "Examples" section; add an "##
Examples" heading under the existing sections and include 2–3 concise, practical
examples: 1) a sample full campaign invocation with a short research +
positioning brief and expected outputs, 2) a single-deliverable request (e.g.,
"Write landing page copy given approved positioning"), and 3) a copy review
audit example showing inputs and expected flagged issues; ensure the file still
uses the existing "marketing-campaign" name and keeps "When to Activate" and
"Campaign Workflow" (Positioning/Phase 1–4) intact.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@skills/marketing-campaign/SKILL.md`:
- Around line 1-114: The SKILL.md for marketing-campaign is missing the required
"Examples" section; add an "## Examples" heading under the existing sections and
include 2–3 concise, practical examples: 1) a sample full campaign invocation
with a short research + positioning brief and expected outputs, 2) a
single-deliverable request (e.g., "Write landing page copy given approved
positioning"), and 3) a copy review audit example showing inputs and expected
flagged issues; ensure the file still uses the existing "marketing-campaign"
name and keeps "When to Activate" and "Campaign Workflow" (Positioning/Phase
1–4) intact.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c21e0155-3971-4e32-8cd0-cdb016faccee

📥 Commits

Reviewing files that changed from the base of the PR and between 1e8c7e7 and 174fd3e.

📒 Files selected for processing (3)
  • agents/marketing-agent.md
  • commands/marketing-campaign.md
  • skills/marketing-campaign/SKILL.md

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="commands/marketing-campaign.md">

<violation number="1" location="commands/marketing-campaign.md:129">
P2: Markdown doc links to external unvetted repository in user-facing command file</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic


---

*Part of [Everything Claude Code](https://github.com/affaan-m/everything-claude-code)*
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Markdown doc links to external unvetted repository in user-facing command file

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At commands/marketing-campaign.md, line 129:

<comment>Markdown doc links to external unvetted repository in user-facing command file</comment>

<file context>
@@ -0,0 +1,129 @@
+
+---
+
+*Part of [Everything Claude Code](https://github.com/affaan-m/everything-claude-code)*
</file context>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant