Skip to content

feat: package the whole repo as a single skill#45

Open
wesleysimplicio wants to merge 1 commit into
mainfrom
claude/repo-as-skill
Open

feat: package the whole repo as a single skill#45
wesleysimplicio wants to merge 1 commit into
mainfrom
claude/repo-as-skill

Conversation

@wesleysimplicio
Copy link
Copy Markdown
Owner

Summary

Turns the entire marketing-engine repo into one invocable skill in the Anthropic Skills format. Adds a top-level SKILL.md with full frontmatter and an in-tree reference index pointing at every sub-skill, design doc, and provider implementation. CLAUDE.md and README.md get a one-line breadcrumb so both agents and humans find the entry point first.

The 16 sub-skills under .skills/ stay as they are — they're the building blocks. This new root SKILL.md is the package: one capability, one entry point.

What's in SKILL.md

  • Frontmattername: marketing-engine, description, version, license, repository.
  • When to invoke — piece pipeline, new client onboarding, new provider, re-render, compliance gate, captions fan-out, ads handoff, metrics.
  • Inputspiece_path, client_slug, stage, task_type (abstract, never a provider name), dry_run.
  • Process — the full mandatory per-piece loop (brief → script → creative → caption → compliance → publish → metrics → ads).
  • Outputsmanifest.json, script.md, captions.json, creative artefacts, append-only audit logs, Playwright evidence.
  • Definition of Done — 6 gates from CLAUDE.md restated.
  • Sub-skills — all 16 listed by category (Dispatch, Copy, Image specialists, Video specialists, Gates, Bootstrap, Tooling).
  • Provider-agnostic principle — re-stated as the load-bearing invariant.
  • Stack table — LLM / Image / Video / Publishing / Ads / Calendar with default-first ordering.
  • CLI surfacenpx marketing-engine init|check|generate|promote.
  • Add-a-provider — the three-step contract.
  • Add-a-client — the four-step playbook.
  • Non-negotiable rules — provider hardcoding, mocks-in-prod, push-to-main, secrets, real calls in CI.
  • References — pointers to CLAUDE.md, AGENTS.md, .specs/architecture/*, lib/providers/, .skills/*/SKILL.md, e2e/, bootstrap.{sh,ps1}.
  • Upstream — links to repo, HyperFrames, yool-tuple-hamt.

Test plan

  • Anyone (human or agent) opening the repo finds SKILL.md at the root and can reach every capability from it without spelunking.
  • npx marketing-engine generate still routes through the same dispatchers — the SKILL.md changes no runtime behavior.
  • An external skill-aware client (e.g. skills add wesleysimplicio/marketing-engine) parses the frontmatter cleanly.

https://claude.ai/code/session_01H7AkCb3czV1qAwvUjPGWJC


Generated by Claude Code

Add a top-level SKILL.md (Anthropic Skills format) that turns the
entire marketing-engine into one invocable capability. Frontmatter
declares name + description + repository; body covers when to invoke,
inputs at every pipeline stage, the mandatory per-piece loop, outputs,
Definition of Done, the 16 sub-skills, the provider-agnostic principle,
stack table, CLI surface, the three-step provider-add contract, the
client-onboarding playbook, non-negotiable rules, and an in-tree
reference index.

CLAUDE.md and README.md gain a one-line breadcrumb pointing at the new
entry point so both human readers and agents loading the repo find it
first.

https://claude.ai/code/session_01H7AkCb3czV1qAwvUjPGWJC
@wesleysimplicio wesleysimplicio marked this pull request as ready for review May 25, 2026 04:29
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.

2 participants