원클릭으로
ndx-reshape
Restructure the PRD hierarchy — regroup epics, change levels, merge overlaps, create new containers
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Restructure the PRD hierarchy — regroup epics, change levels, merge overlaps, create new containers
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Swap between local n-dx development build and published npm version
Capture a requirement, feature idea, or task from conversation context
View or change n-dx configuration with guided assistance
Analyze the codebase and propose PRD updates
Pick up a task from the PRD and begin working on it
Prevent plan-mode stalls in autonomous hench agent runs
| name | ndx-reshape |
| description | Restructure the PRD hierarchy — regroup epics, change levels, merge overlaps, create new containers |
Restructure the PRD hierarchy to keep it organized as a coherent product spec.
Use this when the PRD has grown organically and needs cleanup: too many top-level epics, features that should be tasks, overlapping areas that should be merged, or items that belong under different parents.
Call get_prd_status (rex MCP) to see the full epic/feature structure and item counts
Analyze the current structure for problems:
Propose a target structure to the user:
After user approval, execute the restructuring:
add_item (rex MCP)move_item (rex MCP)edit_item (rex MCP) using the level fieldmerge_items (rex MCP)edit_item (rex MCP)Run reorganize (rex MCP) with mode fast to verify no structural issues remain
Show the updated structure via get_prd_status
Commit: run git status --porcelain against the project root — this catches every MCP-driven write under .rex/prd_tree/ (move_item, merge_items, edit_item, add_item, and reorganize all mutate the folder tree). If the output is empty, print "Working tree clean — nothing to commit." and stop. Otherwise stage all changes with git add -A and commit with the n-dx authorship + model audit trailer block via a HEREDOC:
git commit -m "$(cat <<'EOF'
ndx-reshape: restructure PRD hierarchy
N-DX: skill/ndx-reshape
Co-Authored-By: En Dash's n-dx <n-dx@endash.us>
EOF
)"
Keep the N-DX: and Co-Authored-By: trailer lines exactly as shown — they form the audit trail used by downstream tooling.
get_prd_status — read current structureadd_item — create new parent containersmove_item — reparent items under new parentsedit_item — change level, rename, update descriptionsmerge_items — consolidate overlapping itemsreorganize — verify structural health after changes