Claude-skill-registry-data markdowntown-workbench
Use this when working on the Workbench UI, Workbench state/store, export/compile pipeline, or adapter/target behavior (agents-md, claude-code, github-copilot, etc.).
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/markdowntown-workbench" ~/.claude/skills/majiayu000-claude-skill-registry-data-markdowntown-workbench && rm -rf "$T"
manifest:
data/markdowntown-workbench/SKILL.mdsource content
Workbench + export pipeline
When to use
- Building or refactoring Workbench UI panels, onboarding, or actions.
- Updating Workbench state (UAM v1, scopes, blocks, targets) or scan handoff.
- Changing compile/export behavior, adapters, or target options.
Quick map
- Workbench UI + state:
+src/components/workbench/*src/hooks/useWorkbenchStore.ts - Compile endpoint:
src/app/api/compile/route.ts - Compile + adapters:
,src/lib/compile/compile.ts
,src/lib/adapters/*src/lib/uam/compile/* - Export UX:
src/components/workbench/ExportPanel.tsx
Workflow
-
Confirm entry point
- Identify whether the change is UI-only, state-only, or export pipeline.
- Workbench state lives in
; it normalizes UAM v1 and syncs legacy fields.useWorkbenchStore
-
State + targets
- Targets are stored on the UAM v1 definition; changes should flow through
+ target helpers.setUam - When adjusting scan → Workbench handoff, review
andapplyScanContext
.SCAN_TOOL_TARGET_MAP
- Targets are stored on the UAM v1 definition; changes should flow through
-
Export/compile behavior
- Export panel calls
(debounced) and displays the compilation result./api/compile - Update compile or adapter logic in
andsrc/lib/compile/compile.ts
.src/lib/adapters/* - Keep file path collisions and warnings surfaced (compile result is shown in Workbench).
- Export panel calls
-
Adapters
- Adapters define target-specific output; register new adapters in the registry.
- If adapter output or options change, update
.docs/architecture/skills-export-matrix.md
-
Tests + checks
- Run
,npm run compile
,npm run lint
.npm run test:unit - If you change export behavior, check any Workbench/E2E references and update tests as needed.
- Run
References
- codex/skills/markdowntown-workbench/references/workbench-ui.md
- codex/skills/markdowntown-workbench/references/compile-adapters.md
Guardrails
- Prefer UAM v1 helpers (
,createUamTargetV1
) to avoid drift.normalizeUamTargetsV1 - Keep Workbench strings aligned with
.docs/ux/microcopy-guidelines.md