From technical-docs
Provision a new technical-docs workspace on disk. Use when the user wants to start a new documentation workspace (API reference, code docs, environment docs, or a developer notebook). Accepts a workspace name and optional variant (api-reference | code-docs | environment-docs | dev-notebook). 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
/technical-docs: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 technical documentation work. This plugin's commands (`/technical-docs:create-readme`, `/technical-docs:create-reference`, `/technical-docs:document-stack`, etc.) are globally available once installed — this skill only provisions the **data scaffold** (CLAUDE.md, directory layout, starter files) that those commands read from and write to.
Creates a new workspace for technical documentation work. This plugin's commands (/technical-docs:create-readme, /technical-docs:create-reference, /technical-docs:document-stack, etc.) are globally available once installed — this skill only provisions the data scaffold (CLAUDE.md, directory layout, starter files) that those commands read from and write to.
$ARGUMENTS is parsed as:
~/repos/github/my-repos.--variant=<api-reference|code-docs|environment-docs|dev-notebook> (optional): which scaffold to copy. Default: code-docs.--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.api-reference — structured API/SDK reference docs with an endpoints/ or reference/ layout.code-docs — general codebase documentation workspace (README drafts, architecture notes, module docs).environment-docs — split human-facing vs. agent-facing environment documentation (adapted from the Environment Docs pattern).dev-notebook — developer notebook: entries, snippets, and references for ongoing engineering learning./technical-docs:new-workspace my-api-docs --variant=api-reference
/technical-docs:new-workspace project-env --variant=environment-docs
/technical-docs:new-workspace eng-notebook --variant=dev-notebook
/technical-docs:new-workspace repo-docs --local-only
Extract workspace name, target parent path, variant, and flags from $ARGUMENTS. If workspace name is missing, ask the user. If variant is missing, default to code-docs.
The bundled scaffold lives at ${CLAUDE_SKILL_DIR}/../../template/<variant>/. Confirm it exists. If the variant isn't one of api-reference, code-docs, environment-docs, dev-notebook, tell the user which variants are available.
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.
Open the new workspace's CLAUDE.md and:
<PROJECT> tokens with facts from step 3 (or leave blank if unknown).Ask the user only for facts this plugin can't infer:
api-reference: the API name, base URL, and auth style (record in CLAUDE.md).code-docs: the target repository path or URL being documented.environment-docs: the system / machine / environment being described.dev-notebook: the notebook's topical focus (e.g. "backend engineering", "ML ops").cd <target-parent>/<workspace-name>
git init
git add .
git commit -m "Initial workspace from technical-docs 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:
/technical-docs:create-readme, /technical-docs:create-reference, /technical-docs:document-stack, /technical-docs:create-changelog, /technical-docs:save-fix-note).doc-writer agent can drive multi-step doc work.${CLAUDE_SKILL_DIR}/../../template/ (not ${CLAUDE_PLUGIN_ROOT} — that variable isn't exported in skill bash injection, only in hooks/MCP)..claude/commands/, .claude/agents/, or .claude/skills/ into the new workspace.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin technical-docs