From ai-engineering
Provision a new ai-engineering workspace on disk. Use when the user wants to start a new prompt workspace — either a curated prompt-library (catalog) or a prompt-factory (combinatorial generation + eval). Accepts a workspace name and optional variant. Scaffolds the workspace, personalises CLAUDE.md from the user's global memory, and (by default) creates a GitHub repo.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-engineering:new-workspaceThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Creates a new workspace for prompt engineering work. This plugin's commands (`/ai-engineering:craft-prompt`, `/ai-engineering:eval-prompt`, `/ai-engineering:catalog-prompt`, `/ai-engineering:version-prompt`, `/ai-engineering:search-prompts`, `/ai-engineering:configure-variables`, `/ai-engineering:generate-prompts`) are globally available once the plugin is installed — this skill only provisions...
Creates a new workspace for prompt engineering work. This plugin's commands (/ai-engineering:craft-prompt, /ai-engineering:eval-prompt, /ai-engineering:catalog-prompt, /ai-engineering:version-prompt, /ai-engineering:search-prompts, /ai-engineering:configure-variables, /ai-engineering:generate-prompts) are globally available once the plugin is installed — this skill only provisions the data scaffold (CLAUDE.md, prompts/ or variables+templates+generated/, etc.) that those commands read from and write to.
$ARGUMENTS is parsed as:
~/repos/github/my-repos.--variant=<prompt-library|prompt-factory> (optional): which scaffold to copy. Default: prompt-library.--local-only (optional): skip GitHub repo creation and push. Default: create a public GitHub repo and push.--private (optional): create the GitHub repo as private. Default: public.prompt-library (default) — curated, category-organised collection of individual prompts with rich frontmatter for search and reuse.prompt-factory — combinatorial prompt generation. Variable dimensions under variables/, assembly templates under templates/, generated outputs under generated/, and evaluations under evals/./ai-engineering:new-workspace my-prompt-library
/ai-engineering:new-workspace client-prompts --variant=prompt-factory
/ai-engineering:new-workspace scratch-prompts --local-only
/ai-engineering:new-workspace private-prompts --private
Extract workspace name, target parent path, variant, and flags from $ARGUMENTS. If workspace name is missing, ask the user for it before proceeding. Validate the variant is one of prompt-library or prompt-factory; if not, list the available variants and stop.
The bundled scaffold lives at ${CLAUDE_SKILL_DIR}/../../template/<variant>/. Confirm it exists.
Read ~/.claude/CLAUDE.md if it exists. Extract OS, locale, timezone, and user identity facts. These will personalise the workspace's CLAUDE.md at step 5.
mkdir -p <target-parent>/<workspace-name>
cp -r ${CLAUDE_SKILL_DIR}/../../template/<variant>/. <target-parent>/<workspace-name>/
Do not copy any .claude/ tree. The plugin's primitives are global and must not be shadowed by workspace-local duplicates.
Open the new workspace's CLAUDE.md and:
Ask the user only for facts this plugin cannot infer:
claude-sonnet-4, gpt-5, general). Record in CLAUDE.md as DEFAULT_MODELS.prompts/ and skeleton definition files under categories/.persona, tone, domain, constraints, output-format). If yes, remind the user to run /ai-engineering:configure-variables to populate options.cd <target-parent>/<workspace-name>
git init
git add .
git commit -m "Initial workspace from ai-engineering plugin"
Unless --local-only is set:
gh repo create <workspace-name> --<public|private> --source=. --push
Use --public by default, --private if flag was passed.
Tell the user:
/ai-engineering:craft-prompt, /ai-engineering:search-prompts, /ai-engineering:catalog-prompt, /ai-engineering:eval-prompt, /ai-engineering:version-prompt./ai-engineering:configure-variables, /ai-engineering:generate-prompts, /ai-engineering:eval-prompt, /ai-engineering:catalog-prompt, /ai-engineering:version-prompt.prompt-engineer subagent: mention it is available for multi-step prompt-engineering tasks.${CLAUDE_SKILL_DIR}/../../template/ (not ${CLAUDE_PLUGIN_ROOT} — that variable is only exported in hooks/MCP contexts, not in skill bash injection)..claude/commands/, .claude/agents/, or .claude/skills/ into the new workspace. Workspace-local overrides, if wanted, must be added manually afterwards.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin ai-engineering