/bodnar-skills:aitmpl-composefrom bodnar-skills
Author and compose `claude-code-templates` (aitmpl.com) workflows. Use whenever the user wants to bundle catalog components (agents, commands, MCPs, hooks, settings, skills) into a reusable `workflow.yaml` or `template.json`, merge multiple templates or workflows, expand Bodnar `pack` macros, validate a workflow against the live catalog, or scaffold `.claude/workflows/`. Trigger on "aitmpl", "claude-code-templates", "compose templates", "merge templates", "scaffold a workflow", "share my Claude Code setup", "author a workflow", "author a template", "make a pack", "new pack", "expand pack", "validate workflow.yaml", or any mention of `npx claude-code-templates@latest --workflow` or `--template`. Also use when the user lists components to assemble, or describes a project intent (such as a Cloudflare Worker scaffold with security hardening) that should resolve to a concrete component bundle. Output is upstream-native YAML in `.claude/workflows/`; never invent a parallel bundle format.
Ships in bodnar-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Author and compose claude-code-templates workflows. Two modes share one selector primitive.
| Mode | Input | Output |
|---|---|---|
| author | Intent ("Cloudflare Worker scaffold with security hardening") | .claude/workflows/<name>.yaml |
| compose | N templates + N workflows + cherry-picks + packs | .claude/workflows/<name>.yaml (merged) |
The emitted YAML is upstream-native and installs via npx claude-code-templates@latest --workflow .claude/workflows/<name>.yaml.
.claude/workflows/.If you (Claude) see any of the following, load and run this skill:
workflow.yaml, template.json, or pack.aitmpl, claude-code-templates, or npx claude-code-templates..claude/workflows/ for a project.bash scripts/init # Ensures bun + yaml deps; idempotent.
scripts/aitmpl-compose catalog refresh # Fetches the upstream catalog; cached at ~/.cache/aitmpl-compose/catalog.json.
The catalog is refreshed at most once per 24 hours by default. Use --force to bypass.
Ask the user, or extract from the conversation:
cf-worker-secure.fullstack-web, security-hardened, etc.) and/or workflow YAMLs to merge in.bodnar/cf-platform, lauren/content-creator, etc.). List available packs with scripts/aitmpl-compose packs list.If the user is in claude.ai, prefer the interactive selector (Step 3a). In Claude Code, ask conversationally and pass selections as args.
Read assets/selector.html. Substitute the catalog JSON and stack-detection results into the template's __CATALOG__ and __DETECTED__ markers, then render with visualize:show_widget. The user checks boxes; submitting calls sendPrompt() with a JSON selection. Parse the next user message and pass the selection to scripts/aitmpl-compose compose --selection-file <path>.
Run scripts/aitmpl-compose detect to surface a stack-suggestion list. Discuss it with the user, then build the component selection conversationally. Invoke scripts/aitmpl-compose compose --name <name> --components <component-list> once you have a final list.
scripts/aitmpl-compose compose \
--name <workflow-name> \
--templates fullstack-web,security-hardened \
--workflows path/to/existing.yaml \
--packs bodnar/cf-platform \
--add agent:development-team/rust-systems-expert \
--add skill:cloudflare-compose \
--out .claude/workflows/<name>.yaml
Composition rules (see references/composition-rules.md for full spec):
(type, name); first occurrence wins for ordering.agent → command → mcp → setting → hook → skill.# from pack: <name> trailing comment on each pack-expanded entry.scripts/aitmpl-compose validate .claude/workflows/<name>.yaml
Cross-checks every component against the catalog. Exits non-zero on unknown components.
Optionally dry-run the install:
npx claude-code-templates@latest --workflow .claude/workflows/<name>.yaml --dry-run --yes
Show the path of the emitted YAML, the component count by type, and the next step (npx claude-code-templates@latest --workflow <path> --yes).
| Command | Purpose |
|---|---|
catalog refresh | Refresh the local catalog cache from upstream |
catalog list [--type agent|command|...] | List catalog components, optionally filtered by type |
catalog search <query> | Fuzzy search the catalog |
packs list | List available packs (project → user → bundled) |
packs show <name> | Print a pack's expanded component list |
new-pack | Interactively author a new pack (writes to ~/.config/aitmpl-compose/packs/) |
compose | Compose a workflow.yaml (the main path) |
validate <file> | Validate a workflow.yaml against the catalog |
expand <file> | Expand pack: references in a workflow.yaml, write to stdout |
detect | Detect tech stack from the current project (package.json, Cargo.toml, wrangler.toml, etc.) |
Full flag reference: scripts/aitmpl-compose --help (or any subcommand with --help).
A pack is a reusable named component bundle. Format and discovery cascade: see references/pack-format.md. Quick start:
scripts/aitmpl-compose new-pack
# Prompts for: name, description, components. Writes to ~/.config/aitmpl-compose/packs/<scope>/<name>.yaml.
Seed packs ship in packs/ and serve as starting templates. Daniel can fork these to user-global via:
scripts/aitmpl-compose packs fork bodnar/cf-platform
The skill primarily emits workflows. To contribute a curated bundle back to the upstream catalog as a Template (the 14 starred bundles in the docs), use:
scripts/aitmpl-compose compose --emit-template --out template.json
This emits the upstream template.json shape instead of workflow.yaml. See references/workflow-schema.md for the schema difference.
scripts/aitmpl-compose detect reads (in order):
package.json → checks dependencies and devDependencies for: react, vue, astro, hono, next, bun, vitest, playwrightCargo.toml → marks the project as Rust; checks for tokio, axum, workers-rs, ayawrangler.toml / wrangler.jsonc → marks as Cloudflare Workerspyproject.toml → Python (not Daniel's preference, but flagged for honesty)flake.nix, shell.nix → Nix.tool-versions, mise.toml → mise runtime targetsOutput is a JSON document of { stacks, suggested_components }. The interactive selector pre-checks suggested components.
Read the reference files in references/ as needed. They contain detail that doesn't fit in this top-level instructions file.
references/workflow-schema.md — Full upstream YAML schema and template.json shapereferences/pack-format.md — Pack file format, discovery cascade, fork semanticsreferences/composition-rules.md — Dedup, ordering, conflict resolution rulesreferences/catalog-discovery.md — How the catalog is fetched and cached#!/usr/bin/env bun executables, no .ts extension, chmod +x.assets/selector.html (opens in a new tab)package.json (opens in a new tab)packs/bodnar-cf-platform.yaml (opens in a new tab)packs/bodnar-security-base.yaml (opens in a new tab)packs/lauren-content-creator.yaml (opens in a new tab)references/catalog-discovery.md (opens in a new tab)references/composition-rules.md (opens in a new tab)references/pack-format.md (opens in a new tab)references/workflow-schema.md (opens in a new tab)scripts/aitmpl-compose (opens in a new tab)scripts/init (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
28 skills in this plugin
/act-platform-engineeringToolkit for Daniel Bodnar's Animal Care Technologies (ACT) platform engineering, SRE, sysadmin, and DBA work. Use this skill whenever the user mentions ACT, vsurv_production, dbprimary, pimsserver, payment gateway reliability, Zach's Bodnar Tasks, Internal Needs (EC-142), Sysadmin/IAC (EC-120), Zoho Projects task or issue creation, PostgreSQL or ZFS assessment on ACT infrastructure, PVE nodes (10.0.50.1-3), the act-infra repo, WAL shipping, dbhotswap failover, PVE3 failing drives, PowerEdge 730, Pims Garden, Miller, Ben Jumper, the assessment cheatsheet or checklist, observability deployment (Grafana, Netdata), centralized log management, secrets management, or pimsserver branch consolidation. Trigger even when the user uses shorthand like "the assessment", "the checklist", "INT-XX", "SY1-XX", or references infrastructure work without explicit naming. Also use when drafting Zoho tasks/issues, running assessment commands on dbprimary, or generating documentation for ACT infrastructure./arch-repackageReverse-engineer an existing Linux OS (running host, mounted rootfs, disk image, or container/OCI image) into a set of Arch Linux meta-packages plus regular packages, emitting spec-conformant PKGBUILD, .SRCINFO, .install, and payload files validated against pacman 7.1.0 and systemd v260. Use this skill whenever the user wants to repackage, re-derive, convert, decompose, or rebuild an existing operating system, appliance, or rootfs as Arch packages; extract PKGBUILDs from an installed system; turn a Debian/Ubuntu/Fedora/Alpine/ Arch image into pacman packages; split a filesystem into leaf packages and layered meta-packages; or generate an Arch package set that reproduces another distro. Trigger even when the user only says "turn this OS into packages", "make PKGBUILDs from my system", "repackage this image for Arch", "extract packages from a rootfs", or describes building a package hierarchy out of a Linux install.Other plugins' skills for the same job
npx claudepluginhub danielbodnar/agent-plugins --plugin bodnar-skills