notion-child-page-preservation

Preserve Notion child pages during parent page block updates.

9|2|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/DavidTeju/shared-skills --skill notion-child-page-preservation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: notion-child-page-preservation
Source: https://github.com/DavidTeju/shared-skills/tree/main/skills/notion-child-page-preservation
Command: npx skills add https://github.com/DavidTeju/shared-skills --skill notion-child-page-preservation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevent accidental deletion of Notion child pages when updating parent page content.

Core Features & Use Cases

  • Safely update a parent page without losing embedded child blocks.
  • Detect and preserve child pages when performing Notion block updates.
  • Use safe update patterns like range replacements to keep child blocks intact.

Quick Start

Use replace_content_range to update a Notion page while preserving child blocks and their parent relationships.

Frequently Asked Questions about notion-child-page-preservation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update a Notion page without deleting embedded child pages?

To prevent deleting child pages during Notion content updates, use range replacement operations to preserve child blocks. This approach safely detects embedded child blocks and updates parent page content ranges without orphaning or deleting child pages.

Why does replacing content on a Notion page orphan or delete child blocks?

Standard replace_content operations overwrite entire page block structures, causing accidental deletion of embedded child pages. Applying range replacement patterns instead of full overwrites ensures child blocks remain intact and connected to their parent page.

What is the best way to perform a major content rewrite on a Notion page with child pages?

The best way to rewrite Notion page content with child pages is applying range replacement to update specific blocks while re-including child blocks. This preserves child pages by accurately detecting embedded blocks and applying targeted updates instead of full page overwrites.

Can I use replace_content operations to update Notion pages safely?

You can safely use replace_content operations on Notion pages by applying range replacement patterns instead of full overwrites. This requires accurate detection of child blocks to ensure embedded child pages are preserved and re-included during parent page updates.

When do I need to preserve child pages during Notion block updates?

You need to preserve child pages during Notion block updates when a parent page contains embedded child pages as blocks and undergoes major content rewrites or replace_content operations. Without preservation patterns, these child pages risk accidental deletion or orphaning.