@mohammadhprp/system-prompt 0.12.2 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/framework/commands/README.md +1 -1
  2. package/framework/commands/review.md +1 -1
  3. package/framework/mcps/README.md +0 -1
  4. package/framework/plugins/ponytail/README.md +0 -1
  5. package/framework/plugins/ponytail/capabilities.md +1 -1
  6. package/framework/references/standards/api.md +0 -1
  7. package/framework/references/standards/architecture.md +0 -1
  8. package/framework/references/standards/database.md +0 -1
  9. package/framework/references/standards/debugging.md +0 -1
  10. package/framework/references/standards/documentation.md +0 -1
  11. package/framework/references/standards/logging.md +0 -1
  12. package/framework/references/standards/naming.md +0 -1
  13. package/framework/references/standards/observability.md +0 -1
  14. package/framework/references/standards/performance.md +0 -1
  15. package/framework/references/standards/pull-requests.md +0 -1
  16. package/framework/references/standards/security.md +0 -1
  17. package/framework/references/standards/testing.md +0 -1
  18. package/framework/skills/README.md +16 -12
  19. package/framework/skills/architect/SKILL.md +83 -0
  20. package/framework/skills/architect/examples.md +5 -0
  21. package/framework/skills/architect/references/design-red-flags.md +33 -0
  22. package/framework/skills/architect/references/rationale-template.md +35 -0
  23. package/framework/skills/architect/references/runner-prompt.md +20 -0
  24. package/framework/skills/arena/SKILL.md +71 -0
  25. package/framework/skills/arena/examples.md +5 -0
  26. package/framework/skills/bro/SKILL.md +7 -0
  27. package/framework/skills/bro/examples.md +5 -0
  28. package/framework/skills/changelog/SKILL.md +41 -0
  29. package/framework/skills/changelog/examples.md +5 -0
  30. package/framework/skills/commit/SKILL.md +28 -0
  31. package/framework/skills/commit/examples.md +5 -0
  32. package/framework/skills/how/SKILL.md +135 -0
  33. package/framework/skills/how/examples.md +5 -0
  34. package/framework/skills/how/references/critic-prompt.md +59 -0
  35. package/framework/skills/how/references/critique-rubric.md +58 -0
  36. package/framework/skills/how/references/explainer-prompt.md +55 -0
  37. package/framework/skills/how/references/explorer-prompt.md +52 -0
  38. package/framework/skills/improve/SKILL.md +1 -3
  39. package/framework/skills/improve/examples.md +1 -1
  40. package/framework/skills/laravel-best-practices/SKILL.md +56 -216
  41. package/framework/skills/laravel-best-practices/references/architecture.md +1 -1
  42. package/framework/skills/laravel-best-practices/references/checklist.md +139 -0
  43. package/framework/skills/laravel-best-practices/references/eloquent.md +4 -2
  44. package/framework/skills/laravel-best-practices/references/infer-conventions.md +97 -0
  45. package/framework/skills/laravel-best-practices/references/pest-testing.md +47 -18
  46. package/framework/skills/laravel-best-practices/references/security.md +1 -1
  47. package/framework/skills/laravel-best-practices/references/style.md +1 -1
  48. package/framework/skills/laravel-best-practices/references/tailwindcss.md +0 -1
  49. package/framework/skills/merge-request/SKILL.md +40 -0
  50. package/framework/skills/merge-request/examples.md +5 -0
  51. package/framework/skills/pull-request/SKILL.md +31 -0
  52. package/framework/skills/pull-request/examples.md +5 -0
  53. package/framework/skills/release/SKILL.md +30 -0
  54. package/framework/skills/release/examples.md +5 -0
  55. package/framework/skills/review/SKILL.md +18 -0
  56. package/framework/skills/review/examples.md +5 -0
  57. package/framework/skills/tdd/SKILL.md +44 -0
  58. package/framework/skills/tdd/examples.md +5 -0
  59. package/framework/skills/unslop/SKILL.md +81 -0
  60. package/framework/skills/unslop/examples.md +5 -0
  61. package/framework/skills/why/SKILL.md +230 -0
  62. package/framework/skills/why/examples.md +5 -0
  63. package/framework/skills/why/references/epistemics.md +144 -0
  64. package/framework/skills/why/references/investigator-prompt.md +103 -0
  65. package/framework/skills/why/references/source-playbook.md +17 -0
  66. package/framework/skills/why/references/sources/code-archaeology.md +88 -0
  67. package/framework/skills/why/references/sources/databricks.md +70 -0
  68. package/framework/skills/why/references/sources/datadog.md +99 -0
  69. package/framework/skills/why/references/sources/incident-postmortem.md +15 -0
  70. package/framework/skills/why/references/sources/linear.md +48 -0
  71. package/framework/skills/why/references/sources/notion.md +55 -0
  72. package/framework/skills/why/references/sources/sentry.md +100 -0
  73. package/framework/skills/why/references/sources/slack.md +54 -0
  74. package/framework/skills/why/references/synthesizer-prompt.md +135 -0
  75. package/package.json +1 -1
  76. package/src/catalog.js +13 -12
  77. package/framework/mcps/notion-mcp/README.md +0 -57
  78. package/framework/mcps/notion-mcp/capabilities.md +0 -118
  79. package/framework/mcps/notion-mcp/configs/opencode.json +0 -9
  80. package/framework/mcps/notion-mcp/install.md +0 -70
  81. package/framework/mcps/notion-mcp/troubleshooting.md +0 -95
  82. package/framework/skills/brainstorming/SKILL.md +0 -159
  83. package/framework/skills/brainstorming/examples.md +0 -49
  84. package/framework/skills/brainstorming/scripts/frame-template.html +0 -213
  85. package/framework/skills/brainstorming/scripts/helper.js +0 -167
  86. package/framework/skills/brainstorming/scripts/server.cjs +0 -723
  87. package/framework/skills/brainstorming/scripts/start-server.sh +0 -209
  88. package/framework/skills/brainstorming/scripts/stop-server.sh +0 -120
  89. package/framework/skills/brainstorming/visual-companion.md +0 -291
  90. package/framework/skills/code-review/SKILL.md +0 -72
  91. package/framework/skills/code-review/examples.md +0 -31
  92. package/framework/skills/codenavi/SKILL.md +0 -306
  93. package/framework/skills/codenavi/examples.md +0 -33
  94. package/framework/skills/codenavi/references/coding-principles.md +0 -143
  95. package/framework/skills/codenavi/references/notebook-spec.md +0 -171
  96. package/framework/skills/create-adr/SKILL.md +0 -429
  97. package/framework/skills/create-adr/examples.md +0 -35
  98. package/framework/skills/design/SKILL.md +0 -399
  99. package/framework/skills/design/examples.md +0 -34
  100. package/framework/skills/great-interface/SKILL.md +0 -43
  101. package/framework/skills/great-interface/references/animations.md +0 -205
  102. package/framework/skills/great-interface/references/better-accessibility.md +0 -106
  103. package/framework/skills/great-interface/references/better-colors.md +0 -100
  104. package/framework/skills/great-interface/references/better-interface.md +0 -132
  105. package/framework/skills/great-interface/references/better-layout.md +0 -76
  106. package/framework/skills/great-interface/references/better-typography.md +0 -157
  107. package/framework/skills/great-interface/references/better-ui.md +0 -107
  108. package/framework/skills/great-interface/references/better-writing.md +0 -109
  109. package/framework/skills/great-interface/references/choosing-fonts.md +0 -64
  110. package/framework/skills/great-interface/references/color-formats.md +0 -90
  111. package/framework/skills/great-interface/references/color-usage.md +0 -118
  112. package/framework/skills/great-interface/references/contrast.md +0 -79
  113. package/framework/skills/great-interface/references/css-cheat-sheet.md +0 -65
  114. package/framework/skills/great-interface/references/details-and-accessibility.md +0 -119
  115. package/framework/skills/great-interface/references/enter-exit.md +0 -147
  116. package/framework/skills/great-interface/references/explain-interface.md +0 -126
  117. package/framework/skills/great-interface/references/find-the-effect.md +0 -94
  118. package/framework/skills/great-interface/references/focus-and-keyboard.md +0 -131
  119. package/framework/skills/great-interface/references/forms.md +0 -84
  120. package/framework/skills/great-interface/references/from-an-image.md +0 -55
  121. package/framework/skills/great-interface/references/grouping-and-alignment.md +0 -123
  122. package/framework/skills/great-interface/references/hit-areas.md +0 -94
  123. package/framework/skills/great-interface/references/icon-transitions.md +0 -102
  124. package/framework/skills/great-interface/references/icons.md +0 -110
  125. package/framework/skills/great-interface/references/interface-review.md +0 -148
  126. package/framework/skills/great-interface/references/motion-and-zoom.md +0 -79
  127. package/framework/skills/great-interface/references/no-browser.md +0 -73
  128. package/framework/skills/great-interface/references/palette-generation.md +0 -104
  129. package/framework/skills/great-interface/references/palette-structure.md +0 -76
  130. package/framework/skills/great-interface/references/performance.md +0 -88
  131. package/framework/skills/great-interface/references/picker.md +0 -76
  132. package/framework/skills/great-interface/references/read-the-system.md +0 -178
  133. package/framework/skills/great-interface/references/removed-signals.md +0 -38
  134. package/framework/skills/great-interface/references/review-format.md +0 -46
  135. package/framework/skills/great-interface/references/scope-resolution.md +0 -88
  136. package/framework/skills/great-interface/references/screen-readers.md +0 -101
  137. package/framework/skills/great-interface/references/semantics-and-aria.md +0 -84
  138. package/framework/skills/great-interface/references/spacing-and-adaptivity.md +0 -159
  139. package/framework/skills/great-interface/references/spacing-and-sizing.md +0 -121
  140. package/framework/skills/great-interface/references/surfaces.md +0 -219
  141. package/framework/skills/great-interface/references/token-naming.md +0 -97
  142. package/framework/skills/great-interface/references/variable-fonts-and-opentype.md +0 -105
  143. package/framework/skills/great-interface/references/variant.md +0 -104
  144. package/framework/skills/great-interface/references/wrapping-and-punctuation.md +0 -55
  145. package/framework/skills/learning-opportunities/SKILL.md +0 -140
  146. package/framework/skills/learning-opportunities/examples.md +0 -34
  147. package/framework/skills/learning-opportunities/references/PRINCIPLES.md +0 -42
  148. package/framework/skills/notion-mcp/SKILL.md +0 -57
  149. package/framework/skills/notion-mcp/examples.md +0 -31
  150. package/framework/skills/notion-mcp/references/comments.md +0 -112
  151. package/framework/skills/notion-mcp/references/databases.md +0 -193
  152. package/framework/skills/notion-mcp/references/pages.md +0 -235
  153. package/framework/skills/spec-driven-eval/SKILL.md +0 -341
  154. package/framework/skills/spec-driven-eval/examples.md +0 -35
  155. package/framework/skills/spec-driven-eval/references/quickstart.md +0 -118
  156. package/framework/skills/spec-driven-eval/references/reference.md +0 -295
  157. package/framework/skills/technical-design-doc-creator/README.md +0 -411
  158. package/framework/skills/technical-design-doc-creator/SKILL.md +0 -1484
  159. package/framework/skills/technical-design-doc-creator/examples.md +0 -35
  160. package/framework/skills/web-design-guidelines/SKILL.md +0 -65
  161. package/framework/skills/web-design-guidelines/examples.md +0 -32
  162. package/framework/skills/web-design-guidelines/references/guideline.md +0 -174
@@ -1,112 +0,0 @@
1
- # Comments & Discussions
2
-
3
- ## Overview
4
-
5
- Notion supports page-level comments, content-targeted comments on specific blocks, and discussion threads with replies. Use `fetch` with `include_discussions: true` first to see where discussions are anchored, then `get-comments` for full threads.
6
-
7
- ## Create Comment
8
-
9
- ### Page-level comment
10
-
11
- ```
12
- create-comment
13
- page_id: "abc123..."
14
- markdown: "Comment with **important** context and a [link](https://example.com)."
15
- ```
16
-
17
- ### Comment on specific content
18
-
19
- Target content by providing a unique start/end snippet:
20
-
21
- ```
22
- create-comment
23
- page_id: "abc123..."
24
- markdown: "This section needs updating."
25
- selection_with_ellipsis: "# Meeting No...es heading"
26
- ```
27
-
28
- The snippet format: first ~10 characters, `...`, last ~10 characters. Must uniquely identify the content.
29
-
30
- ### Reply to discussion thread
31
-
32
- ```
33
- create-comment
34
- page_id: "abc123..."
35
- discussion_id: "discussion://pageId/blockId/discussionId"
36
- markdown: "Fixed this in the latest update."
37
- ```
38
-
39
- Get `discussion_id` from `fetch` (with `include_discussions`) or `get-comments` output.
40
-
41
- ### Using rich_text instead of markdown
42
-
43
- For features that markdown cannot express (mentions, custom emoji, colors):
44
-
45
- ```
46
- create-comment
47
- page_id: "abc123..."
48
- rich_text:
49
- - text:
50
- content: "Assigned to "
51
- - mention:
52
- type: "user"
53
- user:
54
- id: "user-uuid"
55
- - text:
56
- content: " for review"
57
- ```
58
-
59
- ### Comment formatting
60
-
61
- - **Markdown**: inline formatting only (bold, italic, strikethrough, underline, code, links)
62
- - **Inline math**: `$Equation$`
63
- - **Mention tags**: `<mention-date start="2024-12-25"/>`, `<mention-page id="..."/>`, `<mention-user id="..."/>`, `<mention-database id="..."/>`
64
- - ❌ No block-level markdown (headings, lists, tables, blockquotes) — these render as plain text
65
- - ❌ No UI shortcuts like `@today`, `@name`, `[[page]]`
66
-
67
- ## Read Comments
68
-
69
- ```
70
- get-comments
71
- page_id: "abc123..."
72
- ```
73
-
74
- Returns all discussions on the page with full thread content.
75
-
76
- ### Include child block comments
77
-
78
- ```
79
- get-comments
80
- page_id: "abc123..."
81
- include_all_blocks: true
82
- ```
83
-
84
- ### Include resolved discussions
85
-
86
- ```
87
- get-comments
88
- page_id: "abc123..."
89
- include_resolved: true
90
- ```
91
-
92
- ### Get specific discussion by ID
93
-
94
- ```
95
- get-comments
96
- page_id: "abc123..."
97
- discussion_id: "discussion://pageId/blockId/discussionId"
98
- ```
99
-
100
- ## Workflow
101
-
102
- 1. `fetch` with `include_discussions: true` — see discussion anchors and `<page-discussions>` summary
103
- 2. `get-comments` with `discussion_id` — read full thread
104
- 3. `create-comment` with `discussion_id` — reply
105
- 4. `create-comment` with `selection_with_ellipsis` — start a new thread on specific content
106
- 5. `create-comment` with just `page_id` — add a general page-level comment
107
-
108
- ## Limitations
109
-
110
- - **No edit/update** — comments cannot be modified after creation
111
- - **No delete** — comments cannot be removed via this server
112
- - **No resolution** — cannot mark discussions as resolved via this server
@@ -1,193 +0,0 @@
1
- # Database Management
2
-
3
- ## Overview
4
-
5
- Notion databases consist of views on top of data sources. A data source (collection) holds the actual schema and pages. A database can have multiple data sources (linked databases). Use `fetch` first to get the database structure and data source IDs from `<data-source>` tags.
6
-
7
- ```
8
- fetch
9
- id: "database-uuid-here"
10
- ```
11
-
12
- ## Create Database
13
-
14
- Uses SQL DDL syntax to define the schema:
15
-
16
- ```
17
- create-database
18
- title: "Tasks"
19
- parent:
20
- page_id: "abc123..." # where to place the database
21
- schema: |
22
- CREATE TABLE (
23
- "Task Name" TITLE,
24
- "Status" SELECT('To Do':red, 'In Progress':yellow, 'Done':green),
25
- "Priority" NUMBER FORMAT 'dollar',
26
- "Due Date" DATE,
27
- "Assignee" PEOPLE,
28
- "Tags" MULTI_SELECT('eng':blue, 'design':pink),
29
- "URL" URL,
30
- "Email" EMAIL,
31
- "Complete" CHECKBOX,
32
- "Task ID" UNIQUE_ID PREFIX 'TASK'
33
- )
34
- description: "Team task tracker"
35
- ```
36
-
37
- ### Column types
38
-
39
- | Type | SQL Syntax |
40
- |------|------------|
41
- | Title | `TITLE` |
42
- | Rich text | `RICH_TEXT` |
43
- | Date | `DATE` |
44
- | People | `PEOPLE` |
45
- | Checkbox | `CHECKBOX` |
46
- | URL | `URL` |
47
- | Email | `EMAIL` |
48
- | Phone | `PHONE_NUMBER` |
49
- | Status | `STATUS` |
50
- | Files | `FILES` |
51
- | Number | `NUMBER [FORMAT 'dollar']` |
52
- | Select | `SELECT('opt1':red, 'opt2':blue)` |
53
- | Multi-select | `MULTI_SELECT('opt1':green, 'opt2':pink)` |
54
- | Formula | `FORMULA('prop("A") + prop("B")')` |
55
- | Relation | `RELATION('data_source_id')` or `RELATION('ds_id', DUAL)` |
56
- | Rollup | `ROLLUP('relation_prop', 'target_prop', 'function')` |
57
- | Unique ID | `UNIQUE_ID [PREFIX 'X']` |
58
- | Created time | `CREATED_TIME` |
59
- | Last edited | `LAST_EDITED_TIME` |
60
-
61
- Column colors: `default`, `gray`, `brown`, `orange`, `yellow`, `green`, `blue`, `purple`, ` pink`, `red`
62
-
63
- Add descriptions: `"Status" STATUS COMMENT 'Current task status'`
64
-
65
- ### Self-referencing relation (two-step)
66
-
67
- 1. Create the database without the relation
68
- 2. Use `update-data-source` with the returned `data_source_id` to add the relation:
69
-
70
- ```
71
- update-data-source
72
- data_source_id: "abc123..."
73
- statements: |
74
- ADD COLUMN "Parent" RELATION('abc123...', DUAL 'Children' 'children');
75
- ADD COLUMN "Children" RELATION('abc123...', DUAL 'Parent' 'parent')
76
- ```
77
-
78
- ## Update Data Source
79
-
80
- Modify a data source's schema, title, or description.
81
-
82
- ```
83
- update-data-source
84
- data_source_id: "f336d0bc-..."
85
- title: "Project Tracker 2025"
86
-
87
- statements: |
88
- ADD COLUMN "Priority" SELECT('High':red, 'Medium':yellow, 'Low':green);
89
- ADD COLUMN "Due Date" DATE;
90
- RENAME COLUMN "Status" TO "Progress";
91
- ALTER COLUMN "Priority" SET SELECT('P0':red, 'P1':orange, 'P2':green);
92
- DROP COLUMN "Old Column"
93
- ```
94
-
95
- ### Statements
96
-
97
- - `ADD COLUMN "Name" <type>` — add a property
98
- - `DROP COLUMN "Name"` — remove a property (only if unused in views)
99
- - `RENAME COLUMN "Old" TO "New"` — rename a property
100
- - `ALTER COLUMN "Name" SET <type>` — change type/options
101
- - `ALTER COLUMN "Name" SET COMMENT 'new description'` — update description
102
-
103
- Cannot delete or create title properties. Max one `UNIQUE_ID` property.
104
-
105
- ## Views
106
-
107
- ### Create View
108
-
109
- ```
110
- create-view
111
- data_source_id: "abc123..."
112
- name: "Sprint Board"
113
- type: "board" # table, board, list, calendar, timeline, gallery, form, chart, map, dashboard
114
- configure: |
115
- GROUP BY "Status";
116
- SORT BY "Due Date" ASC;
117
- FILTER "Priority" != "Low"
118
- ```
119
-
120
- Or add a view to an existing database:
121
-
122
- ```
123
- create-view
124
- database_id: "abc123..."
125
- data_source_id: "abc123..."
126
- name: "All Tasks"
127
- type: "table"
128
- ```
129
-
130
- Or create a linked database view on a page:
131
-
132
- ```
133
- create-view
134
- parent_page_id: "ghi789..."
135
- data_source_id: "abc123..."
136
- name: "Company tasks"
137
- type: "table"
138
- configure: |
139
- FILTER "Company" = "Acme"
140
- ```
141
-
142
- ### View types and required directives
143
-
144
- | View type | Required |
145
- |-----------|----------|
146
- | table | — |
147
- | board | `GROUP BY "Property"` |
148
- | list | — |
149
- | calendar | `CALENDAR BY "DateProperty"` |
150
- | timeline | `TIMELINE BY "Start" TO "End"` |
151
- | gallery | — |
152
- | form | — |
153
- | chart | `CHART column\|bar\|line\|donut\|number` |
154
- | map | `MAP BY "LocationProperty"` |
155
- | dashboard | — |
156
-
157
- ### View DSL directives
158
-
159
- ```
160
- FILTER "Status" = "In Progress" # filter rows
161
- SORT BY "Due Date" ASC # sort rows
162
- GROUP BY "Status" # group/board columns
163
- CALENDAR BY "Date" # calendar date property
164
- TIMELINE BY "Start" TO "End" # timeline date range
165
- MAP BY "Location" # map location property
166
- CHART bar AGGREGATE count # chart type + aggregation
167
- SHOW "Name", "Status", "Due Date" # visible properties
168
- HIDE "Internal Note" # hidden properties
169
- COVER "Image" # cover image property
170
- WRAP CELLS true # wrap cell content
171
- FREEZE COLUMNS 2 # freeze first N columns
172
- FORM CLOSE | OPEN # form submissions
173
- FORM ANONYMOUS true | false # anonymous submissions
174
- FORM PERMISSIONS none | reader | editor # form submission permissions
175
- ```
176
-
177
- ### Update View
178
-
179
- ```
180
- update-view
181
- view_id: "abc123..." # view:// URI, Notion URL with ?v=, or bare UUID
182
- name: "Q1 Sprint Board"
183
- configure: |
184
- CLEAR FILTER;
185
- CLEAR SORT;
186
- GROUP BY "Priority"
187
- ```
188
-
189
- ### Clear directives
190
-
191
- - `CLEAR FILTER` — remove all filters
192
- - `CLEAR SORT` — remove all sorts
193
- - `CLEAR GROUP BY` — remove grouping
@@ -1,235 +0,0 @@
1
- # Page Management
2
-
3
- ## Read / Fetch
4
-
5
- Retrieve page, database, or data source details. Always `fetch` first before modifying anything.
6
-
7
- ```
8
- fetch
9
- id: "https://notion.so/workspace/My-Page-a1b2c3d4e5f67890"
10
-
11
- fetch
12
- id: "a1b2c3-d4e5-..." # bare UUID
13
-
14
- fetch
15
- id: "collection://f336d0bc..." # data source URL
16
- ```
17
-
18
- Returns content in Notion-flavored Markdown. For the full spec, read `notion://docs/enhanced-markdown-spec` via your MCP resource reader.
19
-
20
- Pass `include_discussions: true` to see discussion markers and `<page-discussions>` tags correlating with `get-comments`.
21
-
22
- ### Workflow
23
-
24
- Always start with `fetch` to:
25
- 1. Get the correct page/database ID or data source URL
26
- 2. View existing content before updating
27
- 3. Discover property names and schema for database pages
28
- 4. Find template IDs in `<templates>` section
29
-
30
- ## Create
31
-
32
- ```
33
- create-pages
34
- parent:
35
- page_id: "abc123..." # or database_id, or data_source_id
36
- pages:
37
- - properties:
38
- title: "Page title"
39
- content: "# Section 1\n\nContent here"
40
- icon: "🚀"
41
- cover: "https://example.com/cover.jpg"
42
- ```
43
-
44
- ### Database pages
45
-
46
- When creating pages in a database, use the schema from fetch:
47
-
48
- ```
49
- create-pages
50
- parent:
51
- data_source_id: "f336d0bc-..."
52
- pages:
53
- - properties:
54
- Task Name: "New task"
55
- Status: "In Progress"
56
- Priority: 5
57
- date:Due Date:start: "2024-12-25"
58
- date:Due Date:is_datetime: 0
59
- ```
60
-
61
- ### Using templates
62
-
63
- ```
64
- create-pages
65
- parent:
66
- data_source_id: "f336d0bc-..."
67
- pages:
68
- - template_id: "a5da15f6-..."
69
- properties:
70
- Task Name: "New urgent bug"
71
- ```
72
-
73
- When using a template, do NOT provide `content` — the template supplies it.
74
-
75
- ### Property formats
76
-
77
- | Type | Format | Example |
78
- |------|--------|---------|
79
- | Title | plain string | `"Task Name": "Fix login"` |
80
- | Text / Rich text | plain string | `"Description": "Detailed notes"` |
81
- | Number | number | `"Priority": 5` |
82
- | Checkbox | `"__YES__"` / `"__NO__"` | `"Complete": "__YES__"` |
83
- | Date | expanded keys | `"date:Due:start": "2024-12-25"` |
84
- | Date with time | expanded keys + `is_datetime: 1` | `"date:Due:start": "2024-12-25T14:00:00"` |
85
- | Place | expanded keys (name/address/lat/lng/google_place_id) | `"place:Office:name": "HQ"` |
86
- | Select | string matching an option | `"Status": "Done"` |
87
- | Multi-select | comma-separated | `"Tags": "eng,design"` |
88
-
89
- Properties named `id` or `url` (case insensitive) must be prefixed with `userDefined:`:
90
- - `"userDefined:URL": "https://..."`, `"userDefined:id": "custom-id"`
91
-
92
- ## Update
93
-
94
- ### Update properties
95
-
96
- ```
97
- update-page
98
- page_id: "abc123..."
99
- command: update_properties
100
- properties:
101
- title: "New title"
102
- Status: "In Progress"
103
- date:Due:start: "2024-12-25"
104
- date:Due:is_datetime: 0
105
- ```
106
-
107
- Set a property to `null` to clear its value.
108
-
109
- ### Update content (search-and-replace)
110
-
111
- ```
112
- update-page
113
- page_id: "abc123..."
114
- command: update_content
115
- content_updates:
116
- - old_str: "# Old Section\nOld content"
117
- new_str: "# New Section\nUpdated content"
118
- ```
119
-
120
- ### Replace entire content
121
-
122
- ```
123
- update-page
124
- page_id: "abc123..."
125
- command: replace_content
126
- new_str: "# Completely new page\n\nContent here"
127
- ```
128
-
129
- ⚠️ `replace_content` will fail if child pages/databases would be deleted. Include them in `new_str` using `<page url="...">` or `<database url="...">` tags from the fetch output. To intentionally delete children, confirm with the user first.
130
-
131
- ### Insert content
132
-
133
- ```
134
- update-page
135
- page_id: "abc123..."
136
- command: insert_content
137
- content: "## Latest update\n\nStatus update"
138
- position:
139
- type: "start" # or "end" (default)
140
- ```
141
-
142
- ### Apply template
143
-
144
- ```
145
- update-page
146
- page_id: "abc123..."
147
- command: apply_template
148
- template_id: "a5da15f6-..."
149
- ```
150
-
151
- ### Set icon and cover
152
-
153
- Can be set alongside any command:
154
-
155
- ```
156
- update-page
157
- page_id: "abc123..."
158
- command: update_properties
159
- properties:
160
- title: "New title"
161
- icon: "🚀"
162
- cover: "https://example.com/cover.jpg"
163
- ```
164
-
165
- Use `"none"` to remove icon or cover.
166
-
167
- ### Verify a page (Business/Enterprise or wiki pages)
168
-
169
- ```
170
- update-page
171
- page_id: "abc123..."
172
- command: update_verification
173
- verification_status: "verified" # or "unverified"
174
- verification_expiry_days: 90 # optional, omit for indefinite
175
- ```
176
-
177
- ## Duplicate
178
-
179
- ```
180
- duplicate-page
181
- page_id: "abc123..."
182
- ```
183
-
184
- Duplication completes asynchronously. The new page ID/URL is returned immediately, but content may take a moment to appear.
185
-
186
- ## Move
187
-
188
- ```
189
- move-pages
190
- page_or_database_ids:
191
- - "abc123..."
192
- - "def456..."
193
- new_parent:
194
- page_id: "ghi789..." # or workspace, or data_source_id
195
- ```
196
-
197
- ⚠️ **Irreversible** — permanently relocates pages. Cannot be undone programmatically.
198
-
199
- ## Search
200
-
201
- ```
202
- search
203
- query: "quarterly report"
204
- query_type: "internal" # or "user"
205
- page_size: 10
206
- filters:
207
- created_date_range:
208
- start_date: "2024-10-01"
209
- created_by_user_ids:
210
- - "user-uuid-here"
211
- ```
212
-
213
- ### Search within a data source
214
-
215
- ```
216
- search
217
- query: "design review"
218
- data_source_url: "collection://f336d0bc-..."
219
- ```
220
-
221
- ### Search by page ID (search content under a page)
222
-
223
- ```
224
- search
225
- query: "meeting notes"
226
- page_url: "abc123..."
227
- ```
228
-
229
- ### User search
230
-
231
- ```
232
- search
233
- query: "john@example.com"
234
- query_type: "user"
235
- ```