Skip to content

feat: complete the nddev-builder toolkit and teach ZCode's real loading model#26

Merged
rldyourmnd merged 1 commit into
mainfrom
feat/marketplace-orientation-and-userscope-docs
Jul 18, 2026
Merged

feat: complete the nddev-builder toolkit and teach ZCode's real loading model#26
rldyourmnd merged 1 commit into
mainfrom
feat/marketplace-orientation-and-userscope-docs

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Why

The nddev-builder authoring skills taught the pre-fix loading model — they told developers to place components in ~/.zcode/marketplaces/<mp>/plugins/, which ZCode 3.3.6 never loads. A developer following them reproduced the exact bug the installer's user-scope flatten just fixed. This makes the toolkit complete, self-orienting, and correct against ZCode 3.3.6.

What

  • New nddev-builder-orientation skill (/nddev-orient): the single map — toolkit layout, how ZCode discovers/loads skills/commands/agents at user scope, what the installer flattens (and what it doesn't: references, tools, MCP, hooks), the install/remove/switch lifecycle, and the fail-closed cross-plugin basename collision rule.
  • New add-instructions (AGENTS.md scopes + merge order) and validate-components (static pre-install checks incl. the collision that aborts a build), each with a /nddev-* command.
  • Corrected add-skill, add-plugin, add-tool, add-mcp-server, add-hook, add-command, add-agent, the README, and the zcode-native-format reference: user-scope flatten reality, collision rule, absolute installed paths for tools/hooks (not flattened, no ${CLAUDE_PLUGIN_ROOT}), the strict hook output schema (allow/ask/deny/additionalContext), and disable-noninteractive.

Verification

Marketplace validators pass (validate_public_contracts, validate_zcode_components, markdown fences); the private harness marketplace-structure/lifecycle/list/runtime tests pass (the exact-surface set was updated for the 3 new components).

https://claude.ai/code/session_01Y29c9sJRhChvxDcUjab5Xo

…ading model

The authoring skills taught the pre-fix loading model: they told developers to
place components in ~/.zcode/marketplaces/<mp>/plugins/, which ZCode 3.3.6 never
loads. A developer following them reproduced the exact bug the installer's
user-scope flatten fixed. This corrects the toolkit to teach the real model and
fills its gaps.

- Add nddev-builder-orientation: the single map of the toolkit and how ZCode
  discovers/loads skills/commands/agents at user scope, what the installer
  flattens (and what it does not), the install/remove/switch lifecycle, and the
  fail-closed cross-plugin basename collision rule.
- Add add-instructions (AGENTS.md user/workspace scopes and merge order) and
  validate-components (static pre-install checks incl. the cross-plugin
  collision that aborts a build), each with a /nddev-* command.
- Correct add-skill, add-plugin, add-tool, add-mcp-server, add-hook, add-command,
  add-agent, the README, and the zcode-native-format reference to state the
  user-scope flatten reality, the collision rule, absolute installed paths for
  tools/hooks (not flattened, no ${CLAUDE_PLUGIN_ROOT}), the correct strict hook
  output schema (allow/ask/deny/additionalContext), and disable-noninteractive.

Claude-Session: https://claude.ai/code/session_01Y29c9sJRhChvxDcUjab5Xo
@rldyourmnd
rldyourmnd merged commit 4284954 into main Jul 18, 2026
8 checks passed
@rldyourmnd
rldyourmnd deleted the feat/marketplace-orientation-and-userscope-docs branch July 18, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant