campaign-calendar
This skill should be used when generating or refreshing the rolling campaign calendar. Scans knowledge-base/marketing/distribution-content/ markdown…
от jikig-ai★ 21 звезда на GitHub
Установить campaign-calendar в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.
Campaign Calendar
Generate a rolling campaign calendar by scanning knowledge-base/marketing/distribution-content/*.md files and grouping them by status. Replaces the fixed distribution plan that expires with no rollover.
Arguments
$ARGUMENTS is parsed for optional flags:
campaign-calendar [--headless] [--stale-days <N>]
If $ARGUMENTS contains --headless, set HEADLESS=true. This skill has no interactive prompts, so --headless is a no-op for convention compliance.
--stale-days <N> sets the draft-staleness threshold for the "Stale Draft" group (default 7).
Execution
Phase 1: Scan Content Files
Glob
knowledge-base/marketing/distribution-content/*.mdto find all content files.If zero files are found, write a calendar with the empty state message (see Phase 3) and skip to Phase 4.
For each file found, read the file and extract YAML frontmatter fields:
title(string)type(string: case-study, pillar, announcement)publish_date(YYYY-MM-DD)channels(comma-separated string)status(draft, scheduled, published)
If a file has no YAML frontmatter delimiters (
---), skip it and note: "Skipped [filename]: no frontmatter found."If a file has frontmatter but is missing required fields (
title,status), include it with "unknown" for missing values.
Phase 2: Classify Entries
Classify each content file into one of five groups using status, publish_date, and draft age:
| Group | Condition | Sort Order |
|---|---|---|
| Overdue | status: scheduled AND publish_date < today |
Oldest first (most overdue at top) |
| Upcoming | status: scheduled AND publish_date >= today |
Soonest first |
| Stale Draft — needs approval | status: draft AND draft age > N days (default N=7) |
Oldest first (most stale at top) |
| Draft | status: draft AND draft age ≤ N days |
Alphabetical by title |
| Published | status: published |
Most recent publish_date first |
Today's date: use the current date at execution time.
Why a distinct stale group: content-publisher.sh skips any file whose
status != scheduled before its stale-sweep, so a draft never ages out and
never alerts — an un-approved draft strands silently forever. This group is the
only cadence signal for that class (e.g. a feature-tweet ship draft the
operator never flipped to scheduled).
Draft age: derive from the leading YYYY-MM-DD in the filename
(<YYYY-MM-DD>-<slug>.md, the feature-tweet naming) when present; otherwise
from the file's git first-commit date (git log --diff-filter=A --format=%cs -1 -- <file>), falling back to filesystem mtime. age_days = today − that_date.
N defaults to 7; override via the --stale-days <N> argument.
Phase 3: Generate Calendar Markdown
Write the calendar to knowledge-base/marketing/campaign-calendar.md with this structure:
---
last_updated: YYYY-MM-DD
---
# Campaign Calendar
Rolling view of content distributions. Auto-generated from `distribution-content/` frontmatter.
## Overdue
> These items have a scheduled publish date in the past but have not been published.
| Title | Type | Publish Date | Channels | Status |
|-------|------|-------------|----------|--------|
| ... | ... | ... | ... | scheduled |
## Upcoming
| Title | Type | Publish Date | Channels | Status |
|-------|------|-------------|----------|--------|
| ... | ... | ... | ... | scheduled |
## Stale Draft — needs approval
> Drafts older than N days (default 7) still awaiting operator approval. The
> publisher never ages these out — flip `publish_date` + `status: scheduled` to
> release, or delete if abandoned.
| Title | Type | Age (days) | Channels | Status |
|-------|------|-----------|----------|--------|
| ... | ... | ... | ... | draft |
## Draft
| Title | Type | Publish Date | Channels | Status |
|-------|------|-------------|----------|--------|
| ... | ... | ... | ... | draft |
## Published
| Title | Type | Publish Date | Channels | Status |
|-------|------|-------------|----------|--------|
| ... | ... | ... | ... | published |
Rules:
- Omit any section that has zero entries (do not show empty tables).
- If zero files were found in P
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл campaign-calendar?
This skill should be used when generating or refreshing the rolling campaign calendar. Scans knowledge-base/marketing/distribution-content/ markdown frontmatter, groups by status (overdue/upcoming/draft/published), writes a calendar view.
Как установить скилл campaign-calendar?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл campaign-calendar запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…