بنقرة واحدة
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