agentshekel/agentic-workflow/marketing-task-decomposition
Claude Code and agent skill by agentshekel/agentic-workflow
- community
Checking that the SKILL.md file is still in the repository.
[METHODOLOGY] Decompose a marketing engagement plan into atomic task files (engagement/tasks/*.md). Each task = one specialist + one deliverable + measurable done-when. Enables targeted re-dispatch on iter-2 REJECT instead of re-running the whole phase. Pure reference — invoked by marketing-lead at Phase 2.5 (after plan.md, before dispatch). Mandatory for size: L. Recommended for size: M with ≥2 specialists. Skipped on size: S (single specialist, single deliverable).
Install
npx vskill@latest install agentshekel/agentic-workflow/marketing-task-decompositionSKILL.md
The same SKILL.md was published earlier as agentshekel/agentic-workflow/marketing-task-decomposition.
Marketing task decomposition
Marketing engagements without atomic task files force the entire phase to restart on REJECT. With atomic tasks, the lead re-dispatches only the broken unit. This skill defines the contract.
When to decompose
| size | Required? | Rationale | |
|---|---|---|---|
| S | NO | One specialist, one deliverable — plan.md is enough. | |
| M | RECOMMENDED if ≥2 specialists OR ≥3 distinct deliverables | iter-2 cost saving outweighs decomposition overhead. | |
| L | YES | Multi-specialist coordination requires explicit dependency graph; full-engagement re-runs cost too much. |
If the plan skips decomposition on a size: L engagement, the handoff gate fails (handoff-precheck) on missing tasks/ — same gate as a missing ## Validation log.
Inputs
engagement/criteria.md(locked)engagement/plan.md(lead, Phase 2 output)
Output
engagement/tasks/{NN}-{slug}.md— one file per atomic taskengagement/tasks/INDEX.md— manifest with wave grouping (optional but recommended for L)
Integrity rules (read before drafting tasks)
Domain-neutral rules for keeping intent intact across the conversion: decomposition-integrity.md.
Non-negotiable subset: every task names its Source (the crit-N or the plan.md section it comes from) and repeats the Common objective; the source wins on any conflict with task wording; a requirement that exists because of a risk carries that risk into ## Non-goals / must not break — in marketing that is usually the claim that must stay backed by data, or the traffic the change must not lose; small same-shape edits batch into ONE task instead of one specialist seat each; the coverage check in §6 runs before the set goes to the workflow.
Atomic task = one of these shapes
A task is "atomic" when it can be re-run in isolation without re-running adjacent work. Marketing atoms by domain:
| Domain track | Atom shape | Example | |
|---|---|---|---|
| SEO | one keyword cluster, OR one technical-audit slice (robots.txt, sitemap, schema, meta), OR one URL group's on-page recommendations | "task-03-cluster-pricing-keywords.md" | |
| PPC | one ad group (1 audience + 1 message + 1 landing), OR one campaign-level config (bid strategy, exclusions, geo) | "task-05-adgroup-retargeting-cart-abandoners.md" | |
| Analytics | one metric pull (date-bounded, source-bounded), OR one drift-analysis slice (one section/topic), OR one AI-visibility prompt batch | "task-02-metrika-traffic-mar-apr.md" | |
| Content | one landing block (hero, features, FAQ, etc.), OR one ad creative variant, OR one email in a sequence, OR one banner format | "task-08-landing-block-trust-section.md" | |
| Banner design | one art direction × one format (1500×500 social hero, 728×90 ad, etc.) | "task-12-banner-instagram-stories-direction-A.md" |
Anti-atom (don't do this):
- "task-01-do-seo-audit.md" — too coarse, can't be re-run partially.
- "task-02-write-copy.md" — what copy, for what surface?
- "task-03-pull-data.md" — what data, what dates, what source?
If you can't write a measurable acceptance bullet for the task, it's not atomic — split further.
Per-task contract (S2 — when A.contracts is enabled)
On M/L engagements run with A.contracts on, each tasks/{NN}.md ALSO carries a ## Contract (co-signed) section (the per-task acceptance rubric). You do NOT author it — leave it for the engine's contract handshake (owner proposes assertions in-band → reviewer co-signs and writes the section). Schema: engagement-protocol §"tasks/{id}.md → ## Contract (co-signed)". It binds the per-task review only and never waives criteria.md.
Task file template
Workflow
Phase 1: Draft tasks (lead)
- Read
criteria.mdandplan.md. - For each phase in plan.md, list candidate atoms using the shape table above.
- Group atoms by dependency order → assign wave numbers.
- Wave 1: no deps (data pulls, audits)
- Wave 2: depends on wave 1 (recommendations from audits, semantic core from data)
- Wave 3: depends on wave 2 (creative based on recs, campaigns based on core)
- Write one
tasks/{NN}-{slug}.mdper atom from the template above. - Write
tasks/INDEX.mdwith the wave grouping if engagement is L (or if M with ≥5 tasks).
Phase 2: Validate (lead, single pass)
Marketing tasks don't need the dev-style 3-iteration validation cycle (no TDD anchors, no code paths). One pass is enough:
For each task file, lead self-checks:
- [ ]
crit_refsactually cites acriteria.mdbullet (not a phantom). - [ ]
owneris a real agent name (matches amarketing-*agent in~/.claude/agents/). - [ ]
depends_oncites realtasks/NN-*.mdfiles. - [ ]
## Done whenhas at least one bullet testable without the lead's word ("CSV at path X exists with header Y", not "data looks complete"). - [ ] No two tasks have the same
(owner, deliverable_type)in the same wave (would compete).
If any check fails — fix the file, don't dispatch.
Phase 3: Execution (the engagement-workflow Workflow runs the waves)
The decomposed tasks/*.md feed the Workflow's deliver phase. There is NO mid-lead dispatch tier — each task's owner names the specialist agentType directly (e.g. marketing-seo-specialist, marketing-keyword-researcher, marketing-web-analyst, marketing-copywriter, marketing-banner-designer), and the Workflow dispatches it wave-by-wave (same-wave tasks run in parallel on disjoint artefact paths).
Each specialist opens its assigned task, does the work, writes the artefact to its engagement path, and appends its result to executor-reports/{specialist-agent-name}.md § "Task {NN}: {title}".
When done, specialist updates the task file's status: done and is finished. The Workflow's deliver phase manifest-verifies the wave; the handoff step aggregates the executor-reports.
Phase 4: Iter-2 retargeting (on REJECT)
On an iter-2 REJECT, the Workflow's rework loop re-runs ONLY the tasks whose crit_refs include the failing crit-N values (the specialist appends ## Iteration 2 to its executor-report per protocol). The atomic decomposition is what makes this targeted: instead of re-running the whole content phase to fix one ad creative, only the broken task re-runs.
Anti-patterns
- Don't decompose retroactively ("we already did the work, let me write the tasks now"). Either decompose at Phase 2.5 or skip it entirely (size: S/M-without-multispecialist). Retroactive task files are paperwork, not coordination.
- Don't write `tasks/*.md` content longer than 40 lines. If the task needs more spec, the brief belongs in
executor-reports/{specialist}.mdafter the specialist runs, not in the task file. - Don't put the same crit-N in `crit_refs` of >3 tasks. If one criterion needs that many tasks, the criterion is a deliverable list — sharpen criteria.md (lead-authority, no user touch) and respread.
- Don't make a task's `owner` a lead. The lead plans and the engagement-workflow dispatches; leads don't deliver. Owner must be a specialist agent.
- Don't skip `crit_refs` "because the task is implementation detail". Every atom must trace to a criterion. If it doesn't trace — it's scope creep, drop it or escalate via scope-sync.
What this is NOT
- Not a tech-spec (no
tech-spec.mdfor marketing). - Not a
task-creatorinvocation (dev-only — has TDD anchors, code-touching). Lead writes these directly with Write tool. - Not validated by
task-validatororreality-checkeragents (those are dev-only). Lead's Phase 2 self-check above is sufficient.
Cost estimate
For an M engagement with 8 atomic tasks: ≈10-15 min of lead time to draft + self-validate. Saves an entire phase re-run on iter-2 (≈30-60 min). Net positive at iter ≥ 1.4 reject rate; current baseline is 0.5 (1 reject in 2 engagements average), so still net positive across 4+ engagements.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/marketing-task-decomposition/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/agentshekel/agentic-workflow/marketing-task-decomposition)