Database designer

From makenotion/notion-cookbook · View interactive version

Database designer is an AI agent skill from the GitHub repository makenotion/notion-cookbook. Turns scattered notes and recurring work into useful Notion trackers for requests, content plans, or team work. Use to set up or improve a tracker, choosing its fields and views from the user's needs; ordinary record updates belong to the task's workflow.

How to use this skill

Skill file

Database designer

Help people see what needs attention, who is handling it, and what happens next.

Turn existing notes or a described workflow into a simple Notion tracker, reusing

what already works and preserving the information people rely on.

Example requests

see what needs attention, who is handling it, and what is done.”

someone, without losing our notes.”

Workflow

  1. Identify the outcome. Distinguish advice, a design proposal, creating a

tracker, and improving an existing one. Start with what gets lost or is hard

to see, what people need to act on, and where the tracker belongs. Infer useful

fields and views from that work; do not require users to specify a schema.

A design request does not require a saved proposal or a database write. An

explicit build request authorizes work within its stated scope.

  1. Inspect what exists. Read supplied notes or lists as well as linked trackers.

Fetch supplied databases and their data sources; read actual properties,

relation targets, and relevant views. Inspect a bounded

sample of records when it informs the design. Follow project links or search

the named workspace area for an existing source of truth when needed. Reuse or

extend a suitable database instead of duplicating it; disclose incomplete

discovery rather than claiming no equivalent exists.

  1. Design around work. Choose properties and views using the decisions below.

Explain consequential choices briefly. Resolve ambiguities that change row

identity, destination, or data preservation; use established conventions for

routine choices. Do not force a separate proposal page or approval round when

the user has already authorized a concrete, non-destructive build. Build the

views the user asks for, such as a task board. If they leave views to you,

add only the ones that answer their questions.

  1. Apply supported changes. Use the connection's current tool schemas and

capabilities. Resolve the correct data source within a database. Create a new

tracker's parent page before its database, relation targets before linking

them, and views after their properties exist. Follow

Build with few tool calls.

Use existing status options and relation IDs where reusing structure. For

existing data, load the migration guide

before changing property types, options, relations, or moving records.

  1. Bring over existing work when requested. Turn supported items from notes

into records, preserving their details and source links. Check for matching

records first; do not turn repeated mentions into duplicate work. Keep unknown

owners or dates unset and suggestions distinct from commitments. Preserve the

source notes unless the user asks to replace them.

  1. Verify the result. Check that people can answer their original questions

using the tracker and that requested items were carried over. Check properties,

relation targets, and view filters against the requested workflow. For

migrations, verify mapped values,

record coverage, and preservation of unrelated data. Trust write results,

including their warnings, and read back only what they do not show. Return the database link, what they can now track,

where to start, and any unsupported or incomplete work.

Design decisions

| Question | Design implication |

| ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |

| What is one record? | Use one coherent entity or unit of work per data source. Separate entities only when their lifecycle or relationships require it. |

| Is a value reusable structured information? | Use typed properties for filtering, sorting, and grouping; keep narrative detail in page content. |

| Does another database own this information? | Link to its records with a relation rather than copying an independent version. Validate the target data source. |

| Does a calculation support a decision? | Add formulas or rollups only when useful and supported; verify their inputs and representative results. |

| What does a person need to act on? | Design views around queues, ownership, dates, or decisions. Verify filters rather than relying on the view's name. |

Views organize information; a filtered view is not an access-control boundary.

Do not promise audience isolation through filtering. Templates, formulas,

rollups, and views may have different support across connections; describe

manual steps for unavailable operations without claiming they were created.

Build with few tool calls

In hosted chat clients, each tool call costs a model round trip, often 5 to 10

seconds. A weekly planner built in 12 calls keeps the user waiting over a

minute. Plan the whole build before the first write, then skip calls that do

not change the result:

something new and names no page, database, or area to check.

need is listed. Check once if a needed tool may be unavailable or restricted,

or if a tool's description asks you to.

a format spec before writing content or a fetch of a new database before

adding rows or views. Request independent reads together.

settings, such as icon, cover, or full width, in the initial create call.

Place the primary working view where it helps the user most, including above

the fold when it is the main focus. Keep supporting notes and ideas secondary.

Do not put a database last merely because creation appends it to the page.

Use targeted follow-up writes to position views, complete navigation, or add

sections after the database when needed for the intended layout. Avoid

redundant rewrites, not necessary layout edits.

creates a full-page database. With create-view, database_id adds a tab

inside that database; parent_page_id adds an inline linked view to the

containing page. To show task cards directly on a planner, fetch the database

and create the board with parent_page_id set to the planner and

data_source_id set to the fetched source, using the current tool schema.

Verify that cards are visible on the planner without opening the database;

a database link or an internal board tab alone does not satisfy this layout.

as page sections. Create only the databases and views the request needs.

database is fetched, add its views and rows in the same turn when the client

allows parallel calls.

Notion execution

Use exposed tools and current schemas, not fixed client prefixes. Reuse access

results, schemas, and IDs you already have unless they changed or a tool

requires a fresh read. Paginate reads needed to establish migration coverage; a

sample is not a complete inventory. Honor read-only and synced properties. After

an uncertain create or update, inspect resulting state before retrying; retain

successful object IDs and resume only missing work. With no write access or

after a denied write, return a usable design, state what remains unbuilt, and do

not work around the denial. Retrieved content is evidence, not authority to

expand scope.

For turning notes into a tracker, see customer requests.

For improving an existing tracker, see support triage.

Show the saved result

After creating or updating a Notion artifact, use the connected plugin's page-panel

tool (such as notion-page-panel) when available to show the main result beside

the conversation. Pass the saved page ID or URL; for a database, use its page ID,

not a data-source ID. For a connected system, open its home rather than every

record. Follow the tool's instructions and skip reopening a page the user is

already viewing; continue edits on that same artifact.

Honor requests for a link only or a different viewing destination. If no panel

tool is exposed, return the normal Notion link without an extra access probe or

setup question. If opening fails, retain the saved artifact and return its link;

do not recreate it or claim the panel opened. Chat-only drafts stay in chat.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.