2.13.0-beta.20). Features may change before the next stable release.Switch to stable →Skills
Scaffold Marketing components with ak:kit-builder
Choose the right Marketing component, preview its project-scoped files, and create a reviewable scaffold without changing a live package or runtime implicitly.
Use ak:kit-builder to choose and scaffold a Skill, Agent, command, or workflow
for Marketing automation. It supplies focused guides, templates, and a Python
initializer; you still own the component contract, generated paths, package
registration, testing, and review.
Choose ak:kit-builder for component structure
Use ak:kit-builder when
- You need to decide whether reusable knowledge belongs in a Skill, an autonomous handler in an Agent, a user action in a command, or a multi-step process in a workflow.
- You want a project-scoped scaffold with placeholders and standard sections.
- You are extending Marketing automation and need its component-specific authoring guides or templates.
- You want to review the structure before filling in domain instructions.
Choose another workflow when
- You only need to create, add to, optimize, fix, plan, or update a Marketing
Skill. Use
ak:skill, which owns that Skill lifecycle. - You need to install, refresh, audit, or remove Marketing Kit. Use the AgentKit CLI lifecycle described in Installing kits.
- You need a one-off draft rather than a reusable runtime component.
- You are ready to publish or distribute a component. This Skill scaffolds files; it does not approve package export, commit, push, release, or deploy.
Prepare the project and runtime
Before you start:
- Complete Onboarding and confirm Marketing Kit is installed in the current runtime and scope.
- Open a project where you may create or replace component files.
- Read repository instructions and inspect existing component names before choosing a target.
- Have Python available if the initializer will create the scaffold.
- Decide the component type and a lowercase-hyphenated name.
| Runtime | Invocation | What the run can do |
|---|---|---|
| Claude Code | /ak:kit-builder ... | Loads the packaged authoring guides and can create Claude-oriented project files after approval. |
| Cursor | /ak:kit-builder ... | Uses the projected Skill through slash invocation; the generated component paths remain those defined by the Marketing source. |
| Codex | $ak:kit-builder ... | Uses native Skill discovery; it does not turn Claude-oriented scaffolds into Codex-native package exports automatically. |
See Runtime adapters before assuming that a generated component has the same discovery or activation behavior everywhere.
Run the Skill
Ask for the component and name directly. This example requests a preview before any files are created:
/ak:kit-builder skill campaign-brief — preview the destination and files before creating them/ak:kit-builder skill campaign-brief — preview the destination and files before creating them$ak:kit-builder skill campaign-brief — preview the destination and files before creating themBy default, the Skill scaffolds the full requested scope and adds nothing
unrequested. Add --yagni to challenge and cut component scope that is not
needed for the stated outcome.
Select the component deliberately
| Type | Default scaffold destination | Use it for |
|---|---|---|
skill | .claude/skills/<name>/SKILL.md plus references/ and scripts/ | Reusable instructions, references, and deterministic helpers |
agent | .claude/agents/<name>.md | A specialized subagent with a bounded trigger, process, and output |
command | .claude/commands/<name>.md or a nested path for a colon name | A user-triggered Claude action |
workflow | .claude/workflows/<name>.md | A multi-phase process with assignments, gates, and outputs |
The initializer accepts python scripts/init_component.py <type> <name> and an
optional --path <output-dir>. Treat that script invocation as an implementation
detail of the Skill, not as an AgentKit CLI command.
Understand the stages
- Classify the reusable outcome. The Skill distinguishes domain knowledge, an autonomous handler, a user action, and process orchestration.
- Inspect the target. It checks existing names and loads the matching guide and template before proposing a destination.
- Review the scaffold plan. You confirm the type, name, paths, placeholders, and whether an existing target may be replaced.
- Create project files. The initializer makes the selected directories and writes the component skeleton.
- Fill the contract. Replace every placeholder with triggers, steps, quality gates, outputs, references, or scripts that match the component.
- Validate discovery and behavior. Test the component in its intended runtime, then separately review any package-manifest or distribution change.
Keep mutation and approval explicit
A scaffold is a repository mutation
The initializer writes files and can replace an existing target with the same
name. Inspect the destination and diff first. Creating a scaffold does not
authorize editing kit.yaml, installing dependencies, accessing a network,
committing, pushing, publishing, or deploying.
The templates are starting points, not evidence that a component is exported or
works. Marketing Kit currently exposes Skills as its user invocation surface and
ships no command catalog. A generated .claude/commands/ file therefore does
not become a released Marketing command without separate package design and
review.
Verify outputs and evidence
A complete run should provide:
- The chosen component type and why it fits better than the alternatives.
- Exact created or changed paths and any existing content that was preserved.
- A scaffold with no unexplained placeholders left in the finished component.
- References or scripts only when they improve progressive disclosure or make a deterministic step reproducible.
- The checks used to confirm syntax, runtime discovery, and a representative happy path and failure path.
- A separate list of package, Git, publication, or deployment actions that still need approval.
Troubleshoot and respect limits
| Symptom | Safe next step |
|---|---|
| The wrong component type was selected | Stop before writing and compare the four type boundaries again. |
| The target already exists | Inspect its content and diff; choose a new name or approve a bounded update instead of overwriting blindly. |
| Python or the initializer is unavailable | Use the packaged template manually and report that deterministic initialization was skipped. |
| The scaffold is not discovered | Confirm runtime, scope, destination, and session refresh with Runtime cannot find a Skill or Agent. |
| A scaffold exists but is not in the released Kit | Review the package export separately; file creation alone does not modify the resolved catalog. |
The guides are Claude-oriented and include historical component patterns. They
do not establish cross-runtime parity, a public command catalog, or automatic
distribution. Continue with Marketing Kit or use ak:skill
when the desired component is specifically a Skill.
Build a strategic HTML deck with ak:slides
Turn an approved narrative, audience, and evidence set into a responsive HTML presentation without publishing it or inventing proof.
Manage Marketing Skills with ak:skill
Route a project-scoped Skill request through create, add, fix-logs, optimize, plan, or update while keeping research, file mutation, and user-scope changes controlled.